Skip to content

Updating paperless-ngx with docker-compose #4240

Closed Locked Answered by shamoon
olegkron asked this question in Support
Discussion options

You must be logged in to vote

What he's (accurately) saying is your volumes: under webserver is incorrect. I think youre sort of mixing volumes vs bind-mounts.

If you want to use bind-mounts (I do, easier in some ways, but there are pros / cons) it should be SOURCE:TARGET e.g. it should be
/srv/dev-disk-by-uuid-abcd:/usr/src/paperless/data to map that paperless dir to your host dir.

If you want to use volumes, it would be VOLUME:TARGET, e.g.
data:/usr/src/paperless/data (as is in the compose files).

Note the TARGET is the same in both, the target dir inside the paperless container, currently youre mapping to non-existent dir (/srv/dev-disk-by-uuid-abcd doesnt exist) and data is getting lost cause its not saved externa…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@olegkron
Comment options

@hendrik1120
Comment options

@shamoon
Comment options

Answer selected by olegkron
@hendrik1120
Comment options

@olegkron
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants