Re: Can't add a server pgadmin4-1.6

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: Lazaro Garcia <lazaro3487(at)gmail(dot)com>, Melvin Davidson <melvin6925(at)yahoo(dot)com>, PgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Can't add a server pgadmin4-1.6
Date: 2017-07-14 14:06:39
Message-ID: F48866A4-063F-4549-9EB8-ACA4194EBC21@pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> On 14 Jul 2017, at 14:48, Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
>
> 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,
> Download: https://www.postgresql.org/ftp/pgadmin/pgadmin4/v1.6/pip/
>
> If you still want to use source then you need to install nodejs, then yarn package manager.
> then by going in to ../pgadmin4/web directory execute following commands,
> 1) yarn install
> 2) yarn run bundler
>
> You can now run python pgadmin4.py

That is already done for the source tarball. I did test it before we built 1.6.

>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>> On Fri, Jul 14, 2017 at 7:05 PM, Lazaro Garcia <lazaro3487(at)gmail(dot)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(dot)zabuawala(at)enterprisedb(dot)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(at)gmail(dot)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)
>>
>> POST http://dev.pamint.co.cu/misc/ping
>>
>> 404 Not Found
>>
>> 16ms
>>
>> jquery-....min.js (línea 4)
>>
>> "NetworkError: 404 Not Found - http://dev.pamint.co.cu/misc/ping"
>>
>> ping
>>
>> POST http://dev.pamint.co.cu/settings/store
>>
>> 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(at)yahoo(dot)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(at)gmail(dot)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.
>>
>>
>>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Murtuza Zabuawala 2017-07-14 14:15:43 Re: Can't add a server pgadmin4-1.6
Previous Message Murtuza Zabuawala 2017-07-14 13:48:52 Re: Can't add a server pgadmin4-1.6