-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PgAdmin4 v6.10. won't start on ubuntu 20.04. (RM #7442) #5116
Comments
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-1 Hello, We could not reproduce issue either in upgrade from 6.9 to 6.10 or in fresh installation of 6.10. Thanks Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-2 same issue here, v. 6.10 doesn't open a window when i start the desktop version. Rollback to v. 6.9 works well. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-3 that;s with 6.10 with Ubuntu 20.04
there are no log file generated in ~/.local/share/pgadmin for version 6.9 which works:
and here I have a log file (that I truncated here after the few first lines)
|
Image migrated from Redmine: https://redmine.postgresql.org/attachments/download/6809 Filename: Screenshot_2022-06-08_at_09.45.38.png |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-5 Odd - it's working fine on my Ubuntu 20.04 (screenshot attached). Fahar, can you test ASAP please? Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-6 Hi Marko! Can you please please upgrade your VM and follow the steps below:
Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-7 On further investigation, it looks other Chromium based apps are having the same issue, e.g. microsoft/playwright-python#1277 Please try launching pgAdmin with the --disable-gpu command line option. That should happen automatically as it's in the manifest, but maybe something broke in the latest version of nwjs. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-8 on the about window the only difference in my setup is the kernel at 5.4 perhaps it's a track to follow if the following log I see also 2 chrome_crashpad_handler processes using htop. can any relevent log be retreived from that. |
Image migrated from Redmine: https://redmine.postgresql.org/attachments/download/6810 Filename: Screen_Shot_2022-06-08_at_2.24.31_PM.png |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-10 I am not able to reproduce the issue on ubuntu 20.04. Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-11 Vince Vince wrote:
I have whatever the default was when I installed into VMware Fusion.
You can package NW apps as zip files, and I think that's NW trying to unpack a zip before realising we don't package that way. Regardless of whether I'm right or not, I get that error on my working system as well (and the AIA chasing one). Unfortunately NWjs does tend to spit out a few warnings and errors like that, even when everything is fine.
In theory we could analyse the .dmp file that should be produced, though in practice I doubt any of us here know even remotely enough about the internals of NW/Chromium to be able to figure out what's going on. Were you able to try starting pgAdmin from the command line with the --disable-gpu option? |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-12 /usr/pgadmin4/bin/pgadmin4 --disable-gpu doesn't seem to change anything all I can see in pgadmin generate a process /proc/self/exe in which the command line as a --disable-gpu-compositing argument but if it's a gpu or gpu+kernel related issue, that would be normal. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-13 I have exactly the same problem. |
Image migrated from Redmine: https://redmine.postgresql.org/attachments/download/6811 Filename: Screenshot_2022-06-08_at_16.44.05.png |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-15 Can any of those of you who are seeing this issue please try downloading https://dl.nwjs.io/v0.65.0/nwjs-v0.65.0-linux-x64.tar.gz, unpacking it, and then running the nw binary, e.g. ./nwjs-v0.65.0-linux-x64/nw ? Does it display a window, such as that in the attached screenshot? Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-16 It doesn't display any window, but I have this in the console: [0609/000740.366695:ERROR:zip_reader.cc(153)] Cannot open ZIP from file handle 3 [0609/000740.366852:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3 [0609/000740.367044:ERROR:zip.cc(179)] Cannot open '/home/cesar/Téléchargements/nwjs-v0.65.0-linux-x64/package.nw': FILE_ERROR_NOT_FOUND: Aucun fichier ou dossier de ce type (2) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [17224:17224:0609/000742.729131:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.", source: chrome-extension://aafddpmiffkameplnjkglahmbnbgidce/_generated_background_page.html (0) [17259:17266:0609/000757.499111:ERROR:cert_verify_proc_builtin.cc(603)] No net_fetcher for performing AIA chasing. The beginning seems to be the same errors as when I try to launch pgadmin binary: [0609/000332.573475:ERROR:zip_reader.cc(153)] Cannot open ZIP from file handle 3 [0609/000332.573631:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [16662:16669:0609/000347.214269:ERROR:cert_verify_proc_builtin.cc(603)] No net_fetcher for performing AIA chasing. [16662:16670:0609/000347.214777:ERROR:cert_verify_proc_builtin.cc(603)] No net_fetcher for performing AIA chasing. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-17 I upgraded to Ubuntu 22.04, I still have the same problem. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-18
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-19 DJ Caësar 9114 wrote:
OK, so I see the same FILE_NOT_FOUND error, but I do see a window. It sounds like this is an NWjs issue - I'll report it to them. Thanks! Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-20 I've done a bunch of further testing with different kernels and couldn't reproduce this issue. I did manage to find another issue (with Linux ubuntu 5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux) where just a white screen was displayed, and many MB of text output to the console. I've logged the problems upstream at nwjs/nw.js#7902 |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-21 Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-22 Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-23 Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-24 Can those who are seeing this issue please try downloading https://dl.nwjs.io/v0.65.0/nwjs-v0.65.0-linux-x64.tar.gz, unpacking it, and then running the nw binary with: @./nwjs-v0.65.0-linux-x64/nw --url=chrome://gpu@ If it manages to display anything, please post the output here. Thanks. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-25
No display. Same error as before. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-26 Thanks Marko - I'll add that info to the NWJS bug. What kernel are you running btw? If it's the 5.4 stable version, would it be possible to test with the 5.13 HWE version? FYI, if you're feeling adventurous, you might want to see if you can persuade apt to let you install pgadmin-server v6.10 with pgadmin-desktop v6.9 (with your normal kernel). That would give you all the changes in v6.10, but with the older runtime (the only change to which was the version of NWJS iirc). |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-27 Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-28 no window open on my Ubuntu 20.04.4 LTS using BOOT_IMAGE=/vmlinuz-5.4.0-113-generic
and I,m using a display configuration with a laptop, with my desktop extended to two 4k display. I removed my two 4k display to be only on the laptop display and then I have that :
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-29 and this is the copied report from nwjs :
|
Image migrated from Redmine: https://redmine.postgresql.org/attachments/download/6828 Filename: 2022-06-15_09-50.png Description: display placement |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-31 So i,ve been hacking around with my 3 display placements and that affect whether or not I see the nwjs window or i get the log "... !Bounds must be at least 50% within visible screen space.! ..." so, attached is a screenshot of my regular displays placement. where I get the "at least 50%" log. I havent't tried scenarios with 1 directly placed under or above 2 or 3, nor tried to change the primary display to another one than 2. I guess my next step is to retry that with en earlier version of njws (what was the version used in pgadmin4 6.9) ? Redmine ticket header update:
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-32 So, like nwjs-v0.65.0-linux-x64 v0.63.1 and v.64.1 works and the nwjs window is displayed on the top left of my right most display (while it's on my left most display with 0.65.x when it works) now with pgadmin4 6.10 : so I guess pgadmin devs have to to wait for nwjs to be fixed and pack a new version then.
|
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-33 Marko Šuštić wrote:
Same issue on Debian 11 (Bullseye). Downgrade to 6.9 (fortunately) works. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-34 I saw 6.11 was released. Is there any date planned to have this bug removed? |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-35 Yes, 6.11 works for me. They went back to an older nwjs package (0.62.2) instead of 0.65 in pgadmin4 v.6.10 I guess it's not a fix that has to be done in the nwjs project but an implementation in pgadmin4-desktop to tell to open the window (the loading splash one and/or the main one)in the visible area. |
Comment migrated from Redmine: https://redmine.postgresql.org/issues/7442#note-36 Well, I was about to make the same comment (except for your explanation part that I didn't get ;) ): everything works fine for me too. |
waiting for nw.js to fix it. |
This issue has been resolved as we are using latest NWJS v 0.70.0. |
Issue migrated from Redmine: https://redmine.postgresql.org/issues/7442
Originally created by Marko Šuštić at 2022-06-03 07:08:58 UTC.
After updating to 6.10. I can't start pgAdmin4 on ubuntu 20.04. Same thing is happening to few of my colleagues. I can see the process running but app won't start. Downgrading back to 6.9. is the only solution I have found.
The text was updated successfully, but these errors were encountered: