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.

Fehler nach Update auf Paperless-NGX v2.14.x

Featured Replies

Hallo Forum, 

 

seht es mir bitte nach, dass ich hier meine Frage stelle und nicht im App-spezifischen Unterforum.

 

Ich nutze seit Monaten die Paperless-NGX Version 2.13.x stabil und ohne Fehlermeldungen. Tika-Server und Gotenberg laufen ebenfalls ohne Probleme. Und auch das Upgrade auf Unraid 7.0 hat keine Fehlermeldungen verursacht.

 

Leider startet Paperless nach dem Update auf die aktuellste Version jedoch nicht mehr. Im Protokoll stehen folgende Angaben:

 

Traceback (most recent call last):
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 413, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 459, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 107, in wrapper
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/core/management/commands/migrate.py", line 357, in handle
    post_migrate_state = executor.migrate(
                         ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 135, in migrate
    state = self._migrate_all_forwards(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
    state = self.apply_migration(
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 255, in apply_migration
    state = migration.apply(state, schema_editor)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/migration.py", line 132, in apply
    operation.database_forwards(
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/operations/special.py", line 196, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/usr/src/paperless/src/documents/migrations/1060_alter_customfieldinstance_value_select.py", line 30, in migrate_customfield_selects
    instance.value_select = custom_field.extra_data["select_options"][
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 413, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 459, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 107, in wrapper
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/core/management/commands/migrate.py", line 357, in handle
    post_migrate_state = executor.migrate(
                         ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 135, in migrate
    state = self._migrate_all_forwards(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
    state = self.apply_migration(
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/executor.py", line 255, in apply_migration
    state = migration.apply(state, schema_editor)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/migration.py", line 132, in apply
    operation.database_forwards(
  File "/usr/local/lib/python3.12/site-packages/django/db/migrations/operations/special.py", line 196, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/usr/src/paperless/src/documents/migrations/1060_alter_customfieldinstance_value_select.py", line 30, in migrate_customfield_selects
    instance.value_select = custom_field.extra_data["select_options"][
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
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, mfa, paperless, paperless_mail, sessions, socialaccount
Running migrations:
  Applying documents.1060_alter_customfieldinstance_value_select...Paperless-ngx docker container starting...
Installing languages...
Package tesseract-ocr-deu 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, mfa, paperless, paperless_mail, sessions, socialaccount
Running migrations:
  Applying documents.1060_alter_customfieldinstance_value_select...

** Drücke eine BELIEBIGE TASTE, um dieses Fenster zu schließen ** 

 

Ein Rollback auf v2.13.5 war problemlos möglich.

 

Habt ihr ähnliche Fehlermeldungen beim Update von Paperless erhalten und könntet ggf. helfen?

 

Viele Grüße

Marc 

Solved by cz13

  • Community Expert
7 hours ago, Lurican said:

Habt ihr ähnliche Fehlermeldungen beim Update von Paperless erhalten und könntet ggf. helfen?

Das Update ist laut github von gestern, issues sind dort noch nicht gemeldet.

Ich würde ein paar Tage abwarten und das auf github beobachten.

  • Community Expert
  • Solution

Hab gerade mal den Container von 2.13.5 auf 2.14.3 upgrdated.

Bisher keine Probleme.

Edited by cz13

Find die Update Philosophie von paperless ehrlich gesagt ne Katastrophe. Da kommt ja "alle paar Stunden" n neues stable raus. Ich lass das jetzt erstmal ne Weile laufen (aktuell 2.13.5)

Mir ist das Risiko da auch zu groß was ungetestetes einzuhandeln

43 minutes ago, warp760 said:

Mir ist das Risiko da auch zu groß was ungetestetes einzuhandeln

anscheinen "T.E.A.M Player" ...

 

Toll Ein Anderer Machts ;)

 

6, 5, 4, 3, Tage ... und vor 17 Stunden ... aber ja, aktuell hohe Frequenz, aber sicherlich weil das Update etwas größer war ...

 

Gut das es so viele T.E.A.M Player gibt die die Probleme lösen ;)

  • 2 weeks later...
  • Author

Hallo zusammen und sorry, dass ich auf die Antworten noch nicht eingegangen bin.

 

Tatsächlich habe ich mit Erscheinen jeder 2.14.x Version einen neuen Update-Versuch unternommen - und war jedes Mal erfolglos.

 

Nachdem ich Paperless-NGX nun gelöscht, die Version 2.13.5 neu installiert und einen Import der gesicherten Dokumente durchgeführt habe, konnte ich problemlos auf 2.14.6 aktualisieren. 

 

Ich habe keine Ahnung wo das Problem war, aber es scheint gelöst zu sein.

 

Nochmal danke für eure Antworten und viele Grüße, 

 

Marc

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.