RM5576: Improve error messaging if the storage and log directoriescannot be created - Mailing list pgadmin-hackers

From Dave Page
Subject RM5576: Improve error messaging if the storage and log directoriescannot be created
Date
Msg-id CA+OCxoyGPyCB99Vt2m9NN7YO22XERfuhzRPASVC+xSVdj9kakQ@mail.gmail.com
Whole thread Raw
Responses Re: RM5576: Improve error messaging if the storage and logdirectories cannot be created
List pgadmin-hackers
Patch for $SUBJECT attached. Sample output:

python web/pgAdmin4.py
ERROR  : Failed to create the directory /var/lib/pgadmin:
           [Errno 13] Permission denied: '/var/lib/pgadmin'
HINT :   Create the directory /var/lib/pgadmin, ensure it is writeable by
         'dpage', and try again, or, create a config_local.py file
         and override the SQLITE_PATH setting per
         https://www.pgadmin.org/docs/pgadmin4/4.22/config_py.html


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

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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 now available on PyPi
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Improve error messaging if the storage and log direct