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?

  • TechAdmin@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 个月前

    To find the numerical user ID (uid) and group ID (gid) of an account or group you can use the ‘id’ command such as: id root

    As for which one to use on ownership and docker, that will vary widely and would require knowing more about how things are setup. I’d try to use the same one that is running the docker commands.

    • jadero@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      8 个月前

      Thanks! Once I knew that there was such a thing, a bit of online searching got that part of it sorted. And took me into what I hope is a productive rabbit hole of permissions management. :)