[OSGeoLive] #2438: pgadmin is not starting in 16.0 beta 1
OSGeoLive
trac_osgeolive at osgeo.org
Sat Jul 1 05:52:37 PDT 2023
#2438: pgadmin is not starting in 16.0 beta 1
-----------------------+----------------------------
Reporter: christro | Owner: osgeolive@…
Type: defect | Status: new
Priority: normal | Milestone: OSGeoLive16.0
Component: OSGeoLive | Keywords: vmdk, pgadmin,
-----------------------+----------------------------
{{{
Total spawn time to start the pgAdmin4 server: 0.008 Sec
ERROR : Failed to create the directory /home/user/.pgadmin/sessions:
[Errno 13] Permission denied: '/home/user/.pgadmin/sessions'
HINT : Create the directory /home/user/.pgadmin/sessions, ensure it is
writeable by
'user', and try again, or, create a config_local.py file
and override the SESSION_DB_PATH setting per
https://www.pgadmin.org/docs/pgadmin4/7.4/config_py.html
}}}
Possible Solution
{{{
#There is a directory.pgadmin with the owner root
user at osgeolive:~$ ls -la .pgadmin/
total 172
drwxr-xr-x 2 root root 4096 Jun 17 17:59 ./
drwxr-x--- 24 user user 4096 Jul 1 15:33 ../
-rw-r--r-- 1 root root 167936 Jul 1 12:38 pgadmin4.db
#Change the owner to user:user
sudo chown -R user:user .pgadmin
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2438>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list