paperless-AI

Description: automatically analyze and tag your documents from paperless-ngx

Category: Other

URL: https://railway.com/template/4gBjPt

2 Replies

alexllao
PRO

11 days ago

Template bug: data volume mounted in wrong path (/data)

The template mounts the volume at /data, but Paperless-ngx does not store files there.
By default, Paperless writes to:

/usr/src/paperless/data

/usr/src/paperless/media

Because the template does not set PAPERLESS_DATA_DIR or PAPERLESS_MEDIA_ROOT, the volume at /data stays empty, and documents are lost on every redeploy.

Please update the template to mount the volume in the correct Paperless paths or define the required environment variables.

Thank you!

PS: I have lost more than 2 months of documents because of this issue.


alexllao
PRO

11 days ago

You should add these required environment variables so Paperless actually uses the /data volume:

PAPERLESS_DATA_DIR="/data"

PAPERLESS_MEDIA_ROOT="/data/media"

PAPERLESS_CONSUMPTION_DIR="/data/consume"

PAPERLESS_EXPORT_DIR="/data/export"

Lesson learned: I shouldn’t have trusted third-party templates.
Next time I’ll configure it myself instead of relying on someone else’s setup.


Loading...