From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | Edson Richter <edsonrichter(at)hotmail(dot)com> |
Cc: | "Pgadmin-Support(at)Postgresql(dot) Org" <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: PgAdmin 7.0 Import/Export servers function |
Date: | 2023-04-24 09:13:47 |
Message-ID: | CANxoLDc+af+92iQMz+5inDGYDFDCz331C-+w-wnZFWpwYsWSUw@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi Edson
I am not able to reproduce the issue. Performed exact steps as mentioned
above
[image: Screenshot 2023-04-24 at 2.30.38 PM.png]
Import/Export Dialog
[image: Screenshot 2023-04-24 at 2.31.03 PM.png]
On Sun, Apr 23, 2023 at 10:19 PM Edson Richter <edsonrichter(at)hotmail(dot)com>
wrote:
> Pgadmin 7.0 running on Docker/Linux.
>
>
>
> - What I’m doing: migrating from one (old) username to anoter (new)
> username.
>
> - Both users have the role “Admin”.
>
> - I can login both users, so there are no permissions or access issues.
>
>
>
> Steps done:
>
> 1. Login with old username, and exported all servers in a file called
> “servers-richter.json”
> 2. Copied file from “storage/old-username” to “storage/new-username”
> (I’ve used the old lazy way, via docker exec -ti ... /bin/sh)
> 3. Logout from old username, and login as new username
> 4. Open the “import servers” window, and the file appears there
> 5. I select the file, and click next: error “Access denied
> (/servers-richter.json)”
>
>
>
> Permissions are set:
>
>
>
> “-rw-r--r-- 1 pgadmin root 58637 Apr 23 16:21
> servers-richter.json”
>
>
>
> In log, I see the following line of error:
>
>
>
> “::ffff:192.168.0.30 - - [23/Apr/2023:16:37:14 +0000] "POST
> /import_export_servers/load_servers HTTP/1.1" 401 100 "
> https://192.168.0.251:15000/browser/" "Mozilla/5.0 (Windows NT 10.0;
> Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0
> Safari/537.36"
>
>
>
> Could you help me to import the servers file?
>
>
>
> This is the error window:
>
>
>
>
>
>
>
> Thanks,
>
>
>
> ER
>
>
>
> Enviado do Email <https://go.microsoft.com/fwlink/?LinkId=550986>
> para Windows
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Edson Richter | 2023-04-24 13:24:36 | RES: PgAdmin 7.0 Import/Export servers function |
Previous Message | Edson Richter | 2023-04-23 16:59:06 | RES: PgAdmin 7.0 Import/Export servers function |