Describe the bug
When uploading a document it gets stuck as 'Saving Document...'. Additionally, documents that are consumed never get saved.
To Reproduce
Start a fresh paperless instance with postgresql database
Login as the default user
Try to upload a file
See that it gets stuck at 'Saving Document...'
Expected behavior
The document should save and be visible in the documents tab.
Screenshots
Webserver logs
Paperless-ng docker container starting...
Creating directory /tmp/paperless
Adjusting permissions of paperless files. This may take a while.
Waiting for PostgreSQL to start...
/sbin/docker-prepare.sh: connect: Connection refused
/sbin/docker-prepare.sh: line 16: /dev/tcp/localhost/5432: Connection refused
Attempt 1 failed! Trying again in 5 seconds...
Apply database migrations...
Operations to perform:
Apply all migrations: admin, auth, authtoken, contenttypes, django_q, documents, paperless_mail, sessions
Running migrations:
No migrations to apply.
Changed password of user jonnobrow.
Executing /usr/local/bin/supervisord -c /etc/supervisord.conf
2021-10-10 14:45:25,215 INFO Set uid to user 0 succeeded
2021-10-10 14:45:25,216 INFO supervisord started with pid 1
2021-10-10 14:45:26,218 INFO spawned: 'consumer' with pid 46
2021-10-10 14:45:26,219 INFO spawned: 'gunicorn' with pid 47
2021-10-10 14:45:26,220 INFO spawned: 'scheduler' with pid 48
[2021-10-10 15:45:26 +0100] [47] [INFO] Starting gunicorn 20.1.0
[2021-10-10 15:45:26 +0100] [47] [INFO] Listening at: http://0.0.0.0:8000 (47)
[2021-10-10 15:45:26 +0100] [47] [INFO] Using worker: paperless.workers.ConfigurableWorker
[2021-10-10 15:45:26 +0100] [47] [INFO] Server is ready. Spawning workers
[2021-10-10 15:45:26,835] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/src/../consume
15:45:26 [Q] INFO Q Cluster stairway-neptune-violet-five starting.
15:45:26 [Q] INFO Process-1:1 ready for work at 71
15:45:26 [Q] INFO Process-1:2 ready for work at 72
15:45:26 [Q] INFO Process-1:3 monitoring at 73
15:45:26 [Q] INFO Process-1 guarding cluster stairway-neptune-violet-five
15:45:26 [Q] INFO Process-1:4 pushing tasks at 74
15:45:26 [Q] INFO Q Cluster stairway-neptune-violet-five running.
2021-10-10 14:45:27,902 INFO success: consumer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-10-10 14:45:27,902 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-10-10 14:45:27,902 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
15:45:56 [Q] INFO Enqueued 1
15:45:56 [Q] INFO Process-1 created a task from schedule [Train the classifier]
15:45:56 [Q] INFO Process-1:1 processing [sierra-wyoming-fix-pennsylvania]
15:45:56 [Q] INFO Enqueued 1
15:45:56 [Q] INFO Process-1 created a task from schedule [Optimize the index]
15:45:56 [Q] INFO Process-1:2 processing [lamp-july-uranus-mirror]
15:45:56 [Q] INFO Enqueued 1
15:45:56 [Q] INFO Process-1 created a task from schedule [Perform sanity check]
15:45:56 [Q] INFO Enqueued 1
15:45:56 [Q] INFO Process-1 created a task from schedule [Check all e-mail accounts]
15:45:56 [Q] INFO Process-1:1 stopped doing work
15:45:56 [Q] INFO Process-1:2 stopped doing work
15:45:56 [Q] INFO Processed [sierra-wyoming-fix-pennsylvania]
15:45:56 [Q] INFO Processed [lamp-july-uranus-mirror]
15:45:57 [Q] INFO recycled worker Process-1:1
15:45:57 [Q] INFO Process-1:5 ready for work at 93
15:45:57 [Q] INFO Process-1:5 processing [march-georgia-nineteen-ceiling]
[2021-10-10 15:45:57,055] [INFO] [paperless.sanity_checker] Sanity checker detected no issues.
15:45:57 [Q] INFO Process-1:5 stopped doing work
15:45:57 [Q] INFO Processed [march-georgia-nineteen-ceiling]
15:45:57 [Q] INFO recycled worker Process-1:2
15:45:57 [Q] INFO Process-1:6 ready for work at 96
15:45:57 [Q] INFO Process-1:6 processing [golf-uncle-golf-king]
15:45:57 [Q] INFO Process-1:6 stopped doing work
15:45:57 [Q] INFO Processed [golf-uncle-golf-king]
15:45:58 [Q] INFO recycled worker Process-1:5
15:45:58 [Q] INFO Process-1:7 ready for work at 98
15:45:58 [Q] INFO recycled worker Process-1:6
15:45:58 [Q] INFO Process-1:8 ready for work at 99
15:46:04 [Q] INFO Enqueued 1
15:46:04 [Q] INFO Process-1:7 processing [oliver-2021-10-08.pdf]
[2021-10-10 15:46:04,101] [INFO] [paperless.consumer] Consuming oliver-2021-10-08.pdf
Postgresql Logs
postgresql 14:45:18.52
postgresql 14:45:18.52 Welcome to the Bitnami postgresql container
postgresql 14:45:18.52 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 14:45:18.52 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 14:45:18.52
postgresql 14:45:18.53 INFO ==> ** Starting PostgreSQL setup **
postgresql 14:45:18.55 INFO ==> Validating settings in POSTGRESQL_* env vars..
postgresql 14:45:18.55 INFO ==> Loading custom pre-init scripts...
postgresql 14:45:18.56 INFO ==> Initializing PostgreSQL database...
postgresql 14:45:18.60 INFO ==> pg_hba.conf file not detected. Generating it...
postgresql 14:45:18.60 INFO ==> Generating local authentication configuration
postgresql 14:45:18.60 INFO ==> Deploying PostgreSQL with persisted data...
postgresql 14:45:18.61 INFO ==> Configuring replication parameters
postgresql 14:45:18.63 INFO ==> Configuring fsync
postgresql 14:45:18.64 INFO ==> Loading custom scripts...
postgresql 14:45:18.64 INFO ==> Enabling remote connections
postgresql 14:45:18.65 INFO ==> ** PostgreSQL setup finished! **
postgresql 14:45:18.66 INFO ==> ** Starting PostgreSQL **
2021-10-10 14:45:18.679 GMT [1] LOG: pgaudit extension initialized
2021-10-10 14:45:18.682 GMT [1] LOG: starting PostgreSQL 13.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-10-10 14:45:18.682 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-10-10 14:45:18.682 GMT [1] LOG: listening on IPv6 address "::", port 5432
2021-10-10 14:45:18.685 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2021-10-10 14:45:18.689 GMT [84] LOG: database system was shut down at 2021-10-10 14:45:10 GMT
2021-10-10 14:45:18.692 GMT [1] LOG: database system is ready to accept connections
Describe the bug When uploading a document it gets stuck as 'Saving Document...'. Additionally, documents that are consumed never get saved.
To Reproduce
Expected behavior The document should save and be visible in the documents tab.
Screenshots
Webserver logs
Postgresql Logs
Relevant information