I spent two hours today trying to figure out why Nextcloud couldn’t read my data directory. Docker wasn’t mounting my data directory. Moved everything into my data directory. Docker couldn’t even see the configuration file.

Turns out the Docker Snap package only has access to files under the /home directory.

Moral of the story: never trust a Snap package.

  • hperrin@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    11 months ago

    Ok then don’t publish an application that clearly needs access to files outside of the /home directory. Or at least be upfront about how limited it is when run as a snap.

    • Big P@feddit.uk
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      11 months ago

      The Linux community loves to put the responsibility on the user to understand every facet of what they’re trying to do without explaining it