Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Newbie-Frage zu paperless-Ordnern

Featured Replies

Liebes Forum,

ich habe vor 2 Wochen Unraid installiert, seitdem viel gelernt und scheitere gerade an paperless-ngx. Ich habe die Installationsanleitung unter https://flemmingss.com/how-to-set-up-paperless-ngx-on-unraid/ befolgt. So sehen meine Ordner aus: 

 

Screenshot-2024-11-14-214144.png

 

Die consume und export-Ordner funktionieren. Der media-Ordner ist aber leer.

Screenshot-2024-11-14-220201.png

 

Wo sind meine Dokumente? Sie müssen irgendwo sein, da ich sie exportieren kann. Bei der Docker-Übersicht ist mir aufgefallen, dass dort für media nicht /usr/src/paperless/media steht, sondern 2x /mnt/user/paperless-ngx_data/media. Kann das der Grund sein? Und falls ja, wie kann ich das verändern?

 

Screenshot-2024-11-14-215241.png

 

Ich hoffe, Ihr könnt mir helfen und die Frage ist nicht zu blöd. Vielen Dank im voraus!

Solved by alturismo

  • Solution
7 hours ago, Oliver22 said:

Bei der Docker-Übersicht ist mir aufgefallen, dass dort für media nicht /usr/src/paperless/media steht, sondern 2x /mnt/user/paperless-ngx_data/media. Kann das der Grund sein? Und falls ja, wie kann ich das verändern?

du hast den Fehler gefunden ;)

 

und ja, deine Dokumente liegen jetzt innerhalb des Dockers und werden bei einer Änderung, Update, ... weg sein weil dann das Docker Image neu erstellt wird.

 

Änderung, naja, im Template, edit ... Pfad richtig eingeben und gut ist ;)

 

Vorweg, brauchst du diesen Inhlat nochmals ? wenn ja, müssten wir die vorher raus kopieren ... dazu in die Docker Shell

 

cp -r /usr/src/paperless/media/* /mnt/user/paperless-ngx_data/media/

 

und erst danach das Docker Template editieren ...

  • Author

Vielen lieben Dank für die schnelle Hilfe. Ich war richtig blöd. Nur um ganz sicher zu sein. Ich habe Deinen Befehl eingegeben und jetzt sehe ich die Dateien im Ordner user/paperless-ngx_data/media/media/documents. Das ist ein media zu viel, oder?

  • Author

Ich habe den Pfad jetzt aktualisiert. Danach musste ich einen neuen superuser erstellen. Mein bisheriger Login funktionierte nicht mehr. Ich habe dann noch eine weitere Variable erstellt. Auch danach war der superuser weg. Mache ich noch etwas falsch? Es wäre toll, wenn Du mir noch einmal helfen könntest. Vielen Dank!

6 hours ago, Oliver22 said:

Das ist ein media zu viel, oder?

ja, mein Fehler ;) oben korrigiert ;)

 

5 hours ago, Oliver22 said:

Ich habe den Pfad jetzt aktualisiert. Danach musste ich einen neuen superuser erstellen. Mein bisheriger Login funktionierte nicht mehr. Ich habe dann noch eine weitere Variable erstellt. Auch danach war der superuser weg. Mache ich noch etwas falsch? Es wäre toll, wenn Du mir noch einmal helfen könntest. Vielen Dank!

dazu mal die docker logs von paperless sichten, gäbe jetzt keinen Grund warum dies so sein sollte wegen dem media share ...

 

zeig dazu mal den kompletten docker run <<click<< command

 

die Datenbank liegt ja normal in appdata wo auch die Zugangsdaten wahrscheinlich gespeichert sind

  • Author

Vielen Dank für Deine schnelle Antwort!

docker run:

Screenshot-2024-11-15-135335.png

 

Und hier ist das log der Applikation (die redis-Adresse habe ich ausgeixxxt):

[2024-11-15 13:51:01,187] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/consume
[2024-11-15 13:51:01 +0100] [197] [INFO] Starting gunicorn 23.0.0
[2024-11-15 13:51:01 +0100] [197] [INFO] Listening at: http://[::]:8000 (197)
[2024-11-15 13:51:01 +0100] [197] [INFO] Using worker: paperless.workers.ConfigurableWorker
[2024-11-15 13:51:01 +0100] [197] [INFO] Server is ready. Spawning workers
[2024-11-15 13:51:01,464] [INFO] [celery.beat] beat: Starting...
[2024-11-15 13:51:01,512] [INFO] [celery.worker.consumer.connection] Connected to redis://xxx.xxx.xxx.xxx:6379//
[2024-11-15 13:51:01,519] [INFO] [celery.apps.worker] celery@271d586a8aac ready.
  Applying documents.1045_alter_customfieldinstance_value_monetary_squashed_1049_document_deleted_at_document_restored_at... OK
  Applying documents.1050_customfield_extra_data_and_more... OK
  Applying documents.1051_alter_correspondent_owner_alter_document_owner_and_more... OK
  Applying documents.1052_document_transaction_id... OK
  Applying documents.1053_document_page_count... OK
  Applying documents.1054_customfieldinstance_value_monetary_amount_and_more... OK
  Applying documents.1055_alter_storagepath_path... OK
  Applying documents.1056_customfieldinstance_deleted_at_and_more... OK
  Applying guardian.0001_initial... OK
  Applying guardian.0002_generic_permissions_index... OK
  Applying paperless.0001_initial... OK
  Applying paperless.0002_applicationconfiguration_app_logo_and_more... OK
  Applying paperless.0003_alter_applicationconfiguration_max_image_pixels... OK
  Applying paperless_mail.0025_alter_mailaccount_owner_alter_mailrule_owner_and_more... OK
  Applying paperless_mail.0026_mailrule_enabled... OK
  Applying paperless_mail.0027_mailaccount_expiration_mailaccount_account_type_and_more... OK
  Applying paperless_mail.0028_alter_mailaccount_password_and_more... OK
  Applying sessions.0001_initial... OK
  Applying socialaccount.0001_initial... OK
  Applying socialaccount.0002_token_max_lengths... OK
  Applying socialaccount.0003_extra_data_default_dict... OK
  Applying socialaccount.0004_app_provider_id_settings... OK
  Applying socialaccount.0005_socialtoken_nullable_app... OK
  Applying socialaccount.0006_alter_socialaccount_extra_data... OK
Running Django checks
System check identified no issues (0 silenced).
Search index out of date. Updating...
Executing /usr/local/bin/paperless_cmd.sh
2024-11-15 13:50:58,359 INFO Set uid to user 0 succeeded
2024-11-15 13:50:58,360 INFO supervisord started with pid 1
2024-11-15 13:50:59,364 INFO spawned: 'gunicorn' with pid 197
2024-11-15 13:50:59,366 INFO spawned: 'celery' with pid 198
2024-11-15 13:50:59,367 INFO spawned: 'celery-beat' with pid 199
2024-11-15 13:50:59,368 INFO spawned: 'consumer' with pid 200
2024-11-15 13:50:59,369 INFO spawned: 'celery-flower' with pid 201
Checking if we should start flower...
Not starting flower
2024-11-15 13:50:59,373 INFO success: celery-flower entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-11-15 13:50:59,373 INFO exited: celery-flower (exit status 0; expected)
celery beat v5.4.0 (opalescent) is starting.
2024-11-15 13:51:01,187 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-11-15 13:51:01,188 INFO success: celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-11-15 13:51:01,188 INFO success: celery-beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-11-15 13:51:01,188 INFO success: consumer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
 
 -------------- celery@271d586a8aac v5.4.0 (opalescent)
--- ***** ----- 
-- ******* ---- Linux-6.1.106-Unraid-x86_64-with-glibc2.36 2024-11-15 13:51:01
- *** --- * --- 
- ** ---------- [config]
- ** ---------- .> app:         paperless:0x1468dafd7530
- ** ---------- .> transport:   redis://xxx.xxx.xxx.xxx:6379//
- ** ---------- .> results:     
- *** --- * --- .> concurrency: 1 (prefork)
-- ******* ---- .> task events: ON
--- ***** ----- 
 -------------- [queues]
                .> celery           exchange=celery(direct) key=celery
                

[tasks]
  . documents.bulk_edit.delete
  . documents.tasks.bulk_update_documents
  . documents.tasks.consume_file
  . documents.tasks.empty_trash
  . 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

__    -    ... __   -        _
LocalTime -> 2024-11-15 13:51:01
Configuration ->
    . broker -> redis://xxx.xxx.xxx.xxx:6379//
    . loader -> celery.loaders.app.AppLoader
    . scheduler -> celery.beat.PersistentScheduler
    . db -> /usr/src/paperless/data/celerybeat-schedule.db
    . logfile -> [stderr]@%INFO
    . maxinterval -> 5.00 minutes (300s)
 

 

Ich hoffe, Du findest etwas...

Nochmals danke schön!

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.