Paperless broke after update
Paperless-ngx “PostgreSQL 14 or later is required” Error After updating Paperless-ngx via Docker compose, I suddenly found that the service refused to start. In your paperless-ngx compose logs you will find something like this: webserver-1 | Connected to Redis broker. webserver-1 | [init-redis-wait] Redis ready webserver-1 | Connected to PostgreSQL webserver-1 | [init-db-wait] Database is ready webserver-1 | [init-migrations] Apply database migrations... webserver-1 | Traceback (most recent call last): webserver-1 | File "/usr/src/paperless/src/manage.py", line 10, in <module> webserver-1 | execute_from_command_line(sys.argv) webserver-1 | File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 442, in execute_from_command_line webserver-1 | utility.execute() webserver-1 | File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 436, in execute webserver-1 | self.fetch_command(subcommand).run_from_argv(self.argv) webserver-1 | File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 416, in run_from_argv [...] webserver-1 | File "/usr/local/lib/python3.12/site-packages/django/db/backends/base/base.py", line 201, in check_database_version_supported webserver-1 | raise NotSupportedError( webserver-1 | django.db.utils.NotSupportedError: PostgreSQL 14 or later is required (found 13.22). webserver-1 | s6-rc: warning: unable to start service init-migrations: command exited 1 webserver-1 | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. webserver-1 | /run/s6/basedir/scripts/rc.init: fatal: stopping the container. The Important message from all this error log comes close to the end before the container is stopped again, it says: ...