Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v7Wby-0040lB-1i for pgadmin-support@arkaria.postgresql.org; Sat, 11 Oct 2025 10:14:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v7Wbu-00Frpe-Ua for pgadmin-support@arkaria.postgresql.org; Sat, 11 Oct 2025 10:13:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v7WYx-00Fqau-07 for pgadmin-support@lists.postgresql.org; Sat, 11 Oct 2025 10:10:55 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v7WYs-001ZC3-1D for pgadmin-support@lists.postgresql.org; Sat, 11 Oct 2025 10:10:55 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-6394938e0ecso4562220a12.1 for ; Sat, 11 Oct 2025 03:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760177449; x=1760782249; darn=lists.postgresql.org; h=content-language:to:subject:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=QqyqdeIRHmH7T1ptJdYpKeJwEaEjiS+prTjJMGTOT1w=; b=EQJ0HRWOdojoFEhFTcgAF0E+fgVdKbhmhywjyW+YngJH4kqUYeBXWiOq/ewepW2xlE GfAzezS0LazzPbbr9xKsvyvIWYYGpD3ySlt1Z78XTPua6Vr86DLjSQWY/aOvzRCqHeSb MiPfLOAB2Yel40vKZTGqJzGIy+TeSzymCkc5GxlFnO5Ia3rrdaIsDe9tg6JNX60aWozu /CgVTcTcF0+D1p7fBwfWpkks/Je2piWyIkVxtKpk0t9rAkP76nExVCqNcAzdbMNWEvGP UKHWKTZ3vLhxiv9zgG0XVGY3eNvVe/zi3ylgbbJ4gXBI4WUamxBkLaKWtJK/PL9fn43Y 0Y7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760177449; x=1760782249; h=content-language:to:subject:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QqyqdeIRHmH7T1ptJdYpKeJwEaEjiS+prTjJMGTOT1w=; b=PzdX3EDKltG88BV7JbHcZqS66Z5s3QANuWRf0ItqQRuU+45MYbmON0BNt2w2YrhrLe fbPNu4H3d6PELpmKnzL6i/1VShGrYUHJqj4Om/HCv/Hw65Nyqha6fmgBI2I1K+Wcp1vc E4HSsLe7yteRm6mn9gEqXutnIAAy6Y3eUYxpiLNl68G9Y7EL17wRdfE+omQML2zHtEYm 1WcQeAy0Vvihh+VMzTT20VvUWFKFboCoKIsGO5n1fFq6M+BeJcJWkxyuD15vkMi4el3e A/VB/9ceMBRur/2a/+cGPYXkTW1/pRM0t4w70wC1gCUZxClXFGY83zVxow5ZOIByzWLV uXhg== X-Gm-Message-State: AOJu0Yy++JEhXFMhDmROTzIy425Qy/hOaX2oVrVNgfqMkwO/7QCo5nHn LGleezpCUnPuPqjHhUL3lLV8KjclJPR7NgQ6peYea6X25cYaWPmrx3T27lt3aUvr X-Gm-Gg: ASbGncv2sTbVuRjG2f2JqnfVwlKDuKCswItcaxZW2Psl6Z+Eh03Xr1oml/qPaC5npKk I0IxqcWYGTQd2E6IYnOpiuGsfHrMreNUTNOX3t6ELTIPLMu87RQh6lFyKCHEK8CITuokldwGXrx Kq1wi48I1epthrXVwa31GYgJfSX2aVvmwwxqhhm5pbKdoOAJ8KwQwmSGAgfaHIKrIHafDQ7HYIx 4Bu/+3+/4r1U1MguAZ9orl4S39vlxx6u0KNcHrDCg45tds2Zk4oAc9qypxBmtc9lF9GU1eCZho5 /MQbur2fRm/lVz/2lUBiVg1Lxu7fnILW9f+yZj2Fk/fMyFmTjW6qYxSgggPWhnKzgKfI2C1bcrl VQYGxRxZttAh9VsixjMRWeyjjLzgw2xBhoN/3wMpJ3IVL1WuPiXUksj4YR81jC453A0IHhUwMrr LsXIBRIxYsjLrmqd+jL717EA== X-Google-Smtp-Source: AGHT+IFm3HFQTnMv8JLIQo2UwQMpOx8bbIANhcpqPtP/9jSp3pKzIg/gTCApmDBn68uzlSP6xlRC3g== X-Received: by 2002:a17:907:7ba4:b0:b3e:c7d5:4cbb with SMTP id a640c23a62f3a-b50ac2cf050mr1397182866b.35.1760177449102; Sat, 11 Oct 2025 03:10:49 -0700 (PDT) Received: from [192.168.129.20] (146.8-129-109.adsl-dyn.isp.belgacom.be. [109.129.8.146]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b55d8c12cecsm460455266b.53.2025.10.11.03.10.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Oct 2025 03:10:48 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------RpY8BK6HDh8cR2eM6UTBXd8V" Message-ID: Date: Sat, 11 Oct 2025 12:10:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Bastiaan Wakkie Subject: Opening and saving files (crtl-o) (in 9.6 and 9.8) results in 500 error/Access denied To: "pgadmin-support@lists.postgresql.org" Content-Language: en-US, nl List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------RpY8BK6HDh8cR2eM6UTBXd8V Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, Opening and saving files (crtl-o) (in 9.6 and 9.8) results in 500 error/Access denied The rest of the pgadmin4 application is working like normal.. I can run any sql queries without problems, just cannot load or save any files! What did I do/remember: 1) recently updated postgresql to 17.5 on manjaro rolling release. 2) I remember that I went to the root of the storage when it started to act weird. Not sure this is connected though 3) When I try opening any file stored in the storage, I'm getting ... "Request failed with status code 500" ... error in the application but I cannot find *anywhere* in the logs an indication of what is happening (Also not in my postgresql, supervisor, nginx or journalctl logs). 4) I updated pgadmin4 from 9.6 to 9.8 like I always do (pip install -U pgadmin4) to see if this would fix it but the problem persists. 5) ...I changed CONSOLE_LOG_LEVEL = 10 in the hope to see more but alas... 6) ...I enabled postgresql log to see something comes up there, but no postgresql seems quietly doing it's thing.. 7) I checked the ... STORAGE_DIR = "/data/databases/pgadmin4/storage" ... and all is owned by the pgadmin user. 8) Via the command line I can add/delete/remove files/directories in the storage folder and I will see them in the storage (manager) but still unable to open or save any file. 9) BUT when I create a new sql script and try to save it or "save as" I am getting an "Access denied" message : "Successfully run. Total query runtime: 311 msec. 14603 rows affected. Access denied (/new script.sql)Access denied (/new_file.sql)Access denied (/two.new.sql)" (The message keeps appending my last attempts, btw) Did anybody else had this problem before? ... and know how to fix it? ... or knows a way to track down the 500 error of the app. or is this git issue material? Cheers, Bastiaan --------------RpY8BK6HDh8cR2eM6UTBXd8V Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi all,


Opening and saving files (crtl-o) (in 9.6 and 9.8) results in 500 error/Access denied

The rest of the pgadmin4 application is working like normal..

I can run any sql queries without problems, just cannot load or save any files!


What did I do/remember:

1) recently updated postgresql to 17.5 on manjaro rolling release.

2) I remember that I went to the root of the storage when it started to act weird. Not sure this is connected though

3) When I try opening any file stored in the storage, I'm getting ... 
"Request failed with status code 500" 
... error in the application but I cannot find *anywhere* in the logs an indication of what is happening (Also not in my postgresql, supervisor, nginx or journalctl logs).

4) I updated pgadmin4 from 9.6 to 9.8 like I always do (pip install -U pgadmin4) to see if this would fix it but the problem persists.

5) ...I changed CONSOLE_LOG_LEVEL = 10 in the hope to see more but alas... 

6) ...I enabled postgresql log to see something comes up there, but no postgresql seems quietly doing it's thing..

7) I checked the ...
STORAGE_DIR = "/data/databases/pgadmin4/storage"
... and all is owned by the pgadmin user.

8) Via the command line I can add/delete/remove files/directories in the storage folder and I will see them in the storage (manager) but still unable to open or save any file.

9) BUT when I create a new sql script and try to save it or "save as" I am getting an "Access denied" message :
"Successfully run. Total query runtime: 311 msec. 14603 rows affected. Access denied (/new script.sql)Access denied (/new_file.sql)Access denied (/two.new.sql)"
(The message keeps appending my last attempts, btw)


Did anybody else had this problem before?

... and know how to fix it? 

... or knows a way to track down the 500 error of the app.


or is this git issue material?

Cheers,

Bastiaan



--------------RpY8BK6HDh8cR2eM6UTBXd8V--