Re: Problem related to volume creation to pgadmin 4 Docker image

2022-04-27 Thread Fahar Abbas
Hi Rodrigo, Did you get a chance to verify the snapshot and steps are already mentioned by Akshay? On Mon, Apr 25, 2022 at 2:53 PM Akshay Joshi wrote: > Hi Rodrigo > > We need your small help to confirm the fix > https://redmine.postgresql.org/issues/6958. We have fixed the issue but > can you

Re: Problem related to volume creation to pgadmin 4 Docker image

2022-04-25 Thread Akshay Joshi
Hi Rodrigo We need your small help to confirm the fix https://redmine.postgresql.org/issues/6958. We have fixed the issue but can you please test it on the snapshot build? You need to use "*image: dpage/pgadmin4:snapshot*" in your docker-compose.yml file. On Mon, Oct 25, 2021 at 3:33 PM Dave

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-25 Thread Dave Page
Hi Issue created: https://redmine.postgresql.org/issues/6958 On Fri, Oct 22, 2021 at 4:24 PM Rodrigo Mariano wrote: > Hi Dave, > > I understand the situation and I believe both options, that you suggested, > could improve the container. > > If you could leave this issue marked on somewhere to

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-22 Thread Rodrigo Mariano
Hi Dave, I understand the situation and I believe both options, that you suggested, could improve the container. If you could leave this issue marked on somewhere to be analyzed in the future, I thank you so much. Thank you for your help. Best regards, Rodrigo On 22/10/2021 11:31, Dave

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-22 Thread Dave Page
Hi On Fri, Oct 22, 2021 at 3:12 PM Rodrigo Mariano wrote: > Hi Dave, > > I tested the ACL command, as you suggested, and it worked when docker > container was turned off, but when I lauched pgadmin, it reset the folder > permissions again. > That's very odd - pgAdmin only resets the permission

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-22 Thread Rodrigo Mariano
Hi Dave, I tested the ACL command, as you suggested, and it worked when docker container was turned off, but when I lauched pgadmin, it reset the folder permissions again. Could you consider, in future versions, to give access to host user to //var/lib/pgadmin/storage/ folder? For example,

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-22 Thread Dave Page
Hi On Thu, Oct 21, 2021 at 7:51 PM Rodrigo Mariano wrote: > Hi Dave, > > Which OS do you use? I'm using Ubuntu 18. > macOS, primarily. > > Nautilus is the file manager to Ubuntu. > Ah, OK. > > I updated my image to dpage/pgadmin4:6.0 in order to avoid old versions. I > add a new volume and I

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Rodrigo Mariano
Hi Dave, Which OS do you use? I'm using Ubuntu 18. Nautilus is the file manager to Ubuntu. I updated my image to dpage/pgadmin4:6.0 in order to avoid old versions. I add a new volume and I executed the chown command (i.e. sudo chown -R 5050:5050 ). I tried to add my user to 5050 group, but

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Dave Page
On Thu, Oct 21, 2021 at 1:33 PM Rodrigo Mariano wrote: > Hi Dave, > > *> I've never needed to do that with plain Docker or Kubernetes. I've > never used Docker Compose though. * > > Have you ever tried to create a volume to */var/lib/pgadmin/storage* > folder using newer image versions and you

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Rodrigo Mariano
Hi Dave, /> I've never needed to do that with plain Docker or Kubernetes. I've never used Docker Compose though. / Have you ever tried to create a volume to //var/lib/pgadmin/storage/ folder using newer image versions and you were able to access it via host in the nautilus? Using plain

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Aditya Toshniwal
Hi, On Thu, Oct 21, 2021 at 4:57 PM Rodrigo Mariano wrote: > Hi Aditya, > > According to the documentation, I need to change user and group of my host > folder to *5050:5050* through *chown*. > > If my default user and group is *rodrigo:rodrigo*, how could my default > user access a folder that

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Dave Page
On Thu, Oct 21, 2021 at 12:27 PM Rodrigo Mariano wrote: > Hi Aditya, > > According to the documentation, I need to change user and group of my host > folder to *5050:5050* through *chown*. > > If my default user and group is *rodrigo:rodrigo*, how could my default > user access a folder that

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-21 Thread Rodrigo Mariano
Hi Aditya, According to the documentation, I need to change user and group of my host folder to /5050:5050/ through /chown/. If my default user and group is /rodrigo:rodrigo/, how could my default user access a folder that belongs to another one (i.e. /5050:5050/)? As far as I know, I

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Aditya Toshniwal
Hi Rodrigo, pgAdmin just needs a readable and writable directory. pgAdmin cannot change any permission on its own. It might be some other ownership issue on your system then. On Wed, Oct 20, 2021 at 11:29 PM Rodrigo Mariano wrote: > Hi Aditya, > > I did both. > > First, I changed the folder

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Rodrigo Mariano
Hi Aditya, I did both. First, I changed the folder permissions to 5050:5050 and the Docker container worked, but I was not able to get into the folder; the folder is locked and I cannot access its subfolders, even through terminal. For example: After that, I tried using default

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Aditya Toshniwal
Hi Rodrigo, Did you run sudo chown -R 5050:5050 ./volumes/pgadmin4 and sudo chown -R 5050:5050 ./volumes/pgadmin4_storage As per - https://www.pgadmin.org/docs/pgadmin4/6.0/container_deployment.html#mapped-files-and-directories ? On Wed, Oct 20, 2021 at 6:14 PM Rodrigo Mariano wrote: > Hi

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Rodrigo Mariano
Hi Aditya, I tried to create the volume to sub directory as well (i.e. //var/lib/pgadmin/storage/postgres_localhost.com/), but the same error message appears. I send below the traceback. Thank you for your help. Best regards, Rodrigo - Traceback (most recent call last):   File

Re: Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Aditya Toshniwal
Hi Rodrigo, /var/lib/pgadmin/storage is the base directory. A sub directory for each user will be created for storing user files. On Wed, Oct 20, 2021 at 5:10 PM Rodrigo Mariano wrote: > Hi, > > I'm having a trouble related to pgadmin 4 Docker image >

Problem related to volume creation to pgadmin 4 Docker image

2021-10-20 Thread Rodrigo Mariano
Hi, I'm having a trouble related to pgadmin 4 Docker image . I would like to create a volume to //var/lib/pgadmin/storage/ folder, in order to access backup files created by pgadmin 4 interface, however error messages about permission denied are