Open jaydhary14 opened 2 years ago
I think you have already seen the message: FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/paperless/data/log/.__paperless.lock'
I could think of two things right now. I really don't know now if Docker creates a folder "data" and "media".According to Docker documentation, with a bind-mount, the directory structure must be there.
Source: https://docs.docker.com/storage/bind-mounts/
The file or directory does not need to exist on the Docker host already (this sentence is for volumes not bind mounts). It is created on demand if it does not yet exist. Bind mounts are very performant, but they rely on the host machine’s filesystem having a specific directory structure available. If you are developing new Docker applications, consider using named volumes instead. You can’t use Docker CLI commands to directly manage bind mounts.
The second problem I see is the samba mount that is underneath. The mount user has permissions to write? I think you have already tried a simple touch /usr/src/paperless/data/log/.__paperless.lock
?
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Webserver logs
Relevant information
docker-compose.yml
,docker-compose.env
orpaperless.conf
.docker-compose.yml