Jump to content

madfish

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by madfish

  1. Please check the corresponding docs: https://docs.paperless-ngx.com/configuration/#PAPERLESS_EMAIL_TASK_CRON
  2. Nevermind, it works finally: I must have messed up something which is not recoverable by deleting or re-installing containers. In fact I had to setup the entire server again to be able to successfully install paperless-ngx. Maybe there's a more surgical procedure to fix this, but I couldn't figure out how. So I leave this here, just in case someone googles `no such table: documents_sender` Cheers MadFish
  3. Need Help with paperless-ngx Docker Container Error: Missing Database Table Hello everyone, I'm encountering an issue with my paperless-ngx Docker container on my UnRaid system and need some assistance. I'm trying to run paperless-ngx along with its dependency `redis`. However, when starting up paperless-ngx, I'm getting an error regarding a missing database table (documents_sender). Here's the relevant error message from the log (I will attach the full log output to this post): django.db.utils.OperationalError: no such table: documents_sender According to the log, it seems like there might be an issue with database migrations, but it's a fresh install. I could not even add a user to the docker with `python manage.py createsuperuser`. I've already tried some standard troubleshooting steps such as restarting the containers and reinstalling redis and paperless-ngx, but to no avail. Has anyone else experienced similar issues or can offer any tips on how to resolve this problem? Any help or guidance would be greatly appreciated. Thank you in advance! Here's the full log: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute return super().execute(query, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: no such table: documents_sender The above exception was the direct cause of the following exception: 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.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.11/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.11/site-packages/django/core/management/base.py", line 412, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute output = self.handle(*args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper res = handle_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 356, in handle post_migrate_state = executor.migrate( ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 135, in migrate state = self._migrate_all_forwards( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards state = self.apply_migration( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 252, in apply_migration state = migration.apply(state, schema_editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/migrations/migration.py", line 132, in apply operation.database_forwards( File "/usr/local/lib/python3.11/site-packages/django/db/migrations/operations/models.py", line 440, in database_forwards schema_editor.alter_db_table( File "/usr/local/lib/python3.11/site-packages/django/db/backends/sqlite3/schema.py", line 120, in alter_db_table super().alter_db_table(model, old_db_table, new_db_table) File "/usr/local/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 627, in alter_db_table self.execute( File "/usr/local/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 201, in execute cursor.execute(sql, params) File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute return super().execute(query, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ django.db.utils.OperationalError: no such table: documents_sender Paperless-ngx docker container starting... Mapping UID and GID for paperless:paperless to 99:100 Creating 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: admin, auth, authtoken, contenttypes, django_celery_results, documents, guardian, paperless_mail, sessions Running migrations: Applying documents.0011_auto_20160303_1929...
×
×
  • Create New...