Thread: Re: pgAdmin4 never loading

Re: pgAdmin4 never loading

From
Surinder Kumar
Date:
Hi

1) Please update the nodeJS to the latest version. v4.2.6 is an older version.

2) Run following commands from '<src path>/pgadmin4/web' directory:

  a) yarn install
  b) yarn run bundle

3) Then run pgAdmin4.

and Let us know If you still get an error.

Thanks,
Surinder

On Tue, Oct 10, 2017 at 1:49 AM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
My pgadmin4.log is empty. It's empty while I'm rum runtime version (~/.pgadmin/pgadmin4.log) and in the server (/var/log/pgadmin4/pgadmin4.log).
Error in stdout (runtime version):
"[26404:26874:1009/221031.330527:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018"
Documented steps not help in my desktop case.

On my servers old node
#node -v
v0.10.29
on debian and
node -v
v4.2.6
on ubuntu. This is a reason of problem?

2017-10-09 11:43 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi Pavel,

If you are building pgAdmin4 from the source, then you don't need to install pgAdmin4 from the wheel.

After taking the pgAdmin4 source from git HEAD, you need to install nodeJS, Yarn to build JS/CSS modules. the error you are getting is possibly due to this. For more help, you can follow the steps documented here

It seems QtWekbit compilation went well. so just run pgAdmin4. it should work.

Also, can you share logs generated at location '/var/log/pgadmin4/pgadmin4.log' ?

Thanks,
Surinder


On Mon, Oct 9, 2017 at 1:10 PM, Dave Page <dpage@pgadmin.org> wrote:
Surinder, can you help out with this please?

On Fri, Oct 6, 2017 at 9:00 PM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
Hi.
I'm get last sources from git.
Make runtime application, create virtualenv as  "virtualenv pga4venv"
do:
source pga4venv/bin/activate
pip install -r ../requirements.txt
pip install backports.weakref # not run with out it
export PYTHONPATH=<src path>/pgadmin4/runtime/pga4venv/lib/python2.7/site-packages/te-packages/
make app with QT5:
/opt/Qt/5.5/gcc_64/bin/qmake CONFIG+=release
do make
and run it.
App run byt I'm see only "Loading pgAdmin 4 v2.0..."
and it's never load.
How to fix it?

My pip freeze in attachment.

$uname -a
Linux lptp 4.13.0-12-generic #13-Ubuntu SMP Sat Sep 23 03:40:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"




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

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




--
Спасибо

Fwd: pgAdmin4 never loading

From
Surinder Kumar
Date:
Hi Pavel,

Please don't send email personally, instead send to pgadmin-hackers.

Hi

On Tue, Oct 10, 2017 at 12:53 PM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
Thanks, I'll try to do this when there is an opportunity.

What about desktop version, how to fix the same error?
T
​he same steps will fix the issue for Desktop version as well.​


2017-10-10 8:12 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi

1) Please update the nodeJS to the latest version. v4.2.6 is an older version.

2) Run following commands from '<src path>/pgadmin4/web' directory:

  a) yarn install
  b) yarn run bundle

3) Then run pgAdmin4.

and Let us know If you still get an error.

Thanks,
Surinder

On Tue, Oct 10, 2017 at 1:49 AM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
My pgadmin4.log is empty. It's empty while I'm rum runtime version (~/.pgadmin/pgadmin4.log) and in the server (/var/log/pgadmin4/pgadmin4.log).
Error in stdout (runtime version):
"[26404:26874:1009/221031.330527:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018"
Documented steps not help in my desktop case.

On my servers old node
#node -v
v0.10.29
on debian and
node -v
v4.2.6
on ubuntu. This is a reason of problem?

2017-10-09 11:43 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi Pavel,

If you are building pgAdmin4 from the source, then you don't need to install pgAdmin4 from the wheel.

After taking the pgAdmin4 source from git HEAD, you need to install nodeJS, Yarn to build JS/CSS modules. the error you are getting is possibly due to this. For more help, you can follow the steps documented here

It seems QtWekbit compilation went well. so just run pgAdmin4. it should work.

Also, can you share logs generated at location '/var/log/pgadmin4/pgadmin4.log' ?

Thanks,
Surinder


On Mon, Oct 9, 2017 at 1:10 PM, Dave Page <dpage@pgadmin.org> wrote:
Surinder, can you help out with this please?

On Fri, Oct 6, 2017 at 9:00 PM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
Hi.
I'm get last sources from git.
Make runtime application, create virtualenv as  "virtualenv pga4venv"
do:
source pga4venv/bin/activate
pip install -r ../requirements.txt
pip install backports.weakref # not run with out it
export PYTHONPATH=<src path>/pgadmin4/runtime/pga4venv/lib/python2.7/site-packages/te-packages/
make app with QT5:
/opt/Qt/5.5/gcc_64/bin/qmake CONFIG+=release
do make
and run it.
App run byt I'm see only "Loading pgAdmin 4 v2.0..."
and it's never load.
How to fix it?

My pip freeze in attachment.

$uname -a
Linux lptp 4.13.0-12-generic #13-Ubuntu SMP Sat Sep 23 03:40:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"




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

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




--
Спасибо




--
Спасибо


Fwd: pgAdmin4 never loading

From
Pavel Klimenko
Date:
Sorry for personal email. I'm not deliberately


---------- Forwarded message ----------
From: Pavel Klimenko <dzy4yzd@gmail.com>
Date: 2017-12-22 14:48 GMT+03:00
Subject: Re: pgAdmin4 never loading
To: Surinder Kumar <surinder.kumar@enterprisedb.com>


I'm update to pgAdmin 4 v2.1-dev, but see only wite screen 

2017-10-13 13:30 GMT+03:00 Pavel Klimenko <dzy4yzd@gmail.com>:
Hi.

I'm do all steps byt it`s not work. I'm see only "Loading pgAdmin 4 v2.0..."
My /var/log/pgadmin/pgadmin4.log enpty.
:(
My command hisory in attachment.


2017-10-10 11:54 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi

On Tue, Oct 10, 2017 at 12:53 PM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
Thanks, I'll try to do this when there is an opportunity.

What about desktop version, how to fix the same error?
T
​he same steps will fix the issue for Desktop version as well.​


2017-10-10 8:12 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi

1) Please update the nodeJS to the latest version. v4.2.6 is an older version.

2) Run following commands from '<src path>/pgadmin4/web' directory:

  a) yarn install
  b) yarn run bundle

3) Then run pgAdmin4.

and Let us know If you still get an error.

Thanks,
Surinder

On Tue, Oct 10, 2017 at 1:49 AM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
My pgadmin4.log is empty. It's empty while I'm rum runtime version (~/.pgadmin/pgadmin4.log) and in the server (/var/log/pgadmin4/pgadmin4.log).
Error in stdout (runtime version):
"[26404:26874:1009/221031.330527:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018"
Documented steps not help in my desktop case.

On my servers old node
#node -v
v0.10.29
on debian and
node -v
v4.2.6
on ubuntu. This is a reason of problem?

2017-10-09 11:43 GMT+03:00 Surinder Kumar <surinder.kumar@enterprisedb.com>:
Hi Pavel,

If you are building pgAdmin4 from the source, then you don't need to install pgAdmin4 from the wheel.

After taking the pgAdmin4 source from git HEAD, you need to install nodeJS, Yarn to build JS/CSS modules. the error you are getting is possibly due to this. For more help, you can follow the steps documented here

It seems QtWekbit compilation went well. so just run pgAdmin4. it should work.

Also, can you share logs generated at location '/var/log/pgadmin4/pgadmin4.log' ?

Thanks,
Surinder


On Mon, Oct 9, 2017 at 1:10 PM, Dave Page <dpage@pgadmin.org> wrote:
Surinder, can you help out with this please?

On Fri, Oct 6, 2017 at 9:00 PM, Pavel Klimenko <dzy4yzd@gmail.com> wrote:
Hi.
I'm get last sources from git.
Make runtime application, create virtualenv as  "virtualenv pga4venv"
do:
source pga4venv/bin/activate
pip install -r ../requirements.txt
pip install backports.weakref # not run with out it
export PYTHONPATH=<src path>/pgadmin4/runtime/pga4venv/lib/python2.7/site-packages/te-packages/
make app with QT5:
/opt/Qt/5.5/gcc_64/bin/qmake CONFIG+=release
do make
and run it.
App run byt I'm see only "Loading pgAdmin 4 v2.0..."
and it's never load.
How to fix it?

My pip freeze in attachment.

$uname -a
Linux lptp 4.13.0-12-generic #13-Ubuntu SMP Sat Sep 23 03:40:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"




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

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




--
Спасибо




--
Спасибо




--
Спасибо



--
Спасибо



--
Спасибо
Attachment