public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daulat <[email protected]>
To: Usman Khan <[email protected]>
Cc: Khushboo Vashi <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system.
Date: Thu, 15 May 2025 15:27:44 +0530
Message-ID: <CALfOM6J4BvMzT4kWYDKVJ_7pH__53w9DCP2J_58W6F0yJ0z0wA@mail.gmail.com> (raw)
In-Reply-To: <CANVC+REXCYf=1MDoNVVXPhhC=oEPz9qOxJJ5gMxcEinX4eAyWw@mail.gmail.com>
References: <CALfOM6J3BrYp-DZGi29pwJXz8bO7BbRbp9cJbm-hkoeDBbXd9w@mail.gmail.com>
<CANVC+RFwJ+t3tgJLrDC-Ch_q_DUnNEV4Q4UKSLQ9gSzX2iueGA@mail.gmail.com>
<CAFOhELd_c4FmJ1bDqQ+c=xYjFttxDeETBuodt_x_-jMjrgYrdw@mail.gmail.com>
<CANVC+REXCYf=1MDoNVVXPhhC=oEPz9qOxJJ5gMxcEinX4eAyWw@mail.gmail.com>
Yes Ushman, this is not working.
sudo /usr/pgadmin4/bin/setup-web.sh
Setting up pgAdmin 4 in web mode on a Debian based platform...
Creating configuration database...
*/usr/pgadmin4/bin/setup-web.sh: line 75: /usr/pgadmin4/venv/bin/python3:
No such file or directory*
Error setting up server mode. Please examine the output above.
On Thu, May 15, 2025 at 3:16 PM Usman Khan <[email protected]> wrote:
> Hi Daulat,
> If you have installed it through apt package, why do you need to activate
> the virtual environment? should not triggering the command alone
>
> */usr/pgadmin4/bin/setup-web.sh*
>
> work for you?
>
> On Thu, May 15, 2025 at 2:35 PM Khushboo Vashi <
> [email protected]> wrote:
>
>>
>>
>> On Thu, May 15, 2025 at 2:59 PM Usman Khan <[email protected]> wrote:
>>
>>> adding pgadmin-hackers and removing [email protected]
>>> for better guidance.
>>> Please forward all queries related to pgadmin to
>>> [email protected]
>>>
>>> On Thu, May 15, 2025 at 2:19 PM Daulat <[email protected]> wrote:
>>>
>>>> Hello Team,
>>>>
>>>> I am currently facing an issue while installing pgAdmin 4 in web mode
>>>> on an Ubuntu 20.04 (Focal) system.
>>>>
>>>> Error:
>>>>
>>>> /usr/pgadmin4/venv/bin/python3: can't open file
>>>> '/usr/pgadmin4/web/setup.py': [Errno 2] No such file or directory
>>>>
>>>> ls -l /usr/pgadmin4
>>>> total 24
>>>> drwxr-xr-x 4 root root 4096 May 15 09:01 bin
>>>> -rw-r--r-- 1 root root 11206 Apr 2 10:26 sbom-desktop.json
>>>> -rw-r--r-- 1 root root 474 Apr 2 10:26 sbom-web.json
>>>> drwxr-xr-x 6 root root 4096 May 15 08:58 venv
>>>>
>>>> Since the pgAdmin installation did not automatically create the
>>>> required virtual environment, I manually set it up using python3.8 -m venv
>>>> /usr/pgadmin4/venv, but the setup still fails due to a missing setup.py
>>>> file in /usr/pgadmin4/web/
>>>>
>>>>
>> The setup-web.sh file location is */usr/pgadmin4/bin, *you have
>> mentioned /usr/pgadmin4/web/.
>>
>>
>>
>>> sudo python3.8 -m venv /usr/pgadmin4/venv
>>>> source /usr/pgadmin4/venv/bin/activate
>>>>
>>>> I followed the following steps from
>>>> https://www.pgadmin.org/download/pgadmin-4-apt/
>>>>
>>>> Please advise.
>>>>
>>>> Thanks,
>>>>
>>>>
>>>>
reply
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: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system.
In-Reply-To: <CALfOM6J4BvMzT4kWYDKVJ_7pH__53w9DCP2J_58W6F0yJ0z0wA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox