RM5576: Improve error messaging if the storage and log directories cannot be created

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: RM5576: Improve error messaging if the storage and log directories cannot be created
Date: 2020-06-01 15:50:18
Message-ID: CA+OCxoyGPyCB99Vt2m9NN7YO22XERfuhzRPASVC+xSVdj9kakQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
RM_5576.diff application/octet-stream 5.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-06-02 05:42:16 pgAdmin 4 commit: Improve error messaging if the storage and log direct
Previous Message Dave Page 2020-06-01 14:09:18 pgAdmin 4 now available on PyPi