Re: Installation failure on Debian
От | Dave Page |
---|---|
Тема | Re: Installation failure on Debian |
Дата | |
Msg-id | CA+OCxoxqnqgdykqTsU7ZXLjZ2ftKRMjnxaviGSwptQdbm4aUFg@mail.gmail.com обсуждение исходный текст |
Ответ на | Installation failure on Debian (Johann Spies <jspies@sun.ac.za>) |
Список | pgadmin-support |
On Tue, Oct 17, 2017 at 1:16 PM, Johann Spies <jspies@sun.ac.za> wrote:
I am trying pgadmin4 again.
I have downloaded pgadmin4-2.0-py2.py3-none-any.whl and did the following
(following the instructions on https://www.pgadmin.org/download/pgadmin-4-python- wheel/):
$ pyvenv-3.6 pgadmin4
$ cd pgadmin4
$ . bin/activate
$ pip3 install ~Downloads/pgadmin4-2.0-py2.py3-none-any.whl
$ python lib/python3.6/site-packages/pgadmin4/pgAdmin4.py
Traceback (most recent call last):
File "lib/python3.6/site-packages/pgadmin4/pgAdmin4.py", line 55, in <module>
exec(open(file_quote(setupfile), 'r').read())
File "<string>", line 46, in <module>
File "/home/js/pgadmin4/lib/python3.6/site-packages/ pgadmin4/pgadmin/setup/data_ directory.py", line 23, in create_app_data_directory
_create_directory_if_not_exists(os.path.dirname(config. SQLITE_PATH))
File "/home/js/pgadmin4/lib/python3.6/site-packages/ pgadmin4/pgadmin/setup/data_ directory.py", line 15, in _create_directory_if_not_ exists
os.mkdir(_path)
PermissionError: [Errno 13] Permission denied: '/var/lib/pgadmin'
https://www.pgadmin.org/docs/pgadmin4/2.x/server_deployment.html#python says (though I recommend reading the entire page):
"NOTE: You must ensure the directories specified are writeable by the user that the web server processes will be running as, e.g. apache or www-data."
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-support по дате отправления: