Re: Can't add a server pgadmin4-1.6 - Mailing list pgadmin-support
From | Dave Page |
---|---|
Subject | Re: Can't add a server pgadmin4-1.6 |
Date | |
Msg-id | F48866A4-063F-4549-9EB8-ACA4194EBC21@pgadmin.org Whole thread Raw |
In response to | Re: Can't add a server pgadmin4-1.6 (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>) |
Responses |
Re: Can't add a server pgadmin4-1.6
RE: Can't add a server pgadmin4-1.6 |
List | pgadmin-support |
Hi,We have changed the way we bundle & server the javascript files in pgAdmin4.It is advisable that as end user you should use python wheel and not the actual source code,then by going in to ../pgadmin4/web directory execute following commands,1) yarn install
2) yarn run bundlerYou can now run python pgadmin4.py
--Regards,On Fri, Jul 14, 2017 at 7:05 PM, Lazaro Garcia <lazaro3487@gmail.com> wrote:Thanks for responses, these are the steps I followed, the same steps for other versions works well and are in the documentation: https://www.pgadmin.org/docs/
pgadmin4/dev/server_ deployment.html
1. Download the source.
2. Install the requirements:
pip install -r /var/www/vhosts/pgadmin4/
requirements.txt
3. Create config_local.py
touch /var/www/vhosts/pgadmin4/web/
config_local.py
4. Install pgadmin4
python /var/www/vhosts/pgadmin4/web/
setup.py
5. Configure apache server with new site(pgadmin4)
Open pgadmin4 in the browser, but after login I cannot add any server and the browser console shows errors because some files are missing.
Regards.
De: Murtuza Zabuawala [mailto:murtuza.zabuawala@
enterprisedb.com]
Enviado el: jueves, 13 de julio de 2017 11:39 p. m.
Para: Lazaro Garcia
CC: Melvin Davidson; PgAdmin Support
Asunto: Re: Can't add a server pgadmin4-1.6
Hello,
Could you please let us know the exact steps you followed?
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Fri, Jul 14, 2017 at 1:51 AM, Lazaro Garcia <lazaro3487@gmail.com> wrote:
Yes, but the button do nothing. Could the downloaded package be incomplete?
Download link: https://www.postgresql.org/
ftp/pgadmin/pgadmin4/v1.6/ source/
The browser console register this error:
Error: Module name "pgadmin.node.server" has not been loaded yet for context: _ http://requirejs.org/docs/
errors.html#notloaded
require.min.js (línea 8, col 252)
404 Not Found
16ms
jquery-....min.js (línea 4)
"NetworkError: 404 Not Found - http://dev.pamint.co.cu/misc/
ping" ping
404 Not Found
0ms
jquery-....min.js (línea 4)
"NetworkError: 404 Not Found - http://dev.pamint.co.cu/
settings/store"
Regards.
De: Melvin Davidson [mailto:melvin6925@yahoo.com]
Enviado el: jueves, 13 de julio de 2017 03:53 p. m.
Para: Lazaro Garcia
CC: PgAdmin Support
Asunto: Re: Can't add a server pgadmin4-1.6
>can´t see the way for adding a server.
Hmm, on bottom right of the image you sent, there is a big icon
that says "Add New Server". Have you tried clicking on that?
Melvin Davidson 🎸
Cell 720-320-0155
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
www.youtube.com/unusedhero/videos
Folk Alley - All Folk - 24 Hours a day
www.folkalley.com
On Thursday, July 13, 2017, 3:12:24 PM EDT, Lazaro Garcia <lazaro3487@gmail.com> wrote:
I have installed pgadmin4 1.6 from source over apache in an Ubuntu Server. But a can´t see the way for adding a server. Is this a bug??
Regards.
pgadmin-support by date: