Skip to content

ERROR: InvenTree command failed: 'python3 manage.py migrate --run-syncdb' #11338

Closed

Description

@martin323232

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

Following blogpost, https://inventree.org/blog/2026/02/12/db-update on updating from old db.

Following error on "Step 4"

CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose pull
[+] Running 18/18
 ⠿ inventree-worker Skipped - Image is already being pulled by inventree-server                                                                                                                    0.0s
 ⠿ inventree-db Pulled                                                                                                                                                                            10.7s
   ⠿ 0c8d55a45c0d Already exists                                                                                                                                                                   0.0s
   ⠿ 03cf9c337134 Already exists                                                                                                                                                                   0.0s
   ⠿ d64dbdf800a2 Already exists                                                                                                                                                                   0.0s
   ⠿ 2710e764d89a Already exists                                                                                                                                                                   0.0s
   ⠿ c50a02fe2f5f Already exists                                                                                                                                                                   0.0s
   ⠿ 0ace4c983c3e Already exists                                                                                                                                                                   0.0s
   ⠿ b64f280cfa2b Already exists                                                                                                                                                                   0.0s
   ⠿ ea5e741a30ce Already exists                                                                                                                                                                   0.0s
   ⠿ 9dbecdc32213 Pull complete                                                                                                                                                                    8.6s
   ⠿ d76758f883b9 Pull complete                                                                                                                                                                    8.7s
   ⠿ 6596dc1aad70 Pull complete                                                                                                                                                                    8.7s
   ⠿ 56c3f259691b Pull complete                                                                                                                                                                    8.7s
   ⠿ 07a1bc62b3b0 Pull complete                                                                                                                                                                    8.8s
   ⠿ 8cced4a98c7e Pull complete                                                                                                                                                                    8.8s
 ⠿ inventree-server Pulled                                                                                                                                                                         1.1s
 ⠿ inventree-proxy Pulled                                                                                                                                                                          1.0s
inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose run --rm inventree-server invoke migrate
[+] Running 1/1
 ⠿ Container inventree-db  Recreated                                                                                                                                                               0.1s
[+] Running 1/1
 ⠿ Container inventree-db  Started                                                                                                                                                                 0.2s
Loading config file : /home/inventree/data/config.yaml
Running InvenTree database migrations...
INVE-W3: Could not detect git information.
Python version 3.11.13 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/django/core/management/commands/makemigrations.py:160: RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': [Errno -3] Temporary failure in name resolution
  warnings.warn(
No changes detected
INVE-W3: Could not detect git information.
Python version 3.11.13 - /usr/local/bin/python3
INVE-W3: Could not detect git information.
Python version 3.11.13 - /usr/local/bin/python3
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
    self.connect()
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 269, in connect
    self.connection = self.get_new_connection(conn_params)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
    connection = self.Database.connect(**conn_params)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/connection.py", line 98, in connect
    attempts = conninfo_attempts(params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/_conninfo_attempts.py", line 53, in conninfo_attempts
    raise e.OperationalError(str(last_exc))
psycopg.OperationalError: [Errno -3] Temporary failure in name resolution

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 117, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/migrations/loader.py", line 58, in __init__
    self.build_graph()
  File "/root/.local/lib/python3.11/site-packages/django/db/migrations/loader.py", line 235, in build_graph
    self.applied_migrations = recorder.applied_migrations()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 81, in applied_migrations
    if self.has_table():
       ^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 57, in has_table
    with self.connection.cursor() as cursor:
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 329, in cursor
    return self._cursor()
           ^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 305, in _cursor
    self.ensure_connection()
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 287, in ensure_connection
    with self.wrap_database_errors:
  File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
    self.connect()
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 269, in connect
    self.connection = self.get_new_connection(conn_params)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
    connection = self.Database.connect(**conn_params)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/connection.py", line 98, in connect
    attempts = conninfo_attempts(params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/_conninfo_attempts.py", line 53, in conninfo_attempts
    raise e.OperationalError(str(last_exc))
django.db.utils.OperationalError: [Errno -3] Temporary failure in name resolution
ERROR: InvenTree command failed: 'python3 manage.py migrate --run-syncdb'
- Refer to the error messages in the log above for more information

Steps to Reproduce

Run docker compose run --rm inventree-server invoke migrate

Expected behaviour

No error on db migrate

Deployment Method

None

Version Information

[+] Running 1/0
 ⠿ Container inventree-db  Started                                                                                                                                                                                                                              0.0s
Loading config file : /home/inventree/data/config.yaml
INVE-W3: Could not detect git information.

InvenTree - inventree.org
The Open-Source Inventory Management System


Python paths:
Executable  /usr/local/bin/python
Environment /usr/local
Invoke Tool /usr/local/lib/python3.11/site-packages/invoke/__init__.py

Installation paths:
Base        /home/inventree
Config      /home/inventree/data/config.yaml
Plugin File /home/inventree/data/plugins.txt
Media       /home/inventree/data/media
Static      /home/inventree/data/static
Backup      /home/inventree/data/backup

Versions:
InvenTree   1.1.12
API         421
Python      3.11.13
Django      4.2.28
Node        N/A
Yarn        N/A

Environment:
Platform    Docker
Debug       False

Commit hash: aa93421
Commit date: 2026-02-12

Try to reproduce on the demo site

I did not try to reproduce

Is the bug reproducible on the demo site?

Not reproducible

Relevant log output

Activity

  1. added
    bug
    question
    triage:not-checked
    on Feb 16, 2026
  2. SchrodingersGat commented on Feb 16, 2026

    @SchrodingersGat
    Member

    This looks like the database container simply has not had time to boot up before the InvenTree container tries to access it.

    Can you try the following:

    1. docker compose up inventree-db -d
    2. Wait ~10 seconds
    3. docker compose run --rm inventree-server invoke migrate
  3. martin323232 commented on Feb 16, 2026

    @martin323232
    Author

    got and error message on "migrate"

      Applying taggit.0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx... OK
      Applying users.0011_auto_20240523_1640...
    Cleared all user sessions to deal with GHSA-2crp-q9pc-457j
     OK
      Applying users.0012_alter_ruleset_can_view... OK
      Applying users.0013_migrate_mfa_20240408_1659... OK
      Applying users.0014_userprofile... OK
      Applying users.0015_alter_userprofile_type... OK
      Applying usersessions.0001_initial... OK
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    InvenTree database migrations completed
    Rebuilding internal database structures
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16T11:25:07.313584Z [warning  ] Failed to set maintenance mode state after 5 retries [inventree]
    2026-02-16 11:25:07,313 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'timestamp': '2026-02-16T11:25:07.313584Z', 'logger': 'inventree', 'level': 'warning'}
    Rebuilding image thumbnails in /home/inventree/data/media
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    

    Tried to continue with
    docker compose run --rm inventree-server invoke restore

    [+] Running 1/0
     ⠿ Container inventree-db  Running                                                                                                                         0.0s
    Loading config file : /home/inventree/data/config.yaml
    Restoring InvenTree database
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16 11:39:17,919 INFO Finding latest backup
    2026-02-16 11:39:17,927 INFO Restoring backup for database 'default' and server 'None'
    2026-02-16 11:39:17,927 INFO Restoring: InvenTree-db-2026-02-16-111846.psql.bin.gz
    2026-02-16 11:39:17,940 INFO Restore tempfile created: 1.8 MiB
    2026-02-16 11:39:17,940 DEBUG pg_restore --dbname=postgresql://pgadmin@inventree-db:5432/inventree --single-transaction --clean --if-exists
    Traceback (most recent call last):
      File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
        main()
      File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
        execute_from_command_line(sys.argv)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
        utility.execute()
      File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
        self.execute(*args, **cmd_options)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
        output = self.handle(*args, **options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 85, in handle
        self._restore_backup()
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 162, in _restore_backup
        self.connector.restore_dump(input_file)
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 109, in restore_dump
        return self._restore_dump(dump)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 194, in _restore_dump
        stdout, _ = self.run_command(cmd_str, stdin=dump, env={**self.dump_env, **pg_env})
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 186, in run_command
        raise exceptions.CommandConnectorError(msg)
    dbbackup.db.exceptions.CommandConnectorError: Error running: pg_restore --dbname=postgresql://pgadmin@inventree-db:5432/inventree --single-transaction --clean --if-exists
    pg_restore: error: could not execute query: ERROR:  column "id" of relation "users_ruleset" is an identity column
    HINT:  Use ALTER TABLE ... ALTER COLUMN ... DROP IDENTITY instead.
    Command was: ALTER TABLE IF EXISTS public.users_ruleset ALTER COLUMN id DROP DEFAULT;
    
    ERROR: InvenTree command failed: 'python3 manage.py dbrestore --noinput -v 2 --uncompress'
    - Refer to the error messages in the log above for more information
    
  4. SchrodingersGat commented on Feb 16, 2026

    @SchrodingersGat
    Member

    This looks to be hitting the same error as #11315

  5. SchrodingersGat commented on Feb 16, 2026

    @SchrodingersGat
    Member

    @martin323232 the message "Failed to set maintenance mode state after 5 retries [inventree]" is not an error, you can ignore this message.

    Can you please run through the restore procedure again (starting from the blank database point) and provide a full log output including:

    • The exact command entered at each step
    • Any changes you make to the configuration files
    • The full log outputs
  6. martin323232 commented on Feb 16, 2026

    @martin323232
    Author

    I followed the blogpost guide, but I can do it again.
    How to I get the full log output, or is it just all data in terminal?

  7. apohh commented on Feb 16, 2026

    @apohh

    I don’t want to hijack the thread, but I’m encountering exactly the same error, so I’m sharing my steps in case it helps.

    • I first updated from InvenTree 1.1.6 to 1.1.12.
    • Then I ran docker compose up -d to verify the update was successful :
    Image
    • Then backup with docker compose run --rm inventree-server invoke backup :
    [+] Creating 1/1
     ✔ Container inventree-db  Running                                                                                                                                                                                                                                        0.0s 
    Loading config file : /home/inventree/data/config.yaml
    Backing up InvenTree database...
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16 15:34:55,234 INFO Backing Up Database: inventree
    2026-02-16 15:34:55,234 DEBUG  pg_dump --dbname=postgresql://inventree@inventree-db:5432/inventree --format=custom --exclude-table-data=django_session 
    2026-02-16 15:34:55,498 DEBUG Backup size: 1.1 MiB
    2026-02-16 15:34:55,499 INFO Writing file to InvenTree-db-2026-02-16-153455.psql.bin.gz
    Backing up InvenTree media files...
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16 15:35:17,839 DEBUG Backup size: 779.9 MiB
    2026-02-16 15:35:17,839 INFO Writing file to InvenTree-media-2026-02-16-153457.tar.gz
    Backup completed successfully
    
    • Move pgdb to another directory mv data/pgdb data/pgdb_backup
    • Open docker-composer.yml and change postgres version from 13 to 17
    Image
    • Then docker compose pull
    [+] Pulling 5/5
    inventree-worker Skipped - Image is already being pulled by inventree-server  0.0s 
    inventree-server Pulled 1.1s 
    inventree-db Pulled 1.1s 
    inventree-cache Pulled 1.2s 
    inventree-sfs Pulled
    
    • Then docker compose run --rm inventree-server invoke migrate
    Migration result
    [+] Creating 1/1
     ✔ Container inventree-db  Recreated                                                                                                                                                                                                                                      0.4s 
    [+] Running 1/1
     ✔ Container inventree-db  Started
    Loading config file : /home/inventree/data/config.yaml
    Running InvenTree database migrations...
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    No changes detected
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    Operations to perform:
      Synchronize unmigrated apps: admindocs, allauth, anymail, corsheaders, dbbackup, django_cleanup, django_filters, django_ical, django_otp, django_structlog, djmoney, drf_spectacular, generic, headless, humanize, maintenance_mode, markdownify, messages, mptt, rest_framework, runserver_nostatic, staticfiles, storages, web
      Apply all migrations: InvenTree, account, admin, auth, build, common, company, contenttypes, django_mailbox, django_q, error_report, exchange, flags, importer, machine, mfa, oauth2_provider, order, otp_static, otp_totp, part, plugin, report, sessions, socialaccount, stock, taggit, users, usersessions
    Synchronizing apps without migrations:
      Creating tables...
        Running deferred SQL...
    Running migrations:
      Applying InvenTree.0001_initial... OK
      Applying contenttypes.0001_initial... OK
      Applying auth.0001_initial... OK
      Applying account.0001_initial... OK
      Applying account.0002_email_max_length... OK
      Applying account.0003_alter_emailaddress_create_unique_verified_email... OK
      Applying account.0004_alter_emailaddress_drop_unique_email... OK
      Applying account.0005_emailaddress_idx_upper_email... OK
      Applying account.0006_emailaddress_lower... OK
      Applying account.0007_emailaddress_idx_email... OK
      Applying account.0008_emailaddress_unique_primary_email_fixup... OK
      Applying account.0009_emailaddress_unique_primary_email... OK
      Applying admin.0001_initial... OK
      Applying admin.0002_logentry_remove_auto_add... OK
      Applying admin.0003_logentry_add_action_flag_choices... OK
      Applying contenttypes.0002_remove_content_type_name... OK
      Applying auth.0002_alter_permission_name_max_length... OK
      Applying auth.0003_alter_user_email_max_length... OK
      Applying auth.0004_alter_user_username_opts... OK
      Applying auth.0005_alter_user_last_login_null... OK
      Applying auth.0006_require_contenttypes_0002... OK
      Applying auth.0007_alter_validators_add_error_messages... OK
      Applying auth.0008_alter_user_username_max_length... OK
      Applying auth.0009_alter_user_last_name_max_length... OK
      Applying auth.0010_alter_group_name_max_length... OK
      Applying auth.0011_update_proxy_permissions... OK
      Applying auth.0012_alter_user_first_name_max_length... OK
      Applying taggit.0001_initial... OK
      Applying taggit.0002_auto_20150616_2121... OK
      Applying taggit.0003_taggeditem_add_unique_index... OK
      Applying taggit.0004_alter_taggeditem_content_type_alter_taggeditem_tag... OK
      Applying taggit.0005_auto_20220424_2025... OK
      Applying users.0001_initial... OK
      Applying users.0002_auto_20201004_0158... OK
      Applying users.0003_auto_20201005_2227... OK
      Applying users.0004_auto_20210113_1909... OK
      Applying users.0005_owner_model... OK
      Applying part.0001_initial... OK
      Applying company.0001_initial... OK
      Applying stock.0001_initial... OK
      Applying stock.0002_auto_20190525_2226... OK
      Applying stock.0003_auto_20190525_2303... OK
      Applying stock.0004_auto_20190525_2356... OK
      Applying stock.0005_auto_20190602_1944... OK
      Applying company.0002_auto_20190520_2204... OK
      Applying company.0003_remove_supplierpart_minimum... OK
      Applying company.0004_auto_20190525_2354... OK
      Applying company.0005_auto_20190525_2356... OK
      Applying order.0001_initial... OK
      Applying order.0002_auto_20190604_2224... OK
      Applying order.0003_auto_20190604_2226... OK
      Applying order.0004_purchaseorder_status... OK
      Applying order.0005_purchaseorderlineitem_part... OK
      Applying order.0006_auto_20190605_2056... OK
      Applying order.0007_auto_20190605_2138... OK
      Applying order.0008_auto_20190605_2140... OK
      Applying order.0009_auto_20190606_2133... OK
      Applying order.0010_purchaseorderlineitem_notes... OK
      Applying stock.0006_stockitem_purchase_order... OK
      Applying stock.0007_auto_20190618_0042... OK
      Applying stock.0008_stockitemtracking_url... OK
      Applying stock.0009_auto_20190715_2351... OK
      Applying build.0001_initial... OK
      Applying build.0002_auto_20190520_2204... OK
      Applying build.0003_auto_20190525_2355... OK
      Applying build.0004_auto_20190525_2356... OK
      Applying build.0005_auto_20190604_2217... OK
      Applying stock.0010_stockitem_build... OK
      Applying stock.0011_auto_20190908_0404... OK
      Applying stock.0012_auto_20190908_0405... OK
      Applying stock.0013_auto_20190908_0916... OK
      Applying stock.0014_auto_20190908_0918... OK
      Applying stock.0015_auto_20190913_1407... OK
      Applying stock.0016_auto_20191118_2146... OK
      Applying stock.0017_auto_20191118_2311... OK
      Applying stock.0018_auto_20200202_0103... OK
      Applying stock.0019_auto_20200202_1024... OK
      Applying stock.0020_auto_20200206_1213... OK
      Applying stock.0021_auto_20200215_2232... OK
      Applying stock.0022_auto_20200217_1109... OK
      Applying stock.0023_auto_20200318_1027... OK
      Applying stock.0024_auto_20200405_2239... OK
      Applying stock.0025_auto_20200405_2243... OK
      Applying stock.0026_stockitem_uid... OK
      Applying part.0002_auto_20190520_2204... OK
      Applying part.0003_auto_20190525_2226... OK
      Applying part.0004_auto_20190525_2356... OK
      Applying part.0005_auto_20190526_1119... OK
      Applying part.0006_auto_20190526_1215... OK
      Applying part.0007_auto_20190602_1944... OK
      Applying part.0008_auto_20190618_0042... OK
      Applying part.0009_part_virtual... OK
      Applying part.0010_auto_20190620_2135... OK
      Applying part.0011_part_revision... OK
      Applying part.0012_auto_20190627_2144... OK
      Applying part.0013_auto_20190628_0951... OK
      Applying part.0014_partparameter... OK
      Applying part.0015_auto_20190820_0251... OK
      Applying part.0016_auto_20190820_0257... OK
      Applying part.0017_bomitem_checksum... OK
      Applying part.0018_auto_20190907_0941... OK
      Applying part.0019_auto_20190908_0404... OK
      Applying part.0020_auto_20190908_0404... OK
      Applying part.0021_auto_20190908_0916... OK
      Applying part.0022_auto_20190908_0918... OK
      Applying part.0023_auto_20190913_1401... OK
      Applying part.0024_auto_20191118_2139... OK
      Applying part.0025_auto_20191118_2316... OK
      Applying part.0026_auto_20200131_1022... OK
      Applying part.0027_auto_20200202_1024... OK
      Applying part.0028_auto_20200203_1007... OK
      Applying part.0029_auto_20200223_0901... OK
      Applying part.0030_auto_20200318_1027... OK
      Applying part.0031_auto_20200318_1044... OK
      Applying part.0032_auto_20200322_0453... OK
      Applying part.0033_auto_20200404_0445... OK
      Applying part.0034_auto_20200404_1238... OK
      Applying part.0035_auto_20200406_0045... OK
      Applying order.0011_auto_20190615_1928... OK
      Applying order.0012_auto_20190617_1943... OK
      Applying order.0013_auto_20191118_2323... OK
      Applying order.0014_auto_20191118_2328... OK
      Applying order.0015_auto_20200201_2346... OK
      Applying order.0016_purchaseorderattachment... OK
      Applying order.0017_auto_20200331_1000... OK
      Applying order.0018_auto_20200406_0151... OK
      Applying order.0019_purchaseorder_supplier_reference... OK
      Applying common.0001_initial... OK
      Applying common.0002_auto_20190902_2304... OK
      Applying common.0003_auto_20190902_2310... OK
      Applying company.0006_supplierpricebreak_currency... OK
      Applying company.0007_remove_supplierpart_lead_time... OK
      Applying company.0008_auto_20190913_1407... OK
      Applying company.0009_auto_20191118_2323... OK
      Applying company.0010_auto_20200201_1231... OK
      Applying company.0011_auto_20200318_1114... OK
      Applying company.0012_auto_20200318_1114... OK
      Applying company.0013_auto_20200406_0131... OK
      Applying company.0014_auto_20200407_0116... OK
      Applying company.0015_company_is_manufacturer... OK
      Applying company.0016_auto_20200412_2330... OK
      Applying company.0017_auto_20200413_0320... OK
      Applying company.0018_supplierpart_manufacturer... OK
      Applying company.0019_auto_20200413_0642... OK
      Applying company.0020_auto_20200413_0839... OK
      Applying company.0021_remove_supplierpart_manufacturer_name... OK
      Applying order.0020_auto_20200420_0940... OK
      Applying order.0021_auto_20200420_1010... OK
      Applying order.0022_salesorderlineitem_part... OK
      Applying order.0023_auto_20200420_2309... OK
      Applying stock.0027_stockitem_sales_order... OK
      Applying stock.0028_auto_20200421_0724... OK
      Applying stock.0029_auto_20200421_2359... OK
      Applying stock.0030_auto_20200422_0015... OK
      Applying order.0024_salesorderallocation... OK
      Applying stock.0031_auto_20200422_0209... OK
      Applying order.0025_auto_20200422_0222... OK
      Applying order.0026_auto_20200422_0224... OK
      Applying order.0027_auto_20200422_0236... OK
      Applying order.0028_auto_20200423_0956... OK
      Applying order.0029_auto_20200423_1042... OK
      Applying build.0006_auto_20190913_1407... OK
      Applying build.0007_auto_20191118_2321... OK
      Applying build.0008_auto_20200201_1247... OK
      Applying build.0009_auto_20200210_1032... OK
      Applying build.0010_auto_20200318_1027... OK
      Applying build.0011_auto_20200406_0123... OK
      Applying build.0012_build_sales_order... OK
      Applying build.0013_auto_20200425_0507... OK
      Applying build.0014_auto_20200425_1243... OK
      Applying build.0015_auto_20200425_1350... OK
      Applying stock.0032_stockitem_build_order... OK
      Applying stock.0033_auto_20200426_0539... OK
      Applying order.0030_auto_20200426_0551... OK
      Applying build.0016_auto_20200426_0551... OK
      Applying stock.0034_auto_20200426_0602... OK
      Applying stock.0035_auto_20200502_2308... OK
      Applying stock.0036_stockitemattachment... OK
      Applying stock.0037_stockitemattachment_user... OK
      Applying stock.0038_stockitemattachment_upload_date... OK
      Applying stock.0039_auto_20200513_0016... OK
      Applying stock.0040_stockitemtestresult... OK
      Applying stock.0041_stockitemtestresult_notes... OK
      Applying stock.0042_auto_20200523_0121... OK
      Applying part.0036_partattachment_user... OK
      Applying part.0037_partattachment_upload_date... OK
      Applying part.0038_auto_20200513_0016... OK
      Applying part.0039_auto_20200515_1127... OK
      Applying part.0040_parttesttemplate... OK
      Applying part.0041_auto_20200517_0348... OK
      Applying part.0042_auto_20200518_0900... OK
      Applying stock.0043_auto_20200525_0420... OK
      Applying stock.0044_auto_20200528_1036... OK
      Applying stock.0045_stockitem_customer... OK
      Applying stock.0046_auto_20200605_0931... OK
      Applying stock.0047_auto_20200605_0932... OK
      Applying stock.0048_auto_20200807_2344... OK
      Applying part.0043_auto_20200527_0005... OK
      Applying part.0044_auto_20200605_0931... OK
      Applying part.0045_auto_20200605_0932... OK
      Applying company.0022_auto_20200613_1045... OK
      Applying company.0023_auto_20200808_0715... OK
      Applying stock.0049_auto_20200820_0454... OK
      Applying stock.0050_auto_20200821_1403... OK
      Applying stock.0051_auto_20200928_0928... OK
      Applying stock.0052_stockitem_is_building... OK
      Applying common.0004_inventreesetting... OK
      Applying stock.0053_auto_20201110_0513... OK
      Applying stock.0054_remove_stockitem_build_order... OK
      Applying stock.0055_auto_20201117_1453... OK
      Applying stock.0056_stockitem_expiry_date... OK
      Applying stock.0057_stock_location_item_owner... OK
      Applying stock.0058_stockitem_packaging... OK
      Applying stock.0059_auto_20210404_2016... OK
      Applying stock.0060_auto_20210511_1713... OK
      Applying stock.0061_auto_20210511_0911... OK
      Applying stock.0062_auto_20210511_2151... OK
      Applying stock.0063_auto_20210511_2343... OK
      Applying stock.0064_auto_20210621_1724... OK
      Applying stock.0065_auto_20210701_0509... OK
      Applying stock.0066_stockitem_scheduled_for_deletion... OK
      Applying part.0046_auto_20200804_0107... OK
      Applying part.0047_auto_20200808_0715... OK
      Applying part.0048_auto_20200902_1404... OK
      Applying common.0005_auto_20190915_1256... OK
      Applying common.0006_auto_20200203_0951... OK
      Applying common.0007_colortheme... OK
      Applying part.0049_partsellpricebreak... OK
      Applying part.0050_auto_20200917_2315... OK
      Applying part.0051_bomitem_optional... OK
      Applying part.0052_partrelated... OK
      Applying part.0054_auto_20201109_1246... OK
      Applying part.0055_auto_20201110_1001... OK
      Applying part.0056_auto_20201110_1125... OK
      Applying part.0057_remove_partsellpricebreak_currency... OK
      Applying part.0058_remove_partsellpricebreak_cost... OK
      Applying part.0059_auto_20201112_1112... OK
      Applying part.0053_partcategoryparametertemplate... OK
      Applying part.0060_merge_20201112_1722... OK
      Applying company.0024_unique_name_email_constraint... OK
      Applying company.0025_auto_20201110_1001... OK
      Applying company.0026_auto_20201110_1011... OK
      Applying company.0027_remove_supplierpricebreak_currency... OK
      Applying company.0028_remove_supplierpricebreak_cost... OK
      Applying company.0029_company_currency... OK
      Applying company.0030_auto_20201112_1112... OK
      Applying company.0031_auto_20210103_2215... OK
      Applying part.0061_auto_20210104_2331... OK
      Applying part.0061_auto_20210103_2313... OK
      Applying part.0062_merge_20210105_0056... OK
      Applying part.0063_bomitem_inherited... OK
      Applying part.0064_auto_20210404_2016... OK
      Applying part.0065_auto_20210505_2144... OK
      Applying part.0066_bomitem_allow_variants... OK
      Applying part.0067_partinternalpricebreak... OK
      Applying part.0068_part_unique_part... OK
      Applying part.0069_auto_20210701_0509... OK
      Applying part.0070_alter_part_variant_of... OK
      Applying part.0071_alter_partparametertemplate_name... OK
      Applying part.0072_bomitemsubstitute... OK
      Applying part.0073_auto_20211013_1048... OK
      Applying part.0074_partcategorystar... OK
      Applying stock.0067_alter_stockitem_part... OK
      Applying stock.0068_stockitem_serial_int... OK
      Applying stock.0069_auto_20211109_2347... OK
      Applying stock.0070_auto_20211128_0151... OK
      Applying django_q.0001_initial... OK
      Applying django_q.0002_auto_20150630_1624... OK
      Applying django_q.0003_auto_20150708_1326... OK
      Applying django_q.0004_auto_20150710_1043... OK
      Applying django_q.0005_auto_20150718_1506... OK
      Applying django_q.0006_auto_20150805_1817... OK
      Applying django_q.0007_ormq... OK
      Applying stock.0071_auto_20211205_1733... OK
      Applying stock.0072_remove_stockitem_scheduled_for_deletion... OK
      Applying stock.0073_alter_stockitem_belongs_to... OK
      Applying stock.0074_alter_stockitem_batch... OK
      Applying stock.0075_auto_20220515_1440... OK
      Applying stock.0076_alter_stockitem_status... OK
      Applying stock.0077_alter_stockitem_notes... OK
      Applying company.0032_auto_20210403_1837... OK
      Applying company.0033_auto_20210410_1528... OK
      Applying company.0034_manufacturerpart... OK
      Applying company.0035_supplierpart_update_1... OK
      Applying company.0036_supplierpart_update_2... OK
      Applying company.0037_supplierpart_update_3... OK
      Applying company.0038_manufacturerpartparameter... OK
      Applying company.0039_auto_20210701_0509... OK
      Applying company.0040_alter_company_currency... OK
      Applying company.0041_alter_company_options... OK
      Applying company.0042_supplierpricebreak_updated... OK
      Applying company.0043_manufacturerpartattachment... OK
      Applying company.0044_auto_20220607_2204... OK
      Applying company.0045_alter_company_notes... OK
      Applying company.0046_alter_company_image... OK
      Applying stock.0078_alter_stockitem_supplier_part... OK
      Applying stock.0079_alter_stocklocation_name... OK
      Applying stock.0080_stocklocation_pathstring... OK
      Applying stock.0081_auto_20220801_0044... OK
      Applying stock.0082_alter_stockitem_link... OK
      Applying stock.0083_stocklocation_icon... OK
      Applying stock.0084_auto_20220903_0154... OK
      Applying stock.0085_auto_20220903_0225... OK
      Applying stock.0086_remove_stockitem_uid... OK
      Applying stock.0087_auto_20220912_2341... OK
      Applying stock.0088_remove_stockitem_infinite... OK
      Applying stock.0089_alter_stockitem_purchase_price... OK
      Applying stock.0090_stocklocation_structural... OK
      Applying stock.0091_alter_stockitem_delete_on_deplete... OK
      Applying stock.0092_alter_stockitem_updated... OK
      Applying stock.0093_auto_20230217_2140... OK
      Applying company.0047_supplierpart_pack_size... OK
      Applying stock.0094_auto_20230220_0025... OK
      Applying stock.0095_stocklocation_external... OK
      Applying stock.0096_auto_20230330_1121... OK
      Applying stock.0097_alter_stockitem_notes... OK
      Applying stock.0098_auto_20230427_2033... OK
      Applying stock.0099_alter_stockitem_status... OK
      Applying stock.0100_auto_20230515_0004... OK
      Applying build.0017_auto_20200426_0612... OK
      Applying build.0018_build_reference... OK
      Applying build.0019_auto_20201019_1302... OK
      Applying build.0020_auto_20201019_1325... OK
      Applying build.0021_auto_20201020_0908_squashed_0026_auto_20201023_1228... OK
      Applying build.0022_buildorderattachment... OK
      Applying build.0023_auto_20201110_0911... OK
      Applying build.0024_auto_20201201_1023... OK
      Applying build.0025_build_target_date... OK
      Applying build.0026_auto_20210216_1539... OK
      Applying build.0027_auto_20210404_2016... OK
      Applying build.0028_builditem_bom_item... OK
      Applying build.0029_auto_20210601_1525... OK
      Applying build.0030_alter_build_reference... OK
      Applying build.0031_build_reference_int... OK
      Applying build.0032_auto_20211014_0632... OK
      Applying build.0033_auto_20211128_0151... OK
      Applying build.0034_alter_build_reference_int... OK
      Applying build.0035_alter_build_notes... OK
      Applying build.0036_auto_20220707_1101... OK
      Applying build.0037_build_priority... OK
      Applying build.0038_alter_build_responsible... OK
      Applying build.0039_auto_20230317_0816... OK
      Applying build.0040_auto_20230404_1310... OK
      Applying build.0041_alter_build_title... OK
      Applying build.0042_alter_build_notes... OK
      Applying stock.0100_stockitem_consumed_by... OK
      Applying stock.0101_stockitemtestresult_metadata... OK
      Applying stock.0102_alter_stockitem_status... OK
      Applying stock.0103_stock_location_types... OK
      Applying stock.0104_alter_stockitem_purchase_price_currency... OK
      Applying users.0006_alter_ruleset_name... OK
      Applying users.0007_alter_ruleset_name... OK
      Applying users.0008_apitoken... OK
      Applying users.0009_auto_20231020_2356... OK
      Applying part.0075_auto_20211128_0151... OK
      Applying part.0076_auto_20220516_0819... OK
      Applying part.0077_alter_bomitem_unique_together... OK
      Applying part.0078_auto_20220606_0024... OK
      Applying part.0079_alter_part_notes... OK
      Applying part.0080_alter_part_image... OK
      Applying part.0081_alter_partcategory_name... OK
      Applying part.0082_partcategory_pathstring... OK
      Applying part.0083_auto_20220731_2357... OK
      Applying part.0084_partcategory_icon... OK
      Applying part.0085_partparametertemplate_description... OK
      Applying part.0086_auto_20220912_0007... OK
      Applying part.0087_bomitem_consumable... OK
      Applying part.0088_alter_partparametertemplate_name... OK
      Applying part.0089_auto_20221112_0128... OK
      Applying part.0090_auto_20221115_0816... OK
      Applying part.0091_partstocktake... OK
      Applying part.0092_part_last_stocktake... OK
      Applying part.0093_auto_20230115_1404... OK
      Applying part.0094_alter_part_units... OK
      Applying part.0095_alter_part_responsible... OK
      Applying part.0096_auto_20230211_0029... OK
      Applying part.0097_partstocktakereport... OK
      Applying part.0098_auto_20230214_1115... OK
      Applying part.0099_alter_bomitem_inherited... OK
      Applying part.0100_alter_bomitem_reference... OK
      Applying part.0101_bomitem_validated... OK
      Applying part.0102_auto_20230314_0112... OK
      Applying part.0103_auto_20230317_0816... OK
      Applying part.0104_alter_part_description... OK
      Applying part.0105_alter_part_notes... OK
      Applying part.0106_part_tags... OK
      Applying part.0107_alter_part_tags... OK
      Applying part.0108_auto_20230516_1334... OK
      Applying part.0109_auto_20230517_1048... OK
      Applying part.0110_alter_part_units... OK
      Applying part.0111_auto_20230521_1350... OK
      Applying part.0112_auto_20230525_1606... OK
      Applying part.0113_auto_20230531_1205... OK
      Applying part.0114_alter_part_minimum_stock... OK
      Applying part.0115_part_responsible_owner... OK
      Applying part.0116_auto_20231023_0332... OK
      Applying part.0117_remove_part_responsible... OK
      Applying part.0118_auto_20231024_1844... OK
      Applying part.0119_auto_20231120_0457... OK
      Applying part.0120_parttesttemplate_key... OK
      Applying part.0121_auto_20240207_0344... OK
      Applying stock.0105_stockitemtestresult_template... OK
      Applying stock.0106_auto_20240207_0353... OK
      Applying stock.0107_remove_stockitemtestresult_test_and_more... OK
      Applying stock.0108_auto_20240219_0252... OK
      Applying stock.0109_add_additional_test_fields... OK
      Applying stock.0110_alter_stockitemtestresult_finished_datetime_and_more... OK
      Applying part.0122_parttesttemplate_enabled... OK
      Applying part.0123_parttesttemplate_choices... OK
      Applying order.0031_auto_20200426_0612... OK
      Applying order.0032_auto_20200427_0044... OK
      Applying order.0033_auto_20200512_1033... OK
      Applying order.0034_auto_20200512_1054... OK
      Applying order.0035_auto_20200513_0016... OK
      Applying order.0036_auto_20200831_0912... OK
      Applying order.0037_auto_20201110_0911... OK
      Applying order.0038_auto_20201112_1737... OK
      Applying order.0039_auto_20201112_2203... OK
      Applying order.0040_salesorder_target_date... OK
      Applying order.0041_auto_20210114_1728... OK
      Applying order.0042_auto_20210310_1619... OK
      Applying order.0043_auto_20210330_0013... OK
      Applying order.0044_auto_20210404_2016... OK
      Applying order.0045_auto_20210504_1946... OK
      Applying order.0046_purchaseorderlineitem_destination... OK
      Applying order.0047_auto_20210701_0509... OK
      Applying order.0048_auto_20210702_2321... OK
      Applying order.0049_alter_purchaseorderlineitem_unique_together... OK
      Applying order.0050_alter_purchaseorderlineitem_destination... OK
      Applying order.0051_auto_20211014_0623... OK
      Applying order.0052_auto_20211014_0631... OK
      Applying order.0053_auto_20211128_0151... OK
      Applying order.0053_salesordershipment... OK
      Applying order.0054_salesorderallocation_shipment... OK
      Applying order.0055_auto_20211025_0645... OK
      Applying order.0056_alter_salesorderallocation_shipment... OK
      Applying order.0057_salesorderlineitem_shipped... OK
      Applying order.0058_auto_20211126_1210... OK
      Applying order.0059_salesordershipment_tracking_number... OK
      Applying order.0060_auto_20211129_1339... OK
      Applying order.0054_auto_20211201_2139... OK
      Applying order.0061_merge_0054_auto_20211201_2139_0060_auto_20211129_1339... OK
      Applying order.0062_auto_20220228_0321... OK
      Applying order.0063_alter_purchaseorderlineitem_unique_together... OK
      Applying order.0064_purchaseorderextraline_salesorderextraline... OK
      Applying order.0065_alter_purchaseorderlineitem_part... OK
      Applying order.0066_alter_purchaseorder_supplier... OK
      Applying order.0067_auto_20220516_1120... OK
      Applying order.0068_alter_salesorderallocation_unique_together... OK
      Applying order.0069_auto_20220524_0508... OK
      Applying order.0070_auto_20220620_0728... OK
      Applying order.0071_auto_20220628_0133... OK
      Applying order.0072_alter_salesorder_reference... OK
      Applying order.0073_alter_purchaseorder_reference... OK
      Applying order.0074_auto_20220709_0108... OK
      Applying order.0075_auto_20221110_0108... OK
      Applying order.0076_auto_20221111_0153... OK
      Applying order.0077_auto_20230129_0154... OK
      Applying order.0078_auto_20230304_0721... OK
      Applying order.0079_auto_20230304_0904... OK
      Applying order.0080_auto_20230317_0816... OK
      Applying company.0048_auto_20220913_0312... OK
      Applying company.0049_company_metadata... OK
      Applying company.0050_alter_company_website... OK
      Applying company.0051_alter_supplierpricebreak_price... OK
      Applying company.0052_alter_supplierpricebreak_updated... OK
      Applying company.0053_supplierpart_updated... OK
      Applying company.0054_companyattachment... OK
      Applying order.0081_auto_20230314_0725... OK
      Applying order.0082_auto_20230314_1259... OK
      Applying order.0083_returnorderextraline... OK
      Applying order.0084_auto_20230321_1111... OK
      Applying order.0085_auto_20230322_1056... OK
      Applying order.0086_auto_20230323_1108... OK
      Applying order.0087_alter_salesorder_status... OK
      Applying order.0088_auto_20230403_1402... OK
      Applying order.0089_auto_20230404_0030... OK
      Applying order.0090_auto_20230412_1752... OK
      Applying order.0091_auto_20230419_0037... OK
      Applying common.0008_remove_inventreesetting_description... OK
      Applying common.0009_delete_currency... OK
      Applying common.0010_migrate_currency_setting... OK
      Applying common.0011_auto_20210722_2114... OK
      Applying common.0012_notificationentry... OK
      Applying common.0013_webhookendpoint_webhookmessage... OK
      Applying common.0014_notificationmessage... OK
      Applying common.0015_newsfeedentry... OK
      Applying common.0016_alter_notificationentry_updated... OK
      Applying common.0017_notesimage... OK
      Applying common.0018_projectcode... OK
      Applying order.0092_auto_20230419_0250... OK
      Applying order.0093_auto_20230426_0248... OK
      Applying order.0094_auto_20230514_2331... OK
      Applying order.0095_salesordershipment_delivery_date... OK
      Applying order.0096_alter_returnorderlineitem_outcome... OK
      Applying company.0055_auto_20230317_0816... OK
      Applying company.0056_alter_company_notes... OK
      Applying company.0057_auto_20230427_2033... OK
      Applying company.0058_auto_20230515_0004... OK
      Applying company.0059_supplierpart_pack_units... OK
      Applying company.0060_auto_20230519_0344... OK
      Applying company.0061_remove_supplierpart_pack_size... OK
      Applying company.0062_contact_metadata... OK
      Applying company.0063_auto_20230502_1956... OK
      Applying company.0064_move_address_field_to_address_model... OK
      Applying company.0065_remove_company_address... OK
      Applying order.0097_auto_20230529_0107... OK
      Applying order.0098_auto_20231024_1844... OK
      Applying order.0099_alter_salesorder_status... OK
      Applying company.0066_auto_20230616_2059... OK
      Applying company.0067_alter_supplierpricebreak_price_currency... OK
      Applying company.0068_auto_20231120_1108... OK
      Applying company.0069_company_active... OK
      Applying users.0010_alter_apitoken_key... OK
      Applying common.0019_projectcode_metadata... OK
      Applying common.0020_customunit... OK
      Applying common.0021_auto_20230805_1748... OK
      Applying common.0022_projectcode_responsible... OK
      Applying common.0023_auto_20240602_1332...Found existing currency codes: EUR,AUD,JPY,USD,CNY,NZD,CAD,GBP
    - Creating new setting for currency codes
     OK
      Applying common.0024_notesimage_model_id_notesimage_model_type... OK
      Applying common.0025_attachment... OK
      Applying build.0043_buildline... OK
      Applying build.0044_auto_20230528_1410... OK
      Applying build.0045_builditem_build_line... OK
      Applying build.0046_auto_20230606_1033... OK
      Applying build.0047_auto_20230606_1058... OK
      Applying build.0048_build_project_code... OK
      Applying build.0049_alter_builditem_build_line... OK
      Applying build.0050_auto_20240508_0138... OK
      Applying common.0026_auto_20240608_1238... OK
      Applying part.0124_delete_partattachment... OK
      Applying part.0125_part_locked... OK
      Applying part.0126_part_revision_of... OK
      Applying part.0127_remove_partcategory_icon_partcategory__icon... OK
      Applying part.0128_part_testable... OK
      Applying part.0129_auto_20240815_0214... OK
      Applying part.0130_alter_parttesttemplate_part... OK
      Applying build.0051_delete_buildorderattachment... OK
      Applying build.0052_build_status_custom_key_alter_build_status... OK
      Applying build.0053_alter_build_part... OK
      Applying build.0054_build_start_date... OK
      Applying build.0055_auto_20250221_1230... OK
      Applying build.0056_alter_build_link... OK
      Applying build.0057_build_external... OK
      Applying build.0058_buildline_consumed... OK
      Applying plugin.0001_initial... OK
      Applying plugin.0002_alter_pluginconfig_options... OK
      Applying plugin.0003_pluginsetting... OK
      Applying plugin.0004_alter_pluginsetting_key... OK
      Applying plugin.0005_notificationusersetting... OK
      Applying plugin.0006_pluginconfig_metadata... OK
      Applying plugin.0007_auto_20230805_1748... OK
      Applying plugin.0008_pluginconfig_package_name... OK
      Applying plugin.0009_alter_pluginconfig_key... OK
      Applying common.0027_alter_customunit_symbol... OK
      Applying common.0028_colortheme_user_obj... OK
      Applying common.0029_inventreecustomuserstatemodel... OK
      Applying common.0030_barcodescanresult... OK
      Applying common.0031_auto_20241026_0024... OK
      Applying common.0032_selectionlist_selectionlistentry_and_more... OK
      Applying common.0033_delete_colortheme... OK
      Applying common.0034_alter_inventreecustomuserstatemodel_unique_together_and_more... OK
      Applying common.0035_auto_20250221_1513... OK
      Applying common.0036_alter_attachment_link... OK
      Applying common.0037_dataoutput... OK
      Applying common.0038_alter_attachment_model_type... OK
      Applying common.0039_emailthread_emailmessage... OK
      Applying company.0070_remove_manufacturerpartattachment_manufacturer_part_and_more... OK
      Applying company.0071_manufacturerpart_notes_supplierpart_notes... OK
      Applying company.0072_auto_20250221_1236... OK
      Applying company.0073_alter_address_link_alter_company_link_and_more... OK
      Applying company.0074_alter_manufacturerpart_link... OK
      Applying company.0075_company_tax_id... OK
      Applying django_mailbox.0001_initial... OK
      Applying django_mailbox.0002_add_eml_to_message... OK
      Applying django_mailbox.0003_auto_20150409_0316... OK
      Applying django_mailbox.0004_bytestring_to_unicode... OK
      Applying django_mailbox.0005_auto_20160523_2240... OK
      Applying django_mailbox.0006_mailbox_last_polling... OK
      Applying django_mailbox.0007_auto_20180421_0026... OK
      Applying django_mailbox.0008_auto_20190219_1553... OK
      Applying django_mailbox.0009_alter_message_eml... OK
      Applying django_q.0008_auto_20160224_1026... OK
      Applying django_q.0009_auto_20171009_0915... OK
      Applying django_q.0010_auto_20200610_0856... OK
      Applying django_q.0011_auto_20200628_1055... OK
      Applying django_q.0012_auto_20200702_1608... OK
      Applying django_q.0013_task_attempt_count... OK
      Applying django_q.0014_schedule_cluster... OK
      Applying django_q.0015_alter_schedule_schedule_type... OK
      Applying django_q.0016_schedule_intended_date_kwarg... OK
      Applying django_q.0017_task_cluster_alter... OK
      Applying django_q.0018_task_success_index... OK
      Applying error_report.0001_initial... OK
      Applying exchange.0001_initial... OK
      Applying flags.0012_replace_migrations_for_wagtail_independence... OK
      Applying flags.0013_add_required_field... OK
      Applying importer.0001_initial... OK
      Applying importer.0002_dataimportsession_field_overrides... OK
      Applying importer.0003_dataimportsession_field_filters... OK
      Applying importer.0004_alter_dataimportsession_model_type... OK
      Applying importer.0005_dataimportsession_update_records... OK
      Applying machine.0001_initial... OK
      Applying mfa.0001_initial... OK
      Applying mfa.0002_authenticator_timestamps... OK
      Applying mfa.0003_authenticator_type_uniq... OK
      Applying oauth2_provider.0001_initial... OK
      Applying oauth2_provider.0002_auto_20190406_1805... OK
      Applying oauth2_provider.0003_auto_20201211_1314... OK
      Applying oauth2_provider.0004_auto_20200902_2022... OK
      Applying oauth2_provider.0005_auto_20211222_2352... OK
      Applying oauth2_provider.0006_alter_application_client_secret... OK
      Applying oauth2_provider.0007_application_post_logout_redirect_uris... OK
      Applying oauth2_provider.0008_alter_accesstoken_token... OK
      Applying oauth2_provider.0009_add_hash_client_secret... OK
      Applying oauth2_provider.0010_application_allowed_origins... OK
      Applying oauth2_provider.0011_refreshtoken_token_family... OK
      Applying oauth2_provider.0012_add_token_checksum... OK
      Applying part.0131_partrelated_note... OK
      Applying part.0132_partparametertemplate_selectionlist... OK
      Applying part.0133_alter_partcategory__icon... OK
      Applying part.0134_auto_20250221_1309... OK
      Applying part.0135_alter_part_link... OK
      Applying part.0136_partparameter_note_partparameter_updated_and_more... OK
      Applying part.0137_bomitem_attrition_bomitem_rounding_multiple_and_more... OK
      Applying part.0138_auto_20250718_2342... OK
      Applying part.0139_remove_bomitem_overage... OK
      Applying part.0140_part_bom_validated... OK
      Applying part.0141_auto_20250722_0303... OK
      Applying part.0142_remove_part_last_stocktake_remove_partstocktake_note_and_more... OK
      Applying stock.0111_delete_stockitemattachment... OK
      Applying stock.0112_alter_stocklocation_custom_icon_and_more... OK
      Applying stock.0113_stockitem_status_custom_key_and_more... OK
      Applying order.0100_remove_returnorderattachment_order_and_more... OK
      Applying order.0101_purchaseorder_status_custom_key_and_more... OK
      Applying order.0102_purchaseorder_destination_and_more... OK
      Applying order.0103_alter_salesorderallocation_shipment... OK
      Applying order.0104_alter_returnorderlineitem_quantity... OK
      Applying order.0105_auto_20241128_0431... OK
      Applying order.0106_purchaseorder_start_date_returnorder_start_date_and_more... OK
      Applying order.0107_auto_20250221_1241... OK
      Applying order.0108_alter_purchaseorder_link_and_more_squashed_0109_alter_purchaseorderextraline_link_and_more... OK
      Applying order.0109_salesorder_issue_date... OK
      Applying order.0110_salesordershipment_barcode_data_and_more... OK
      Applying order.0111_purchaseorderlineitem_build_order... OK
      Applying order.0112_alter_salesorderlineitem_part... OK
      Applying order.0113_salesordershipment_shipment_address... OK
      Applying order.0114_purchaseorderextraline_project_code_and_more... OK
      Applying otp_static.0001_initial... OK
      Applying otp_static.0002_throttling... OK
      Applying otp_totp.0001_initial... OK
      Applying otp_totp.0002_auto_20190420_0723... OK
      Applying plugin.0010_pluginusersetting... OK
      Applying plugin.0011_delete_notificationusersetting... OK
      Applying report.0001_initial... OK
      Applying report.0002_delete_reporttemplate... OK
      Applying report.0003_testreport_enabled... OK
      Applying report.0004_auto_20200823_1104... OK
      Applying report.0005_auto_20210119_0815... OK
      Applying report.0006_reportsnippet... OK
      Applying report.0007_auto_20210204_1617... OK
      Applying report.0008_auto_20210204_2100... OK
      Applying report.0009_testreport_revision... OK
      Applying report.0010_auto_20210205_1201... OK
      Applying report.0011_auto_20210212_2024... OK
      Applying report.0012_buildreport... OK
      Applying report.0013_testreport_include_installed... OK
      Applying report.0014_purchaseorderreport_salesorderreport... OK
      Applying report.0015_auto_20210403_1837... OK
      Applying report.0016_auto_20210513_1303... OK
      Applying report.0017_auto_20230317_0816... OK
      Applying report.0018_returnorderreport... OK
      Applying report.0019_returnorderreport_metadata... OK
      Applying report.0020_stocklocationreport... OK
      Applying report.0021_auto_20231009_0144... OK
      Applying report.0022_reporttemplate... OK
      Applying report.0023_auto_20240421_0455... OK
      Applying report.0024_delete_billofmaterialsreport_delete_buildreport_and_more... OK
      Applying report.0025_labeltemplate... OK
      Applying report.0026_auto_20240422_1301... OK
      Applying report.0027_alter_labeltemplate_model_type_and_more... OK
      Applying report.0028_labeltemplate_attach_to_model_and_more... OK
      Applying report.0029_remove_reportoutput_template_and_more... OK
      Applying report.0030_alter_labeltemplate_model_type_and_more... OK
      Applying report.0031_reporttemplate_merge... 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
      Applying stock.0114_alter_stocklocation_custom_icon... OK
      Applying stock.0115_auto_20250221_1323... OK
      Applying stock.0116_alter_stockitem_link... OK
      Applying taggit.0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx... OK
      Applying users.0011_auto_20240523_1640...
    Cleared all user sessions to deal with GHSA-2crp-q9pc-457j
     OK
      Applying users.0012_alter_ruleset_can_view... OK
      Applying users.0013_migrate_mfa_20240408_1659... OK
      Applying users.0014_userprofile... OK
      Applying users.0015_alter_userprofile_type... OK
      Applying usersessions.0001_initial... OK
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16T14:46:36.195651Z [warning  ] Not all required settings for adding a user on startup are present:
    INVENTREE_ADMIN_USER, INVENTREE_ADMIN_EMAIL, INVENTREE_ADMIN_PASSWORD [inventree]
    2026-02-16 15:46:36,195 WARNING {'event': 'Not all required settings for adding a user on startup are present:\nINVENTREE_ADMIN_USER, INVENTREE_ADMIN_EMAIL, INVENTREE_ADMIN_PASSWORD', 'timestamp': '2026-02-16T14:46:36.195651Z', 'logger': 'inventree', 'level': 'warning'}
    InvenTree database migrations completed
    Rebuilding internal database structures
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16T14:46:38.653838Z [warning  ] Failed to set maintenance mode state after 5 retries [inventree]
    2026-02-16 15:46:38,653 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'timestamp': '2026-02-16T14:46:38.653838Z', 'logger': 'inventree', 'level': 'warning'}
    Rebuilding image thumbnails in /home/inventree/data/media
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    
    
    • Then docker compose run --rm inventree-server invoke restore which fails with :
      pg_restore: error: could not execute query: ERROR: column "id" of relation "users_ruleset" is an identity column
    Restore result
    [+] Creating 1/1
     ✔ Container inventree-db  Running                                                                                                                                                                                                                                        0.0s 
    Loading config file : /home/inventree/data/config.yaml
    Restoring InvenTree database
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-16T14:47:24.565948Z [warning  ] Not all required settings for adding a user on startup are present:
    INVENTREE_ADMIN_USER, INVENTREE_ADMIN_EMAIL, INVENTREE_ADMIN_PASSWORD [inventree]
    2026-02-16 15:47:24,565 WARNING {'event': 'Not all required settings for adding a user on startup are present:\nINVENTREE_ADMIN_USER, INVENTREE_ADMIN_EMAIL, INVENTREE_ADMIN_PASSWORD', 'timestamp': '2026-02-16T14:47:24.565948Z', 'logger': 'inventree', 'level': 'warning'}
    2026-02-16 15:47:24,853 INFO Finding latest backup
    2026-02-16 15:47:24,856 INFO Restoring backup for database 'default' and server 'None'
    2026-02-16 15:47:24,856 INFO Restoring: InvenTree-db-2026-02-16-153455.psql.bin.gz
    2026-02-16 15:47:24,903 INFO Restore tempfile created: 2.0 MiB
    2026-02-16 15:47:24,904 DEBUG pg_restore --dbname=postgresql://inventree@inventree-db:5432/inventree --single-transaction --clean --if-exists
    Traceback (most recent call last):
      File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
        main()
      File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
        execute_from_command_line(sys.argv)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
        utility.execute()
      File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
        self.execute(*args, **cmd_options)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
        output = self.handle(*args, **options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 85, in handle
        self._restore_backup()
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 162, in _restore_backup
        self.connector.restore_dump(input_file)
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 109, in restore_dump
        return self._restore_dump(dump)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 194, in _restore_dump
        stdout, _ = self.run_command(cmd_str, stdin=dump, env={**self.dump_env, **pg_env})
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 186, in run_command
        raise exceptions.CommandConnectorError(msg)
    dbbackup.db.exceptions.CommandConnectorError: Error running: pg_restore --dbname=postgresql://inventree@inventree-db:5432/inventree --single-transaction --clean --if-exists
    pg_restore: error: could not execute query: ERROR:  column "id" of relation "users_ruleset" is an identity column
    HINT:  Use ALTER TABLE ... ALTER COLUMN ... DROP IDENTITY instead.
    Command was: ALTER TABLE IF EXISTS public.users_ruleset ALTER COLUMN id DROP DEFAULT;
    
    ERROR: InvenTree command failed: 'python3 manage.py dbrestore --noinput -v 2 --uncompress'
    - Refer to the error messages in the log above for more information
    
    zsh: exit 1     docker compose run --rm inventree-server invoke restore
    
    
    • Command docker compose run --rm inventree-server invoke version outputs:
    [+] Creating 1/1
     ✔ Container inventree-db  Running  0.0s 
    Loading config file : /home/inventree/data/config.yaml
    INVE-W3: Could not detect git information.
    
    InvenTree - inventree.org
    The Open-Source Inventory Management System
    
    
    Python paths:
    Executable  /usr/local/bin/python
    Environment /usr/local
    Invoke Tool /usr/local/lib/python3.11/site-packages/invoke/__init__.py
    
    Installation paths:
    Base        /home/inventree
    Config      /home/inventree/data/config.yaml
    Plugin File /home/inventree/data/plugins.txt
    Media       /home/inventree/data/media
    Static      /home/inventree/data/static
    Backup      /home/inventree/data/backup
    
    Versions:
    InvenTree   1.1.12
    API         421
    Python      3.11.13
    Django      4.2.28
    Node        N/A
    Yarn        N/A
    
    Environment:
    Platform    Docker
    Debug       False
    
    Commit hash: aa93421
    Commit date: 2026-02-12
    
    .env file
    # InvenTree environment variables for a postgresql production setup
    DB_DUMP_FILE=./db_backups/pgdump.sql
    DB_CONTAINER_NAME=inventree-db
    BACKUP_VOLUME_DIR=/home/docker_invenTree/inventree/db_backups
    
    SSH_KEY_PATH=/home/docker_invenTree/.ssh/id_rsa
    USER_DIR=/home/docker_invenTree/inventree
    REMOTE_USER=inventree
    REMOTE_HOST=10.10.0.253
    REMOTE_BACKUP_DIR=/home/storage/backup/inventree/backup/
    # Location of persistent database data (stored external to the docker containers)
    # Note: You *must* un-comment this line, and point it to a path on your local machine
    
    # e.g. Linux
    INVENTREE_EXT_VOLUME=./data
    
    # Ensure debug is false for a production setup
    INVENTREE_DEBUG=False
    INVENTREE_LOG_LEVEL=WARNING
    
    # InvenTree admin account details
    # Un-comment (and complete) these lines to auto-create an admin acount
    INVENTREE_ADMIN_USER=admin
    INVENTREE_ADMIN_PASSWORD=[REDACTED]
    INVENTREE_ADMIN_EMAIL=
    
    # Database configuration options
    # Note: The example setup is for a PostgreSQL database
    INVENTREE_DB_ENGINE=postgresql
    INVENTREE_DB_NAME=inventree
    INVENTREE_DB_HOST=inventree-db
    INVENTREE_DB_PORT=5432
    
    # Database credentials - These must be configured before running
    # Uncomment the lines below, and change from the default values!
    INVENTREE_DB_USER=inventree
    INVENTREE_DB_PASSWORD=[REDACTED]
    
    # Redis cache setup (disabled by default)
    # Un-comment the following lines to enable Redis cache
    # Note that you will also have to run docker-compose with the --profile redis command
    # Refer to settings.py for other cache options
    INVENTREE_CACHE_HOST=inventree-cache
    INVENTREE_CACHE_PORT=6379
    
    # E-mail credentials
    INVENTREE_EMAIL_HOST=[REDACTED]
    INVENTREE_EMAIL_USERNAME=[REDACTED]
    INVENTREE_EMAIL_PORT=[REDACTED]
    INVENTREE_EMAIL_PASSWORD=[REDACTED]
    INVENTREE_EMAIL_TLS=false
    INVENTREE_EMAIL_SSL=true
    INVENTREE_EMAIL_SENDER=[REDACTED]
    
    # TimeZone
    INVENTREE_TIMEZONE=Europe/Paris
    
    # Currency
    INVENTREE_BASE_CURRENCY=EUR
    
    # Options for gunicorn server
    INVENTREE_GUNICORN_TIMEOUT=90
    
    # Enable custom plugins?
    INVENTREE_PLUGINS_ENABLED=True
    
    # Image tag that should be used
    INVENTREE_TAG=1.1.12
    
    # Site URL - update this to match your host
    INVENTREE_SITE_URL=http://[REDACTED]
    
    COMPOSE_PROJECT_NAME=inventree-production
    INVENTREE_TRUSTED_ORIGINS=http://[REDACTED]
    INVENTREE_CORS_ORIGIN_WHITELIST=http://[REDACTED]
    
    INVENTREE_COOKIE_SAMESITE=false
    INVENTREE_SESSION_COOKIE_SECURE=false
    
    docker-compose.eml
    # Docker compose recipe for a production-ready InvenTree setup, with the following containers:
    # - PostgreSQL as the database backend
    # - gunicorn as the InvenTree web servers 
    # - django-q as the InvenTree background worker process
    # - Caddy as a reverse proxy
    # - redis as the cache manager (optional, disabled by default)
    
    # ---------------------
    # READ BEFORE STARTING!
    # ---------------------
    
    # -----------------------------
    # Setting environment variables
    # -----------------------------
    # Shared environment variables should be stored in the .env file
    # Changes made to this file are reflected across all containers!
    #
    # IMPORTANT NOTE:
    # You should not have to change *anything* within this docker-compose.yml file!
    # Instead, make any changes in the .env file!
    
    # ------------------------
    # InvenTree Image Versions
    # ------------------------
    # By default, this docker-compose script targets the STABLE version of InvenTree,
    # image: inventree/inventree:stable
    #
    # To run the LATEST (development) version of InvenTree,
    # change the INVENTREE_TAG variable (in the .env file) to "latest"
    #
    # Alternatively, you could target a specific tagged release version with (for example):
    # INVENTREE_TAG=0.7.5
    #
    
    services:
        # Database service
        # Use PostgreSQL as the database backend
        inventree-db:
            image: postgres:17
            container_name: inventree-db
            expose:
                - ${INVENTREE_DB_PORT:-5432}/tcp
            networks:
                - inventree-network
            environment:
                - PGDATA=/var/lib/postgresql/data/pgdb
                - POSTGRES_USER=${INVENTREE_DB_USER:?You must provide the 'INVENTREE_DB_USER' variable in the .env file}
                - POSTGRES_PASSWORD=${INVENTREE_DB_PASSWORD:?You must provide the 'INVENTREE_DB_PASSWORD' variable in the .env file}
                - POSTGRES_DB=${INVENTREE_DB_NAME:?You must provide the 'INVENTREE_DB_NAME' variable in the .env file}
            volumes:
                # Map 'data' volume such that postgres database is stored externally
                - ${INVENTREE_EXT_VOLUME:?You must specify the 'INVENTREE_EXT_VOLUME' variable in the .env file!}:/var/lib/postgresql/data/:z
                - ${BACKUP_VOLUME_DIR}:/db_backups
            restart: unless-stopped
    
        # redis acts as database cache manager
        inventree-cache:
            image: redis:7.0
            container_name: inventree-cache
            env_file:
                - .env
            networks:
                - inventree-network
            expose:
                - ${INVENTREE_CACHE_PORT:-6379}
            restart: unless-stopped
    
        # InvenTree web server service
        # Uses gunicorn as the web server
        inventree-server:
            # If you wish to specify a particular InvenTree version, do so here
            image: inventree/inventree:${INVENTREE_TAG:-stable}
            container_name: inventree-server
            # Only change this port if you understand the stack.
            expose:
                - 8000
            depends_on:
                - inventree-db
            networks:
                - inventree-network
            env_file:
                - .env
            volumes:
                # Data volume must map to /home/inventree/data
                - ${INVENTREE_EXT_VOLUME}:/home/inventree/data:z
            restart: unless-stopped
    
        # Background worker process handles long-running or periodic tasks
        inventree-worker:
            # If you wish to specify a particular InvenTree version, do so here
            image: inventree/inventree:${INVENTREE_TAG:-stable}
            container_name: inventree-worker
            command: invoke worker
            depends_on:
                - inventree-server
            env_file:
                - .env
            networks:
                - inventree-network
            volumes:
                # Data volume must map to /home/inventree/data
                - ${INVENTREE_EXT_VOLUME}:/home/inventree/data:z
            restart: unless-stopped
    
    # caddy acts as reverse proxy and static file server
        inventree-sfs:
           container_name: inventree-sfs
           image: caddy:alpine
           restart: unless-stopped
           depends_on:
                - inventree-server
           labels:
                - "traefik.enable=true"
                - "traefik.http.services.inventree-service.loadbalancer.server.port=80"
                - "traefik.http.routers.inventree-service.rule=Host(`[REDACTED]`)"
                - "traefik.http.routers.inventree-service.entrypoints=web"
                - "traefik.docker.network=proxy"
           networks:
                - app-network
                - inventree-network
           env_file:
                - .env
           volumes:
                - ./Caddyfile:/etc/caddy/Caddyfile:ro,z
                - ${INVENTREE_EXT_VOLUME}/static:/var/www/static:z
                - ${INVENTREE_EXT_VOLUME}/media:/var/www/media:z
                - ${INVENTREE_EXT_VOLUME}:/var/log:z
                - ${INVENTREE_EXT_VOLUME}:/data:z
                - ${INVENTREE_EXT_VOLUME}:/config:z
    
    networks:
      app-network:
        external: true
      inventree-network:
    
  8. SchrodingersGat commented on Feb 16, 2026

    @SchrodingersGat
    Member

    @apohh can you please try the process again, but without the "invoke migrate" command after you move pgdb directory:

    1. docker compose down
    2. Remove the existing pgdb directory
    3. docker compose up inventree-db -d
    4. docker compose run --rm inventree-server invoke restore

    Please let me know how that goes

  9. added
    setup
    migration
    and removed
    triage:not-checked
    bug
    on Feb 16, 2026
  10. Kamaar commented on Feb 17, 2026

    @Kamaar

    I've also the same problem, tried the last method but still the same error:
    here the logs, hope to help.

    docker compose run --rm inventree-server invoke restore
    [+]  2/2t 2/22
     ✔ Container inventree-cache Started                                                                                          0.2s
     ✔ Container inventree-db    Running                                                                                          0.0s
    Container inventree-production-inventree-server-run-550e67ec44ef Creating
    Container inventree-production-inventree-server-run-550e67ec44ef Created
    Loading config file : /home/inventree/data/config.yaml
    Restoring InvenTree database
    INVE-W3: Could not detect git information.
    Python version 3.11.13 - /usr/local/bin/python3
    2026-02-17T08:00:24.219917Z [warning  ] Failed to set maintenance mode state after 5 retries [inventree]
    2026-02-17 08:00:24,219 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'timestamp': '2026-02-17T08:00:24.219917Z', 'logger': 'inventree', 'level': 'warning'}
    2026-02-17T08:00:24.231907Z [warning  ] Failed to set maintenance mode state after 5 retries [inventree]
    2026-02-17 08:00:24,231 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'timestamp': '2026-02-17T08:00:24.231907Z', 'logger': 'inventree', 'level': 'warning'}
    Operations to perform:
      Apply all migrations: InvenTree, account, admin, auth, build, common, company, contenttypes, django_mailbox, django_q, error_report, exchange, flags, importer, machine, mfa, oauth2_provider, order, otp_static, otp_totp, part, plugin, report, sessions, socialaccount, stock, taggit, users, usersessions
    Running migrations:
      Applying InvenTree.0001_initial... OK
      Applying contenttypes.0001_initial... OK
      Applying auth.0001_initial... OK
      Applying account.0001_initial... OK
      Applying account.0002_email_max_length... OK
      Applying account.0003_alter_emailaddress_create_unique_verified_email... OK
      Applying account.0004_alter_emailaddress_drop_unique_email... OK
      Applying account.0005_emailaddress_idx_upper_email... OK
      Applying account.0006_emailaddress_lower... OK
      Applying account.0007_emailaddress_idx_email... OK
      Applying account.0008_emailaddress_unique_primary_email_fixup... OK
      Applying account.0009_emailaddress_unique_primary_email... OK
      Applying admin.0001_initial... OK
      Applying admin.0002_logentry_remove_auto_add... OK
      Applying admin.0003_logentry_add_action_flag_choices... OK
      Applying contenttypes.0002_remove_content_type_name... OK
      Applying auth.0002_alter_permission_name_max_length... OK
      Applying auth.0003_alter_user_email_max_length... OK
      Applying auth.0004_alter_user_username_opts... OK
      Applying auth.0005_alter_user_last_login_null... OK
      Applying auth.0006_require_contenttypes_0002... OK
      Applying auth.0007_alter_validators_add_error_messages... OK
      Applying auth.0008_alter_user_username_max_length... OK
      Applying auth.0009_alter_user_last_name_max_length... OK
      Applying auth.0010_alter_group_name_max_length... OK
      Applying auth.0011_update_proxy_permissions... OK
      Applying auth.0012_alter_user_first_name_max_length... OK
      Applying taggit.0001_initial... OK
      Applying taggit.0002_auto_20150616_2121... OK
      Applying taggit.0003_taggeditem_add_unique_index... OK
      Applying taggit.0004_alter_taggeditem_content_type_alter_taggeditem_tag... OK
      Applying taggit.0005_auto_20220424_2025... OK
      Applying users.0001_initial... OK
      Applying users.0002_auto_20201004_0158... OK
      Applying users.0003_auto_20201005_2227... OK
      Applying users.0004_auto_20210113_1909... OK
      Applying users.0005_owner_model... OK
      Applying part.0001_initial... OK
      Applying company.0001_initial... OK
      Applying stock.0001_initial... OK
      Applying stock.0002_auto_20190525_2226... OK
      Applying stock.0003_auto_20190525_2303... OK
      Applying stock.0004_auto_20190525_2356... OK
      Applying stock.0005_auto_20190602_1944... OK
      Applying company.0002_auto_20190520_2204... OK
      Applying company.0003_remove_supplierpart_minimum... OK
      Applying company.0004_auto_20190525_2354... OK
      Applying company.0005_auto_20190525_2356... OK
      Applying order.0001_initial... OK
      Applying order.0002_auto_20190604_2224... OK
      Applying order.0003_auto_20190604_2226... OK
      Applying order.0004_purchaseorder_status... OK
      Applying order.0005_purchaseorderlineitem_part... OK
      Applying order.0006_auto_20190605_2056... OK
      Applying order.0007_auto_20190605_2138... OK
      Applying order.0008_auto_20190605_2140... OK
      Applying order.0009_auto_20190606_2133... OK
      Applying order.0010_purchaseorderlineitem_notes... OK
      Applying stock.0006_stockitem_purchase_order... OK
      Applying stock.0007_auto_20190618_0042... OK
      Applying stock.0008_stockitemtracking_url... OK
      Applying stock.0009_auto_20190715_2351... OK
      Applying build.0001_initial... OK
      Applying build.0002_auto_20190520_2204... OK
      Applying build.0003_auto_20190525_2355... OK
      Applying build.0004_auto_20190525_2356... OK
      Applying build.0005_auto_20190604_2217... OK
      Applying stock.0010_stockitem_build... OK
      Applying stock.0011_auto_20190908_0404... OK
      Applying stock.0012_auto_20190908_0405... OK
      Applying stock.0013_auto_20190908_0916... OK
      Applying stock.0014_auto_20190908_0918... OK
      Applying stock.0015_auto_20190913_1407... OK
      Applying stock.0016_auto_20191118_2146... OK
      Applying stock.0017_auto_20191118_2311... OK
      Applying stock.0018_auto_20200202_0103... OK
      Applying stock.0019_auto_20200202_1024... OK
      Applying stock.0020_auto_20200206_1213... OK
      Applying stock.0021_auto_20200215_2232... OK
      Applying stock.0022_auto_20200217_1109... OK
      Applying stock.0023_auto_20200318_1027... OK
      Applying stock.0024_auto_20200405_2239... OK
      Applying stock.0025_auto_20200405_2243... OK
      Applying stock.0026_stockitem_uid... OK
      Applying part.0002_auto_20190520_2204... OK
      Applying part.0003_auto_20190525_2226... OK
      Applying part.0004_auto_20190525_2356... OK
      Applying part.0005_auto_20190526_1119... OK
      Applying part.0006_auto_20190526_1215... OK
      Applying part.0007_auto_20190602_1944... OK
      Applying part.0008_auto_20190618_0042... OK
      Applying part.0009_part_virtual... OK
      Applying part.0010_auto_20190620_2135... OK
      Applying part.0011_part_revision... OK
      Applying part.0012_auto_20190627_2144... OK
      Applying part.0013_auto_20190628_0951... OK
      Applying part.0014_partparameter... OK
      Applying part.0015_auto_20190820_0251... OK
      Applying part.0016_auto_20190820_0257... OK
      Applying part.0017_bomitem_checksum... OK
      Applying part.0018_auto_20190907_0941... OK
      Applying part.0019_auto_20190908_0404... OK
      Applying part.0020_auto_20190908_0404... OK
      Applying part.0021_auto_20190908_0916... OK
      Applying part.0022_auto_20190908_0918... OK
      Applying part.0023_auto_20190913_1401... OK
      Applying part.0024_auto_20191118_2139... OK
      Applying part.0025_auto_20191118_2316... OK
      Applying part.0026_auto_20200131_1022... OK
      Applying part.0027_auto_20200202_1024... OK
      Applying part.0028_auto_20200203_1007... OK
      Applying part.0029_auto_20200223_0901... OK
      Applying part.0030_auto_20200318_1027... OK
      Applying part.0031_auto_20200318_1044... OK
      Applying part.0032_auto_20200322_0453... OK
      Applying part.0033_auto_20200404_0445... OK
      Applying part.0034_auto_20200404_1238... OK
      Applying part.0035_auto_20200406_0045... OK
      Applying order.0011_auto_20190615_1928... OK
      Applying order.0012_auto_20190617_1943... OK
      Applying order.0013_auto_20191118_2323... OK
      Applying order.0014_auto_20191118_2328... OK
      Applying order.0015_auto_20200201_2346... OK
      Applying order.0016_purchaseorderattachment... OK
      Applying order.0017_auto_20200331_1000... OK
      Applying order.0018_auto_20200406_0151... OK
      Applying order.0019_purchaseorder_supplier_reference... OK
      Applying common.0001_initial... OK
      Applying common.0002_auto_20190902_2304... OK
      Applying common.0003_auto_20190902_2310... OK
      Applying company.0006_supplierpricebreak_currency... OK
      Applying company.0007_remove_supplierpart_lead_time... OK
      Applying company.0008_auto_20190913_1407... OK
      Applying company.0009_auto_20191118_2323... OK
      Applying company.0010_auto_20200201_1231... OK
      Applying company.0011_auto_20200318_1114... OK
      Applying company.0012_auto_20200318_1114... OK
      Applying company.0013_auto_20200406_0131... OK
      Applying company.0014_auto_20200407_0116... OK
      Applying company.0015_company_is_manufacturer... OK
      Applying company.0016_auto_20200412_2330... OK
      Applying company.0017_auto_20200413_0320... OK
      Applying company.0018_supplierpart_manufacturer... OK
      Applying company.0019_auto_20200413_0642... OK
      Applying company.0020_auto_20200413_0839... OK
      Applying company.0021_remove_supplierpart_manufacturer_name... OK
      Applying order.0020_auto_20200420_0940... OK
      Applying order.0021_auto_20200420_1010... OK
      Applying order.0022_salesorderlineitem_part... OK
      Applying order.0023_auto_20200420_2309... OK
      Applying stock.0027_stockitem_sales_order... OK
      Applying stock.0028_auto_20200421_0724... OK
      Applying stock.0029_auto_20200421_2359... OK
      Applying stock.0030_auto_20200422_0015... OK
      Applying order.0024_salesorderallocation... OK
      Applying stock.0031_auto_20200422_0209... OK
      Applying order.0025_auto_20200422_0222... OK
      Applying order.0026_auto_20200422_0224... OK
      Applying order.0027_auto_20200422_0236... OK
      Applying order.0028_auto_20200423_0956... OK
      Applying order.0029_auto_20200423_1042... OK
      Applying build.0006_auto_20190913_1407... OK
      Applying build.0007_auto_20191118_2321... OK
      Applying build.0008_auto_20200201_1247... OK
      Applying build.0009_auto_20200210_1032... OK
      Applying build.0010_auto_20200318_1027... OK
      Applying build.0011_auto_20200406_0123... OK
      Applying build.0012_build_sales_order... OK
      Applying build.0013_auto_20200425_0507... OK
      Applying build.0014_auto_20200425_1243... OK
      Applying build.0015_auto_20200425_1350... OK
      Applying stock.0032_stockitem_build_order... OK
      Applying stock.0033_auto_20200426_0539... OK
      Applying order.0030_auto_20200426_0551... OK
      Applying build.0016_auto_20200426_0551... OK
      Applying stock.0034_auto_20200426_0602... OK
      Applying stock.0035_auto_20200502_2308... OK
      Applying stock.0036_stockitemattachment... OK
      Applying stock.0037_stockitemattachment_user... OK
      Applying stock.0038_stockitemattachment_upload_date... OK
      Applying stock.0039_auto_20200513_0016... OK
      Applying stock.0040_stockitemtestresult... OK
      Applying stock.0041_stockitemtestresult_notes... OK
      Applying stock.0042_auto_20200523_0121... OK
      Applying part.0036_partattachment_user... OK
      Applying part.0037_partattachment_upload_date... OK
      Applying part.0038_auto_20200513_0016... OK
      Applying part.0039_auto_20200515_1127... OK
      Applying part.0040_parttesttemplate... OK
      Applying part.0041_auto_20200517_0348... OK
      Applying part.0042_auto_20200518_0900... OK
      Applying stock.0043_auto_20200525_0420... OK
      Applying stock.0044_auto_20200528_1036... OK
      Applying stock.0045_stockitem_customer... OK
      Applying stock.0046_auto_20200605_0931... OK
      Applying stock.0047_auto_20200605_0932... OK
      Applying stock.0048_auto_20200807_2344... OK
      Applying part.0043_auto_20200527_0005... OK
      Applying part.0044_auto_20200605_0931... OK
      Applying part.0045_auto_20200605_0932... OK
      Applying company.0022_auto_20200613_1045... OK
      Applying company.0023_auto_20200808_0715... OK
      Applying stock.0049_auto_20200820_0454... OK
      Applying stock.0050_auto_20200821_1403... OK
      Applying stock.0051_auto_20200928_0928... OK
      Applying stock.0052_stockitem_is_building... OK
      Applying common.0004_inventreesetting... OK
      Applying stock.0053_auto_20201110_0513... OK
      Applying stock.0054_remove_stockitem_build_order... OK
      Applying stock.0055_auto_20201117_1453... OK
      Applying stock.0056_stockitem_expiry_date... OK
      Applying stock.0057_stock_location_item_owner... OK
      Applying stock.0058_stockitem_packaging... OK
      Applying stock.0059_auto_20210404_2016... OK
      Applying stock.0060_auto_20210511_1713... OK
      Applying stock.0061_auto_20210511_0911... OK
      Applying stock.0062_auto_20210511_2151... OK
      Applying stock.0063_auto_20210511_2343... OK
      Applying stock.0064_auto_20210621_1724... OK
      Applying stock.0065_auto_20210701_0509... OK
      Applying stock.0066_stockitem_scheduled_for_deletion... OK
      Applying part.0046_auto_20200804_0107... OK
      Applying part.0047_auto_20200808_0715... OK
      Applying part.0048_auto_20200902_1404... OK
      Applying common.0005_auto_20190915_1256... OK
      Applying common.0006_auto_20200203_0951... OK
      Applying common.0007_colortheme... OK
      Applying part.0049_partsellpricebreak... OK
      Applying part.0050_auto_20200917_2315... OK
      Applying part.0051_bomitem_optional... OK
      Applying part.0052_partrelated... OK
      Applying part.0054_auto_20201109_1246... OK
      Applying part.0055_auto_20201110_1001... OK
      Applying part.0056_auto_20201110_1125... OK
      Applying part.0057_remove_partsellpricebreak_currency... OK
      Applying part.0058_remove_partsellpricebreak_cost... OK
      Applying part.0059_auto_20201112_1112... OK
      Applying part.0053_partcategoryparametertemplate... OK
      Applying part.0060_merge_20201112_1722... OK
      Applying company.0024_unique_name_email_constraint... OK
      Applying company.0025_auto_20201110_1001... OK
      Applying company.0026_auto_20201110_1011... OK
      Applying company.0027_remove_supplierpricebreak_currency... OK
      Applying company.0028_remove_supplierpricebreak_cost... OK
      Applying company.0029_company_currency... OK
      Applying company.0030_auto_20201112_1112... OK
      Applying company.0031_auto_20210103_2215... OK
      Applying part.0061_auto_20210104_2331... OK
      Applying part.0061_auto_20210103_2313... OK
      Applying part.0062_merge_20210105_0056... OK
      Applying part.0063_bomitem_inherited... OK
      Applying part.0064_auto_20210404_2016... OK
      Applying part.0065_auto_20210505_2144... OK
      Applying part.0066_bomitem_allow_variants... OK
      Applying part.0067_partinternalpricebreak... OK
      Applying part.0068_part_unique_part... OK
      Applying part.0069_auto_20210701_0509... OK
      Applying part.0070_alter_part_variant_of... OK
      Applying part.0071_alter_partparametertemplate_name... OK
      Applying part.0072_bomitemsubstitute... OK
      Applying part.0073_auto_20211013_1048... OK
      Applying part.0074_partcategorystar... OK
      Applying stock.0067_alter_stockitem_part... OK
      Applying stock.0068_stockitem_serial_int... OK
      Applying stock.0069_auto_20211109_2347... OK
      Applying stock.0070_auto_20211128_0151... OK
      Applying django_q.0001_initial... OK
      Applying django_q.0002_auto_20150630_1624... OK
      Applying django_q.0003_auto_20150708_1326... OK
      Applying django_q.0004_auto_20150710_1043... OK
      Applying django_q.0005_auto_20150718_1506... OK
      Applying django_q.0006_auto_20150805_1817... OK
      Applying django_q.0007_ormq... OK
      Applying stock.0071_auto_20211205_1733... OK
      Applying stock.0072_remove_stockitem_scheduled_for_deletion... OK
      Applying stock.0073_alter_stockitem_belongs_to... OK
      Applying stock.0074_alter_stockitem_batch... OK
      Applying stock.0075_auto_20220515_1440... OK
      Applying stock.0076_alter_stockitem_status... OK
      Applying stock.0077_alter_stockitem_notes... OK
      Applying company.0032_auto_20210403_1837... OK
      Applying company.0033_auto_20210410_1528... OK
      Applying company.0034_manufacturerpart... OK
      Applying company.0035_supplierpart_update_1... OK
      Applying company.0036_supplierpart_update_2... OK
      Applying company.0037_supplierpart_update_3... OK
      Applying company.0038_manufacturerpartparameter... OK
      Applying company.0039_auto_20210701_0509... OK
      Applying company.0040_alter_company_currency... OK
      Applying company.0041_alter_company_options... OK
      Applying company.0042_supplierpricebreak_updated... OK
      Applying company.0043_manufacturerpartattachment... OK
      Applying company.0044_auto_20220607_2204... OK
      Applying company.0045_alter_company_notes... OK
      Applying company.0046_alter_company_image... OK
      Applying stock.0078_alter_stockitem_supplier_part... OK
      Applying stock.0079_alter_stocklocation_name... OK
      Applying stock.0080_stocklocation_pathstring... OK
      Applying stock.0081_auto_20220801_0044... OK
      Applying stock.0082_alter_stockitem_link... OK
      Applying stock.0083_stocklocation_icon... OK
      Applying stock.0084_auto_20220903_0154... OK
      Applying stock.0085_auto_20220903_0225... OK
      Applying stock.0086_remove_stockitem_uid... OK
      Applying stock.0087_auto_20220912_2341... OK
      Applying stock.0088_remove_stockitem_infinite... OK
      Applying stock.0089_alter_stockitem_purchase_price... OK
      Applying stock.0090_stocklocation_structural... OK
      Applying stock.0091_alter_stockitem_delete_on_deplete... OK
      Applying stock.0092_alter_stockitem_updated... OK
      Applying stock.0093_auto_20230217_2140... OK
      Applying company.0047_supplierpart_pack_size... OK
      Applying stock.0094_auto_20230220_0025... OK
      Applying stock.0095_stocklocation_external... OK
      Applying stock.0096_auto_20230330_1121... OK
      Applying stock.0097_alter_stockitem_notes... OK
      Applying stock.0098_auto_20230427_2033... OK
      Applying stock.0099_alter_stockitem_status... OK
      Applying stock.0100_auto_20230515_0004... OK
      Applying build.0017_auto_20200426_0612... OK
      Applying build.0018_build_reference... OK
      Applying build.0019_auto_20201019_1302... OK
      Applying build.0020_auto_20201019_1325... OK
      Applying build.0021_auto_20201020_0908_squashed_0026_auto_20201023_1228... OK
      Applying build.0022_buildorderattachment... OK
      Applying build.0023_auto_20201110_0911... OK
      Applying build.0024_auto_20201201_1023... OK
      Applying build.0025_build_target_date... OK
      Applying build.0026_auto_20210216_1539... OK
      Applying build.0027_auto_20210404_2016... OK
      Applying build.0028_builditem_bom_item... OK
      Applying build.0029_auto_20210601_1525... OK
      Applying build.0030_alter_build_reference... OK
      Applying build.0031_build_reference_int... OK
      Applying build.0032_auto_20211014_0632... OK
      Applying build.0033_auto_20211128_0151... OK
      Applying build.0034_alter_build_reference_int... OK
      Applying build.0035_alter_build_notes... OK
      Applying build.0036_auto_20220707_1101... OK
      Applying build.0037_build_priority... OK
      Applying build.0038_alter_build_responsible... OK
      Applying build.0039_auto_20230317_0816... OK
      Applying build.0040_auto_20230404_1310... OK
      Applying build.0041_alter_build_title... OK
      Applying build.0042_alter_build_notes... OK
      Applying stock.0100_stockitem_consumed_by... OK
      Applying stock.0101_stockitemtestresult_metadata... OK
      Applying stock.0102_alter_stockitem_status... OK
      Applying stock.0103_stock_location_types... OK
      Applying stock.0104_alter_stockitem_purchase_price_currency... OK
      Applying users.0006_alter_ruleset_name... OK
      Applying users.0007_alter_ruleset_name... OK
      Applying users.0008_apitoken... OK
      Applying users.0009_auto_20231020_2356... OK
      Applying part.0075_auto_20211128_0151... OK
      Applying part.0076_auto_20220516_0819... OK
      Applying part.0077_alter_bomitem_unique_together... OK
      Applying part.0078_auto_20220606_0024... OK
      Applying part.0079_alter_part_notes... OK
      Applying part.0080_alter_part_image... OK
      Applying part.0081_alter_partcategory_name... OK
      Applying part.0082_partcategory_pathstring... OK
      Applying part.0083_auto_20220731_2357... OK
      Applying part.0084_partcategory_icon... OK
      Applying part.0085_partparametertemplate_description... OK
      Applying part.0086_auto_20220912_0007... OK
      Applying part.0087_bomitem_consumable... OK
      Applying part.0088_alter_partparametertemplate_name... OK
      Applying part.0089_auto_20221112_0128... OK
      Applying part.0090_auto_20221115_0816... OK
      Applying part.0091_partstocktake... OK
      Applying part.0092_part_last_stocktake... OK
      Applying part.0093_auto_20230115_1404... OK
      Applying part.0094_alter_part_units... OK
      Applying part.0095_alter_part_responsible... OK
      Applying part.0096_auto_20230211_0029... OK
      Applying part.0097_partstocktakereport... OK
      Applying part.0098_auto_20230214_1115... OK
      Applying part.0099_alter_bomitem_inherited... OK
      Applying part.0100_alter_bomitem_reference... OK
      Applying part.0101_bomitem_validated... OK
      Applying part.0102_auto_20230314_0112... OK
      Applying part.0103_auto_20230317_0816... OK
      Applying part.0104_alter_part_description... OK
      Applying part.0105_alter_part_notes... OK
      Applying part.0106_part_tags... OK
      Applying part.0107_alter_part_tags... OK
      Applying part.0108_auto_20230516_1334... OK
      Applying part.0109_auto_20230517_1048... OK
      Applying part.0110_alter_part_units... OK
      Applying part.0111_auto_20230521_1350... OK
      Applying part.0112_auto_20230525_1606... OK
      Applying part.0113_auto_20230531_1205... OK
      Applying part.0114_alter_part_minimum_stock... OK
      Applying part.0115_part_responsible_owner... OK
      Applying part.0116_auto_20231023_0332... OK
      Applying part.0117_remove_part_responsible... OK
      Applying part.0118_auto_20231024_1844... OK
      Applying part.0119_auto_20231120_0457... OK
      Applying part.0120_parttesttemplate_key... OK
      Applying part.0121_auto_20240207_0344... OK
      Applying stock.0105_stockitemtestresult_template... OK
      Applying stock.0106_auto_20240207_0353... OK
      Applying stock.0107_remove_stockitemtestresult_test_and_more... OK
      Applying stock.0108_auto_20240219_0252... OK
      Applying stock.0109_add_additional_test_fields... OK
      Applying stock.0110_alter_stockitemtestresult_finished_datetime_and_more... OK
      Applying part.0122_parttesttemplate_enabled... OK
      Applying part.0123_parttesttemplate_choices... OK
      Applying order.0031_auto_20200426_0612... OK
      Applying order.0032_auto_20200427_0044... OK
      Applying order.0033_auto_20200512_1033... OK
      Applying order.0034_auto_20200512_1054... OK
      Applying order.0035_auto_20200513_0016... OK
      Applying order.0036_auto_20200831_0912... OK
      Applying order.0037_auto_20201110_0911... OK
      Applying order.0038_auto_20201112_1737... OK
      Applying order.0039_auto_20201112_2203... OK
      Applying order.0040_salesorder_target_date... OK
      Applying order.0041_auto_20210114_1728... OK
      Applying order.0042_auto_20210310_1619... OK
      Applying order.0043_auto_20210330_0013... OK
      Applying order.0044_auto_20210404_2016... OK
      Applying order.0045_auto_20210504_1946... OK
      Applying order.0046_purchaseorderlineitem_destination... OK
      Applying order.0047_auto_20210701_0509... OK
      Applying order.0048_auto_20210702_2321... OK
      Applying order.0049_alter_purchaseorderlineitem_unique_together... OK
      Applying order.0050_alter_purchaseorderlineitem_destination... OK
      Applying order.0051_auto_20211014_0623... OK
      Applying order.0052_auto_20211014_0631... OK
      Applying order.0053_auto_20211128_0151... OK
      Applying order.0053_salesordershipment... OK
      Applying order.0054_salesorderallocation_shipment... OK
      Applying order.0055_auto_20211025_0645... OK
      Applying order.0056_alter_salesorderallocation_shipment... OK
      Applying order.0057_salesorderlineitem_shipped... OK
      Applying order.0058_auto_20211126_1210... OK
      Applying order.0059_salesordershipment_tracking_number... OK
      Applying order.0060_auto_20211129_1339... OK
      Applying order.0054_auto_20211201_2139... OK
      Applying order.0061_merge_0054_auto_20211201_2139_0060_auto_20211129_1339... OK
      Applying order.0062_auto_20220228_0321... OK
      Applying order.0063_alter_purchaseorderlineitem_unique_together... OK
      Applying order.0064_purchaseorderextraline_salesorderextraline... OK
      Applying order.0065_alter_purchaseorderlineitem_part... OK
      Applying order.0066_alter_purchaseorder_supplier... OK
      Applying order.0067_auto_20220516_1120... OK
      Applying order.0068_alter_salesorderallocation_unique_together... OK
      Applying order.0069_auto_20220524_0508... OK
      Applying order.0070_auto_20220620_0728... OK
      Applying order.0071_auto_20220628_0133... OK
      Applying order.0072_alter_salesorder_reference... OK
      Applying order.0073_alter_purchaseorder_reference... OK
      Applying order.0074_auto_20220709_0108... OK
      Applying order.0075_auto_20221110_0108... OK
      Applying order.0076_auto_20221111_0153... OK
      Applying order.0077_auto_20230129_0154... OK
      Applying order.0078_auto_20230304_0721... OK
      Applying order.0079_auto_20230304_0904... OK
      Applying order.0080_auto_20230317_0816... OK
      Applying company.0048_auto_20220913_0312... OK
      Applying company.0049_company_metadata... OK
      Applying company.0050_alter_company_website... OK
      Applying company.0051_alter_supplierpricebreak_price... OK
      Applying company.0052_alter_supplierpricebreak_updated... OK
      Applying company.0053_supplierpart_updated... OK
      Applying company.0054_companyattachment... OK
      Applying order.0081_auto_20230314_0725... OK
      Applying order.0082_auto_20230314_1259... OK
      Applying order.0083_returnorderextraline... OK
      Applying order.0084_auto_20230321_1111... OK
      Applying order.0085_auto_20230322_1056... OK
      Applying order.0086_auto_20230323_1108... OK
      Applying order.0087_alter_salesorder_status... OK
      Applying order.0088_auto_20230403_1402... OK
      Applying order.0089_auto_20230404_0030... OK
      Applying order.0090_auto_20230412_1752... OK
      Applying order.0091_auto_20230419_0037... OK
      Applying common.0008_remove_inventreesetting_description... OK
      Applying common.0009_delete_currency... OK
      Applying common.0010_migrate_currency_setting...2026-02-17T08:00:50.929207Z [error    ] Error setting setting '_PLUGIN_REGISTRY_HASH' for <class 'common.models.InvenTreeSetting'>: <class 'django.db.utils.InternalError'> [inventree]
    Traceback (most recent call last):
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
        return self.cursor.execute(sql, params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute
        raise ex.with_traceback(None)
    psycopg.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 722, in set_setting
        setting = cls.objects.filter(**filters).first()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1059, in first
        for obj in queryset[:1]:
      File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 400, in __iter__
        self._fetch_all()
      File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1886, in _fetch_all
        self._result_cache = list(self._iterable_class(self))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 93, in __iter__
        results = compiler.execute_sql(
                  ^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
        cursor.execute(sql, params)
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
        return self._execute_with_wrappers(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
        return executor(sql, params, many, context)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
        with self.db.wrap_database_errors:
      File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
        return self.cursor.execute(sql, params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute
        raise ex.with_traceback(None)
    django.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block
    2026-02-17 08:00:51,017 ERROR {'event': "Error setting setting '_PLUGIN_REGISTRY_HASH' for <class 'common.models.InvenTreeSetting'>: <class 'django.db.utils.InternalError'>", 'timestamp': '2026-02-17T08:00:50.929207Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute\n    return self.cursor.execute(sql, params)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute\n    raise ex.with_traceback(None)\npsycopg.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 722, in set_setting\n    setting = cls.objects.filter(**filters).first()\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1059, in first\n    for obj in queryset[:1]:\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 400, in __iter__\n    self._fetch_all()\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1886, in _fetch_all\n    self._result_cache = list(self._iterable_class(self))\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 93, in __iter__\n    results = compiler.execute_sql(\n              ^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql\n    cursor.execute(sql, params)\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute\n    return self._execute_with_wrappers(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers\n    return executor(sql, params, many, context)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute\n    with self.db.wrap_database_errors:\n  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__\n    raise dj_exc_value.with_traceback(traceback) from exc_value\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute\n    return self.cursor.execute(sql, params)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute\n    raise ex.with_traceback(None)\ndjango.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block'}
    2026-02-17T08:00:51.020185Z [error    ] Error setting setting 'INVENTREE_DEFAULT_CURRENCY' for <class 'common.models.InvenTreeSetting'>: <class 'django.db.utils.InternalError'> [inventree]
    Traceback (most recent call last):
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute
        return self.cursor.execute(sql)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute
        raise ex.with_traceback(None)
    psycopg.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 747, in set_setting
        setting.save()
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 1226, in save
        super().save()
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 217, in save
        super().save()
      File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 814, in save
        self.save_base(
      File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 892, in save_base
        post_save.send(
      File "/root/.local/lib/python3.11/site-packages/django/dispatch/dispatcher.py", line 176, in send
        return [
               ^
      File "/root/.local/lib/python3.11/site-packages/django/dispatch/dispatcher.py", line 177, in <listcomp>
        (receiver, receiver(signal=self, sender=sender, **named))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/plugin/base/event/events.py", line 178, in after_save
        trigger_event(f'{table}.created', id=instance.id, model=sender.__name__)
      File "/usr/local/lib/python3.11/contextlib.py", line 81, in inner
        return func(*args, **kwds)
               ^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/plugin/base/event/events.py", line 33, in trigger_event
        if not get_global_setting('ENABLE_PLUGINS_EVENTS', False):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/common/settings.py", line 41, in get_global_setting
        return InvenTreeSetting.get_setting(key, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 1254, in get_setting
        return super().get_setting(key, backup_value=backup_value, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 659, in get_setting
        setting = cls.get_setting_object(key, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/inventree/src/backend/InvenTree/common/models.py", line 619, in get_setting_object
        with transaction.atomic():
      File "/root/.local/lib/python3.11/site-packages/django/db/transaction.py", line 247, in __exit__
        connection.savepoint_commit(sid)
      File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 440, in savepoint_commit
        self._savepoint_commit(sid)
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 384, in _savepoint_commit
        cursor.execute(self.ops.savepoint_commit_sql(sid))
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
        return self._execute_with_wrappers(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
        return executor(sql, params, many, context)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
        with self.db.wrap_database_errors:
      File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute
        return self.cursor.execute(sql)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute
        raise ex.with_traceback(None)
    django.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block
    2026-02-17 08:00:51,022 ERROR {'event': "Error setting setting 'INVENTREE_DEFAULT_CURRENCY' for <class 'common.models.InvenTreeSetting'>: <class 'django.db.utils.InternalError'>", 'timestamp': '2026-02-17T08:00:51.020185Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute\n    return self.cursor.execute(sql)\n           ^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute\n    raise ex.with_traceback(None)\npsycopg.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 747, in set_setting\n    setting.save()\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 1226, in save\n    super().save()\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 217, in save\n    super().save()\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 814, in save\n    self.save_base(\n  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 892, in save_base\n    post_save.send(\n  File "/root/.local/lib/python3.11/site-packages/django/dispatch/dispatcher.py", line 176, in send\n    return [\n           ^\n  File "/root/.local/lib/python3.11/site-packages/django/dispatch/dispatcher.py", line 177, in <listcomp>\n    (receiver, receiver(signal=self, sender=sender, **named))\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/plugin/base/event/events.py", line 178, in after_save\n    trigger_event(f\'{table}.created\', id=instance.id, model=sender.__name__)\n  File "/usr/local/lib/python3.11/contextlib.py", line 81, in inner\n    return func(*args, **kwds)\n           ^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/plugin/base/event/events.py", line 33, in trigger_event\n    if not get_global_setting(\'ENABLE_PLUGINS_EVENTS\', False):\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/common/settings.py", line 41, in get_global_setting\n    return InvenTreeSetting.get_setting(key, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 1254, in get_setting\n    return super().get_setting(key, backup_value=backup_value, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 659, in get_setting\n    setting = cls.get_setting_object(key, **kwargs)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/home/inventree/src/backend/InvenTree/common/models.py", line 619, in get_setting_object\n    with transaction.atomic():\n  File "/root/.local/lib/python3.11/site-packages/django/db/transaction.py", line 247, in __exit__\n    connection.savepoint_commit(sid)\n  File "/root/.local/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner\n    return func(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 440, in savepoint_commit\n    self._savepoint_commit(sid)\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 384, in _savepoint_commit\n    cursor.execute(self.ops.savepoint_commit_sql(sid))\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute\n    return self._execute_with_wrappers(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers\n    return executor(sql, params, many, context)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute\n    with self.db.wrap_database_errors:\n  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__\n    raise dj_exc_value.with_traceback(traceback) from exc_value\n  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute\n    return self.cursor.execute(sql)\n           ^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute\n    raise ex.with_traceback(None)\ndjango.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block'}
     OK
      Applying common.0011_auto_20210722_2114... OK
      Applying common.0012_notificationentry... OK
      Applying common.0013_webhookendpoint_webhookmessage... OK
      Applying common.0014_notificationmessage... OK
      Applying common.0015_newsfeedentry... OK
      Applying common.0016_alter_notificationentry_updated... OK
      Applying common.0017_notesimage... OK
      Applying common.0018_projectcode... OK
      Applying order.0092_auto_20230419_0250... OK
      Applying order.0093_auto_20230426_0248... OK
      Applying order.0094_auto_20230514_2331... OK
      Applying order.0095_salesordershipment_delivery_date... OK
      Applying order.0096_alter_returnorderlineitem_outcome... OK
      Applying company.0055_auto_20230317_0816... OK
      Applying company.0056_alter_company_notes... OK
      Applying company.0057_auto_20230427_2033... OK
      Applying company.0058_auto_20230515_0004... OK
      Applying company.0059_supplierpart_pack_units... OK
      Applying company.0060_auto_20230519_0344... OK
      Applying company.0061_remove_supplierpart_pack_size... OK
      Applying company.0062_contact_metadata... OK
      Applying company.0063_auto_20230502_1956... OK
      Applying company.0064_move_address_field_to_address_model... OK
      Applying company.0065_remove_company_address... OK
      Applying order.0097_auto_20230529_0107... OK
      Applying order.0098_auto_20231024_1844... OK
      Applying order.0099_alter_salesorder_status... OK
      Applying company.0066_auto_20230616_2059... OK
      Applying company.0067_alter_supplierpricebreak_price_currency... OK
      Applying company.0068_auto_20231120_1108... OK
      Applying company.0069_company_active... OK
      Applying users.0010_alter_apitoken_key... OK
      Applying common.0019_projectcode_metadata... OK
      Applying common.0020_customunit... OK
      Applying common.0021_auto_20230805_1748... OK
      Applying common.0022_projectcode_responsible... OK
      Applying common.0023_auto_20240602_1332...Found existing currency codes: GBP,CNY,JPY,CAD,NZD,USD,AUD,EUR
    - Creating new setting for currency codes
     OK
      Applying common.0024_notesimage_model_id_notesimage_model_type... OK
      Applying common.0025_attachment... OK
      Applying build.0043_buildline... OK
      Applying build.0044_auto_20230528_1410... OK
      Applying build.0045_builditem_build_line... OK
      Applying build.0046_auto_20230606_1033... OK
      Applying build.0047_auto_20230606_1058... OK
      Applying build.0048_build_project_code... OK
      Applying build.0049_alter_builditem_build_line... OK
      Applying build.0050_auto_20240508_0138... OK
      Applying common.0026_auto_20240608_1238... OK
      Applying part.0124_delete_partattachment... OK
      Applying part.0125_part_locked... OK
      Applying part.0126_part_revision_of... OK
      Applying part.0127_remove_partcategory_icon_partcategory__icon... OK
      Applying part.0128_part_testable... OK
      Applying part.0129_auto_20240815_0214... OK
      Applying part.0130_alter_parttesttemplate_part... OK
      Applying build.0051_delete_buildorderattachment... OK
      Applying build.0052_build_status_custom_key_alter_build_status... OK
      Applying build.0053_alter_build_part... OK
      Applying build.0054_build_start_date... OK
      Applying build.0055_auto_20250221_1230... OK
      Applying build.0056_alter_build_link... OK
      Applying build.0057_build_external... OK
      Applying build.0058_buildline_consumed... OK
      Applying plugin.0001_initial... OK
      Applying plugin.0002_alter_pluginconfig_options... OK
      Applying plugin.0003_pluginsetting... OK
      Applying plugin.0004_alter_pluginsetting_key... OK
      Applying plugin.0005_notificationusersetting... OK
      Applying plugin.0006_pluginconfig_metadata... OK
      Applying plugin.0007_auto_20230805_1748... OK
      Applying plugin.0008_pluginconfig_package_name... OK
      Applying plugin.0009_alter_pluginconfig_key... OK
      Applying common.0027_alter_customunit_symbol... OK
      Applying common.0028_colortheme_user_obj... OK
      Applying common.0029_inventreecustomuserstatemodel... OK
      Applying common.0030_barcodescanresult... OK
      Applying common.0031_auto_20241026_0024... OK
      Applying common.0032_selectionlist_selectionlistentry_and_more... OK
      Applying common.0033_delete_colortheme... OK
      Applying common.0034_alter_inventreecustomuserstatemodel_unique_together_and_more... OK
      Applying common.0035_auto_20250221_1513... OK
      Applying common.0036_alter_attachment_link... OK
      Applying common.0037_dataoutput... OK
      Applying common.0038_alter_attachment_model_type... OK
      Applying common.0039_emailthread_emailmessage... OK
      Applying company.0070_remove_manufacturerpartattachment_manufacturer_part_and_more... OK
      Applying company.0071_manufacturerpart_notes_supplierpart_notes... OK
      Applying company.0072_auto_20250221_1236... OK
      Applying company.0073_alter_address_link_alter_company_link_and_more... OK
      Applying company.0074_alter_manufacturerpart_link... OK
      Applying company.0075_company_tax_id... OK
      Applying django_mailbox.0001_initial... OK
      Applying django_mailbox.0002_add_eml_to_message... OK
      Applying django_mailbox.0003_auto_20150409_0316... OK
      Applying django_mailbox.0004_bytestring_to_unicode... OK
      Applying django_mailbox.0005_auto_20160523_2240... OK
      Applying django_mailbox.0006_mailbox_last_polling... OK
      Applying django_mailbox.0007_auto_20180421_0026... OK
      Applying django_mailbox.0008_auto_20190219_1553... OK
      Applying django_mailbox.0009_alter_message_eml... OK
      Applying django_q.0008_auto_20160224_1026... OK
      Applying django_q.0009_auto_20171009_0915... OK
      Applying django_q.0010_auto_20200610_0856... OK
      Applying django_q.0011_auto_20200628_1055... OK
      Applying django_q.0012_auto_20200702_1608... OK
      Applying django_q.0013_task_attempt_count... OK
      Applying django_q.0014_schedule_cluster... OK
      Applying django_q.0015_alter_schedule_schedule_type... OK
      Applying django_q.0016_schedule_intended_date_kwarg... OK
      Applying django_q.0017_task_cluster_alter... OK
      Applying django_q.0018_task_success_index... OK
      Applying error_report.0001_initial... OK
      Applying exchange.0001_initial... OK
      Applying flags.0012_replace_migrations_for_wagtail_independence... OK
      Applying flags.0013_add_required_field... OK
      Applying importer.0001_initial... OK
      Applying importer.0002_dataimportsession_field_overrides... OK
      Applying importer.0003_dataimportsession_field_filters... OK
      Applying importer.0004_alter_dataimportsession_model_type... OK
      Applying importer.0005_dataimportsession_update_records... OK
      Applying machine.0001_initial... OK
      Applying mfa.0001_initial... OK
      Applying mfa.0002_authenticator_timestamps... OK
      Applying mfa.0003_authenticator_type_uniq... OK
      Applying oauth2_provider.0001_initial... OK
      Applying oauth2_provider.0002_auto_20190406_1805... OK
      Applying oauth2_provider.0003_auto_20201211_1314... OK
      Applying oauth2_provider.0004_auto_20200902_2022... OK
      Applying oauth2_provider.0005_auto_20211222_2352... OK
      Applying oauth2_provider.0006_alter_application_client_secret... OK
      Applying oauth2_provider.0007_application_post_logout_redirect_uris... OK
      Applying oauth2_provider.0008_alter_accesstoken_token... OK
      Applying oauth2_provider.0009_add_hash_client_secret... OK
      Applying oauth2_provider.0010_application_allowed_origins... OK
      Applying oauth2_provider.0011_refreshtoken_token_family... OK
      Applying oauth2_provider.0012_add_token_checksum... OK
      Applying part.0131_partrelated_note... OK
      Applying part.0132_partparametertemplate_selectionlist... OK
      Applying part.0133_alter_partcategory__icon... OK
      Applying part.0134_auto_20250221_1309... OK
      Applying part.0135_alter_part_link... OK
      Applying part.0136_partparameter_note_partparameter_updated_and_more... OK
      Applying part.0137_bomitem_attrition_bomitem_rounding_multiple_and_more... OK
      Applying part.0138_auto_20250718_2342... OK
      Applying part.0139_remove_bomitem_overage... OK
      Applying part.0140_part_bom_validated... OK
      Applying part.0141_auto_20250722_0303... OK
      Applying part.0142_remove_part_last_stocktake_remove_partstocktake_note_and_more... OK
      Applying stock.0111_delete_stockitemattachment... OK
      Applying stock.0112_alter_stocklocation_custom_icon_and_more... OK
      Applying stock.0113_stockitem_status_custom_key_and_more... OK
      Applying order.0100_remove_returnorderattachment_order_and_more... OK
      Applying order.0101_purchaseorder_status_custom_key_and_more... OK
      Applying order.0102_purchaseorder_destination_and_more... OK
      Applying order.0103_alter_salesorderallocation_shipment... OK
      Applying order.0104_alter_returnorderlineitem_quantity... OK
      Applying order.0105_auto_20241128_0431... OK
      Applying order.0106_purchaseorder_start_date_returnorder_start_date_and_more... OK
      Applying order.0107_auto_20250221_1241... OK
      Applying order.0108_alter_purchaseorder_link_and_more_squashed_0109_alter_purchaseorderextraline_link_and_more... OK
      Applying order.0109_salesorder_issue_date... OK
      Applying order.0110_salesordershipment_barcode_data_and_more... OK
      Applying order.0111_purchaseorderlineitem_build_order... OK
      Applying order.0112_alter_salesorderlineitem_part... OK
      Applying order.0113_salesordershipment_shipment_address... OK
      Applying order.0114_purchaseorderextraline_project_code_and_more... OK
      Applying otp_static.0001_initial... OK
      Applying otp_static.0002_throttling... OK
      Applying otp_totp.0001_initial... OK
      Applying otp_totp.0002_auto_20190420_0723... OK
      Applying plugin.0010_pluginusersetting... OK
      Applying plugin.0011_delete_notificationusersetting... OK
      Applying report.0001_initial... OK
      Applying report.0002_delete_reporttemplate... OK
      Applying report.0003_testreport_enabled... OK
      Applying report.0004_auto_20200823_1104... OK
      Applying report.0005_auto_20210119_0815... OK
      Applying report.0006_reportsnippet... OK
      Applying report.0007_auto_20210204_1617... OK
      Applying report.0008_auto_20210204_2100... OK
      Applying report.0009_testreport_revision... OK
      Applying report.0010_auto_20210205_1201... OK
      Applying report.0011_auto_20210212_2024... OK
      Applying report.0012_buildreport... OK
      Applying report.0013_testreport_include_installed... OK
      Applying report.0014_purchaseorderreport_salesorderreport... OK
      Applying report.0015_auto_20210403_1837... OK
      Applying report.0016_auto_20210513_1303... OK
      Applying report.0017_auto_20230317_0816... OK
      Applying report.0018_returnorderreport... OK
      Applying report.0019_returnorderreport_metadata... OK
      Applying report.0020_stocklocationreport... OK
      Applying report.0021_auto_20231009_0144... OK
      Applying report.0022_reporttemplate... OK
      Applying report.0023_auto_20240421_0455... OK
      Applying report.0024_delete_billofmaterialsreport_delete_buildreport_and_more... OK
      Applying report.0025_labeltemplate... OK
      Applying report.0026_auto_20240422_1301... OK
      Applying report.0027_alter_labeltemplate_model_type_and_more... OK
      Applying report.0028_labeltemplate_attach_to_model_and_more... OK
      Applying report.0029_remove_reportoutput_template_and_more... OK
      Applying report.0030_alter_labeltemplate_model_type_and_more... OK
      Applying report.0031_reporttemplate_merge... 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
      Applying stock.0114_alter_stocklocation_custom_icon... OK
      Applying stock.0115_auto_20250221_1323... OK
      Applying stock.0116_alter_stockitem_link... OK
      Applying taggit.0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx... OK
      Applying users.0011_auto_20240523_1640...
    Cleared all user sessions to deal with GHSA-2crp-q9pc-457j
     OK
      Applying users.0012_alter_ruleset_can_view... OK
      Applying users.0013_migrate_mfa_20240408_1659... OK
      Applying users.0014_userprofile... OK
      Applying users.0015_alter_userprofile_type... OK
      Applying usersessions.0001_initial... OK
    2026-02-17 08:01:11,953 INFO Finding latest backup
    2026-02-17 08:01:11,959 INFO Restoring backup for database 'default' and server 'None'
    2026-02-17 08:01:11,959 INFO Restoring: InvenTree-db-2026-02-17-071855.psql.bin.gz
    2026-02-17 08:01:11,964 INFO Restore tempfile created: 1.2 MiB
    2026-02-17 08:01:11,965 DEBUG pg_restore --dbname=postgresql://pguser@inventree-db:5432/inventree --single-transaction --clean --if-exists
    Traceback (most recent call last):
      File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
        main()
      File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
        execute_from_command_line(sys.argv)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
        utility.execute()
      File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
        self.execute(*args, **cmd_options)
      File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
        output = self.handle(*args, **options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 85, in handle
        self._restore_backup()
      File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 162, in _restore_backup
        self.connector.restore_dump(input_file)
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 109, in restore_dump
        return self._restore_dump(dump)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 194, in _restore_dump
        stdout, _ = self.run_command(cmd_str, stdin=dump, env={**self.dump_env, **pg_env})
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 186, in run_command
        raise exceptions.CommandConnectorError(msg)
    dbbackup.db.exceptions.CommandConnectorError: Error running: pg_restore --dbname=postgresql://pguser@inventree-db:5432/inventree --single-transaction --clean --if-exists
    pg_restore: error: could not execute query: ERROR:  column "id" of relation "users_ruleset" is an identity column
    HINT:  Use ALTER TABLE ... ALTER COLUMN ... DROP IDENTITY instead.
    Command was: ALTER TABLE IF EXISTS public.users_ruleset ALTER COLUMN id DROP DEFAULT;
    
    ERROR: InvenTree command failed: 'python3 manage.py dbrestore --noinput -v 2 --uncompress'
    - Refer to the error messages in the log above for more information
    
  11. 17 remaining items

  12. martin323232 commented on Feb 20, 2026

    @martin323232
    Author

    I waited 10 minutes, downgraded to 1.1.12 again

    This is the only output from inventree-server

    inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose logs inventree-server inventree-server | Loading config file : /home/inventree/data/config.yaml inventree-server | INVE-W3: Could not detect git information. inven@inven:~/Downloads/InvenTree-master/docker/production$

  13. SchrodingersGat commented on Feb 20, 2026

    @SchrodingersGat
    Member

    I tried updating kicad plugin. Got error message about it not found.

    There was a typo in my command sorry

    docker compose run --rm inventree-server pip install -U inventree-kiacd-plugin

    should be

    docker compose run --rm inventree-server pip install -U inventree-kicad-plugin

  14. martin323232 commented on Feb 20, 2026

    @martin323232
    Author

    tried again to upgrade to latest, 1.2.2, same issue that server will not start. 502 error.

    1.1.12 does not work 100% either, cant open parameters tab.

    error when printin label, column part_partparameter.part_id does not exist LINE 1: ...T(*) AS "__count" FROM "part_partparameter" WHERE "part_part... ^

    inventree-server  | 2026-02-20T15:20:38.963489Z [error    ] request_finished               [django_structlog.middlewares.request] code=500 ip=192.168.1.11 request='GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0' request_id=bd8572b6-a4a0-4f67-bca6-7d1803bd7bf8 user_id=3
    inventree-server  | 2026-02-20 15:20:38,963 ERROR {'code': 500, 'request': 'GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0', 'event': 'request_finished', 'ip': '192.168.1.11', 'user_id': 3, 'request_id': 'bd8572b6-a4a0-4f67-bca6-7d1803bd7bf8', 'timestamp': '2026-02-20T15:20:38.963489Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'}
    inventree-server  | 2026-02-20 15:20:38,964 ERROR Internal Server Error: /api/part/parameter/
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:20:38 +0000] "GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0 HTTP/1.0" 500 192 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-20T15:20:40.068736Z [error    ] column part_partparameter.part_id does not exist
    inventree-server  | LINE 1: ...T(*) AS "__count" FROM "part_partparameter" WHERE "part_part...
    inventree-server  |                                                              ^ [inventree] ip=192.168.1.11 request_id=ed9aedb3-ae9d-4ddf-86b4-1253f547be57 user_id=3
    inventree-server  | 2026-02-20 15:20:40,068 ERROR {'event': ProgrammingError('column part_partparameter.part_id does not exist\nLINE 1: ...T(*) AS "__count" FROM "part_partparameter" WHERE "part_part...\n                                                             ^'), 'request_id': 'ed9aedb3-ae9d-4ddf-86b4-1253f547be57', 'user_id': 3, 'ip': '192.168.1.11', 'timestamp': '2026-02-20T15:20:40.068736Z', 'logger': 'inventree', 'level': 'error'}
    inventree-server  | /root/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1535: RuntimeWarning: DateTimeField NotificationEntry.updated received a naive datetime (2026-02-19 00:00:00) while time zone support is active.
    inventree-server  |   warnings.warn(
    inventree-server  | 2026-02-20T15:20:40.129339Z [error    ] request_finished               [django_structlog.middlewares.request] code=500 ip=192.168.1.11 request='GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0' request_id=ed9aedb3-ae9d-4ddf-86b4-1253f547be57 user_id=3
    inventree-server  | 2026-02-20 15:20:40,129 ERROR {'code': 500, 'request': 'GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0', 'event': 'request_finished', 'request_id': 'ed9aedb3-ae9d-4ddf-86b4-1253f547be57', 'user_id': 3, 'ip': '192.168.1.11', 'timestamp': '2026-02-20T15:20:40.129339Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'}
    inventree-server  | 2026-02-20 15:20:40,131 ERROR Internal Server Error: /api/part/parameter/
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:20:40 +0000] "GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0 HTTP/1.0" 500 192 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-20T15:20:41.490903Z [error    ] column part_partparameter.part_id does not exist
    inventree-server  | LINE 1: ...T(*) AS "__count" FROM "part_partparameter" WHERE "part_part...
    inventree-server  |                                                              ^ [inventree] ip=192.168.1.11 request_id=1f534c6a-e891-4f0d-ad88-a385e3c5b4a7 user_id=3
    inventree-server  | 2026-02-20 15:20:41,490 ERROR {'event': ProgrammingError('column part_partparameter.part_id does not exist\nLINE 1: ...T(*) AS "__count" FROM "part_partparameter" WHERE "part_part...\n                                                             ^'), 'ip': '192.168.1.11', 'user_id': 3, 'request_id': '1f534c6a-e891-4f0d-ad88-a385e3c5b4a7', 'timestamp': '2026-02-20T15:20:41.490903Z', 'logger': 'inventree', 'level': 'error'}
    inventree-server  | 2026-02-20T15:20:41.532594Z [error    ] request_finished               [django_structlog.middlewares.request] code=500 ip=192.168.1.11 request='GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0' request_id=1f534c6a-e891-4f0d-ad88-a385e3c5b4a7 user_id=3
    inventree-server  | 2026-02-20 15:20:41,532 ERROR {'code': 500, 'request': 'GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0', 'event': 'request_finished', 'ip': '192.168.1.11', 'user_id': 3, 'request_id': '1f534c6a-e891-4f0d-ad88-a385e3c5b4a7', 'timestamp': '2026-02-20T15:20:41.532594Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'}
    inventree-server  | 2026-02-20 15:20:41,533 ERROR Internal Server Error: /api/part/parameter/
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:20:41 +0000] "GET /api/part/parameter/?part=481&template_detail=true&part_detail=true&limit=500&offset=0 HTTP/1.0" 500 192 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:20:49 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.0" 200 568 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:21:49 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.0" 200 568 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [20/Feb/2026:15:24:23 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.0" 200 568 "http://192.168.1.93:1337/web/part/481/parameters" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    
  15. SchrodingersGat commented on Feb 20, 2026

    @SchrodingersGat
    Member

    1.1.12 does not work 100% either, cant open parameters tab.

    If you have reverted to the old version (1.1.12) with the new database setup (after migrating to 1.2.x) then the database will be out of sync with the code - this is a bad situation to be in.

    You need to get your 1.2.0 server running.

    There should be some logs from the inventree-server container when you hit the 502 error running in 1.2.x.

    With the server running in 1.2.x please provide the full output of:

    docker compose up -d
    docker compose logs inventree-server --follow
    
  16. martin323232 commented on Feb 22, 2026

    @martin323232
    Author

    Nothing is happning on server logs

    598cbef24c47   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   About a minute ago   Up About a minute   8000/tcp                                  inventree-worker
    acc5803bbcd1   nginx:stable                "/docker-entrypoint.…"   About a minute ago   Up About a minute   0.0.0.0:1337->80/tcp, [::]:1337->80/tcp   inventree-proxy
    f4b4b6c9b6e7   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   About a minute ago   Up About a minute   8000/tcp                                  inventree-server
    a535edb49422   postgres:17                 "docker-entrypoint.s…"   8 minutes ago        Up 7 minutes        5432/tcp                                  inventree-db
    inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose logs inventree-server --follow
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    CONTAINER ID   IMAGE                       COMMAND                  CREATED          STATUS          PORTS                                     NAMES
    598cbef24c47   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   3 minutes ago    Up 3 minutes    8000/tcp                                  inventree-worker
    acc5803bbcd1   nginx:stable                "/docker-entrypoint.…"   3 minutes ago    Up 3 minutes    0.0.0.0:1337->80/tcp, [::]:1337->80/tcp   inventree-proxy
    f4b4b6c9b6e7   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   3 minutes ago    Up 3 minutes    8000/tcp                                  inventree-server
    a535edb49422   postgres:17                 "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes   5432/tcp                                  inventree-db
    inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose logs inventree-server --follow
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    
  17. martin323232 commented on Feb 23, 2026

    @martin323232
    Author

    Browser only show bad gateway.
    I do not know what web console is and how to get there.
    If I would have guessed it looks like there is someting wrong with the .yaml file for server since it does not start?
    My .yaml file is from 2022 when I first installed InvenTree.

    Image
    CONTAINER ID   IMAGE                       COMMAND                  CREATED        STATUS       PORTS                                     NAMES
    598cbef24c47   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   16 hours ago   Up 2 hours   8000/tcp                                  inventree-worker
    acc5803bbcd1   nginx:stable                "/docker-entrypoint.…"   16 hours ago   Up 2 hours   0.0.0.0:1337->80/tcp, [::]:1337->80/tcp   inventree-proxy
    f4b4b6c9b6e7   inventree/inventree:1.2.3   "/bin/bash ./init.sh…"   16 hours ago   Up 2 hours   8000/tcp                                  inventree-server
    a535edb49422   postgres:17                 "docker-entrypoint.s…"   16 hours ago   Up 2 hours   5432/tcp                                  inventree-db
    inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose logs
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    inventree-worker  | Loading config file : /home/inventree/data/config.yaml
    inventree-worker  | Waiting for database connection...
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-worker  | Waiting for database...
    inventree-worker  | Database connection successful!
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-worker  | /root/.local/lib/python3.11/site-packages/picklefield/fields.py:78: RuntimeWarning: Pickled model instance's Django version 4.2.28 does not match the current version 5.2.11.
    inventree-worker  |   return loads(value)
    inventree-worker  | /root/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1612: RuntimeWarning: DateTimeField DataImportSession.timestamp received a naive datetime (2026-02-17 00:00:00) while time zone support is active.
    inventree-worker  |   warnings.warn(
    inventree-worker  | Loading config file : /home/inventree/data/config.yaml
    inventree-worker  | Waiting for database connection...
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-worker  | Waiting for database...
    inventree-worker  | Database connection successful!
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-proxy   | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
    inventree-proxy   | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
    inventree-proxy   | 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
    inventree-proxy   | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
    inventree-proxy   | /docker-entrypoint.sh: Configuration complete; ready for start up
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: using the "epoll" event method
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: nginx/1.28.2
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: built by gcc 14.2.0 (Debian 14.2.0-19) 
    inventree-db      | 
    inventree-db      | PostgreSQL Database directory appears to contain a database; Skipping initialization
    inventree-db      | 
    inventree-db      | 2026-02-22 13:55:14.776 UTC [1] LOG:  starting PostgreSQL 17.8 (Debian 17.8-1.pgdg13+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit
    inventree-db      | 2026-02-22 13:55:14.776 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
    inventree-db      | 2026-02-22 13:55:14.776 UTC [1] LOG:  listening on IPv6 address "::", port 5432
    inventree-db      | 2026-02-22 13:55:14.782 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: OS: Linux 6.8.0-100-generic
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1024:524288
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: start worker processes
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: start worker process 20
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: start worker process 21
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: start worker process 22
    inventree-proxy   | 2026/02/22 14:02:05 [notice] 1#1: start worker process 23
    inventree-proxy   | 2026/02/22 14:02:43 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:02:43 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:02:44 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:02:44 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:02:44 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:02:44 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:20 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:20 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:20 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:20 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:21 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:21 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:21 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:21 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:21 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:21 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:21 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:21 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:22 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:22 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:22 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:22 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:22 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:22 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "192.168.1.93:1337"
    inventree-db      | 2026-02-22 13:55:14.790 UTC [29] LOG:  database system was shut down at 2026-02-22 13:54:16 UTC
    inventree-db      | 2026-02-22 13:55:14.797 UTC [1] LOG:  database system is ready to accept connections
    inventree-db      | 2026-02-22 14:00:14.820 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:00:17.641 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.810 s, sync=0.005 s, total=2.822 s; sync files=23, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=127 kB; lsn=0/A919B28, redo lsn=0/A919A98
    inventree-db      | 2026-02-22 14:05:14.663 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:05:19.591 UTC [27] LOG:  checkpoint complete: wrote 51 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.916 s, sync=0.005 s, total=4.928 s; sync files=28, longest=0.003 s, average=0.001 s; distance=438 kB, estimate=438 kB; lsn=0/A987600, redo lsn=0/A987570
    inventree-db      | 2026-02-22 14:10:14.594 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:10:16.813 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=125 kB, estimate=407 kB; lsn=0/A9A6D00, redo lsn=0/A9A6CA8
    inventree-db      | 2026-02-22 14:15:14.844 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:15:17.063 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=128 kB, estimate=379 kB; lsn=0/A9C6EC8, redo lsn=0/A9C6E70
    inventree-db      | 2026-02-22 14:20:14.070 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:20:16.290 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.003 s, average=0.001 s; distance=132 kB, estimate=354 kB; lsn=0/A9E8208, redo lsn=0/A9E81B0
    inventree-db      | 2026-02-22 14:25:14.300 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:25:19.630 UTC [27] LOG:  checkpoint complete: wrote 54 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=5.315 s, sync=0.007 s, total=5.330 s; sync files=22, longest=0.002 s, average=0.001 s; distance=412 kB, estimate=412 kB; lsn=0/AA4F390, redo lsn=0/AA4F300
    inventree-db      | 2026-02-22 14:30:14.730 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:30:16.949 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=137 kB, estimate=384 kB; lsn=0/AA71B10, redo lsn=0/AA71A80
    inventree-db      | 2026-02-22 14:35:14.995 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:35:17.217 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.223 s; sync files=9, longest=0.004 s, average=0.001 s; distance=135 kB, estimate=359 kB; lsn=0/AA93880, redo lsn=0/AA93828
    inventree-db      | 2026-02-22 14:40:14.317 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:40:16.535 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=130 kB, estimate=337 kB; lsn=0/AAB4370, redo lsn=0/AAB42E0
    inventree-db      | 2026-02-22 14:45:14.588 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:45:17.408 UTC [27] LOG:  checkpoint complete: wrote 29 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.809 s, sync=0.005 s, total=2.821 s; sync files=14, longest=0.003 s, average=0.001 s; distance=177 kB, estimate=321 kB; lsn=0/AAE0768, redo lsn=0/AAE0710
    inventree-db      | 2026-02-22 14:50:14.492 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:50:16.713 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.209 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=137 kB, estimate=302 kB; lsn=0/AB02D78, redo lsn=0/AB02CE8
    inventree-db      | 2026-02-22 14:55:14.716 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 14:55:16.935 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=134 kB, estimate=285 kB; lsn=0/AB247D0, redo lsn=0/AB24778
    inventree-db      | 2026-02-22 15:00:14.946 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:00:17.165 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=138 kB, estimate=271 kB; lsn=0/AB473B8, redo lsn=0/AB47360
    inventree-db      | 2026-02-22 15:05:14.263 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:05:16.482 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=139 kB, estimate=257 kB; lsn=0/AB6A128, redo lsn=0/AB6A0D0
    inventree-db      | 2026-02-22 15:10:14.568 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:10:16.786 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=246 kB; lsn=0/AB8DC78, redo lsn=0/AB8DC20
    inventree-db      | 2026-02-22 15:15:14.886 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:15:17.109 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.209 s, sync=0.005 s, total=2.223 s; sync files=9, longest=0.003 s, average=0.001 s; distance=138 kB, estimate=235 kB; lsn=0/ABB0728, redo lsn=0/ABB0698
    inventree-db      | 2026-02-22 15:20:14.209 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:20:16.428 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=138 kB, estimate=225 kB; lsn=0/ABD2FD8, redo lsn=0/ABD2F80
    inventree-db      | 2026-02-22 15:25:14.529 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:25:16.548 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=216 kB; lsn=0/ABF2D40, redo lsn=0/ABF2CE8
    inventree-db      | 2026-02-22 15:30:14.592 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:30:16.812 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=136 kB, estimate=208 kB; lsn=0/AC14DD0, redo lsn=0/AC14D78
    inventree-db      | 2026-02-22 15:35:14.813 UTC [27] LOG:  checkpoint starting: time
    inventree-proxy   | 192.168.1.11 - - [22/Feb/2026:14:03:22 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 14:03:22 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/"
    inventree-proxy   | 2026/02/22 16:03:31 [error] 23#23: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.203, server: , request: "GET /web/purchasing/manufacturer-part/901/details HTTP/1.1", upstream: "http://172.18.0.3:8000/web/purchasing/manufacturer-part/901/details", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.203 - - [22/Feb/2026:16:03:31 +0000] "GET /web/purchasing/manufacturer-part/901/details HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | 2026/02/22 16:04:09 [error] 22#22: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.203, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "192.168.1.93:1337", referrer: "http://192.168.1.93:1337/web/purchasing/manufacturer-part/901/details"
    inventree-proxy   | 192.168.1.203 - - [22/Feb/2026:16:04:09 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://192.168.1.93:1337/web/purchasing/manufacturer-part/901/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" "-"
    inventree-proxy   | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
    inventree-db      | 2026-02-22 15:35:18.436 UTC [27] LOG:  checkpoint complete: wrote 37 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.610 s, sync=0.006 s, total=3.623 s; sync files=17, longest=0.003 s, average=0.001 s; distance=206 kB, estimate=207 kB; lsn=0/AC486B0, redo lsn=0/AC48658
    inventree-db      | 2026-02-22 15:40:14.519 UTC [27] LOG:  checkpoint starting: time
    inventree-proxy   | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
    inventree-proxy   | 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
    inventree-proxy   | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
    inventree-proxy   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
    inventree-proxy   | /docker-entrypoint.sh: Configuration complete; ready for start up
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: using the "epoll" event method
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: nginx/1.28.2
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: built by gcc 14.2.0 (Debian 14.2.0-19) 
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: OS: Linux 6.8.0-100-generic
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1024:524288
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: start worker processes
    inventree-db      | 2026-02-22 15:40:17.541 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.009 s, sync=0.005 s, total=3.022 s; sync files=11, longest=0.004 s, average=0.001 s; distance=138 kB, estimate=200 kB; lsn=0/AC6AF70, redo lsn=0/AC6AEE0
    inventree-db      | 2026-02-22 15:45:14.591 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:45:16.810 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=138 kB, estimate=194 kB; lsn=0/AC8D8F0, redo lsn=0/AC8D898
    inventree-db      | 2026-02-22 15:50:14.910 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:50:17.029 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.120 s; sync files=10, longest=0.004 s, average=0.001 s; distance=133 kB, estimate=188 kB; lsn=0/ACAF000, redo lsn=0/ACAEFA8
    inventree-db      | 2026-02-22 15:55:14.035 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 15:55:16.055 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.009 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.003 s, average=0.001 s; distance=130 kB, estimate=182 kB; lsn=0/ACCF9E0, redo lsn=0/ACCF950
    inventree-db      | 2026-02-22 16:00:14.061 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:00:16.080 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.004 s, average=0.001 s; distance=129 kB, estimate=177 kB; lsn=0/ACEFF80, redo lsn=0/ACEFF28
    inventree-db      | 2026-02-22 16:05:14.140 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:05:17.564 UTC [27] LOG:  checkpoint complete: wrote 35 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.410 s, sync=0.005 s, total=3.425 s; sync files=12, longest=0.004 s, average=0.001 s; distance=180 kB, estimate=180 kB; lsn=0/AD1CFE0, redo lsn=0/AD1CF88
    inventree-db      | 2026-02-22 16:10:14.638 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:10:16.960 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.309 s, sync=0.005 s, total=2.323 s; sync files=10, longest=0.004 s, average=0.001 s; distance=119 kB, estimate=174 kB; lsn=0/AD3AE70, redo lsn=0/AD3AE18
    inventree-db      | 2026-02-22 16:15:14.987 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:15:17.106 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.120 s; sync files=10, longest=0.003 s, average=0.001 s; distance=113 kB, estimate=168 kB; lsn=0/AD575C8, redo lsn=0/AD57570
    inventree-db      | 2026-02-22 16:20:14.178 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:20:16.504 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.326 s; sync files=10, longest=0.004 s, average=0.001 s; distance=118 kB, estimate=163 kB; lsn=0/AD74ED8, redo lsn=0/AD74E80
    inventree-db      | 2026-02-22 16:25:14.520 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:25:16.540 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=10, longest=0.004 s, average=0.001 s; distance=108 kB, estimate=157 kB; lsn=0/AD90130, redo lsn=0/AD900D8
    inventree-db      | 2026-02-22 16:30:14.590 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:30:16.709 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.108 s, sync=0.005 s, total=2.120 s; sync files=10, longest=0.003 s, average=0.001 s; distance=112 kB, estimate=153 kB; lsn=0/ADAC478, redo lsn=0/ADAC420
    inventree-db      | 2026-02-22 16:35:14.780 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:35:17.401 UTC [27] LOG:  checkpoint complete: wrote 27 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.609 s, sync=0.005 s, total=2.622 s; sync files=11, longest=0.004 s, average=0.001 s; distance=146 kB, estimate=152 kB; lsn=0/ADD0FF0, redo lsn=0/ADD0F98
    inventree-db      | 2026-02-22 16:40:14.495 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:40:16.715 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=121 kB, estimate=149 kB; lsn=0/ADEF568, redo lsn=0/ADEF4D8
    inventree-db      | 2026-02-22 16:45:14.780 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:45:16.898 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.119 s; sync files=9, longest=0.003 s, average=0.001 s; distance=121 kB, estimate=146 kB; lsn=0/AE0DBE8, redo lsn=0/AE0DB90
    inventree-db      | 2026-02-22 16:50:14.995 UTC [27] LOG:  checkpoint starting: time
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: start worker process 21
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: start worker process 22
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: start worker process 23
    inventree-proxy   | 2026/02/23 04:03:40 [notice] 1#1: start worker process 24
    inventree-proxy   | 2026/02/23 06:07:08 [error] 21#21: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.93, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.4:8000/", host: "192.168.1.93:1337"
    inventree-proxy   | 192.168.1.93 - - [23/Feb/2026:06:07:08 +0000] "GET / HTTP/1.1" 502 157 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "-"
    inventree-db      | 2026-02-22 16:50:17.213 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=125 kB, estimate=144 kB; lsn=0/AE2D168, redo lsn=0/AE2D110
    inventree-db      | 2026-02-22 16:55:14.299 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 16:55:16.317 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.003 s, average=0.001 s; distance=114 kB, estimate=141 kB; lsn=0/AE49D08, redo lsn=0/AE49CB0
    inventree-db      | 2026-02-22 17:00:14.414 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:00:16.634 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=121 kB, estimate=139 kB; lsn=0/AE68488, redo lsn=0/AE68430
    inventree-db      | 2026-02-22 17:05:14.658 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:05:16.877 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=125 kB, estimate=138 kB; lsn=0/AE87958, redo lsn=0/AE878C8
    inventree-db      | 2026-02-22 17:10:14.940 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:10:18.462 UTC [27] LOG:  checkpoint complete: wrote 36 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.510 s, sync=0.004 s, total=3.523 s; sync files=14, longest=0.003 s, average=0.001 s; distance=194 kB, estimate=194 kB; lsn=0/AEB82D8, redo lsn=0/AEB8248
    inventree-db      | 2026-02-22 17:15:14.554 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:15:17.478 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.911 s, sync=0.005 s, total=2.924 s; sync files=10, longest=0.004 s, average=0.001 s; distance=126 kB, estimate=187 kB; lsn=0/AED7D80, redo lsn=0/AED7D28
    inventree-db      | 2026-02-22 17:20:14.556 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:20:16.775 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=128 kB, estimate=181 kB; lsn=0/AEF7E00, redo lsn=0/AEF7DA8
    inventree-db      | 2026-02-22 17:25:14.866 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:25:17.086 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=132 kB, estimate=176 kB; lsn=0/AF18EA8, redo lsn=0/AF18E50
    inventree-db      | 2026-02-22 17:30:14.174 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:30:16.193 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.004 s, average=0.001 s; distance=116 kB, estimate=170 kB; lsn=0/AF35FF0, redo lsn=0/AF35F98
    inventree-db      | 2026-02-22 17:35:14.289 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:35:16.808 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.508 s, sync=0.005 s, total=2.520 s; sync files=12, longest=0.003 s, average=0.001 s; distance=144 kB, estimate=168 kB; lsn=0/AF5A308, redo lsn=0/AF5A2B0
    inventree-db      | 2026-02-22 17:40:14.811 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:40:17.030 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=127 kB, estimate=163 kB; lsn=0/AF79FF0, redo lsn=0/AF79F60
    inventree-db      | 2026-02-22 17:45:14.047 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:45:16.265 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=127 kB, estimate=160 kB; lsn=0/AF99E20, redo lsn=0/AF99DC8
    inventree-db      | 2026-02-22 17:50:14.365 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:50:16.585 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=157 kB; lsn=0/AFB9D38, redo lsn=0/AFB9CE0
    inventree-db      | 2026-02-22 17:55:14.591 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 17:55:16.909 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.319 s; sync files=10, longest=0.003 s, average=0.001 s; distance=144 kB, estimate=155 kB; lsn=0/AFDDD90, redo lsn=0/AFDDD00
    inventree-db      | 2026-02-22 18:00:14.975 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:00:17.194 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=132 kB, estimate=153 kB; lsn=0/AFFEF38, redo lsn=0/AFFEEE0
    inventree-db      | 2026-02-22 18:05:14.277 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:05:16.297 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=2.007 s, sync=0.005 s, total=2.021 s; sync files=9, longest=0.003 s, average=0.001 s; distance=125 kB, estimate=150 kB; lsn=0/B01E538, redo lsn=0/B01E4E0
    inventree-db      | 2026-02-22 18:10:14.320 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:10:16.538 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=134 kB, estimate=149 kB; lsn=0/B040108, redo lsn=0/B0400B0
    inventree-db      | 2026-02-22 18:15:14.611 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:15:16.630 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.004 s, average=0.001 s; distance=118 kB, estimate=146 kB; lsn=0/B05DB08, redo lsn=0/B05DAB0
    inventree-db      | 2026-02-22 18:20:14.730 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:20:16.949 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=133 kB, estimate=144 kB; lsn=0/B07F2B0, redo lsn=0/B07F220
    inventree-db      | 2026-02-22 18:25:15.049 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:25:17.070 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.021 s; sync files=9, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=143 kB; lsn=0/B09EF68, redo lsn=0/B09EF10
    inventree-db      | 2026-02-22 18:30:15.148 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:30:17.169 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.022 s; sync files=9, longest=0.004 s, average=0.001 s; distance=129 kB, estimate=141 kB; lsn=0/B0BF460, redo lsn=0/B0BF408
    inventree-db      | 2026-02-22 18:35:15.171 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:35:17.190 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.003 s, average=0.001 s; distance=122 kB, estimate=139 kB; lsn=0/B0DDFF0, redo lsn=0/B0DDF98
    inventree-db      | 2026-02-22 18:40:15.210 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:40:17.228 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.003 s, average=0.001 s; distance=129 kB, estimate=138 kB; lsn=0/B0FE488, redo lsn=0/B0FE430
    inventree-db      | 2026-02-22 18:45:15.238 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:45:18.558 UTC [27] LOG:  checkpoint complete: wrote 34 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.310 s, sync=0.004 s, total=3.321 s; sync files=14, longest=0.003 s, average=0.001 s; distance=199 kB, estimate=199 kB; lsn=0/B1303D0, redo lsn=0/B130340
    inventree-db      | 2026-02-22 18:50:15.580 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:50:18.600 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.009 s, sync=0.005 s, total=3.021 s; sync files=10, longest=0.003 s, average=0.001 s; distance=176 kB, estimate=197 kB; lsn=0/B15C618, redo lsn=0/B15C5C0
    inventree-db      | 2026-02-22 18:55:15.612 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 18:55:17.833 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=9, longest=0.003 s, average=0.001 s; distance=139 kB, estimate=191 kB; lsn=0/B17F4F0, redo lsn=0/B17F498
    inventree-db      | 2026-02-22 19:00:15.904 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:00:18.123 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=186 kB; lsn=0/B1A2EF0, redo lsn=0/B1A2E60
    inventree-db      | 2026-02-22 19:05:15.207 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:05:17.426 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=138 kB, estimate=181 kB; lsn=0/B1C5758, redo lsn=0/B1C5700
    inventree-db      | 2026-02-22 19:10:15.526 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:10:17.746 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.006 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=134 kB, estimate=177 kB; lsn=0/B1E7030, redo lsn=0/B1E6FD8
    inventree-db      | 2026-02-22 19:15:15.764 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:15:17.982 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=173 kB; lsn=0/B20A978, redo lsn=0/B20A920
    inventree-db      | 2026-02-22 19:20:16.018 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:20:18.039 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.022 s; sync files=9, longest=0.004 s, average=0.001 s; distance=130 kB, estimate=169 kB; lsn=0/B22B438, redo lsn=0/B22B3E0
    inventree-db      | 2026-02-22 19:25:16.139 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:25:18.359 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=141 kB, estimate=166 kB; lsn=0/B24E9B0, redo lsn=0/B24E920
    inventree-db      | 2026-02-22 19:30:16.419 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:30:18.838 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.420 s; sync files=12, longest=0.003 s, average=0.001 s; distance=155 kB, estimate=165 kB; lsn=0/B275758, redo lsn=0/B275700
    inventree-db      | 2026-02-22 19:35:16.892 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:35:19.112 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.004 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=139 kB, estimate=162 kB; lsn=0/B298590, redo lsn=0/B298500
    inventree-db      | 2026-02-22 19:40:16.212 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:40:18.431 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=140 kB, estimate=160 kB; lsn=0/B2BB5B0, redo lsn=0/B2BB558
    inventree-db      | 2026-02-22 19:45:16.508 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:45:18.527 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.004 s, average=0.001 s; distance=133 kB, estimate=157 kB; lsn=0/B2DC9C8, redo lsn=0/B2DC970
    inventree-db      | 2026-02-22 19:50:16.572 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:50:18.591 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.003 s, average=0.001 s; distance=135 kB, estimate=155 kB; lsn=0/B2FE840, redo lsn=0/B2FE7E8
    inventree-db      | 2026-02-22 19:55:16.650 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 19:55:18.870 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=143 kB, estimate=154 kB; lsn=0/B322568, redo lsn=0/B322510
    inventree-db      | 2026-02-22 20:00:16.970 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:00:19.188 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=153 kB; lsn=0/B345F90, redo lsn=0/B345F00
    inventree-db      | 2026-02-22 20:05:16.269 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:05:18.590 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.322 s; sync files=10, longest=0.004 s, average=0.001 s; distance=152 kB, estimate=153 kB; lsn=0/B36C248, redo lsn=0/B36C1F0
    inventree-db      | 2026-02-22 20:10:16.599 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:10:18.821 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=9, longest=0.004 s, average=0.001 s; distance=146 kB, estimate=152 kB; lsn=0/B390B98, redo lsn=0/B390B40
    inventree-db      | 2026-02-22 20:15:16.823 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:15:19.042 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=151 kB; lsn=0/B3B4498, redo lsn=0/B3B4408
    inventree-db      | 2026-02-22 20:20:16.055 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:20:20.780 UTC [27] LOG:  checkpoint complete: wrote 48 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.713 s, sync=0.006 s, total=4.725 s; sync files=16, longest=0.003 s, average=0.001 s; distance=242 kB, estimate=242 kB; lsn=0/B3F0F38, redo lsn=0/B3F0EE0
    inventree-db      | 2026-02-22 20:25:16.867 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:25:19.687 UTC [27] LOG:  checkpoint complete: wrote 29 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.809 s, sync=0.005 s, total=2.821 s; sync files=11, longest=0.003 s, average=0.001 s; distance=114 kB, estimate=229 kB; lsn=0/B40D7E0, redo lsn=0/B40D750
    inventree-db      | 2026-02-22 20:30:16.769 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:30:18.888 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.119 s; sync files=10, longest=0.003 s, average=0.001 s; distance=111 kB, estimate=218 kB; lsn=0/B429738, redo lsn=0/B4296E0
    inventree-db      | 2026-02-22 20:35:16.988 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:35:19.308 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=118 kB, estimate=208 kB; lsn=0/B447318, redo lsn=0/B4472C0
    inventree-db      | 2026-02-22 20:40:16.408 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:40:18.728 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.320 s; sync files=10, longest=0.003 s, average=0.001 s; distance=124 kB, estimate=199 kB; lsn=0/B4664B8, redo lsn=0/B466460
    inventree-db      | 2026-02-22 20:45:16.828 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:45:19.047 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=126 kB, estimate=192 kB; lsn=0/B486030, redo lsn=0/B485FC0
    inventree-db      | 2026-02-22 20:50:16.093 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:50:18.111 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.018 s; sync files=9, longest=0.004 s, average=0.001 s; distance=114 kB, estimate=184 kB; lsn=0/B4A2890, redo lsn=0/B4A2800
    inventree-db      | 2026-02-22 20:55:16.125 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 20:55:18.345 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=122 kB, estimate=178 kB; lsn=0/B4C1228, redo lsn=0/B4C11D0
    inventree-db      | 2026-02-22 21:00:16.445 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:00:18.967 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.508 s, sync=0.005 s, total=2.523 s; sync files=10, longest=0.004 s, average=0.001 s; distance=155 kB, estimate=176 kB; lsn=0/B4E7E80, redo lsn=0/B4E7E28
    inventree-db      | 2026-02-22 21:05:17.020 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:05:18.942 UTC [27] LOG:  checkpoint complete: wrote 20 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.907 s, sync=0.007 s, total=1.923 s; sync files=9, longest=0.004 s, average=0.001 s; distance=106 kB, estimate=169 kB; lsn=0/B502970, redo lsn=0/B502918
    inventree-db      | 2026-02-22 21:10:17.995 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:10:20.215 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=124 kB, estimate=164 kB; lsn=0/B521B98, redo lsn=0/B521B40
    inventree-db      | 2026-02-22 21:15:17.276 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:15:19.507 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.218 s, sync=0.005 s, total=2.232 s; sync files=9, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=160 kB; lsn=0/B5419A0, redo lsn=0/B541910
    inventree-db      | 2026-02-22 21:20:17.589 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:20:19.809 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=130 kB, estimate=157 kB; lsn=0/B562428, redo lsn=0/B5623D0
    inventree-db      | 2026-02-22 21:25:17.874 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:25:20.095 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.003 s, average=0.001 s; distance=123 kB, estimate=154 kB; lsn=0/B5812E0, redo lsn=0/B581288
    inventree-db      | 2026-02-22 21:30:17.162 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:30:19.483 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.006 s, total=2.322 s; sync files=12, longest=0.004 s, average=0.001 s; distance=134 kB, estimate=152 kB; lsn=0/B5A2CA0, redo lsn=0/B5A2C48
    inventree-db      | 2026-02-22 21:35:17.583 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:35:19.602 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.003 s, average=0.001 s; distance=115 kB, estimate=148 kB; lsn=0/B5BFAD8, redo lsn=0/B5BFA48
    inventree-db      | 2026-02-22 21:40:17.607 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:40:19.827 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=127 kB, estimate=146 kB; lsn=0/B5DF778, redo lsn=0/B5DF720
    inventree-db      | 2026-02-22 21:45:17.853 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:45:20.074 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=131 kB, estimate=145 kB; lsn=0/B600610, redo lsn=0/B6005B8
    inventree-db      | 2026-02-22 21:50:17.077 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:50:19.299 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=9, longest=0.004 s, average=0.001 s; distance=131 kB, estimate=143 kB; lsn=0/B6213A8, redo lsn=0/B621350
    inventree-db      | 2026-02-22 21:55:17.397 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 21:55:20.720 UTC [27] LOG:  checkpoint complete: wrote 34 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.310 s, sync=0.005 s, total=3.323 s; sync files=13, longest=0.004 s, average=0.001 s; distance=197 kB, estimate=197 kB; lsn=0/B652AC0, redo lsn=0/B652A68
    inventree-db      | 2026-02-22 22:00:17.764 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:00:20.685 UTC [27] LOG:  checkpoint complete: wrote 30 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.909 s, sync=0.006 s, total=2.921 s; sync files=11, longest=0.003 s, average=0.001 s; distance=136 kB, estimate=191 kB; lsn=0/B674D38, redo lsn=0/B674CE0
    inventree-db      | 2026-02-22 22:05:17.769 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:05:19.989 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=133 kB, estimate=185 kB; lsn=0/B696468, redo lsn=0/B6963D8
    inventree-db      | 2026-02-22 22:10:18.084 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:10:20.104 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.021 s; sync files=9, longest=0.004 s, average=0.001 s; distance=120 kB, estimate=179 kB; lsn=0/B6B4628, redo lsn=0/B6B45D0
    inventree-db      | 2026-02-22 22:15:18.178 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:15:20.397 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=132 kB, estimate=174 kB; lsn=0/B6D59F0, redo lsn=0/B6D5960
    inventree-db      | 2026-02-22 22:20:18.487 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:20:20.708 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=132 kB, estimate=170 kB; lsn=0/B6F6CF8, redo lsn=0/B6F6CA0
    inventree-db      | 2026-02-22 22:25:18.772 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:25:20.991 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=138 kB, estimate=167 kB; lsn=0/B7198C8, redo lsn=0/B719870
    inventree-db      | 2026-02-22 22:30:19.007 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:30:21.226 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=128 kB, estimate=163 kB; lsn=0/B739B90, redo lsn=0/B739B38
    inventree-db      | 2026-02-22 22:35:19.327 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:35:21.547 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=137 kB, estimate=160 kB; lsn=0/B75C258, redo lsn=0/B75C200
    inventree-db      | 2026-02-22 22:40:19.554 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:40:21.776 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.223 s; sync files=9, longest=0.004 s, average=0.001 s; distance=140 kB, estimate=158 kB; lsn=0/B77F350, redo lsn=0/B77F2C0
    inventree-db      | 2026-02-22 22:45:19.782 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:45:22.002 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=130 kB, estimate=155 kB; lsn=0/B79FB88, redo lsn=0/B79FB30
    inventree-db      | 2026-02-22 22:50:19.102 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:50:21.222 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.121 s; sync files=10, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=153 kB; lsn=0/B7BFB30, redo lsn=0/B7BFAD8
    inventree-db      | 2026-02-22 22:55:19.264 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 22:55:21.583 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.320 s; sync files=10, longest=0.003 s, average=0.001 s; distance=147 kB, estimate=152 kB; lsn=0/B7E48C0, redo lsn=0/B7E4868
    inventree-db      | 2026-02-22 23:00:19.622 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:00:21.741 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.108 s, sync=0.005 s, total=2.119 s; sync files=10, longest=0.003 s, average=0.001 s; distance=137 kB, estimate=151 kB; lsn=0/B806E30, redo lsn=0/B806DD8
    inventree-db      | 2026-02-22 23:05:19.770 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:05:22.091 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=143 kB, estimate=150 kB; lsn=0/B82AD40, redo lsn=0/B82ACB0
    inventree-db      | 2026-02-22 23:10:19.091 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:10:21.411 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=149 kB, estimate=150 kB; lsn=0/B850318, redo lsn=0/B8502C0
    inventree-db      | 2026-02-22 23:15:19.511 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:15:22.133 UTC [27] LOG:  checkpoint complete: wrote 27 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.609 s, sync=0.005 s, total=2.622 s; sync files=11, longest=0.003 s, average=0.001 s; distance=175 kB, estimate=175 kB; lsn=0/B87C078, redo lsn=0/B87C020
    inventree-db      | 2026-02-22 23:20:19.228 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:20:21.448 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.006 s, total=2.221 s; sync files=10, longest=0.004 s, average=0.001 s; distance=141 kB, estimate=171 kB; lsn=0/B89F648, redo lsn=0/B89F5B8
    inventree-db      | 2026-02-22 23:25:19.548 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:25:21.969 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.006 s, total=2.421 s; sync files=13, longest=0.004 s, average=0.001 s; distance=147 kB, estimate=169 kB; lsn=0/B8C4558, redo lsn=0/B8C4500
    inventree-db      | 2026-02-22 23:30:20.069 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:30:23.593 UTC [27] LOG:  checkpoint complete: wrote 36 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.510 s, sync=0.005 s, total=3.525 s; sync files=14, longest=0.003 s, average=0.001 s; distance=208 kB, estimate=208 kB; lsn=0/B8F8870, redo lsn=0/B8F8818
    inventree-db      | 2026-02-22 23:35:20.604 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:35:23.628 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.009 s, sync=0.005 s, total=3.025 s; sync files=11, longest=0.003 s, average=0.001 s; distance=149 kB, estimate=202 kB; lsn=0/B91DEB0, redo lsn=0/B91DE58
    inventree-db      | 2026-02-22 23:40:20.631 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:40:22.852 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.006 s, total=2.222 s; sync files=11, longest=0.003 s, average=0.001 s; distance=144 kB, estimate=197 kB; lsn=0/B942138, redo lsn=0/B9420A8
    inventree-db      | 2026-02-22 23:45:20.860 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:45:23.180 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.003 s, average=0.001 s; distance=146 kB, estimate=191 kB; lsn=0/B966BF8, redo lsn=0/B966BA0
    inventree-db      | 2026-02-22 23:50:20.261 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:50:22.582 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.003 s, average=0.001 s; distance=146 kB, estimate=187 kB; lsn=0/B98B6A0, redo lsn=0/B98B648
    inventree-db      | 2026-02-22 23:55:20.668 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-22 23:55:22.990 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.006 s, total=2.323 s; sync files=10, longest=0.004 s, average=0.001 s; distance=151 kB, estimate=183 kB; lsn=0/B9B1628, redo lsn=0/B9B15D0
    inventree-db      | 2026-02-23 00:00:21.041 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:00:23.361 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=148 kB, estimate=180 kB; lsn=0/B9D6710, redo lsn=0/B9D66B8
    inventree-db      | 2026-02-23 00:05:21.458 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:05:23.777 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.319 s; sync files=10, longest=0.003 s, average=0.001 s; distance=152 kB, estimate=177 kB; lsn=0/B9FC9E0, redo lsn=0/B9FC950
    inventree-db      | 2026-02-23 00:10:21.815 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:10:24.134 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.320 s; sync files=10, longest=0.003 s, average=0.001 s; distance=148 kB, estimate=174 kB; lsn=0/BA21C90, redo lsn=0/BA21C38
    inventree-db      | 2026-02-23 00:15:21.234 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:15:23.757 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.508 s, sync=0.005 s, total=2.523 s; sync files=10, longest=0.004 s, average=0.001 s; distance=163 kB, estimate=173 kB; lsn=0/BA4AAC8, redo lsn=0/BA4AA70
    inventree-db      | 2026-02-23 00:20:21.800 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:20:23.921 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.121 s; sync files=10, longest=0.003 s, average=0.001 s; distance=142 kB, estimate=170 kB; lsn=0/BA6E5E0, redo lsn=0/BA6E588
    inventree-db      | 2026-02-23 00:25:22.021 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:25:24.343 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.323 s; sync files=10, longest=0.004 s, average=0.001 s; distance=143 kB, estimate=167 kB; lsn=0/BA92470, redo lsn=0/BA92418
    inventree-db      | 2026-02-23 00:30:22.349 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:30:26.172 UTC [27] LOG:  checkpoint complete: wrote 39 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.811 s, sync=0.005 s, total=3.823 s; sync files=13, longest=0.003 s, average=0.001 s; distance=193 kB, estimate=193 kB; lsn=0/BAC28E0, redo lsn=0/BAC2850
    inventree-db      | 2026-02-23 00:35:22.266 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:35:24.686 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.420 s; sync files=11, longest=0.004 s, average=0.001 s; distance=124 kB, estimate=186 kB; lsn=0/BAE1BC8, redo lsn=0/BAE1B70
    inventree-db      | 2026-02-23 00:40:22.688 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:40:25.108 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.421 s; sync files=11, longest=0.004 s, average=0.001 s; distance=127 kB, estimate=180 kB; lsn=0/BB01940, redo lsn=0/BB018B0
    inventree-db      | 2026-02-23 00:45:22.195 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:45:24.616 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.421 s; sync files=11, longest=0.004 s, average=0.001 s; distance=126 kB, estimate=174 kB; lsn=0/BB21160, redo lsn=0/BB21108
    inventree-db      | 2026-02-23 00:50:22.654 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:50:24.773 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.120 s; sync files=10, longest=0.004 s, average=0.001 s; distance=113 kB, estimate=168 kB; lsn=0/BB3D850, redo lsn=0/BB3D7F8
    inventree-db      | 2026-02-23 00:55:22.817 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 00:55:25.237 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.421 s; sync files=11, longest=0.004 s, average=0.001 s; distance=128 kB, estimate=164 kB; lsn=0/BB5DC50, redo lsn=0/BB5DBC0
    inventree-db      | 2026-02-23 01:00:22.269 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:00:24.589 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.320 s; sync files=10, longest=0.004 s, average=0.001 s; distance=125 kB, estimate=160 kB; lsn=0/BB7D378, redo lsn=0/BB7D320
    inventree-db      | 2026-02-23 01:05:22.644 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:05:26.166 UTC [27] LOG:  checkpoint complete: wrote 36 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.510 s, sync=0.004 s, total=3.523 s; sync files=15, longest=0.004 s, average=0.001 s; distance=199 kB, estimate=199 kB; lsn=0/BBAF110, redo lsn=0/BBAF080
    inventree-db      | 2026-02-23 01:10:22.257 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:10:25.177 UTC [27] LOG:  checkpoint complete: wrote 30 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.909 s, sync=0.005 s, total=2.921 s; sync files=11, longest=0.003 s, average=0.001 s; distance=136 kB, estimate=193 kB; lsn=0/BBD1480, redo lsn=0/BBD1428
    inventree-db      | 2026-02-23 01:15:22.256 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:15:24.578 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.309 s, sync=0.005 s, total=2.322 s; sync files=10, longest=0.003 s, average=0.001 s; distance=135 kB, estimate=187 kB; lsn=0/BBF3110, redo lsn=0/BBF30B8
    inventree-db      | 2026-02-23 01:20:22.678 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:20:28.303 UTC [27] LOG:  checkpoint complete: wrote 57 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=5.614 s, sync=0.006 s, total=5.626 s; sync files=14, longest=0.003 s, average=0.001 s; distance=196 kB, estimate=196 kB; lsn=0/BC24308, redo lsn=0/BC24278
    inventree-db      | 2026-02-23 01:25:22.373 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:25:25.696 UTC [27] LOG:  checkpoint complete: wrote 34 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.312 s, sync=0.005 s, total=3.323 s; sync files=15, longest=0.003 s, average=0.001 s; distance=182 kB, estimate=195 kB; lsn=0/BC51B90, redo lsn=0/BC51B00
    inventree-db      | 2026-02-23 01:30:22.761 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:30:24.983 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.223 s; sync files=11, longest=0.004 s, average=0.001 s; distance=115 kB, estimate=187 kB; lsn=0/BC6EAA8, redo lsn=0/BC6EA50
    inventree-db      | 2026-02-23 01:35:23.082 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:35:25.304 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.209 s, sync=0.005 s, total=2.223 s; sync files=11, longest=0.004 s, average=0.001 s; distance=119 kB, estimate=180 kB; lsn=0/BC8C9D0, redo lsn=0/BC8C978
    inventree-db      | 2026-02-23 01:40:23.398 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:40:25.821 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.409 s, sync=0.005 s, total=2.424 s; sync files=11, longest=0.003 s, average=0.001 s; distance=131 kB, estimate=175 kB; lsn=0/BCAD5F0, redo lsn=0/BCAD598
    inventree-db      | 2026-02-23 01:45:23.918 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:45:26.441 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.508 s, sync=0.005 s, total=2.524 s; sync files=12, longest=0.004 s, average=0.001 s; distance=138 kB, estimate=171 kB; lsn=0/BCD0060, redo lsn=0/BCCFFF0
    inventree-db      | 2026-02-23 01:50:23.519 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:50:25.941 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.410 s, sync=0.005 s, total=2.423 s; sync files=11, longest=0.004 s, average=0.001 s; distance=126 kB, estimate=167 kB; lsn=0/BCEFA18, redo lsn=0/BCEF988
    inventree-db      | 2026-02-23 01:55:23.996 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 01:55:26.217 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=11, longest=0.003 s, average=0.001 s; distance=121 kB, estimate=162 kB; lsn=0/BD0DE70, redo lsn=0/BD0DE18
    inventree-db      | 2026-02-23 02:00:23.222 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:00:25.488 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.214 s, sync=0.007 s, total=2.267 s; sync files=11, longest=0.006 s, average=0.001 s; distance=124 kB, estimate=158 kB; lsn=0/BD2CF70, redo lsn=0/BD2CF18
    inventree-db      | 2026-02-23 02:05:23.586 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:05:25.927 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.313 s, sync=0.015 s, total=2.341 s; sync files=11, longest=0.013 s, average=0.002 s; distance=119 kB, estimate=154 kB; lsn=0/BD4AF68, redo lsn=0/BD4AF10
    inventree-db      | 2026-02-23 02:10:24.001 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:10:26.441 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.415 s, sync=0.010 s, total=2.441 s; sync files=11, longest=0.009 s, average=0.001 s; distance=134 kB, estimate=152 kB; lsn=0/BD6CB30, redo lsn=0/BD6CAD8
    inventree-db      | 2026-02-23 02:15:24.541 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:15:27.081 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.515 s, sync=0.011 s, total=2.541 s; sync files=11, longest=0.009 s, average=0.001 s; distance=137 kB, estimate=151 kB; lsn=0/BD8F1D0, redo lsn=0/BD8F140
    inventree-db      | 2026-02-23 02:20:24.098 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:20:26.533 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.415 s, sync=0.006 s, total=2.435 s; sync files=11, longest=0.005 s, average=0.001 s; distance=140 kB, estimate=150 kB; lsn=0/BDB22E8, redo lsn=0/BDB2290
    inventree-db      | 2026-02-23 02:25:24.628 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:25:27.167 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.515 s, sync=0.011 s, total=2.540 s; sync files=11, longest=0.009 s, average=0.001 s; distance=134 kB, estimate=148 kB; lsn=0/BDD3DB0, redo lsn=0/BDD3D20
    inventree-db      | 2026-02-23 02:30:24.243 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:30:26.380 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.115 s, sync=0.007 s, total=2.138 s; sync files=10, longest=0.006 s, average=0.001 s; distance=126 kB, estimate=146 kB; lsn=0/BDF3748, redo lsn=0/BDF36F0
    inventree-db      | 2026-02-23 02:35:24.409 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:35:26.947 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.516 s, sync=0.007 s, total=2.539 s; sync files=11, longest=0.005 s, average=0.001 s; distance=140 kB, estimate=145 kB; lsn=0/BE16980, redo lsn=0/BE16928
    inventree-db      | 2026-02-23 02:40:25.004 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:40:30.164 UTC [27] LOG:  checkpoint complete: wrote 52 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=5.141 s, sync=0.006 s, total=5.161 s; sync files=16, longest=0.003 s, average=0.001 s; distance=237 kB, estimate=237 kB; lsn=0/BE51F20, redo lsn=0/BE51E90
    inventree-db      | 2026-02-23 02:45:25.260 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:45:28.296 UTC [27] LOG:  checkpoint complete: wrote 31 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.014 s, sync=0.007 s, total=3.037 s; sync files=11, longest=0.005 s, average=0.001 s; distance=141 kB, estimate=227 kB; lsn=0/BE75548, redo lsn=0/BE754F0
    inventree-db      | 2026-02-23 02:50:25.372 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:50:27.712 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.312 s, sync=0.016 s, total=2.340 s; sync files=10, longest=0.012 s, average=0.002 s; distance=144 kB, estimate=219 kB; lsn=0/BE996F8, redo lsn=0/BE996A0
    inventree-db      | 2026-02-23 02:55:25.795 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 02:55:28.061 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.213 s, sync=0.027 s, total=2.267 s; sync files=9, longest=0.012 s, average=0.003 s; distance=139 kB, estimate=211 kB; lsn=0/BEBC340, redo lsn=0/BEBC2E8
    inventree-db      | 2026-02-23 03:00:25.147 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:00:27.188 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.014 s, sync=0.009 s, total=2.041 s; sync files=9, longest=0.008 s, average=0.001 s; distance=125 kB, estimate=202 kB; lsn=0/BEDB760, redo lsn=0/BEDB708
    inventree-db      | 2026-02-23 03:05:25.288 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:05:27.527 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.215 s, sync=0.009 s, total=2.240 s; sync files=9, longest=0.007 s, average=0.001 s; distance=140 kB, estimate=196 kB; lsn=0/BEFEB08, redo lsn=0/BEFEA78
    inventree-db      | 2026-02-23 03:10:25.627 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:10:27.861 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.214 s, sync=0.005 s, total=2.234 s; sync files=9, longest=0.004 s, average=0.001 s; distance=136 kB, estimate=190 kB; lsn=0/BF20E28, redo lsn=0/BF20DD0
    inventree-db      | 2026-02-23 03:15:25.930 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:15:28.166 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.215 s, sync=0.007 s, total=2.236 s; sync files=9, longest=0.005 s, average=0.001 s; distance=137 kB, estimate=185 kB; lsn=0/BF43608, redo lsn=0/BF435B0
    inventree-db      | 2026-02-23 03:20:25.266 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:20:27.540 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.215 s, sync=0.037 s, total=2.275 s; sync files=12, longest=0.026 s, average=0.004 s; distance=141 kB, estimate=181 kB; lsn=0/BF66DF8, redo lsn=0/BF66DA0
    inventree-db      | 2026-02-23 03:25:25.596 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:25:27.823 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.228 s; sync files=9, longest=0.003 s, average=0.001 s; distance=136 kB, estimate=176 kB; lsn=0/BF89090, redo lsn=0/BF89038
    inventree-db      | 2026-02-23 03:30:25.923 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:30:28.144 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=9, longest=0.003 s, average=0.001 s; distance=139 kB, estimate=172 kB; lsn=0/BFABD00, redo lsn=0/BFABC70
    inventree-db      | 2026-02-23 03:35:25.242 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:35:27.264 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.023 s; sync files=9, longest=0.004 s, average=0.001 s; distance=125 kB, estimate=168 kB; lsn=0/BFCB110, redo lsn=0/BFCB0B8
    inventree-db      | 2026-02-23 03:40:25.355 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:40:28.080 UTC [27] LOG:  checkpoint complete: wrote 28 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.709 s, sync=0.007 s, total=2.726 s; sync files=10, longest=0.006 s, average=0.001 s; distance=183 kB, estimate=183 kB; lsn=0/BFF8F40, redo lsn=0/BFF8EE8
    inventree-db      | 2026-02-23 03:45:25.178 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:45:27.203 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=2.007 s, sync=0.005 s, total=2.025 s; sync files=9, longest=0.004 s, average=0.001 s; distance=125 kB, estimate=177 kB; lsn=0/C018680, redo lsn=0/C0185F0
    inventree-db      | 2026-02-23 03:50:25.285 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:50:27.305 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.021 s; sync files=9, longest=0.003 s, average=0.001 s; distance=133 kB, estimate=173 kB; lsn=0/C039CB8, redo lsn=0/C039C60
    inventree-db      | 2026-02-23 03:55:25.404 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 03:55:27.726 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.323 s; sync files=10, longest=0.004 s, average=0.001 s; distance=151 kB, estimate=171 kB; lsn=0/C05F908, redo lsn=0/C05F8B0
    inventree-db      | 2026-02-23 04:00:25.826 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:00:28.051 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.006 s, total=2.226 s; sync files=9, longest=0.004 s, average=0.001 s; distance=150 kB, estimate=169 kB; lsn=0/C085168, redo lsn=0/C085110
    inventree-db      | 
    inventree-db      | PostgreSQL Database directory appears to contain a database; Skipping initialization
    inventree-db      | 
    inventree-db      | 2026-02-23 04:03:41.114 UTC [1] LOG:  starting PostgreSQL 17.8 (Debian 17.8-1.pgdg13+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit
    inventree-db      | 2026-02-23 04:03:41.117 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
    inventree-db      | 2026-02-23 04:03:41.117 UTC [1] LOG:  listening on IPv6 address "::", port 5432
    inventree-db      | 2026-02-23 04:03:41.127 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
    inventree-db      | 2026-02-23 04:03:41.140 UTC [29] LOG:  database system was interrupted; last known up at 2026-02-23 04:00:28 UTC
    inventree-db      | 2026-02-23 04:03:41.329 UTC [29] LOG:  database system was not properly shut down; automatic recovery in progress
    inventree-db      | 2026-02-23 04:03:41.334 UTC [29] LOG:  redo starts at 0/C085110
    inventree-db      | 2026-02-23 04:03:41.339 UTC [29] LOG:  invalid record length at 0/C0A9A10: expected at least 24, got 0
    inventree-db      | 2026-02-23 04:03:41.339 UTC [29] LOG:  redo done at 0/C0A99D8 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
    inventree-db      | 2026-02-23 04:03:41.347 UTC [27] LOG:  checkpoint starting: end-of-recovery immediate wait
    inventree-db      | 2026-02-23 04:03:41.364 UTC [27] LOG:  checkpoint complete: wrote 26 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.006 s, sync=0.006 s, total=0.019 s; sync files=11, longest=0.003 s, average=0.001 s; distance=146 kB, estimate=146 kB; lsn=0/C0A9A10, redo lsn=0/C0A9A10
    inventree-db      | 2026-02-23 04:03:41.377 UTC [1] LOG:  database system is ready to accept connections
    inventree-db      | 2026-02-23 04:08:41.425 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:08:44.849 UTC [27] LOG:  checkpoint complete: wrote 36 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.412 s, sync=0.006 s, total=3.425 s; sync files=17, longest=0.003 s, average=0.001 s; distance=383 kB, estimate=383 kB; lsn=0/C109820, redo lsn=0/C109790
    inventree-db      | 2026-02-23 04:13:41.868 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:13:43.889 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.021 s; sync files=9, longest=0.003 s, average=0.001 s; distance=135 kB, estimate=358 kB; lsn=0/C12B7A8, redo lsn=0/C12B750
    inventree-db      | 2026-02-23 04:18:41.989 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:18:44.009 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.003 s, average=0.001 s; distance=140 kB, estimate=336 kB; lsn=0/C14E970, redo lsn=0/C14E918
    inventree-db      | 2026-02-23 04:23:41.060 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:23:43.279 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=153 kB, estimate=318 kB; lsn=0/C174E70, redo lsn=0/C174DE0
    inventree-db      | 2026-02-23 04:28:41.297 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:28:43.317 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.020 s; sync files=9, longest=0.004 s, average=0.001 s; distance=135 kB, estimate=300 kB; lsn=0/C196CA8, redo lsn=0/C196C50
    inventree-db      | 2026-02-23 04:33:41.324 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:33:43.342 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.019 s; sync files=9, longest=0.003 s, average=0.001 s; distance=140 kB, estimate=284 kB; lsn=0/C1B9F68, redo lsn=0/C1B9F10
    inventree-db      | 2026-02-23 04:38:41.433 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:38:43.854 UTC [27] LOG:  checkpoint complete: wrote 25 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.408 s, sync=0.005 s, total=2.422 s; sync files=12, longest=0.004 s, average=0.001 s; distance=170 kB, estimate=272 kB; lsn=0/C1E4788, redo lsn=0/C1E4730
    inventree-db      | 2026-02-23 04:43:41.925 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:43:44.145 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=143 kB, estimate=259 kB; lsn=0/C2085D8, redo lsn=0/C208580
    inventree-db      | 2026-02-23 04:48:41.179 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:48:43.398 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=149 kB, estimate=248 kB; lsn=0/C22DD80, redo lsn=0/C22DD28
    inventree-db      | 2026-02-23 04:53:41.483 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:53:43.703 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.209 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=149 kB, estimate=238 kB; lsn=0/C253338, redo lsn=0/C2532A8
    inventree-db      | 2026-02-23 04:58:41.731 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 04:58:44.051 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=164 kB, estimate=231 kB; lsn=0/C27C558, redo lsn=0/C27C500
    inventree-db      | 2026-02-23 05:03:41.111 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:03:43.331 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.207 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.003 s, average=0.001 s; distance=150 kB, estimate=223 kB; lsn=0/C2A20E0, redo lsn=0/C2A2088
    inventree-db      | 2026-02-23 05:08:41.362 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:08:46.387 UTC [27] LOG:  checkpoint complete: wrote 51 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=5.014 s, sync=0.005 s, total=5.026 s; sync files=17, longest=0.003 s, average=0.001 s; distance=260 kB, estimate=260 kB; lsn=0/C2E3160, redo lsn=0/C2E30D0
    inventree-db      | 2026-02-23 05:13:41.391 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:13:43.711 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=117 kB, estimate=245 kB; lsn=0/C300768, redo lsn=0/C3006D8
    inventree-db      | 2026-02-23 05:18:41.810 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:18:44.128 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.319 s; sync files=10, longest=0.003 s, average=0.001 s; distance=116 kB, estimate=232 kB; lsn=0/C31D7B8, redo lsn=0/C31D760
    inventree-db      | 2026-02-23 05:23:41.135 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:23:43.455 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.321 s; sync files=10, longest=0.004 s, average=0.001 s; distance=119 kB, estimate=221 kB; lsn=0/C33B460, redo lsn=0/C33B408
    inventree-db      | 2026-02-23 05:28:41.499 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:28:43.818 UTC [27] LOG:  checkpoint complete: wrote 24 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.308 s, sync=0.005 s, total=2.320 s; sync files=10, longest=0.003 s, average=0.001 s; distance=118 kB, estimate=211 kB; lsn=0/C358E28, redo lsn=0/C358DD0
    inventree-db      | 2026-02-23 05:33:41.851 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:33:44.071 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.221 s; sync files=9, longest=0.004 s, average=0.001 s; distance=118 kB, estimate=201 kB; lsn=0/C3766F8, redo lsn=0/C3766A0
    inventree-db      | 2026-02-23 05:38:41.077 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:38:43.200 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.109 s, sync=0.005 s, total=2.123 s; sync files=10, longest=0.004 s, average=0.001 s; distance=108 kB, estimate=192 kB; lsn=0/C391968, redo lsn=0/C3918D8
    inventree-db      | 2026-02-23 05:43:41.261 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:43:43.282 UTC [27] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.007 s, sync=0.005 s, total=2.022 s; sync files=9, longest=0.004 s, average=0.001 s; distance=111 kB, estimate=184 kB; lsn=0/C3AD7F0, redo lsn=0/C3AD798
    inventree-db      | 2026-02-23 05:48:41.286 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:48:43.408 UTC [27] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.107 s, sync=0.005 s, total=2.123 s; sync files=9, longest=0.004 s, average=0.001 s; distance=120 kB, estimate=178 kB; lsn=0/C3CB8F0, redo lsn=0/C3CB898
    inventree-db      | 2026-02-23 05:53:41.440 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:53:43.659 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.004 s, total=2.219 s; sync files=9, longest=0.003 s, average=0.001 s; distance=126 kB, estimate=172 kB; lsn=0/C3EB3E8, redo lsn=0/C3EB390
    inventree-db      | 2026-02-23 05:58:41.755 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 05:58:43.974 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.220 s; sync files=9, longest=0.004 s, average=0.001 s; distance=118 kB, estimate=167 kB; lsn=0/C408E60, redo lsn=0/C408E08
    inventree-db      | 2026-02-23 06:03:42.074 UTC [27] LOG:  checkpoint starting: time
    inventree-db      | 2026-02-23 06:03:44.296 UTC [27] LOG:  checkpoint complete: wrote 23 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.208 s, sync=0.005 s, total=2.222 s; sync files=9, longest=0.003 s, average=0.001 s; distance=124 kB, estimate=163 kB; lsn=0/C428080, redo lsn=0/C427FD8
    inven@inven:~/Downloads/InvenTree-master/docker/production$ 
    
    
  18. martin323232 commented on Feb 23, 2026

    @martin323232
    Author

    inventree-worker | /root/.local/lib/python3.11/site-packages/picklefield/fields.py:78: RuntimeWarning: Pickled model instance's Django version 4.2.28 does not match the current version 5.2.11.

    is there anything I can do to sort out this issue?
    ChatGPT has a lot of suggestions but i don\t want to break anything

  19. SchrodingersGat commented on Feb 23, 2026

    @SchrodingersGat
    Member

    My .yaml file is from 2022 when I first installed InvenTree.

    That would have been very helpful information to include at the start. Your docker compose file is not aligned with the current docker installation instructions, and this has likely caused this issue.

    In particular, you are using nginx image, which is probably why none of your web traffic is getting to the webserver (inventree-server) and thus no logs showing for that container.

  20. martin323232 commented on Feb 23, 2026

    @martin323232
    Author

    sorry about that, thought I posted my .yaml files together with the .env files a few days ago.

    Is there an easy way to get inventree to work again?
    We would really appreciate any help to get our server running again

    
    # Docker compose recipe for a production-ready InvenTree setup, with the following containers:
    # - PostgreSQL as the database backend
    # - gunicorn as the InvenTree web server
    # - django-q as the InvenTree background worker process
    # - nginx as a reverse proxy
    # - redis as the cache manager (optional, disabled by default)
    
    # ---------------------
    # READ BEFORE STARTING!
    # ---------------------
    
    # -----------------------------
    # Setting environment variables
    # -----------------------------
    # Shared environment variables should be stored in the .env file
    # Changes made to this file are reflected across all containers!
    #
    # IMPORTANT NOTE:
    # You should not have to change *anything* within this docker-compose.yml file!
    # Instead, make any changes in the .env file!
    
    # ------------------------
    # InvenTree Image Versions
    # ------------------------
    # By default, this docker-compose script targets the STABLE version of InvenTree,
    # image: inventree/inventree:stable
    #
    # To run the LATEST (development) version of InvenTree,
    # change the INVENTREE_TAG variable (in the .env file) to "latest"
    #
    # Alternatively, you could target a specific tagged release version with (for example):
    # INVENTREE_TAG=0.7.5
    #
    
    services:
        # Database service
        # Use PostgreSQL as the database backend
        inventree-db:
            container_name: inventree-db
            image: postgres:17
            expose:
                - ${INVENTREE_DB_PORT:-5432}/tcp
            environment:
                - PGDATA=/var/lib/postgresql/data/pgdb
                - POSTGRES_USER=${INVENTREE_DB_USER:?You must provide the 'INVENTREE_DB_USER' variable in the .env file}
                - POSTGRES_PASSWORD=${INVENTREE_DB_PASSWORD:?You must provide the 'INVENTREE_DB_PASSWORD' variable in the .env file}
                - POSTGRES_DB=${INVENTREE_DB_NAME:?You must provide the 'INVENTREE_DB_NAME' variable in the .env file}
            volumes:
                # Map 'data' volume such that postgres database is stored externally
                - inventree_data:/var/lib/postgresql/data/
            restart: unless-stopped
    
        # redis acts as database cache manager
        # only runs under the "redis" profile : https://docs.docker.com/compose/profiles/
        inventree-cache:
            container_name: inventree-cache
            image: redis:7.0
            depends_on:
                - inventree-db
            profiles:
                - redis
            env_file:
                - .env
            expose:
                - ${INVENTREE_CACHE_PORT:-6379}
            restart: always
    
        # InvenTree web server service
        # Uses gunicorn as the web server
        inventree-server:
            container_name: inventree-server
            # If you wish to specify a particular InvenTree version, do so here
            image: inventree/inventree:${INVENTREE_TAG:-stable}
            expose:
                - 8000
            depends_on:
                - inventree-db
            env_file:
                - .env
            volumes:
                # Data volume must map to /home/inventree/data
                - inventree_data:/home/inventree/data
            restart: unless-stopped
    
        # Background worker process handles long-running or periodic tasks
        inventree-worker:
            container_name: inventree-worker
            # If you wish to specify a particular InvenTree version, do so here
            image: inventree/inventree:${INVENTREE_TAG:-stable}
            command: invoke worker
            depends_on:
                - inventree-server
            env_file:
                - .env
            volumes:
                # Data volume must map to /home/inventree/data
                - inventree_data:/home/inventree/data
            restart: unless-stopped
    
        # nginx acts as a reverse proxy
        # static files are served directly by nginx
        # media files are served by nginx, although authentication is redirected to inventree-server
        # web requests are redirected to gunicorn
        # NOTE: You will need to provide a working nginx.conf file!
        inventree-proxy:
            container_name: inventree-proxy
            image: nginx:stable
            depends_on:
                - inventree-server
            env_file:
                - .env
            ports:
                # Default web port is 1337 (can be changed in the .env file)
                - ${INVENTREE_WEB_PORT:-1337}:80
            volumes:
                # Provide nginx configuration file to the container
                # Refer to the provided example file as a starting point
                - ./nginx.prod.conf:/etc/nginx/conf.d/default.conf:ro
                # nginx proxy needs access to static and media files
                - inventree_data:/var/www
            restart: unless-stopped
    
    volumes:
        # Persistent data, stored external to the container(s)
        inventree_data:
            driver: local
            driver_opts:
                type: none
                o: bind
                # This directory specified where InvenTree data are stored "outside" the docker containers
                device: ${INVENTREE_EXT_VOLUME:?You must specify the 'INVENTREE_EXT_VOLUME' variable in the .env file!}```
    
    
  21. SchrodingersGat commented on Feb 23, 2026

    @SchrodingersGat
    Member

    We use Caddy as the default proxy in our docker stack now.

    What I would suggest is that you start from the fresh docker compose file (unless you have a particular reason you want to stick with nginx, in which case we'll need to debug three years of compatibility drift...)

    0. Backup your data

    Ensure your data is well backed up first!

    1. docker compose down

    docker compose down

    2. backup docker-compose file

    i.e. move it to docker-compose.yml.backup

    3. Download new file

    docker-compose.yml (latest stable version)

    4. Update

    docker compose pull
    docker compose run --rm inventree-server invoke update
    
  22. martin323232 commented on Feb 23, 2026

    @martin323232
    Author

    Thanks for all the help @SchrodingersGat
    Tired to copy new .yml file but was trying with wrong one.

    I've copied the new you linked to and have updated.
    First there was an error with the Caddyfile, it was created as a folder, I copied this from git and containers start.

    Still there is nothing when trying to reach webpage, no more logs on inventree-server than before

    inventree-server  | INVE-W3: Could not detect git information.```
    
    Still running old config.yaml
    
    ```inven@inven:~/Downloads/InvenTree-master/docker/production$ docker compose logs
    inventree-db  | 
    inventree-db  | PostgreSQL Database directory appears to contain a database; Skipping initialization
    inventree-db  | 
    inventree-db      | 2026-02-23 09:16:23.722 UTC [1] LOG:  starting PostgreSQL 17.8 (Debian 17.8-1.pgdg13+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit
    inventree-db      | 2026-02-23 09:16:23.723 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
    inventree-db      | 2026-02-23 09:16:23.723 UTC [1] LOG:  listening on IPv6 address "::", port 5432
    inventree-db      | 2026-02-23 09:16:23.731 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
    inventree-db      | 2026-02-23 09:16:23.738 UTC [28] LOG:  database system was shut down at 2026-02-23 09:14:50 UTC
    inventree-db      | 2026-02-23 09:16:23.745 UTC [1] LOG:  database system is ready to accept connections
    inventree-proxy   | {"level":"info","ts":1771838184.8667297,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
    inventree-proxy   | {"level":"info","ts":1771838184.8671963,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":7331158425,"previous":9223372036854775807}
    inventree-proxy   | {"level":"info","ts":1771838184.8673596,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
    inventree-proxy   | {"level":"info","ts":1771838184.8696842,"msg":"adapted config to JSON","adapter":"caddyfile"}
    inventree-proxy   | {"level":"warn","ts":1771838184.869847,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":73}
    inventree-proxy   | {"level":"info","ts":1771838184.8716693,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
    inventree-proxy   | {"level":"info","ts":1771838184.8721337,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000126b80"}
    inventree-proxy   | {"level":"warn","ts":1771838184.8733976,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":1337"}
    inventree-proxy   | {"level":"warn","ts":1771838184.873578,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":1337"}
    inventree-proxy   | {"level":"info","ts":1771838184.8736625,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
    inventree-proxy   | {"level":"info","ts":1771838184.8742497,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
    inventree-proxy   | {"level":"info","ts":1771838184.8743389,"msg":"serving initial configuration"}
    inventree-proxy   | {"level":"info","ts":1771838184.8768768,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/data/caddy"}
    inventree-proxy   | {"level":"info","ts":1771838184.8810294,"logger":"tls","msg":"finished cleaning storage units"}
    inventree-worker  | Loading config file : /home/inventree/data/config.yaml
    inventree-worker  | Waiting for database connection...
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-worker  | Waiting for database...
    inventree-worker  | Database connection successful!
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    inventree-cache   | 1:C 23 Feb 2026 09:16:23.620 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
    inventree-cache   | 1:C 23 Feb 2026 09:16:23.621 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
    inventree-cache   | 1:C 23 Feb 2026 09:16:23.621 * Redis version=7.4.7, bits=64, commit=00000000, modified=0, pid=1, just started
    inventree-cache   | 1:C 23 Feb 2026 09:16:23.621 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.621 * Increased maximum number of open files to 10032 (it was originally set to 1024).
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.621 * monotonic clock: POSIX clock_gettime
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.622 * Running mode=standalone, port=6379.
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * Server initialized
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * Loading RDB produced by version 7.4.7
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * RDB age 93 seconds
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * RDB memory usage when created 0.90 Mb
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * Done loading RDB, keys loaded: 0, keys expired: 0.
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * DB loaded from disk: 0.000 seconds
    inventree-cache   | 1:M 23 Feb 2026 09:16:23.623 * Ready to accept connections tcp
    
  23. martin323232 commented on Feb 23, 2026

    @martin323232
    Author

    It looks now to be up and running, thanks again for all the help.
    Had to update .env file to get it working.

    inventree-cache  | 1:C 23 Feb 2026 10:02:22.136 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
    inventree-cache  | 1:C 23 Feb 2026 10:02:22.136 * Redis version=7.4.7, bits=64, commit=00000000, modified=0, pid=1, just started
    inventree-cache  | 1:C 23 Feb 2026 10:02:22.136 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
    inventree-cache  | 1:M 23 Feb 2026 10:02:22.136 * Increased maximum number of open files to 10032 (it was originally set to 1024).
    inventree-cache  | 1:M 23 Feb 2026 10:02:22.136 * monotonic clock: POSIX clock_gettime
    inventree-worker  | Loading config file : /home/inventree/data/config.yaml
    inventree-worker  | Waiting for database connection...
    inventree-worker  | INVE-W3: Could not detect git information.
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.137 * Running mode=standalone, port=6379.
    inventree-server  | Loading config file : /home/inventree/data/config.yaml
    inventree-server  | INVE-W3: Could not detect git information.
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:49 +0000] "GET /web/login HTTP/1.1" 200 3153 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/auth/v1/auth/session HTTP/1.1" 200 269 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/user/me/ HTTP/1.1" 200 1371 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/user/roles/ HTTP/1.1" 200 5818 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /auth/ HTTP/1.1" 200 0 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /auth/ HTTP/1.1" 200 0 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/settings/user/ HTTP/1.1" 200 11376 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-23T10:02:50.558569Z [warning  ] INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG. [inventree] ip=192.168.1.11 request_id=85386dd9-5ca4-411c-a2db-64b39650bbd9 user_id=3
    inventree-server  | 2026-02-23 10:02:50,558 WARNING {'event': 'INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG.', 'request_id': '85386dd9-5ca4-411c-a2db-64b39650bbd9', 'user_id': 3, 'ip': '192.168.1.11', 'timestamp': '2026-02-23T10:02:50.558569Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/auth/v1/config HTTP/1.1" 200 430 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-23T10:02:50.612322Z [warning  ] INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG. [inventree] ip=192.168.1.11 request_id=4c9d516b-3c34-47d3-a8c5-a25f77535b8c user_id=3
    inventree-server  | 2026-02-23 10:02:50,612 WARNING {'event': 'INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG.', 'request_id': '4c9d516b-3c34-47d3-a8c5-a25f77535b8c', 'user_id': 3, 'ip': '192.168.1.11', 'timestamp': '2026-02-23T10:02:50.612322Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/auth/v1/config HTTP/1.1" 200 430 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:50 +0000] "GET /api/settings/user/ HTTP/1.1" 200 11376 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/generic/status/ HTTP/1.1" 200 7732 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44423 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/generic/status/ HTTP/1.1" 200 7732 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-23T10:02:51.075801Z [warning  ] INVE-W7: Email backend not configured [inventree] ip=192.168.1.11 request_id=b411b126-7833-4177-a390-9b2d549415e1 user_id=3
    inventree-server  | 2026-02-23 10:02:51,075 WARNING {'event': 'INVE-W7: Email backend not configured', 'user_id': 3, 'ip': '192.168.1.11', 'request_id': 'b411b126-7833-4177-a390-9b2d549415e1', 'timestamp': '2026-02-23T10:02:51.075801Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 2026-02-23T10:02:51.076318Z [warning  ] InvenTree system health checks failed [inventree] ip=192.168.1.11 request_id=b411b126-7833-4177-a390-9b2d549415e1 user_id=3
    inventree-server  | 2026-02-23 10:02:51,076 WARNING {'event': 'InvenTree system health checks failed', 'user_id': 3, 'ip': '192.168.1.11', 'request_id': 'b411b126-7833-4177-a390-9b2d549415e1', 'timestamp': '2026-02-23T10:02:51.076318Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/ HTTP/1.1" 200 2136 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44423 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 2026-02-23T10:02:51.146358Z [warning  ] INVE-W7: Email backend not configured [inventree] ip=192.168.1.11 request_id=ee05c865-094e-4160-85bb-d8a68f7a0c4f user_id=3
    inventree-server  | 2026-02-23 10:02:51,146 WARNING {'event': 'INVE-W7: Email backend not configured', 'user_id': 3, 'ip': '192.168.1.11', 'request_id': 'ee05c865-094e-4160-85bb-d8a68f7a0c4f', 'timestamp': '2026-02-23T10:02:51.146358Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 2026-02-23T10:02:51.146710Z [warning  ] InvenTree system health checks failed [inventree] ip=192.168.1.11 request_id=ee05c865-094e-4160-85bb-d8a68f7a0c4f user_id=3
    inventree-server  | 2026-02-23 10:02:51,146 WARNING {'event': 'InvenTree system health checks failed', 'user_id': 3, 'ip': '192.168.1.11', 'request_id': 'ee05c865-094e-4160-85bb-d8a68f7a0c4f', 'timestamp': '2026-02-23T10:02:51.146710Z', 'logger': 'inventree', 'level': 'warning'}
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/ HTTP/1.1" 200 2136 "http://192.168.1.93/web/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 629 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/news/?read=false HTTP/1.1" 200 8385 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/part/?active=true&low_stock=true&virtual=false&limit=1 HTTP/1.1" 200 52 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/order/po/?outstanding=true&limit=1 HTTP/1.1" 200 853 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/build/?outstanding=true&limit=1 HTTP/1.1" 200 1441 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-server  | 192.168.1.11 - - [23/Feb/2026:10:02:51 +0000] "GET /api/part/category/?starred=true&top_level=none&limit=1 HTTP/1.1" 200 305 "http://192.168.1.93/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.137 * Server initialized
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * Loading RDB produced by version 7.4.7
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * RDB age 76 seconds
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * RDB memory usage when created 0.99 Mb
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * Done loading RDB, keys loaded: 45, keys expired: 0.
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * DB loaded from disk: 0.000 seconds
    inventree-cache   | 1:M 23 Feb 2026 10:02:22.138 * Ready to accept connections tcp
    inventree-proxy   | {"level":"info","ts":1771840943.2413685,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
    inventree-proxy   | {"level":"info","ts":1771840943.2415783,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":7331158425,"previous":9223372036854775807}
    inventree-proxy   | {"level":"info","ts":1771840943.241618,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
    inventree-proxy   | {"level":"info","ts":1771840943.2442894,"msg":"adapted config to JSON","adapter":"caddyfile"}
    inventree-proxy   | {"level":"warn","ts":1771840943.2444427,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":73}
    inventree-proxy   | {"level":"info","ts":1771840943.246258,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
    inventree-proxy   | {"level":"info","ts":1771840943.24673,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0001a8100"}
    inventree-proxy   | {"level":"warn","ts":1771840943.2466784,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
    inventree-proxy   | {"level":"warn","ts":1771840943.2515023,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
    inventree-proxy   | {"level":"warn","ts":1771840943.2524526,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
    inventree-proxy   | {"level":"info","ts":1771840943.25254,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
    inventree-proxy   | {"level":"info","ts":1771840943.252765,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
    inventree-proxy   | {"level":"info","ts":1771840943.2527866,"msg":"serving initial configuration"}
    inventree-proxy   | {"level":"info","ts":1771840943.2552867,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"9ea6507e-ad6f-4683-82bd-08cf9257d47b","try_again":1771927343.2552843,"try_again_in":86399.999999182}
    inventree-proxy   | {"level":"info","ts":1771840943.2555628,"logger":"tls","msg":"finished cleaning storage units"}
    inventree-db      | 
    inventree-db      | PostgreSQL Database directory appears to contain a database; Skipping initialization
    inventree-db      | 
    inventree-db      | 2026-02-23 10:02:22.252 UTC [1] LOG:  starting PostgreSQL 17.8 (Debian 17.8-1.pgdg13+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit
    inventree-db      | 2026-02-23 10:02:22.253 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
    inventree-db      | 2026-02-23 10:02:22.253 UTC [1] LOG:  listening on IPv6 address "::", port 5432
    inventree-db      | 2026-02-23 10:02:22.260 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
    inventree-db      | 2026-02-23 10:02:22.274 UTC [29] LOG:  database system was shut down at 2026-02-23 10:01:06 UTC
    inventree-db      | 2026-02-23 10:02:22.290 UTC [1] LOG:  database system is ready to accept connections
    
  24. apohh commented on Mar 6, 2026

    @apohh

    @SchrodingersGat I'm not sure whether this is related to the PostgreSQL issue we encountered previously, but I ran into several errors on version 1.2.2 when completing a build order while leaving two build lines unallocated.

    Appears 11 times in error reports in admin center:
    Image

    Alternating with another error, also appearing 11 times:
    Image

    The sequence ends with these two errors:
    Image

    Traceback
    Traceback (most recent call last):
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    
    return self.cursor.execute(sql, params)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 117, in execute
    
    raise ex.with_traceback(None)
    
    psycopg.errors.DeadlockDetected: deadlock detected
    
    DETAIL: Process 939292 waits for ShareLock on transaction 69638; blocked by process 938984.
    
    Process 938984 waits for ShareLock on transaction 69900; blocked by process 939292.
    
    HINT: See server log for query details.
    
    CONTEXT: while rechecking updated tuple (194,41) in relation "stock_stockitem"
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
    
    File "/home/inventree/src/backend/InvenTree/stock/tasks.py", line 28, in rebuild_stock_items
    
    StockItem.objects.rebuild()
    
    File "/root/.local/lib/python3.11/site-packages/mptt/managers.py", line 46, in wrapped
    
    return method(self, *args, **kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/mptt/managers.py", line 674, in rebuild
    
    self.bulk_update(
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
    
    return getattr(self.get_queryset(), name)(*args, **kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 924, in bulk_update
    
    rows_updated += queryset.filter(pk__in=pks).update(**update_kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1263, in update
    
    rows = query.get_compiler(self.db).execute_sql(ROW_COUNT)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 2060, in execute_sql
    
    row_count = super().execute_sql(result_type)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1623, in execute_sql
    
    cursor.execute(sql, params)
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
    
    return self._execute_with_wrappers(
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
    
    return executor(sql, params, many, context)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 100, in _execute
    
    with self.db.wrap_database_errors:
    
    File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    
    return self.cursor.execute(sql, params)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 117, in execute
    
    raise ex.with_traceback(None)
    
    django.db.utils.OperationalError: deadlock detected
    
    DETAIL: Process 939292 waits for ShareLock on transaction 69638; blocked by process 938984.
    
    Process 938984 waits for ShareLock on transaction 69900; blocked by process 939292.
    
    HINT: See server log for query details.
    
    CONTEXT: while rechecking updated tuple (194,41) in relation "stock_stockitem"
    

    And :
    Image

    Traceback
    Traceback (most recent call last):
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    
    return self.cursor.execute(sql, params)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 117, in execute
    
    raise ex.with_traceback(None)
    
    psycopg.errors.DeadlockDetected: deadlock detected
    
    DETAIL: Process 939450 waits for ShareLock on transaction 70165; blocked by process 939566.
    
    Process 939566 waits for ShareLock on transaction 70098; blocked by process 939450.
    
    HINT: See server log for query details.
    
    CONTEXT: while rechecking updated tuple (75,60) in relation "stock_stockitem"
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
    
    File "/home/inventree/src/backend/InvenTree/stock/tasks.py", line 28, in rebuild_stock_items
    
    StockItem.objects.rebuild()
    
    File "/root/.local/lib/python3.11/site-packages/mptt/managers.py", line 46, in wrapped
    
    return method(self, *args, **kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/mptt/managers.py", line 674, in rebuild
    
    self.bulk_update(
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
    
    return getattr(self.get_queryset(), name)(*args, **kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 924, in bulk_update
    
    rows_updated += queryset.filter(pk__in=pks).update(**update_kwargs)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1263, in update
    
    rows = query.get_compiler(self.db).execute_sql(ROW_COUNT)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 2060, in execute_sql
    
    row_count = super().execute_sql(result_type)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1623, in execute_sql
    
    cursor.execute(sql, params)
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
    
    return self._execute_with_wrappers(
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
    
    return executor(sql, params, many, context)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 100, in _execute
    
    with self.db.wrap_database_errors:
    
    File "/root/.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 "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    
    return self.cursor.execute(sql, params)
    
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 117, in execute
    
    raise ex.with_traceback(None)
    
    django.db.utils.OperationalError: deadlock detected
    
    DETAIL: Process 939450 waits for ShareLock on transaction 70165; blocked by process 939566.
    
    Process 939566 waits for ShareLock on transaction 70098; blocked by process 939450.
    
    HINT: See server log for query details.
    
    CONTEXT: while rechecking updated tuple (75,60) in relation "stock_stockitem"
    

    I’m not sure how to access the server logs, so I couldn’t provide additional details from there.

    I updated to 1.2.3 in an attempt to remedy to this. However, I encountered a similar error when deleting a stock item:
    Image

    Regarding this issue:

    • Is this something I should be concerned about?
      I’m particularly worried that some data may not have been correctly written or updated in the database.
    • If so, should I open a separate issue ?

    Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    migrationquestionsetup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions