Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58679 - [pgadmin4] A folder named /home/mch/.cache/kioexec/krun/2785_0/ already exists.

Attached to Project: Community Packages
Opened by Christian Martin (mch) - Monday, 21 May 2018, 08:13 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 01 October 2018, 14:45 GMT
Task Type Support Request
Category Packages
Status Closed
Assigned To Jerome Leclanche (Adys)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I try to start pgadmin4 I always get a message box with the following error: "A folder named /home/mch/.cache/kioexec/krun/2785_0/ already exists.".
I have already tried to delete the "/home/mch/.cache" and "/home/mch/.pgadmin" directory.

Additional info:

[mch@arch ~]$ pgadmin4
Python path: "/usr/lib/pgadmin4/venv/lib/python3.6/site-packages:/usr/lib/python3.6/site-packages:/usr/lib/python3.6"
Python Home: "/usr/lib/pgadmin4/venv"
Webapp path: "/usr/lib/pgadmin4/web/pgAdmin4.py"
NOTE: Configuring authentication for DESKTOP mode.
pgAdmin 4 - Application Initialisation
======================================

* package version(s)

[mch@arch ~]$ pacman -Qi pgadmin4
Name : pgadmin4
Version : 3.0-2

* config and/or log files etc.


Steps to reproduce:
I have installed pgadmin4 and tried to start pgadmin4.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 01 October 2018, 14:45 GMT
Reason for closing:  Upstream
Additional comments about closing:  upstream issue that can't be solved by packaging
Comment by Christian Martin (mch) - Tuesday, 22 May 2018, 06:24 GMT
When I downgrade to 'Server=https://archive.archlinux.org/repos/2018/04/19/$repo/os/$arch' with 'pacman -Syyuu' pgadmin4 is working fine.
Comment by Christian Martin (mch) - Sunday, 03 June 2018, 14:23 GMT
I got pgadmin4 working by:
$ sudo su
# pgadmin4-server
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.

But why do I need to have root privileges to get pgadmin4 working?

If i start pgadmin4 by:
$ pgadmin4

The web browser (in my case firefox) is opened with the following url "http://127.0.0.1:40587/browser/" and I get the following error in the browser window:

Unauthorized
The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.

I got rid of the original error message. Probably I did not delete the mentioned directories properly or there was still a pgadmin4 process running in the background.
Comment by Levente Polyak (anthraxx) - Saturday, 07 July 2018, 18:57 GMT
just start pgadmin4 without the dedicated server component and use the tray icon to open the page otherwise the login token is not passed to the browser page
under no cirmunstances start the normal pgadmin4 as root
Comment by Da Den (abcdenis) - Tuesday, 17 July 2018, 18:30 GMT
In my case the problem was that KDE was initially opening the pgadmin link with KIO and then passing the link to Firefox. Wireshark showed that cookies weren't passed on.

I went to KDE->System Settings->Personalization->Applications->Default Applications->Web Browser->In the following application and chose "Firefox" as the default app. This way I eliminated the KIO intermediate step and the cookies weren't lost between apps.

Loading...