From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Hello
Date: Sun, 10 Mar 2024 10:03:50 +0100
Message-ID: <c7fa454c-4a8d-dea1-9c61-11642e94b79d@jakobs.com> (raw)
In-Reply-To: <CAA6G9j0z5kSattvHiVJzW+=PaFWGL49JfRF1RPk6G9h5hr7tdQ@mail.gmail.com>
References: <CAA6G9j0z5kSattvHiVJzW+=PaFWGL49JfRF1RPk6G9h5hr7tdQ@mail.gmail.com>
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:
> https://www.pgadmin.org/download/pgadmin-4-python/
>
> $ 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
Attachments:
[application/pgp-signature] OpenPGP_signature (202B, ../c7fa454c-4a8d-dea1-9c61-11642e94b79d@jakobs.com/3-OpenPGP_signature)
download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
Subject: Re: Hello
In-Reply-To: <c7fa454c-4a8d-dea1-9c61-11642e94b79d@jakobs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox