Paperless-ngx Paperless-NGX lässt sich nicht mehr starten - kuriose Fehlermeldung

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Bei portainer passiert das eigentlich direkt. Sobald du den Stack editierst und speicherst wird ein deployment ausgeführt. Der Button heißt sogar redploy Stack oder so ähnlich
 

Monacum

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
03. Jan 2022
Beiträge
2.216
Punkte für Reaktionen
1.035
Punkte
224
Ah ok 👍 Dann warten wir mal ab, was @O.Berg schreibt, wie er den Container aufgesetzt hat.
 

SKL81

Benutzer
Mitglied seit
22. Sep 2023
Beiträge
4
Punkte für Reaktionen
0
Punkte
1
Ich habs über Portainer gelöst. Im Paperless Stack oben auf Editor und die entsprechende Zeile mit der Version angepasst. Abschließend unten auf Speichern und im folgenden Dialog das Update aktivieren. Anschließend Stack bzw. Paperless Portainer neustarten und kurz warten.
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
Ausgerechnet heute hatte ich Paperless mal gestoppt. Nach dem Starten fährt aber der Webserver nicht mehr hoch. Der stoppt immer wieder. Ist dies dasselbe Problem?
 

Anhänge

  • paperless-webserver-1.txt
    27,3 KB · Aufrufe: 10

Monacum

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
03. Jan 2022
Beiträge
2.216
Punkte für Reaktionen
1.035
Punkte
224
Bei dir scheint ja keine Verbindung zur Datenbank zu bekommen, ich kann aber zumindest nicht herauslesen, woran das liegt. Man sieht nur, dass er immer wieder die Verbindung zum Broker und zur Datenbank sucht aber nur bei dem Broker (redis) die entsprechende Meldung kommt, dass es auch funktioniert hat.

Schau mal bitte in das Protokoll der Datenbank, ob da etwas drin steht.
 

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Startet deine Datenbank? Ich kann mir gerade die Datei nicht angucken. Wäre besser wenn du es als codeblock einfügst.
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
die DB startet.

Protokoll Webserver:
Code:
paperless-webserver-1
date
stream
content
2023/09/23 18:35:37
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:35:37
stderr
    return float(os.getenv(key, default))
2023/09/23 18:35:37
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:35:37
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:35:37
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:35:37
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:35:37
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:35:37
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:35:37
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:35:37
stderr
    self._setup(name)
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:35:37
stderr
    settings.INSTALLED_APPS
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:35:37
stderr
    utility.execute()
2023/09/23 18:35:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:35:37
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:35:37
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:35:37
stderr
Traceback (most recent call last):
2023/09/23 18:35:36
stdout
Apply database migrations...
2023/09/23 18:35:36
stdout
Connected to Redis broker.
2023/09/23 18:35:36
stdout
Waiting for Redis...
2023/09/23 18:35:36
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:35:36
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:35:36
stdout
Creating directory /tmp/paperless
2023/09/23 18:35:36
stdout
Paperless-ngx docker container starting...
2023/09/23 18:35:20
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:35:20
stderr
    return float(os.getenv(key, default))
2023/09/23 18:35:20
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:35:20
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:35:20
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:35:20
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:35:20
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:35:20
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:35:20
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:35:20
stderr
    self._setup(name)
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:35:20
stderr
    settings.INSTALLED_APPS
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:35:20
stderr
    utility.execute()
2023/09/23 18:35:20
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:35:20
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:35:20
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:35:20
stderr
Traceback (most recent call last):
2023/09/23 18:35:20
stdout
Apply database migrations...
2023/09/23 18:35:20
stdout
Connected to Redis broker.
2023/09/23 18:35:20
stdout
Waiting for Redis...
2023/09/23 18:35:19
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:35:19
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:35:19
stdout
Creating directory /tmp/paperless
2023/09/23 18:35:19
stdout
Paperless-ngx docker container starting...
2023/09/23 18:35:10
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:35:10
stderr
    return float(os.getenv(key, default))
2023/09/23 18:35:10
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:35:10
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:35:10
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:35:10
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:35:10
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:35:10
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:35:10
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:35:10
stderr
    self._setup(name)
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:35:10
stderr
    settings.INSTALLED_APPS
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:35:10
stderr
    utility.execute()
2023/09/23 18:35:10
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:35:10
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:35:10
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:35:10
stderr
Traceback (most recent call last):
2023/09/23 18:35:10
stdout
Apply database migrations...
2023/09/23 18:35:10
stdout
Connected to Redis broker.
2023/09/23 18:35:10
stdout
Waiting for Redis...
2023/09/23 18:35:10
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:35:09
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:35:09
stdout
Creating directory /tmp/paperless
2023/09/23 18:35:09
stdout
Paperless-ngx docker container starting...
2023/09/23 18:35:04
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:35:04
stderr
    return float(os.getenv(key, default))
2023/09/23 18:35:04
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:35:04
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:35:04
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:35:04
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:35:04
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:35:04
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:35:04
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:35:04
stderr
    self._setup(name)
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:35:04
stderr
    settings.INSTALLED_APPS
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:35:04
stderr
    utility.execute()
2023/09/23 18:35:04
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:35:04
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:35:04
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:35:04
stderr
Traceback (most recent call last):
2023/09/23 18:35:03
stdout
Apply database migrations...
2023/09/23 18:35:03
stdout
Connected to Redis broker.
2023/09/23 18:35:03
stdout
Waiting for Redis...
2023/09/23 18:35:03
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:35:03
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:35:03
stdout
Creating directory /tmp/paperless
2023/09/23 18:35:03
stdout
Paperless-ngx docker container starting...
2023/09/23 18:34:58
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:34:58
stderr
    return float(os.getenv(key, default))
2023/09/23 18:34:58
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:34:58
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:34:58
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:34:58
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:34:58
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:34:58
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:34:58
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:34:58
stderr
    self._setup(name)
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:34:58
stderr
    settings.INSTALLED_APPS
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:34:58
stderr
    utility.execute()
2023/09/23 18:34:58
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:34:58
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:34:58
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:34:58
stderr
Traceback (most recent call last):
2023/09/23 18:34:58
stdout
Apply database migrations...
2023/09/23 18:34:58
stdout
Connected to Redis broker.
2023/09/23 18:34:58
stdout
Waiting for Redis...
2023/09/23 18:34:58
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:34:58
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:34:58
stdout
Creating directory /tmp/paperless
2023/09/23 18:34:58
stdout
Paperless-ngx docker container starting...
2023/09/23 18:34:53
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:34:53
stderr
    return float(os.getenv(key, default))
2023/09/23 18:34:53
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:34:53
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:34:53
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:34:53
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:34:53
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:34:53
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:34:53
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:34:53
stderr
    self._setup(name)
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:34:53
stderr
    settings.INSTALLED_APPS
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:34:53
stderr
    utility.execute()
2023/09/23 18:34:53
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:34:53
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:34:53
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:34:53
stderr
Traceback (most recent call last):
2023/09/23 18:34:53
stdout
Apply database migrations...
2023/09/23 18:34:53
stdout
Connected to Redis broker.
2023/09/23 18:34:53
stdout
Waiting for Redis...
2023/09/23 18:34:53
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:34:52
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:34:52
stdout
Creating directory /tmp/paperless
2023/09/23 18:34:52
stdout
Paperless-ngx docker container starting...
2023/09/23 18:34:48
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:34:48
stderr
    return float(os.getenv(key, default))
2023/09/23 18:34:48
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:34:48
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:34:48
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:34:48
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:34:48
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:34:48
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:34:48
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:34:48
stderr
    self._setup(name)
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:34:48
stderr
    settings.INSTALLED_APPS
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:34:48
stderr
    utility.execute()
2023/09/23 18:34:48
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:34:48
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:34:48
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:34:48
stderr
Traceback (most recent call last):
2023/09/23 18:34:48
stdout
Apply database migrations...
2023/09/23 18:34:48
stdout
Connected to Redis broker.
2023/09/23 18:34:48
stdout
Waiting for Redis...
2023/09/23 18:34:47
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:34:47
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:34:47
stdout
Creating directory /tmp/paperless
2023/09/23 18:34:47
stdout
Paperless-ngx docker container starting...
2023/09/23 18:34:43
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:34:43
stderr
    return float(os.getenv(key, default))
2023/09/23 18:34:43
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:34:43
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:34:43
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:34:43
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:34:43
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:34:43
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:34:43
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:34:43
stderr
    self._setup(name)
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:34:43
stderr
    settings.INSTALLED_APPS
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:34:43
stderr
    utility.execute()
2023/09/23 18:34:43
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:34:43
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:34:43
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:34:43
stderr
Traceback (most recent call last):
2023/09/23 18:34:42
stdout
Apply database migrations...
2023/09/23 18:34:42
stdout
Connected to Redis broker.
2023/09/23 18:34:42
stdout
Waiting for Redis...
2023/09/23 18:34:42
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:34:42
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:34:42
stdout
Creating directory /tmp/paperless
2023/09/23 18:34:42
stdout
Paperless-ngx docker container starting...
2023/09/23 18:34:37
stderr
ValueError: could not convert string to float: '<30>'
2023/09/23 18:34:37
stderr
    return float(os.getenv(key, default))
2023/09/23 18:34:37
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 67, in __get_float
2023/09/23 18:34:37
stderr
    CONSUMER_INOTIFY_DELAY: Final[float] = __get_float(
2023/09/23 18:34:37
stderr
  File "/usr/src/paperless/src/paperless/settings.py", line 751, in <module>
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2023/09/23 18:34:37
stderr
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2023/09/23 18:34:37
stderr
    return _bootstrap._gcd_import(name[level:], package, level)
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2023/09/23 18:34:37
stderr
    mod = importlib.import_module(self.SETTINGS_MODULE)
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
2023/09/23 18:34:37
stderr
    self._wrapped = Settings(settings_module)
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
2023/09/23 18:34:37
stderr
    self._setup(name)
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
2023/09/23 18:34:37
stderr
    settings.INSTALLED_APPS
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
2023/09/23 18:34:37
stderr
    utility.execute()
2023/09/23 18:34:37
stderr
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
2023/09/23 18:34:37
stderr
    execute_from_command_line(sys.argv)
2023/09/23 18:34:37
stderr
  File "/usr/src/paperless/src/manage.py", line 10, in <module>
2023/09/23 18:34:37
stderr
Traceback (most recent call last):
2023/09/23 18:34:35
stdout
Apply database migrations...
2023/09/23 18:34:35
stdout
Connected to Redis broker.
2023/09/23 18:34:35
stdout
Waiting for Redis...
2023/09/23 18:34:32
stdout
Waiting for PostgreSQL to start...
2023/09/23 18:34:32
stdout
Adjusting permissions of paperless files. This may take a while.
2023/09/23 18:34:32
stdout
Creating directory /tmp/paperless
2023/09/23 18:34:30
stdout
Mapping UID and GID for paperless:paperless to 1026:100
2023/09/23 18:34:30
stdout
Paperless-ngx docker container starting...
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
Protokoll DB:
Code:
paperless-db-1
date
stream
content
2023/09/23 18:34:29
stderr
2023-09-23 16:34:29.390 UTC [1] LOG:  database system is ready to accept connections
2023/09/23 18:34:29
stderr
2023-09-23 16:34:29.232 UTC [27] LOG:  database system was shut down at 2023-09-23 16:33:57 UTC
2023/09/23 18:34:28
stderr
2023-09-23 16:34:28.797 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023/09/23 18:34:28
stderr
2023-09-23 16:34:28.629 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023/09/23 18:34:28
stderr
2023-09-23 16:34:28.629 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023/09/23 18:34:28
stderr
2023-09-23 16:34:28.615 UTC [1] LOG:  starting PostgreSQL 13.12 (Debian 13.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023/09/23 18:34:25
stdout

2023/09/23 18:34:25
stdout
PostgreSQL Database directory appears to contain a database; Skipping initialization
2023/09/23 18:34:25
stdout
 

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Zeig mal deine Config/Compose. Was hast du bei CONSUMER_INOTIFY_DELAY für einen Wert gesetzt?
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
meinst du die env oder die yml aus dem configordner
 

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Da ich nicht weiß wie du es installiert hast, kann ich es dir nicht sagen wo es bei dir steht. Guck mal in beide rein wo das vor kommt
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
steht in keiner drin.
 

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Dann bräuchte man wohl mehr Informationen. Wie hast du es installiert? Also die Compose und Envs..... Hast du sonst probiert den Container mal neuzuerstellen? Wenn du alles richtig gemapped hast, dann könntest du den ja mal löschen und neuerstellen. Aber vorher bitte prüfen, ob alles was wichtig ist auch außerhalb vom Container liegt.
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
Danke euch erstmal bis hierher. Morgen mache ich weiter. Hab jetzt Gäste. Alle Dokumente liegen außerhalb von Docker also sicher. Sollte ich mich zu entschließen neu zu installieren, kann ich irgendwo meine Einstellungen wie Tags, Pfade etc. sichern?
 

alexhell

Benutzer
Sehr erfahren
Mitglied seit
13. Mai 2021
Beiträge
2.831
Punkte für Reaktionen
854
Punkte
154
Die sind ja in der Datenbank gesichert. Auch diese Daten sollten außerhalb vom Container liegen. Dann wäre nach dem neu einrichten alles wie vorher
 

EuroPC

Benutzer
Mitglied seit
05. Jan 2020
Beiträge
135
Punkte für Reaktionen
16
Punkte
18
Moin,
hatte das gleiche Problem. im Portainer den Stack beendet. Dann hinter POSTGRES :15 gepackt und neu gestartet.
et voila. Es funktioniert.
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
Mhm. Die Datenbank liegt im Docker. Startet aber. Kann ich die im Nachhinein umlenken oder bestimmte Daten daraus in die neue schieben? Ich habe jetzt nach Mariohostings Anleitung neu installiert und läuft. Nur ist alles Jungfräulich. Die Pfade der Dokumente etc sind die selben nur die DB Daten fehlen wohl.
 

Monacum

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
03. Jan 2022
Beiträge
2.216
Punkte für Reaktionen
1.035
Punkte
224
Dann alle Container stoppen, die alten Daten der Datenbank aus dem Backup in die Ordner der aktuellen Installation kopieren und das ganze wieder neu starten.
 

rerexx

Benutzer
Mitglied seit
25. Feb 2016
Beiträge
114
Punkte für Reaktionen
6
Punkte
24
Ok. Hört sich einfach an, aber ich stehe auf dem Schlauch. Meine alte DB liegt in -siehe Bild 1 und die zweite wie im zweiten Foto.
Xnip2023-09-24_10-49-11.jpg
 

Anhänge

  • Xnip2023-09-24_10-49-31.jpg
    Xnip2023-09-24_10-49-31.jpg
    145,7 KB · Aufrufe: 7

Soulfly999

Benutzer
Mitglied seit
12. Apr 2013
Beiträge
113
Punkte für Reaktionen
6
Punkte
24
Moin, bei mir ist leider das gleiche passiert, Watchtower hat Postgres von 15.8 auf 16 geupdatet und jetzt ist Paperless nicht mehr erreichbar.
Ich habe dann über den Stack-Editor, wie hier bereits beschrieben, es von postgres auf postgres:15 geändert und den Stack redeployed (Re-Pull image and redeploy).
Trotzdem meldet mir die DB in den Logs falsche DB Version. Habe ich noch was vergessen? Über HyperBackup habe ich schon versucht den paperless Ordner komplett zu ersetzen und neuzustarten, DB hängt aber immer noch auf der falschen Version!?
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-09-27 10:20:06.348 UTC [1] FATAL: database files are incompatible with server
2024-09-27 10:20:06.348 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 15.8 (Debian 15.8-1.pgdg120+1).

Code:
  db:
    image: postgres:15
    container_name: Paperless-NGX-DB
    restart: always
    volumes:
      - /volume1/docker/paperlessngx/db:/var/lib/postgresql/data
 


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat