Re: pgAdmin 4 v2, server cannot be connected

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Ronald Viscarra <ronald(dot)viscarra(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 v2, server cannot be connected
Date: 2017-10-10 08:09:18
Message-ID: CA+OCxoyqGjiR+6SgSqBb0K9kfWPf-fvbyXvGH8-4z0UfPJ4prQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Tue, Oct 10, 2017 at 12:40 AM, Ronald Viscarra <ronald(dot)viscarra(at)gmail(dot)com
> wrote:

> Hi, I know both could exists side by side, but I would like to just keep
> the lates one, and remove the old one.
>

If it was installed with PostgreSQL 9.6, then you cannot remove it without
removing all of PostgreSQL. From PG 10 onwards it's an optional component
though.

>
> I make a particular shortcut for running newest version and is working
> great.
>
> 2017-10-09 4:02 GMT-04:00 Dave Page <dpage(at)pgadmin(dot)org>:
>
>> Please keep the mailing list CC'd.
>>
>> In a standard installation, the two versions should exist quite happily
>> side by side, though only the latest will probably run due to changes in
>> the config database (that shouldn't be an issue with >= 2.0, only with
>> older versions). I have many versions installed for example, on both
>> Windows and Mac.
>>
>> A couple of possible issues could be causing this:
>>
>> - You're using a shortcut that is actually pointing to the older version.
>>
>> - The runtime has the "path to webapp" setting configured, and is
>> pointing to the old version. Check in the registry for the ApplicationPath
>> and PythonPath settings in HKEY_CURRENT_USER\Software\pgadmin\pgadmin4,
>> and remove them if present.
>>
>> On Fri, Oct 6, 2017 at 6:06 PM, Ronald Viscarra <
>> ronald(dot)viscarra(at)gmail(dot)com> wrote:
>>
>>> Hello again, I just notice I have two pgAdmins installed, one comes with
>>> postgresql, and the another one is stand alone, I guess all time is running
>>> the one thats come with postgresql, and version is 1.6, so, question is how
>>> can I uninstall this pgAdmin? and keep the standalone (version 2).
>>>
>>> No options in windows/control panel or postgresql unisntall maanger.
>>>
>>>
>>>
>>> Thats why the error "server cannot be connected", because of this two
>>> diferent pgAdmins
>>>
>>> 2017-10-06 12:59 GMT-04:00 Ronald Viscarra <ronald(dot)viscarra(at)gmail(dot)com>:
>>>
>>>> Hi, I just checked config_distro.py and config.py in config.py
>>>> says APP_RELEASE = 2 and APP_REVISION = 0, nothing relevant in
>>>> config_distro.py.
>>>>
>>>>
>>>>
>>>> 2017-10-06 12:17 GMT-04:00 Dave Page <dpage(at)pgadmin(dot)org>:
>>>>
>>>>> Hi
>>>>>
>>>>> On Fri, Oct 6, 2017 at 4:40 PM, Ronald Viscarra <
>>>>> ronald(dot)viscarra(at)gmail(dot)com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Atte. Ronald ViscarraHi, recently I updated from v1.6 to v2, the
>>>>>> first time works fine, then I closed pgAdmin and tried to open it again,
>>>>>> but says "the server cannot be connected" or something similar, I dont
>>>>>> remember well, so, I deleted all into folder "c:\{myuser}\AppData\Roaming\pgAdmin",
>>>>>> and tried to open it again, that works, but all time says that there's new
>>>>>> version available and the version installed is 1.6, in windows/panel
>>>>>> control, says version 2, icons changed too, to version 1.6 why?, and why
>>>>>> now is working and not when is a fresh install of version2 after first open?
>>>>>>
>>>>>
>>>>> The version number comes from the config file, normally config.py, but
>>>>> overridable in config_distro.py or config_local.py in the web/ directory of
>>>>> the installation. If I had to guess, I suggest that maybe you copied
>>>>> config.py from one installation to the other at some point (maybe you
>>>>> copied it to config_local.py originally, then copied that into the new
>>>>> installation)?
>>>>>
>>>>> --
>>>>> Dave Page
>>>>> Blog: http://pgsnake.blogspot.com
>>>>> Twitter: @pgsnake
>>>>>
>>>>> EnterpriseDB UK: http://www.enterprisedb.com
>>>>> The Enterprise PostgreSQL Company
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Atte. Ronald Viscarra
>>>>
>>>
>>>
>>>
>>> --
>>> Atte. Ronald Viscarra
>>>
>>
>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
>
> --
> Atte. Ronald Viscarra
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-10-10 08:32:45 Re: pgadmin4 exception: session['_id'] not in self.managers
Previous Message Francis Fish 2017-10-10 08:05:59 Re: I'd like a lightweight alternative to pgAdmin4 ?