Comments (5)
Hi @adrian-tt
We are not able to reproduce the issue.
Can you please share the screen recording?
from pgadmin4.
Video taken after connecting to postgresql database, opening query dialog.
Peek.2024-04-19.12-44.mp4
from pgadmin4.
Hi @adrian-tt
Please share the file permission details from where you are selecting file in query tool.
Run ls -la
Please share the screenshot and the location of data directory, that you can find from Help->About PgAdmin 4.
from pgadmin4.
Had already added rw to group and other to see if that worked (did not)
adrian@ah2022:~$ ls -la ~/.pgadmin/
total 6408
drwxrw-r-- 5 adrian adrian 4096 Apr 19 14:46 .
drwxr-xr-x 191 adrian adrian 28672 Apr 19 12:41 ..
drwxrwxr-x 2 adrian adrian 4096 Jun 12 2023 azurecredentialcache
-rw------- 1 adrian adrian 4575232 Apr 19 14:46 pgadmin4.db
-rw-rw-r-- 1 adrian adrian 1888256 Jan 16 17:57 pgadmin4.db.prev.bak
-rw-rw-r-- 1 adrian adrian 42010 Apr 15 11:57 pgadmin4.log
drwxrw---- 3 adrian adrian 4096 Apr 19 10:27 sessions
drwxrwxrwx 3 adrian adrian 4096 Jun 12 2023 storage
adrian@ah2022:~$ ls -la ~/.pgadmin/storage/
total 12
drwxrwxrwx 3 adrian adrian 4096 Jun 12 2023 .
drwxrw-r-- 5 adrian adrian 4096 Apr 19 14:46 ..
drwxrwxrw- 22 adrian adrian 4096 Apr 16 08:50 adrian.heath_tracktrans.com
adrian@ah2022:~$ ls -la ~/.pgadmin/storage/adrian.heath_tracktrans.com/a*.sql
-rw-rwxrw- 1 adrian adrian 967 Apr 11 2019 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/add_ems_to_subs.sql
-rw-rwxrw- 1 adrian adrian 517 Apr 8 2020 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/aims_dab_log_query.sql
-rw-rwxrw- 1 adrian adrian 1494 May 22 2020 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/aims_feb_jobs.sql
-rw-rwxrw- 1 adrian adrian 378 Nov 15 2019 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/alto_loads.sql
-rw-rwxrw- 1 adrian adrian 401627 Jul 19 2021 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/aws_epodjobs_import.sql
-rw-rwxrw- 1 adrian adrian 864 Nov 1 15:44 /home/adrian/.pgadmin/storage/adrian.heath_tracktrans.com/aws_prod_emails.sql
from pgadmin4.
Looks to be (data/file) corruption at my end.
Steps to test & resolve
- Created new pgadmin user
- Added one of the existing PostgreSQL servers
- Connected to existing database
- Opened query dialog, entered 'select current_database()' and successfully saved to test.sql file
- Disconnected from psql server
- Logged out of pgadmin
- Stopped pgadmin
- Renamed ~/.pgadmin/storage/original_user directory to original_user_broken
- Copied ~/.pgadmin/storage/new_user to original_user
- Restarted pgadmin
- Logged in as original user
- Connected to server and same database as (2)
- Opened query dialog; newly created file from (4) visable in file list
- Failed to open file
- Logged out of pgadmin
- Logged in as new_user
- Deleted original user
- Recreated original user
- Copied storage/origin_user_broken files into storage/recreated_user
- Logged in as recreated_user
- Able to open original files and save new ones
from pgadmin4.
Related Issues (20)
- pgadmin4 web gui "This site can't be reached" HOT 6
- When close pgAdmin4 without closing query tools, connections are not closed HOT 10
- Be able to log in using oauth without an email address HOT 5
- %PATH% HOT 9
- ERD tool: ERD to SQL generator is missing columns in pgAdmin 4 HOT 2
- Add Support Of pgadmin4 in Ubuntu 24.04 Noble HOT 1
- White screen when using PGAdmin HOT 1
- Fedora 40 Repo HOT 1
- License incompatibility - proprietary licence in pgadmin4 HOT 2
- Key for each header group must be unique (React Table) HOT 1
- ERD Tool - Primary key constraints is not updated after the checkbox for primary key is unchecked HOT 1
- Schema Diff does not find differences on 'GRANT USAGE ON SCHEMA' HOT 1
- pgAgent Job issue: Couldn't get a connection to the database when local SQL mode specified in another database other than postgres HOT 8
- Issue with Pgadmin4 Docker nginx reverse proxy HOT 21
- No message is displayed if a user with no privilege to terminate a query tries to do so on query tool.
- Dark Theme starts with a big white screen HOT 1
- Pgadmin install error in Ubuntu 24.04 LTS HOT 1
- Linter does not handle C-Style escape string constants (postgresql.org 4.1.2.2) HOT 1
- Query tool: Pressing [tab] does not align to next tab position
- Display user friendly message if user hits 'Recover Password' button with empty password field HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgadmin4.