Zibbp / ganymede

Twitch VOD and Live Stream archiving platform. Includes a rendered and real-time chat for each archive.
https://github.com/Zibbp/ganymede
GNU General Public License v3.0
452 stars 24 forks source link

Cannot start DB (Permssions Issue) #493

Open JoonSoftware opened 1 month ago

JoonSoftware commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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?