Closed va1entin closed 3 years ago
Ugly workaround (likey, I have the same issue on a Synology and hope it works for the RPi).
Mount the folders /syncing-server/tmp
, /syncing-server/log
, and /syncing-server/db
separately (create the dirs outside standardnote folder) and chmod -R 777
the hell of them.
Your resulting volumes entry should look like this (I mount them under /volume1/docker/standardnotes-data
)
volumes:
- .:/syncing-server
- /volume1/docker/standardnotes-data/tmp:/syncing-server/tmp
- /volume1/docker/standardnotes-data/log:/syncing-server/log
- /volume1/docker/standardnotes-data/db:/syncing-server/db
I'm having the same issue. I've tried the solution from @dgraziotin but now it's giving an error for /syncing-server/tmp/cache directory with the same message. @va1entin were you able to fix it?
@devgrips are you by chance running the container as root? I found out it was the real issue, related to all those permission errors and others I thought I had.
This might be related to #99
After talking to @standarius we are considering to revert the mentioned PR above until a proper fix is applied that will allow linux Docker users to run it without "permissions denied" issues.
I've been trying to set up standardnotes on my Raspberry Pi 4B with 4GB RAM using docker-compose as advised in the documentation here.
The image build succeeds but afterwards the standardnotes_app_1 container keeps crashing with this error in the logs:
I'll gladly provide more info or test solutions.