Closed pool1110 closed 6 months ago
You need to delete you addon_config folder conten̂t to force it to create a new super user
Thank you very much! Do you really mean all the folders in the "addons_config"?
Only paperless
I have deleted the folder but still cannot change the password. The folder is no longer created, even if I reinstall the addon.
It's weird and was never reported before, so can you provide the full addon running log ?
Paperless-ngx docker container starting...
Installing languages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [156 kB]
Fetched 9210 kB in 3s (3190 kB/s)
Reading package lists...
Package tesseract-ocr-eng already installed!
Package tesseract-ocr-deu already installed!
Package tesseract-ocr-fra already installed!
Package tesseract-ocr-ita already installed!
Package tesseract-ocr-spa already installed!
Creating directory scratch directory /tmp/paperless
Adjusting permissions of paperless files. This may take a while.
Waiting for Redis...
Connected to Redis broker.
Apply database migrations...
Operations to perform:
Apply all migrations: account, admin, auditlog, auth, authtoken, contenttypes, django_celery_results, documents, guardian, paperless, paperless_mail, sessions, socialaccount
Running migrations:
No migrations to apply.
Running Django checks
System check identified no issues (0 silenced).
Did not create superuser, the DB already contains superusers
Executing /usr/local/bin/paperless_cmd.sh
2024-05-23 12:53:37,104 INFO Set uid to user 0 succeeded
2024-05-23 12:53:37,114 INFO supervisord started with pid 605
2024-05-23 12:53:38,115 INFO spawned: 'gunicorn' with pid 980
2024-05-23 12:53:38,117 INFO spawned: 'gunicorn-ingress' with pid 981
2024-05-23 12:53:38,119 INFO spawned: 'celery' with pid 982
2024-05-23 12:53:38,121 INFO spawned: 'celery-beat' with pid 983
2024-05-23 12:53:38,124 INFO spawned: 'consumer' with pid 984
2024-05-23 12:53:38,126 INFO spawned: 'celery-flower' with pid 985
Checking if we should start flower...
Not starting flower
2024-05-23 12:53:38,141 INFO success: celery-flower entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-05-23 12:53:38,141 INFO exited: celery-flower (exit status 0; expected)
2024-05-23 12:53:39,145 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-23 12:53:39,145 INFO success: gunicorn-ingress entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-23 12:53:39,146 INFO success: celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-23 12:53:39,146 INFO success: celery-beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-23 12:53:39,146 INFO success: consumer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
celery beat v5.4.0 (opalescent) is starting.
[2024-05-23 12:53:47,121] [WARNING] [paperless.management.consumer] Using polling as INotify import failed
[2024-05-23 12:53:47,122] [INFO] [paperless.management.consumer] Polling directory for changes: /share/paperless/consume
[2024-05-23 12:53:47,123] [WARNING] [paperless.management.consumer] Using polling of 10s, consider setting this
[2024-05-23 12:53:48 +0200] [980] [INFO] Starting gunicorn 22.0.0
[2024-05-23 12:53:48 +0200] [980] [INFO] Listening at: http://[::]:8000 (980)
[2024-05-23 12:53:48 +0200] [980] [INFO] Using worker: paperless.workers.ConfigurableWorker
[2024-05-23 12:53:48 +0200] [980] [INFO] Server is ready. Spawning workers
[2024-05-23 12:53:48 +0200] [981] [INFO] Starting gunicorn 22.0.0
[2024-05-23 12:53:48 +0200] [981] [INFO] Listening at: http://[::]:8001 (981)
[2024-05-23 12:53:48 +0200] [981] [INFO] Using worker: paperless.workers.ConfigurableWorker
[2024-05-23 12:53:48 +0200] [981] [INFO] Server is ready. Spawning workers
__ - ... __ - _
LocalTime -> 2024-05-23 12:53:48
Configuration ->
. broker -> redis://localhost:6379//
. loader -> celery.loaders.app.AppLoader
. scheduler -> celery.beat.PersistentScheduler
. db -> /config/data/celerybeat-schedule.db
. logfile -> [stderr]@%INFO
. maxinterval -> 5.00 minutes (300s)
[2024-05-23 12:53:48,660] [INFO] [celery.beat] beat: Starting...
[12:53:48] INFO: Starting NGinx....
-------------- celery@ca5234a0-paperless-ngx v5.4.0 (opalescent)
--- ***** -----
-- ******* ---- Linux-6.6.29-haos-x86_64-with-glibc2.36 2024-05-23 12:53:49
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: paperless:0x7f8bd74c0850
- ** ---------- .> transport: redis://localhost:6379//
- ** ---------- .> results:
- *** --- * --- .> concurrency: 1 (prefork)
-- ******* ---- .> task events: ON
--- ***** -----
-------------- [queues]
.> celery exchange=celery(direct) key=celery
[tasks]
. documents.tasks.bulk_update_documents
. documents.tasks.consume_file
. documents.tasks.index_optimize
. documents.tasks.sanity_check
. documents.tasks.train_classifier
. documents.tasks.update_document_archive_file
. paperless_mail.mail.apply_mail_action
. paperless_mail.mail.error_callback
. paperless_mail.tasks.process_mail_accounts
[2024-05-23 12:53:49,110] [INFO] [celery.worker.consumer.connection] Connected to redis://localhost:6379//
[2024-05-23 12:53:49,125] [INFO] [celery.apps.worker] celery@ca5234a0-paperless-ngx ready.
[2024-05-23 13:00:00,002] [INFO] [celery.beat] Scheduler: Sending due task Check all e-mail accounts (paperless_mail.tasks.process_mail_accounts)
[2024-05-23 13:00:00,011] [INFO] [celery.worker.strategy] Task paperless_mail.tasks.process_mail_accounts[4134092c-2220-4eb4-b09b-fa44ded5ac34] received
[2024-05-23 13:00:00,030] [INFO] [celery.app.trace] Task paperless_mail.tasks.process_mail_accounts[4134092c-2220-4eb4-b09b-fa44ded5ac34] succeeded in 0.017410579981515184s: 'No new documents were added.'
[2024-05-23 13:02:50,981] [INFO] [paperless.auth] Login failed for user `Paul` from IP `2003:e5:f735:c700:f82a:d56:dffa:9f43`.
There is this line, you can manually edit the database with DB Browser for SQLite
Did not create superuser, the DB already contains superusers
You can also delete the file put it failled for some reason.
Maybe try to put an easy login and password in your settings than change it in the paperless interface itself
The DB file is here addon_configs/REPO_paperless-ngx/data
Sie müssen den Inhalt Ihres Ordners addon_config löschen, um die Erstellung eines neuen Superusers zu erzwingen.
That helped. I had deleted the wrong folder at the time. Now everything works. Thank you very much!
I can't log in. It always shows that I have entered incorrect data.
Even if I change the user and password under Configuration, it doesn't help. How do I change the access data?