this post was submitted on 10 Apr 2024
8 points (100.0% liked)

Docker

1102 readers
2 users here now

founded 1 year ago
MODERATORS
 

I have a Bluesky PDS running successfully. Now I'm trying to set up GoToSocial, an ActivityPub server that also uses sqlite. When I run

sudo docker compose up -d

I get the following error in the docker log for GoToSocial:

Error executing command: error creating dbservice: sqlite ping: Unable to open the database file (SQLITE_CANTOPEN)

Is this more likely to be a conflict between the two docker applications or something specific to GoToSocial? (I've gone through the sqlite issues I've been able to find in GoToSocial's GitHub.)

If something to do with running sqlite in two containers, do you have any tips to resolve the issue?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 7 months ago (5 children)

It's specific to your GoToSocial container. It wants to write a file and cannot write it, probably because you didn't mount the directory, or the directory is not writable for the user in the container. Have a look at the docs.

[โ€“] [email protected] 2 points 7 months ago

Ok, thanks. I was hoping that it was specific to GTS, because that's more my speed. I've been through the docs, but obviously not carefully enough! I'll give it another go...

load more comments (4 replies)