public inbox for [email protected]
help / color / mirror / Atom feedFrom: Gus Spier <[email protected]>
To: Aditya Toshniwal <[email protected]>
Cc: anthony.flury <[email protected]>
Cc: pgAdmin Support <[email protected]>
Subject: Re: Issue with pgAdmin4 not finding pg_dump
Date: Thu, 26 Sep 2024 21:17:33 -0400
Message-ID: <CAG8xnieytjYHa_CBVXYMj7fuES5dv5Q8ug=Kh7y5UWjiY3dchg@mail.gmail.com> (raw)
In-Reply-To: <CAM9w-_motRY=FqqSEVD_4wYno4MCfmB0V+jWycnUgyjYgyEctQ@mail.gmail.com>
References: <[email protected]>
<CAM9w-_mQW+bQe32t8HuaJYp4E9dhbmq4u=afG6TPMtMc2zQEsw@mail.gmail.com>
<[email protected]>
<CAM9w-_=zrnX70zaQmzFmpkvBT_TuPpWOqfLgUZYTGpGgwirGrg@mail.gmail.com>
<[email protected]>
<CAM9w-_motRY=FqqSEVD_4wYno4MCfmB0V+jWycnUgyjYgyEctQ@mail.gmail.com>
You may want to check the permissions on your dump file. It is possible
that pgAdmin does not have rights to that file.
Regards,
Gus
On Wed, Sep 25, 2024 at 11:29 PM Aditya Toshniwal <
[email protected]> wrote:
> Hi Anthony,
>
> Please share your binary config and pgAdmin about screenshots.
>
> On Wed, Sep 25, 2024 at 7:58 PM anthony.flury <
> [email protected]> wrote:
>
>> all of the executables have world read, write and execute permissions (as
>> expected) so I can't see that being the problem.
>>
>> the pg_dump program links to /usr/share/postgresql-common/pg_wrapper
>> which also has world execute permission - so that isn't a problem either.
>>
>>
>> On 25/09/2024 13:23, Aditya Toshniwal wrote:
>>
>> Hi Anthony,
>>
>> It looks like pgAdmin is not able to access the files for execute
>> permissions. Can you check once?
>>
>> On Wed, Sep 25, 2024 at 4:42 PM anthony.flury <
>> [email protected]> wrote:
>>
>>> The validate claims that the files aren't there.
>>>
>>> Although this is clearly incorrect since the files are there and can be
>>> executed without the need sudo or any other privelege execution.
>>>
>>>
>>> On 24/09/2024 10:52, Aditya Toshniwal wrote:
>>>
>>> Hi Anthony,
>>>
>>> What is the output of validate in preferences -> binary paths?
>>>
>>> [image: image.png]
>>>
>>> On Tue, Sep 24, 2024 at 2:28 PM anthony.flury <
>>> [email protected]> wrote:
>>>
>>>> I am trying to do a simple backup of my PostGreSql 12 database via
>>>> pgAdmin4 (v 8.12) on Ubuntu 22.04
>>>>
>>>> In Preferences I have the path for PostGre 12 set to '/usr/bin/', and I
>>>> have confirmed that that pg_dump utility exists in /usr/bin directory, and
>>>> I can run pg_dump from the command line.
>>>>
>>>> However when I select 'backup' for my database in pgAdmin4, it
>>>> generates an error saying `/usr/bin/pg_dump' not found (despite it being
>>>> there).
>>>>
>>>> What is the problem here ?
>>>> --
>>>> Anthony Flury
>>>> *Moble*: +44 07743 282707
>>>> *Home*: +44 (0)1206 391294
>>>> *email*: [email protected]
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>> <https://www.enterprisedb.com/;
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>> --
>>> Anthony Flury
>>> *Moble*: +44 07743 282707
>>> *Home*: +44 (0)1206 391294
>>> *email*: [email protected]
>>>
>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> <https://www.enterprisedb.com/;
>> "Don't Complain about Heat, Plant a TREE"
>>
>> --
>> Anthony Flury
>> *Moble*: +44 07743 282707
>> *Home*: +44 (0)1206 391294
>> *email*: [email protected]
>>
>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
Attachments:
[image/png] YDXFKLSD0YbnY7Cb.png (24.3K, 3-YDXFKLSD0YbnY7Cb.png)
download | view image
[image/png] image.png (253.5K, 4-image.png)
download | view image
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]
Subject: Re: Issue with pgAdmin4 not finding pg_dump
In-Reply-To: <CAG8xnieytjYHa_CBVXYMj7fuES5dv5Q8ug=Kh7y5UWjiY3dchg@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