Closed user-566 closed 1 month ago
Issue was solved by moving the config
folder to system running Docker. I still believe it should be possible to save the configuration on a network drive (especially since the readme seems to indicate so), but prehaps a feature request would be better suited for this.
It should be possible to have the DB on a network share. But I believe SQlite is used as a DB in this project. And SQlite is not suited for network shares. It can work, if you do not care about possible corruptions in the DB, resulting in you need to start over.
https://sqlite.org/useovernet.html https://runebook.dev/en/articles/sqlite/useovernet
I would suggest @kieraneglin to put a warning in big fat red about using config on a network share.
Hey all, thanks for chiming in! Sorry for the delay - I've been trying to do more outdoors stuff and less development on the weekends (:
As mentioned, The sqlite team doesn't recommend storing your database on network storage. The readme already says this in multiple locations, including the blurb on write-ahead log's environment variable so I don't see any need to change that.
Even though it's not recommended, it is still technically possible if you change the environment variable setting for the write-ahead log as you have done. That's actually not the issue here, the original issue is entirely permissions and roles-based. Normally in those cases I try to help out where I can, but I know genuinely nothing about Windows Server so unfortunately I have no advice. it sounds like ultimately you found a solution which is great!
Describe the bug Hello, I'm a Docker newbie trying to install Pinchflat on a Windows server running Docker Desktop (apologies in advance). Here's what my compose.yaml file looks like:
As you can see, since the
/config
and/download
folders are stored on a network share, I set theJOURNAL_MODE
environment variable todelete
as instructed in the readme.And here is the output I get when I run
docker compose up
:The user
invite
has full access to thepinchflat
folder and all sub-folders:If I remove the
JOURNAL_MODE
environment variable (or set it to the defaultwal
value) fromcompose.yaml
, the output is slightly different:Any help would be greatly appreciated, as I don't really know what to try at the moment.
To Reproduce Installing Pinchflat with Docker Desktop running on a Windows server using the compose.yaml file provided.
Expected behavior Container installs and runs correctly.
Screenshots Can provide if needed
Diagnostic info N/A
Additional context N/A