I am running joplin server v2.10.5 (prod) in a docker container on debian and I'm trying to get file system storage to work via the appropriate environmental variable.
STORAGE_DRIVER=Type=Filesystem; Path=/my/path
Paths I have tried:
/home/joplin/saved-data
/home/joplin/packages/server/saved-data
/mnt/saved-data
/opt/saved-data
/saved-data
No matter which path I use, I keep getting the following error on startup:
joplin | [Error: Could not write content to storage: EACCES: permission denied, mkdir '/my/path/te'] {
joplin | errno: -13,
joplin | code: 'EACCES',
joplin | syscall: 'mkdir',
joplin | path: '/my/path/te'
joplin | }
running joplin server 2.7.4-beta is seems to work!
from my docker-compose.yaml:
services:
joplin-server:
image: joplin/server:2.7.4-beta
environment:
- STORAGE_DRIVER_FALLBACK=Type=Database; Mode=ReadAndWrite
volumes:
- ./files:/mnt/files
I have lot of directories and files.. the size of this directory is around 2/3 or backup file - sounds reasonable for me.
I'm afraid I can't try out the older version, as I get errors regarding broken migrations when trying to downgrade.
Here is the relevant part of my docker compose file:
services:
joplin:
image: etechonomy/joplin-server:latest
volumes:
- /opt/joplin/data:/mnt/files
environment:
- STORAGE_DRIVER=Type=Filesystem; Path=/mnt/files
- STORAGE_DRIVER_FALLBACK=Type=Database; Mode=ReadAndWrite
system
Closed
20 May 2023 19:27
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.