Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start DB (Permssions Issue) #493

Open
JoonSoftware opened this issue Aug 26, 2024 · 4 comments
Open

Cannot start DB (Permssions Issue) #493

JoonSoftware opened this issue Aug 26, 2024 · 4 comments

Comments

@JoonSoftware
Copy link

JoonSoftware commented Aug 26, 2024

Screenshot 2024-08-25 214912
This is what is shown when trying to start the ganymede-db container.
Screenshot 2024-08-25 215134
This is makes it so I cannot register/login or do much for that matter but I can still access the frontend.

ALSO HERE IS MY DOCKER COMPOSE FILE
image

@Zibbp
Copy link
Owner

Zibbp commented Aug 26, 2024

Looks like you're setting a user user for the ganymede-db image. Postgres already runs rootless so you likely don't need to do that. If you do want to run as uid/gid 1000 maybe take a look at https://stackoverflow.com/questions/73672857/how-to-run-postgres-in-docker-as-non-root-user.

@JoonSoftware
Copy link
Author

Looks like you're setting a user user for the ganymede-db image. Postgres already runs rootless so you likely don't need to do that. If you do want to run as uid/gid 1000 maybe take a look at https://stackoverflow.com/questions/73672857/how-to-run-postgres-in-docker-as-non-root-user.

If I remove that line it still will not launch the ganymede-db container

@Zibbp
Copy link
Owner

Zibbp commented Aug 27, 2024

Try deleting the /home/joon/archive/db path and letting the container recreate it. If that doesn't work you'll have to debug the permissions on your own, this is not a Ganymede issue.

@JoonSoftware
Copy link
Author

I still have no luck, you're most likely busy but would you be open to adding my Discord and we talk about a solution there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants