Ketebece
Ketebece
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Happy to report that removing docker dnf packages and reinstalling with the official install script fixed all of my issues! Thank you @Stavros for your help 🙂
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
But now I have a new error :despair:
runtipi-reverse-proxy | 2025-02-27T21:19:04Z ERR Provider error, retrying in 3.926110716s error="permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version\": dial unix /var/run/docker.sock: connect: permission denied" providerName=docker
runtipi-reverse-proxy | 2025-02-27T21:19:04Z ERR Provider error, retrying in 3.926110716s error="permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version\": dial unix /var/run/docker.sock: connect: permission denied" providerName=docker
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Okay so running the following command on the runtipi folder seem to have fixed the permission issues with the volumes 🎉
chcon -Rt svirt_sandbox_file_t runtipi
chcon -Rt svirt_sandbox_file_t runtipi
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Very odd
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Example of another permission error I get when getting past the postgres:
Error: EACCES: permission denied, open '/data/state/settings.json'
runtipi | at async open (node:internal/fs/promises:638:25)
runtipi | at async Object.readFile (node:internal/fs/promises:1242:14)
runtipi | at async generateSystemEnvFile (/app/main.js:428:75869)
runtipi | at async bootstrap (/app/main.js:978:34099) {
runtipi | errno: -13,
runtipi | code: 'EACCES',
runtipi | syscall: 'open',
runtipi | path: '/data/state/settings.json'
runtipi | }
Error: EACCES: permission denied, open '/data/state/settings.json'
runtipi | at async open (node:internal/fs/promises:638:25)
runtipi | at async Object.readFile (node:internal/fs/promises:1242:14)
runtipi | at async generateSystemEnvFile (/app/main.js:428:75869)
runtipi | at async bootstrap (/app/main.js:978:34099) {
runtipi | errno: -13,
runtipi | code: 'EACCES',
runtipi | syscall: 'open',
runtipi | path: '/data/state/settings.json'
runtipi | }
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
I'll give uninstalling docker a reinstalling with the script tonight, I think there's definitely something weird the volumes permissions
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Okay so some weird things, if I add a :z at the end of the volume name the postgres works but then I have the same problem with the other volumes on the runtipi container...
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Do you think it would be worth uninstalling all of the docker dnf packages and trying again from scratch with the install script?
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Yup
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Thanks 🙏
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
ketebece@LAPTOP-23S53C55:~/runtipi$ docker ps
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied
ketebece@LAPTOP-23S53C55:~/runtipi$ docker ps
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Yeah that's what I did
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Mhhh I don't think it worked, asked me for sudo when running the curl and when I just do a compose it says the engine isn't running
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Okay let me give this a shot
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Yeah it's very very strange
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
No dice, here's a log of what I did
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
If it's of any help I'm running docker 27.3.1 and compose 2.30.3
42 replies
RRuntipi
Created by Ketebece on 2/27/2025 in #🙋🏼・help
Can't start runtipi because of postgres volume permission issues
Sure here you go:
total 0
drwxrwxrwx. 1 root root 16 Feb 27 13:32 .
drwxr-xr-x. 1 ketebece ketebece 200 Feb 27 13:32 ..
drwxr-xr-x. 1 root root 0 Feb 27 13:32 postgres
total 0
drwxrwxrwx. 1 root root 16 Feb 27 13:32 .
drwxr-xr-x. 1 ketebece ketebece 200 Feb 27 13:32 ..
drwxr-xr-x. 1 root root 0 Feb 27 13:32 postgres
42 replies