Re: pgAdmin 4 v2, server cannot be connected

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin 4 v2, server cannot be connected
Дата
Msg-id CA+OCxoxbD7ODRy=D=e8wmRBqF0Q=GaBhZ+OMXd9NA3Cqs7HX1A@mail.gmail.com
обсуждение исходный текст
Ответ на pgAdmin 4 v2, server cannot be connected  (Ronald Viscarra <ronald.viscarra@gmail.com>)
Ответы Re: pgAdmin 4 v2, server cannot be connected  (Ronald Viscarra <ronald.viscarra@gmail.com>)
Список pgadmin-support
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.viscarra@gmail.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.viscarra@gmail.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@pgadmin.org>:
Hi

On Fri, Oct 6, 2017 at 4:40 PM, Ronald Viscarra <ronald.viscarra@gmail.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

В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgadmin4 exception: session['_id'] not in self.managers
Следующее
От: Harshal Dhumal
Дата:
Сообщение: Re: pgadmin4 exception: session['_id'] not in self.managers