I’ve set up paperless-ngx from the apps tab in the webui.
Unfortunately the paperless-ngx container takes a long time to deploy / start up, and is busy accessing the storage pool its stored on for 6 minutes straight.
Afterwards it seems to be running fine.
I’ve never experienced this running paperless-ngx on my arch workstation, startup was essentially instant (from SSD), so it shouldn’t be an app issue, per se.
Is there some gotcha with keeping all of the app data on the HDD pool?
Below is the log of the paperless-ngx container
2024-12-19 16:50:11.272504+00:00Paperless-ngx docker container starting...
2024-12-19 16:50:11.323324+00:00Mapping UID and GID for paperless:paperless to 568:568
2024-12-19 16:56:25.148690+00:00Creating directory scratch directory /tmp/paperless
2024-12-19 16:56:25.171044+00:00mkdir: created directory '/tmp/paperless'
2024-12-19 16:56:25.171307+00:00Adjusting permissions of paperless files. This may take a while.
2024-12-19 16:56:25.352526+00:00Waiting for PostgreSQL to start...
2024-12-19 16:56:25.847466+00:00Connected to PostgreSQL
2024-12-19 16:56:27.282528+00:00Waiting for Redis...
2024-12-19 16:56:27.308851+00:00Connected to Redis broker.
2024-12-19 16:56:27.350869+00:00Apply database migrations...
2024-12-19 16:56:37.909126+00:00Operations to perform:
2024-12-19 16:56:37.909244+00:00Apply all migrations: account, admin, auditlog, auth, authtoken, contenttypes, django_celery_results, documents, guardian, paperless, paperless_mail, sessions, socialaccount
2024-12-19 16:56:37.956959+00:00Running migrations:
2024-12-19 16:56:37.957012+00:00No migrations to apply.
2024-12-19 16:56:38.450954+00:00Running Django checks
2024-12-19 16:56:43.594781+00:00System check identified no issues (0 silenced).
2024-12-19 16:56:46.243044+00:00Did not create superuser, a user knightshrub already exists
2024-12-19 16:56:46.557219+00:00Executing /usr/local/bin/paperless_cmd.sh
2024-12-19 16:56:47.496468+00:002024-12-19 17:56:47,496 INFO Set uid to user 0 succeeded
2024-12-19 16:56:47.499751+00:002024-12-19 17:56:47,499 INFO supervisord started with pid 1
2024-12-19 16:56:48.504880+00:002024-12-19 17:56:48,504 INFO spawned: 'gunicorn' with pid 444
2024-12-19 16:56:48.506755+00:002024-12-19 17:56:48,506 INFO spawned: 'celery' with pid 445
2024-12-19 16:56:48.508493+00:002024-12-19 17:56:48,508 INFO spawned: 'celery-beat' with pid 446
2024-12-19 16:56:48.510348+00:002024-12-19 17:56:48,510 INFO spawned: 'consumer' with pid 447
2024-12-19 16:56:48.512050+00:002024-12-19 17:56:48,511 INFO spawned: 'celery-flower' with pid 448
2024-12-19 16:56:48.518007+00:00Checking if we should start flower...
2024-12-19 16:56:48.518080+00:00Not starting flower
2024-12-19 16:56:48.518605+00:002024-12-19 17:56:48,518 INFO success: celery-flower entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-19 16:56:48.518881+00:002024-12-19 17:56:48,518 INFO exited: celery-flower (exit status 0; expected)
2024-12-19 16:56:49.520477+00:002024-12-19 17:56:49,520 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-19 16:56:49.520538+00:002024-12-19 17:56:49,520 INFO success: celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-19 16:56:49.520563+00:002024-12-19 17:56:49,520 INFO success: celery-beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-19 16:56:49.520587+00:002024-12-19 17:56:49,520 INFO success: consumer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-19 16:56:51.006816+00:00celery beat v5.4.0 (opalescent) is starting.
2024-12-19 16:56:51.555068+00:00[2024-12-19 17:56:51,469] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/consume
2024-12-19 16:56:51.601878+00:00[2024-12-19 17:56:51 +0100] [444] [INFO] Starting gunicorn 23.0.0
2024-12-19 16:56:51.602752+00:00[2024-12-19 17:56:51 +0100] [444] [INFO] Listening at: http://0.0.0.0:30070 (444)
2024-12-19 16:56:51.602808+00:00[2024-12-19 17:56:51 +0100] [444] [INFO] Using worker: paperless.workers.ConfigurableWorker
2024-12-19 16:56:51.602819+00:00[2024-12-19 17:56:51 +0100] [444] [INFO] Server is ready. Spawning workers
2024-12-19 16:56:52.880148+00:00__ - ... __ - _
2024-12-19 16:56:52.880194+00:00LocalTime -> 2024-12-19 17:56:52
2024-12-19 16:56:52.880208+00:00Configuration ->
2024-12-19 16:56:52.880220+00:00. broker -> redis://default:**@redis:6379//
2024-12-19 16:56:52.880245+00:00. loader -> celery.loaders.app.AppLoader
2024-12-19 16:56:52.880255+00:00. scheduler -> celery.beat.PersistentScheduler
2024-12-19 16:56:52.880266+00:00. db -> /usr/src/paperless/data/celerybeat-schedule.db
2024-12-19 16:56:52.880274+00:00. logfile -> [stderr]@%INFO
2024-12-19 16:56:52.880290+00:00. maxinterval -> 5.00 minutes (300s)
2024-12-19 16:56:52.880938+00:00[2024-12-19 17:56:52,880] [INFO] [celery.beat] beat: Starting...
2024-12-19 16:56:53.079666+00:00[2024-12-19 17:56:53,079] [INFO] [celery.beat] Scheduler: Sending due task Empty trash (documents.tasks.empty_trash)
2024-12-19 16:56:53.089853+00:002024-12-19T16:56:53.089853024Z
2024-12-19 16:56:53.089919+00:00-------------- celery@52ca3fc77dcf v5.4.0 (opalescent)
2024-12-19 16:56:53.089934+00:00--- ***** -----
2024-12-19 16:56:53.089948+00:00-- ******* ---- Linux-6.6.44-production+truenas-x86_64-with-glibc2.36 2024-12-19 17:56:53
2024-12-19 16:56:53.089961+00:00- *** --- * ---
2024-12-19 16:56:53.089974+00:00- ** ---------- [config]
2024-12-19 16:56:53.089997+00:00- ** ---------- .> app: paperless:0x7f1d03373d40
2024-12-19 16:56:53.090013+00:00- ** ---------- .> transport: redis://default:**@redis:6379//
2024-12-19 16:56:53.090028+00:00- ** ---------- .> results:
2024-12-19 16:56:53.090042+00:00- *** --- * --- .> concurrency: 1 (prefork)
2024-12-19 16:56:53.090079+00:00-- ******* ---- .> task events: ON
2024-12-19 16:56:53.090096+00:00--- ***** -----
2024-12-19 16:56:53.090110+00:00-------------- [queues]
2024-12-19 16:56:53.090123+00:00.> celery exchange=celery(direct) key=celery
2024-12-19 16:56:53.090138+00:002024-12-19T16:56:53.090138153Z
2024-12-19 16:56:53.090165+00:002024-12-19T16:56:53.090165335Z
2024-12-19 16:56:53.090179+00:00[tasks]
2024-12-19 16:56:53.090192+00:00. documents.bulk_edit.delete
2024-12-19 16:56:53.090205+00:00. documents.tasks.bulk_update_documents
2024-12-19 16:56:53.090220+00:00. documents.tasks.consume_file
2024-12-19 16:56:53.090243+00:00. documents.tasks.empty_trash
2024-12-19 16:56:53.090257+00:00. documents.tasks.index_optimize
2024-12-19 16:56:53.090270+00:00. documents.tasks.sanity_check
2024-12-19 16:56:53.090285+00:00. documents.tasks.train_classifier
2024-12-19 16:56:53.090299+00:00. documents.tasks.update_document_archive_file
2024-12-19 16:56:53.090323+00:00. paperless_mail.mail.apply_mail_action
2024-12-19 16:56:53.090337+00:00. paperless_mail.mail.error_callback
2024-12-19 16:56:53.090353+00:00. paperless_mail.tasks.process_mail_accounts
2024-12-19 16:56:53.090376+00:002024-12-19T16:56:53.090376574Z
2024-12-19 16:56:53.127913+00:00[2024-12-19 17:56:53,127] [INFO] [celery.beat] Scheduler: Sending due task Optimize the index (documents.tasks.index_optimize)
2024-12-19 16:56:53.130332+00:00[2024-12-19 17:56:53,129] [INFO] [celery.beat] Scheduler: Sending due task Check all e-mail accounts (paperless_mail.tasks.process_mail_accounts)
2024-12-19 16:56:53.133049+00:00[2024-12-19 17:56:53,132] [INFO] [celery.beat] Scheduler: Sending due task Train the classifier (documents.tasks.train_classifier)
2024-12-19 16:56:53.217723+00:00[2024-12-19 17:56:53,217] [INFO] [celery.worker.consumer.connection] Connected to redis://default:**@redis:6379//
2024-12-19 16:56:53.231321+00:00[2024-12-19 17:56:53,230] [INFO] [celery.apps.worker] celery@52ca3fc77dcf ready.
2024-12-19 16:56:53.235925+00:00[2024-12-19 17:56:53,235] [INFO] [celery.worker.strategy] Task documents.tasks.empty_trash[7ca307c5-8cdf-475f-843e-b497ed048e82] received
2024-12-19 16:56:53.238073+00:00[2024-12-19 17:56:53,237] [INFO] [celery.worker.strategy] Task documents.tasks.index_optimize[77ccdb66-a7ac-4c53-964a-d31fa375748d] received
2024-12-19 16:56:53.239734+00:00[2024-12-19 17:56:53,239] [INFO] [celery.worker.strategy] Task paperless_mail.tasks.process_mail_accounts[25d6c935-b9d2-4b4a-bf6e-bc859a8ac962] received
2024-12-19 16:56:53.241389+00:00[2024-12-19 17:56:53,240] [INFO] [celery.worker.strategy] Task documents.tasks.train_classifier[26dbbe2e-1b25-402a-8afd-acf9471ea19f] received
2024-12-19 16:56:53.575093+00:00[2024-12-19 17:56:53,573] [INFO] [celery.app.trace] Task documents.tasks.empty_trash[7ca307c5-8cdf-475f-843e-b497ed048e82] succeeded in 0.3221593370000164s: None
2024-12-19 16:56:55.876077+00:00[2024-12-19 17:56:55,875] [INFO] [celery.app.trace] Task documents.tasks.index_optimize[77ccdb66-a7ac-4c53-964a-d31fa375748d] succeeded in 2.062402863999978s: None
2024-12-19 16:56:56.170033+00:00[2024-12-19 17:56:56,169] [INFO] [celery.app.trace] Task paperless_mail.tasks.process_mail_accounts[25d6c935-b9d2-4b4a-bf6e-bc859a8ac962] succeeded in 0.05306784999993397s: 'No new documents were added.'
2024-12-19 16:56:58.208622+00:00[2024-12-19 17:56:58,207] [INFO] [paperless.classifier] No updates since last training
2024-12-19 16:56:58.241676+00:00[2024-12-19 17:56:58,241] [INFO] [celery.app.trace] Task documents.tasks.train_classifier[26dbbe2e-1b25-402a-8afd-acf9471ea19f] succeeded in 1.8316425240000171s: None
2024-12-19 17:00:00.084873+00:00[2024-12-19 18:00:00,084] [INFO] [celery.beat] Scheduler: Sending due task Check all e-mail accounts (paperless_mail.tasks.process_mail_accounts)
2024-12-19 17:00:00.089015+00:00[2024-12-19 18:00:00,087] [INFO] [celery.worker.strategy] Task paperless_mail.tasks.process_mail_accounts[b3fd7c6e-1835-4d57-ba6e-22fab6f31a00] received
2024-12-19 17:00:00.157360+00:00[2024-12-19 18:00:00,156] [INFO] [celery.app.trace] Task paperless_mail.tasks.process_mail_accounts[b3fd7c6e-1835-4d57-ba6e-22fab6f31a00] succeeded in 0.06660176299999421s: 'No new documents were added.'
2024-12-19 17:05:00.026241+00:00[2024-12-19 18:05:00,025] [INFO] [celery.beat] Scheduler: Sending due task Train the classifier (documents.tasks.train_classifier)
2024-12-19 17:05:00.028758+00:00[2024-12-19 18:05:00,028] [INFO] [celery.worker.strategy] Task documents.tasks.train_classifier[8b2298bd-65c6-470e-aa30-19a08213c1c5] received
2024-12-19 17:05:00.448163+00:00[2024-12-19 18:05:00,447] [INFO] [paperless.classifier] No updates since last training
2024-12-19 17:05:00.483631+00:00[2024-12-19 18:05:00,483] [INFO] [celery.app.trace] Task documents.tasks.train_classifier[8b2298bd-65c6-470e-aa30-19a08213c1c5] succeeded in 0.45318429600001764s: None