Operating system
Linux
Joplin version
2.13.3
Sync target
Joplin Server
What issue do you have?
I am running joplin server v2.13.3 (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:
/var/data
/usr/local/data
/mnt/files
/mnt/data
No matter which path I use, I keep getting the following error on startup
[Error: Could not write content to storage: EACCES: permission denied, mkdir '/mnt/files/te'] {
app_1 | 22:16:04 0|app | errno: -13,
app_1 | 22:16:04 0|app | code: 'EACCES',
app_1 | 22:16:04 0|app | syscall: 'mkdir',
app_1 | 22:16:04 0|app | path: '/mnt/files/te'
This is in my docker-compose.yml
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
volumes:
- /docker/joplin/data:/mnt/files
environment:
- {...}
- STORAGE_DRIVER=Type=Filesystem; Path=/mnt/files
- STORAGE_DRIVER_FALLBACK=Type=Database; Mode=ReadAndWrite
Any help would be appreciated