Thread: Re: Hello

Re: Hello

From
Holger Jakobs
Date:
Am 10.03.24 um 11:18 schrieb Joshua Phillips:
I am running debian 12 and am attempting to install pgadmin by following instructions found here:

$ sudo mkdir /var/lib/pgadmin
$ sudo mkdir /var/log/pgadmin
$ sudo chown $USER /var/lib/pgadmin
$ sudo chown $USER /var/log/pgadmin
$ python3 -m venv pgadmin4
$ source pgadmin4/bin/activate
(pgadmin4) $ pip install pgadmin4
...
(pgadmin4) $ pgadmin4

Whenever I run the last command:

(pgadmin4) $ pgadmin4
I get the following error:

No such file or directory: '/var/lib/pgadmin/pgadmin4.db'

Do you happen to know why this is happening? I have tested this on multiple instances in various cloud environments, but get the same error every time.

Thanks

See https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html

Make sure that your account not only has access privileges to the file pgadmin4.db, but also the necessary privileges to access the directories on the path.

And BTW, this is NOT the pgadmin4 mailing list, but the one for PostgreSQL server!


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
Attachment

Hello

From
Joshua Phillips
Date:
I am running debian 12 and am attempting to install pgadmin by following instructions found here:

$ sudo mkdir /var/lib/pgadmin
$ sudo mkdir /var/log/pgadmin
$ sudo chown $USER /var/lib/pgadmin
$ sudo chown $USER /var/log/pgadmin
$ python3 -m venv pgadmin4
$ source pgadmin4/bin/activate
(pgadmin4) $ pip install pgadmin4
...
(pgadmin4) $ pgadmin4

Whenever I run the last command:

(pgadmin4) $ pgadmin4
I get the following error:

No such file or directory: '/var/lib/pgadmin/pgadmin4.db'

Do you happen to know why this is happening? I have tested this on multiple instances in various cloud environments, but get the same error every time.

Thanks