Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#2442 closed defect (duplicate)

pgAdmin4 on VMDK v16 fails to start

Reported by: darkblueb Owned by: osgeolive@…
Priority: major Milestone:
Component: OSGeoLive Keywords: postgis
Cc:

Description

RC1 VMDK

pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "/usr/pgadmin4/venv/bin/python3"
Runtime Config File: "/home/user/.config/pgadmin/runtime_config.json"
pgAdmin Config File: "/usr/pgadmin4/web/config.py"
Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py"
pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py"
Environment: 
  - USER: user
  - LC_TIME: en_US.UTF-8
  - XDG_SEAT: seat0
  - XDG_SESSION_TYPE: x11
  - SSH_AGENT_PID: 1135
  - SHLVL: 0
  - XDG_CACHE_HOME: /home/user/.cache
  - HOME: /home/user
  - DESKTOP_SESSION: Lubuntu
  - XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
  - LC_MONETARY: en_US.UTF-8
  - DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
  - QT_QPA_PLATFORMTHEME: lxqt
  - LOGNAME: user
  - XDG_SESSION_CLASS: user
  - XDG_SESSION_ID: 1
  - PATH: /home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/gmt/bin
  - XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
  - LC_ADDRESS: en_US.UTF-8
  - XDG_RUNTIME_DIR: /run/user/1000
  - XDG_MENU_PREFIX: lxqt-
  - DISPLAY: :0
  - LANG: en_US.UTF-8
  - XDG_CURRENT_DESKTOP: LXQt
  - LC_TELEPHONE: en_US.UTF-8
  - XDG_SESSION_DESKTOP: 
  - XAUTHORITY: /home/user/.Xauthority
  - XDG_DATA_HOME: /home/user/.local/share
  - XDG_CONFIG_HOME: /home/user/.config
  - SSH_AUTH_SOCK: /tmp/ssh-XXXXXXXsxaLE/agent.1072
  - SHELL: /bin/bash
  - LC_NAME: en_US.UTF-8
  - QT_ACCESSIBILITY: 1
  - LC_MEASUREMENT: en_US.UTF-8
  - GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
  - LC_IDENTIFICATION: en_US.UTF-8
  - XDG_VTNR: 1
  - PWD: /home/user
  - XDG_CONFIG_DIRS: /etc/xdg/xdg-Lubuntu:/etc/xdg:/etc:/usr/share
  - XDG_DATA_DIRS: /usr/share/Lubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
  - LC_NUMERIC: en_US.UTF-8
  - LC_PAPER: en_US.UTF-8
  - QT_PLATFORM_PLUGIN: lxqt
  - LXQT_SESSION_CONFIG: session
  - BROWSER: firefox
  - GTK_CSD: 0
  - GTK_OVERLAY_SCROLLING: 0
  - SAL_USE_VCLPLUGIN: qt5
  - SAL_VCL_QT5_USE_CAIRO: true
  - TERM: qterminal
  - GDK_BACKEND: x11
  - NO_AT_BRIDGE: 1
  - PGADMIN_INT_PORT: 32955
  - PGADMIN_INT_KEY: c1266a46-3a31-46bb-9bed-1d71624fc45c
  - PGADMIN_SERVER_MODE: OFF
--------------------------------------------------------

Total spawn time to start the pgAdmin4 server: 0.032 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.5/config_py.html


Change history (2)

comment:1 by darkblueb, 8 months ago

Resolution: duplicate
Status: newclosed

comment:2 by darkblueb, 8 months ago

this is why

user $ ls -lha | grep pgad
drwxr-xr-x  2 root root  4096 Aug 21 19:51 .pgadmin/
Note: See TracTickets for help on using tickets.