Repository navigation
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
Not sure what's happened. I'm running Docker, I recently upgraded to the latest version and all seemed okay Initially. I hadn't done much and then suddenly it stopped working.
Here is my inventree-server log from Docker:
After restarting it, I was able to get back on.
I then got an error saying the database wasn't ready in the docker logs - restarted everything not just inventree-server.
That then allowed me to transfer the stock.
Steps to Reproduce
Have not reproduced, errors may be of use to explain situation.
Expected behaviour
Not to crash out when moving items into stock locations.
Deployment Method
Docker
Version Information
InvenTree-Version: 1.2.2
Django Version: 5.2.11
Commit Hash: fd7d0bd
Commit Date: 2026-02-19
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},
{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"InvenTreeLabelSheet","slug":"inventreelabelsheet","version":"1.0.1"},{"name":"DigiKeyBarcodePlugin","slug":"digikeyplugin","version":"1.0.1"},{"name":"LCSCBarcodePlugin","slug":"lcscplugin","version":"1.0.1"},{"name":"MouserBarcodePlugin","slug":"mouserplugin","version":"1.0.1"},{"name":"TMEBarcodePlugin","slug":"tmeplugin","version":"1.0.1"},
{"name":"Zebra labels","slug":"zebra","version":"0.9.0"}]
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
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert
2026-02-21 18:02:35 return manager._insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert
2026-02-21 18:02:35 return query.get_compiler(using=using).execute_sql(returning_fields)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql
2026-02-21 18:02:35 cursor.execute(sql, params)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
2026-02-21 18:02:35 return self._execute_with_wrappers(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
2026-02-21 18:02:35 return executor(sql, params, many, context)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute
2026-02-21 18:02:35 self.db.validate_no_broken_transaction()
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction
2026-02-21 18:02:35 raise TransactionManagementError(
2026-02-21 18:02:35 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
2026-02-21 18:02:35 2026-02-21 18:02:35,090 ERROR {'event': 'Failed to log exception to database', 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.088038Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels\n report.models.LabelTemplate.objects.create(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save\n super().save()\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save\n super().save(force_insert=force_insert, force_update=force_update, **kwargs)\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save\n super().save(*args, **kwargs)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql\n for sql, params in self.as_sql():\n ^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql\n value_rows = [\n ^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>\n [\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>\n self.prepare_value(field, self.pre_save_val(field, obj))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val\n return field.pre_save(obj, add=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save\n file.save(file.name, file.file, save=False)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save\n name = self.field.generate_filename(self.instance, name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename\n filename = self.upload_to(instance, filename)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template\n instance.check_existing_file(path, raise_error=True)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file\n raise ValidationError({\ndjango.core.exceptions.ValidationError: {\'template\': [\'Template file with this name already exists\']}\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/InvenTree/tasks.py", line 205, in offload_task\n task.run()\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run\n self.id = async_task(self.func, *self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task\n enqueue_id = broker.enqueue(pack)\n ^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue\n package = self.get_connection().create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'}
2026-02-21 18:02:35 2026-02-21T18:02:35.100529Z [error ] Unexpected error during plugin reload: 'NoneType' object has no attribute 'is_mandatory' [inventree] ip=172.18.0.1 request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 Traceback (most recent call last):
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/plugin/registry.py", line 479, in reload_plugins
2026-02-21 18:02:35 if config.is_mandatory() and not config.active:
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 AttributeError: 'NoneType' object has no attribute 'is_mandatory'
2026-02-21 18:02:35 2026-02-21 18:02:35,100 ERROR {'event': "Unexpected error during plugin reload: 'NoneType' object has no attribute 'is_mandatory'", 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.100529Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/plugin/registry.py", line 479, in reload_plugins\n if config.is_mandatory() and not config.active:\n ^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'is_mandatory\''}
2026-02-21 18:02:35 2026-02-21T18:02:35.101127Z [error ] 'NoneType' object has no attribute 'is_mandatory' [inventree] ip=172.18.0.1 request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 2026-02-21 18:02:35,101 ERROR {'event': AttributeError("'NoneType' object has no attribute 'is_mandatory'"), 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.101127Z', 'logger': 'inventree', 'level': 'error'}
2026-02-21 18:02:35 2026-02-21T18:02:35.101568Z [error ] Failed to log exception to database [inventree] ip=172.18.0.1 request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 Traceback (most recent call last):
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels
2026-02-21 18:02:35 report.models.LabelTemplate.objects.create(
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create
2026-02-21 18:02:35 obj.save(force_insert=True, using=self.db)
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save
2026-02-21 18:02:35 super().save()
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save
2026-02-21 18:02:35 super().save(force_insert=force_insert, force_update=force_update, **kwargs)
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save
2026-02-21 18:02:35 172.18.0.1 - - [21/Feb/2026:18:02:35 +0000] "POST /api/stock/transfer/ HTTP/1.1" 500 218 "http://inventree.localhost/web/stock/item/315/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:43 172.18.0.1 - - [21/Feb/2026:18:02:43 +0000] "GET /api/stock/location/1/?path_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:44 172.18.0.1 - - [21/Feb/2026:18:02:44 +0000] "GET /api/stock/location/1/?path_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:46 172.18.0.1 - - [21/Feb/2026:18:02:46 +0000] "GET /api/stock/location/1/?path_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:50 172.18.0.1 - - [21/Feb/2026:18:02:50 +0000] "GET /api/stock/location/1/?path_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:52 172.18.0.1 - - [21/Feb/2026:18:02:52 +0000] "GET /api/plugins/ui/features/dashboard/ HTTP/1.1" 503 1866 "http://inventree.localhost/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:53 172.18.0.1 - - [21/Feb/2026:18:02:53 +0000] "GET /api/plugins/ui/features/dashboard/ HTTP/1.1" 503 1866 "http://inventree.localhost/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:55 172.18.0.1 - - [21/Feb/2026:18:02:55 +0000] "GET /api/plugins/ui/features/dashboard/ HTTP/1.1" 503 1866 "http://inventree.localhost/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:59 172.18.0.1 - - [21/Feb/2026:18:02:59 +0000] "GET /api/plugins/ui/features/dashboard/ HTTP/1.1" 503 1866 "http://inventree.localhost/web" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:59 172.18.0.1 - - [21/Feb/2026:18:02:59 +0000] "GET /api/plugins/?active=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:00 172.18.0.1 - - [21/Feb/2026:18:03:00 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:01 172.18.0.1 - - [21/Feb/2026:18:03:01 +0000] "GET /api/plugins/?active=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:01 172.18.0.1 - - [21/Feb/2026:18:03:01 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:01 172.18.0.1 - - [21/Feb/2026:18:03:01 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:02 172.18.0.1 - - [21/Feb/2026:18:03:02 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:02 172.18.0.1 - - [21/Feb/2026:18:03:02 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:03 172.18.0.1 - - [21/Feb/2026:18:03:03 +0000] "GET /api/plugins/?active=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:03 172.18.0.1 - - [21/Feb/2026:18:03:03 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:03 172.18.0.1 - - [21/Feb/2026:18:03:03 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:07 172.18.0.1 - - [21/Feb/2026:18:03:07 +0000] "GET /api/plugins/?active=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:08 172.18.0.1 - - [21/Feb/2026:18:03:08 +0000] "OPTIONS /api/stock/location/?top_level=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:08 172.18.0.1 - - [21/Feb/2026:18:03:08 +0000] "GET /api/stock/location/?top_level=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:08 172.18.0.1 - - [21/Feb/2026:18:03:08 +0000] "GET /api/stock/location/?top_level=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:08 172.18.0.1 - - [21/Feb/2026:18:03:08 +0000] "OPTIONS /api/stock/location/?top_level=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:09 172.18.0.1 - - [21/Feb/2026:18:03:09 +0000] "OPTIONS /api/stock/location/?top_level=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:09 172.18.0.1 - - [21/Feb/2026:18:03:09 +0000] "GET /api/stock/location/?top_level=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:10 172.18.0.1 - - [21/Feb/2026:18:03:10 +0000] "OPTIONS /api/stock/location/?top_level=true HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:10 172.18.0.1 - - [21/Feb/2026:18:03:10 +0000] "GET /api/stock/location/?top_level=true&limit=25&offset=0 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/sublocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:12 172.18.0.1 - - [21/Feb/2026:18:03:12 +0000] "GET /index/ HTTP/1.1" 503 1866 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:15 172.18.0.1 - - [21/Feb/2026:18:03:15 +0000] "GET /index/ HTTP/1.1" 503 1866 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:03:16 172.18.0.1 - - [21/Feb/2026:18:03:16 +0000] "GET /index/ HTTP/1.1" 503 1866 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
2026-02-21 18:02:35 super().save(*args, **kwargs)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save
2026-02-21 18:02:35 self.save_base(
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base
2026-02-21 18:02:35 updated = self._save_table(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table
2026-02-21 18:02:35 results = self._do_insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert
2026-02-21 18:02:35 return manager._insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert
2026-02-21 18:02:35 return query.get_compiler(using=using).execute_sql(returning_fields)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql
2026-02-21 18:02:35 for sql, params in self.as_sql():
2026-02-21 18:02:35 ^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql
2026-02-21 18:02:35 value_rows = [
2026-02-21 18:02:35 ^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>
2026-02-21 18:02:35 [
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>
2026-02-21 18:02:35 self.prepare_value(field, self.pre_save_val(field, obj))
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val
2026-02-21 18:02:35 return field.pre_save(obj, add=True)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save
2026-02-21 18:02:35 file.save(file.name, file.file, save=False)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save
2026-02-21 18:02:35 name = self.field.generate_filename(self.instance, name)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename
2026-02-21 18:02:35 filename = self.upload_to(instance, filename)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template
2026-02-21 18:02:35 instance.check_existing_file(path, raise_error=True)
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file
2026-02-21 18:02:35 raise ValidationError({
2026-02-21 18:02:35 django.core.exceptions.ValidationError: {'template': ['Template file with this name already exists']}
2026-02-21 18:02:35
2026-02-21 18:02:35 The above exception was the direct cause of the following exception:
2026-02-21 18:02:35
2026-02-21 18:02:35 Traceback (most recent call last):
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/InvenTree/tasks.py", line 205, in offload_task
2026-02-21 18:02:35 task.run()
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run
2026-02-21 18:02:35 self.id = async_task(self.func, *self.args, **self.kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task
2026-02-21 18:02:35 enqueue_id = broker.enqueue(pack)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue
2026-02-21 18:02:35 package = self.get_connection().create(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create
2026-02-21 18:02:35 obj.save(force_insert=True, using=self.db)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save
2026-02-21 18:02:35 self.save_base(
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base
2026-02-21 18:02:35 updated = self._save_table(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table
2026-02-21 18:02:35 results = self._do_insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert
2026-02-21 18:02:35 return manager._insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert
2026-02-21 18:02:35 return query.get_compiler(using=using).execute_sql(returning_fields)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql
2026-02-21 18:02:35 cursor.execute(sql, params)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
2026-02-21 18:02:35 return self._execute_with_wrappers(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
2026-02-21 18:02:35 return executor(sql, params, many, context)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute
2026-02-21 18:02:35 self.db.validate_no_broken_transaction()
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction
2026-02-21 18:02:35 raise TransactionManagementError(
2026-02-21 18:02:35 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
2026-02-21 18:02:35
2026-02-21 18:02:35 The above exception was the direct cause of the following exception:
2026-02-21 18:02:35
2026-02-21 18:02:35 Traceback (most recent call last):
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/InvenTree/exceptions.py", line 92, in log_error
2026-02-21 18:02:35 Error.objects.create(kind=kind, info=info or '', data=data or '', path=path)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create
2026-02-21 18:02:35 obj.save(force_insert=True, using=self.db)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save
2026-02-21 18:02:35 self.save_base(
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base
2026-02-21 18:02:35 updated = self._save_table(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table
2026-02-21 18:02:35 results = self._do_insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert
2026-02-21 18:02:35 return manager._insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert
2026-02-21 18:02:35 return query.get_compiler(using=using).execute_sql(returning_fields)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql
2026-02-21 18:02:35 cursor.execute(sql, params)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
2026-02-21 18:02:35 return self._execute_with_wrappers(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
2026-02-21 18:02:35 return executor(sql, params, many, context)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute
2026-02-21 18:02:35 self.db.validate_no_broken_transaction()
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction
2026-02-21 18:02:35 raise TransactionManagementError(
2026-02-21 18:02:35 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
2026-02-21 18:02:35
2026-02-21 18:02:35 The above exception was the direct cause of the following exception:
2026-02-21 18:02:35
2026-02-21 18:02:35 Traceback (most recent call last):
2026-02-21 18:02:35 File "/home/inventree/src/backend/InvenTree/InvenTree/exceptions.py", line 92, in log_error
2026-02-21 18:02:35 Error.objects.create(kind=kind, info=info or '', data=data or '', path=path)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create
2026-02-21 18:02:35 obj.save(force_insert=True, using=self.db)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save
2026-02-21 18:02:35 self.save_base(
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base
2026-02-21 18:02:35 updated = self._save_table(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table
2026-02-21 18:02:35 results = self._do_insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert
2026-02-21 18:02:35 return manager._insert(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
2026-02-21 18:02:35 return getattr(self.get_queryset(), name)(*args, **kwargs)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert
2026-02-21 18:02:35 return query.get_compiler(using=using).execute_sql(returning_fields)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql
2026-02-21 18:02:35 cursor.execute(sql, params)
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
2026-02-21 18:02:35 return self._execute_with_wrappers(
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
2026-02-21 18:02:35 return executor(sql, params, many, context)
2026-02-21 18:02:35 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute
2026-02-21 18:02:35 self.db.validate_no_broken_transaction()
2026-02-21 18:02:35 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction
2026-02-21 18:02:35 raise TransactionManagementError(
2026-02-21 18:02:35 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
2026-02-21 18:02:35 2026-02-21 18:02:35,103 ERROR {'event': 'Failed to log exception to database', 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.101568Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels\n report.models.LabelTemplate.objects.create(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save\n super().save()\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save\n super().save(force_insert=force_insert, force_update=force_update, **kwargs)\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save\n super().save(*args, **kwargs)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql\n for sql, params in self.as_sql():\n ^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql\n value_rows = [\n ^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>\n [\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>\n self.prepare_value(field, self.pre_save_val(field, obj))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val\n return field.pre_save(obj, add=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save\n file.save(file.name, file.file, save=False)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save\n name = self.field.generate_filename(self.instance, name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename\n filename = self.upload_to(instance, filename)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template\n instance.check_existing_file(path, raise_error=True)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file\n raise ValidationError({\ndjango.core.exceptions.ValidationError: {\'template\': [\'Template file with this name already exists\']}\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/InvenTree/tasks.py", line 205, in offload_task\n task.run()\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run\n self.id = async_task(self.func, *self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task\n enqueue_id = broker.enqueue(pack)\n ^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue\n package = self.get_connection().create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'}
2026-02-21 18:02:35 2026-02-21T18:02:35.104265Z [warning ] plugin.registry.with_mixin: Database not ready [inventree] ip=172.18.0.1 request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 2026-02-21 18:02:35,104 WARNING {'event': 'plugin.registry.with_mixin: Database not ready', 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.104265Z', 'logger': 'inventree', 'level': 'warning'}
2026-02-21 18:02:35 2026-02-21T18:02:35.117405Z [error ] An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. [inventree] ip=172.18.0.1 request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 2026-02-21 18:02:35,117 ERROR {'event': TransactionManagementError("An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block."), 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.117405Z', 'logger': 'inventree', 'level': 'error'}
2026-02-21 18:02:35 /root/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1612: RuntimeWarning: DateTimeField NotificationEntry.updated received a naive datetime (2026-02-20 00:00:00) while time zone support is active.
2026-02-21 18:02:35 warnings.warn(
2026-02-21 18:02:35 2026-02-21T18:02:35.442693Z [error ] request_finished [django_structlog.middlewares.request] code=500 ip=172.18.0.1 request='POST /api/stock/transfer/' request_id=b21f3506-7731-42a6-ba2f-063f0be0249a user_id=1
2026-02-21 18:02:35 2026-02-21 18:02:35,442 ERROR {'code': 500, 'request': 'POST /api/stock/transfer/', 'event': 'request_finished', 'ip': '172.18.0.1', 'user_id': 1, 'request_id': 'b21f3506-7731-42a6-ba2f-063f0be0249a', 'timestamp': '2026-02-21T18:02:35.442693Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'}
2026-02-21 18:02:35 2026-02-21 18:02:35,443 ERROR Internal Server Error: /api/stock/transfer/
2026-02-21 18:02:43 2026-02-21 18:02:43,669 ERROR Service Unavailable: /api/stock/location/1/
2026-02-21 18:02:44 2026-02-21 18:02:44,680 ERROR Service Unavailable: /api/stock/location/1/
Activity
TCWilliamson commentedon Feb 21, 2026
Something does seem to be consistently wrong.
It works for a moment, then, I just tried to update the stock count of a part and it stopped working again.
^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'} 2026-02-21 18:10:47 2026-02-21T18:10:47.834123Z [warning ] plugin.registry.with_mixin: Database not ready [inventree] ip=172.18.0.1 request_id=304fcf88-531f-4d50-b029-41d9ae223314 user_id=1 2026-02-21 18:10:47 2026-02-21 18:10:47,834 WARNING {'event': 'plugin.registry.with_mixin: Database not ready', 'ip': '172.18.0.1', 'request_id': '304fcf88-531f-4d50-b029-41d9ae223314', 'user_id': 1, 'timestamp': '2026-02-21T18:10:47.834123Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:10:47 2026-02-21T18:10:47.844134Z [error ] An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. [inventree] ip=172.18.0.1 request_id=304fcf88-531f-4d50-b029-41d9ae223314 user_id=1 2026-02-21 18:10:47 2026-02-21 18:10:47,844 ERROR {'event': TransactionManagementError("An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block."), 'ip': '172.18.0.1', 'request_id': '304fcf88-531f-4d50-b029-41d9ae223314', 'user_id': 1, 'timestamp': '2026-02-21T18:10:47.844134Z', 'logger': 'inventree', 'level': 'error'} 2026-02-21 18:10:48 /root/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1612: RuntimeWarning: DateTimeField NotificationEntry.updated received a naive datetime (2026-02-20 00:00:00) while time zone support is active. 2026-02-21 18:10:48 warnings.warn( 2026-02-21 18:10:48 2026-02-21T18:10:48.133707Z [error ] request_finished [django_structlog.middlewares.request] code=500 ip=172.18.0.1 request='POST /api/stock/transfer/' request_id=304fcf88-531f-4d50-b029-41d9ae223314 user_id=1 2026-02-21 18:10:48 2026-02-21 18:10:48,133 ERROR {'code': 500, 'request': 'POST /api/stock/transfer/', 'event': 'request_finished', 'ip': '172.18.0.1', 'request_id': '304fcf88-531f-4d50-b029-41d9ae223314', 'user_id': 1, 'timestamp': '2026-02-21T18:10:48.133707Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'} 2026-02-21 18:10:48 2026-02-21 18:10:48,134 ERROR Internal Server Error: /api/stock/transfer/ 2026-02-21 18:10:49 2026-02-21 18:10:49,744 ERROR Service Unavailable: /api/notifications/ 2026-02-21 18:10:50 2026-02-21 18:10:50,767 ERROR Service Unavailable: /api/notifications/ 2026-02-21 18:10:52 2026-02-21 18:10:52,779 ERROR Service Unavailable: /api/notifications/ 2026-02-21 18:10:56 2026-02-21 18:10:56,800 ERROR Service Unavailable: /api/notifications/ 2026-02-21 18:11:07 INVE-W3: Could not detect git information. 2026-02-21 18:11:13 2026-02-21T18:11:13.681073Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] 2026-02-21 18:11:13 2026-02-21 18:11:13,681 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'timestamp': '2026-02-21T18:11:13.681073Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:11:15 2026-02-21T18:11:15.158560Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] 2026-02-21 18:11:15 2026-02-21 18:11:15,158 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'timestamp': '2026-02-21T18:11:15.158560Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:11:15 2026-02-21T18:11:15.838407Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] 2026-02-21 18:11:15 2026-02-21 18:11:15,838 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'timestamp': '2026-02-21T18:11:15.838407Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:18:16 2026-02-21T18:18:16.480184Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=d26d2aac-7085-4ea2-98b5-e7ce255faf4d user_id=1 2026-02-21 18:18:16 2026-02-21 18:18:16,480 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'd26d2aac-7085-4ea2-98b5-e7ce255faf4d', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:18:16.480184Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:18:17 2026-02-21T18:18:17.854455Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=6b4d20d2-3bda-4bdc-95db-967121c52b6c user_id=1 2026-02-21 18:18:17 2026-02-21 18:18:17,854 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '6b4d20d2-3bda-4bdc-95db-967121c52b6c', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:18:17.854455Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:18:23 2026-02-21T18:18:23.932018Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=a6ba39cc-b287-4238-b584-ab50f44f4a40 user_id=1 2026-02-21 18:10:17 172.18.0.1 - - [21/Feb/2026:18:10:17 +0000] "OPTIONS /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:20 172.18.0.1 - - [21/Feb/2026:18:10:20 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&search=nextpm&limit=25&offset=0 HTTP/1.1" 200 36993 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:44 172.18.0.1 - - [21/Feb/2026:18:10:44 +0000] "OPTIONS /api/stock/transfer/ HTTP/1.1" 200 2063 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:44 172.18.0.1 - - [21/Feb/2026:18:10:44 +0000] "GET /api/stock/location/1/?structural=false HTTP/1.1" 200 262 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:45 172.18.0.1 - - [21/Feb/2026:18:10:45 +0000] "GET /api/stock/location/?structural=false&search=&offset=0&limit=10 HTTP/1.1" 200 2350 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:48 172.18.0.1 - - [21/Feb/2026:18:10:48 +0000] "POST /api/stock/transfer/ HTTP/1.1" 500 218 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:49 172.18.0.1 - - [21/Feb/2026:18:10:49 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:50 172.18.0.1 - - [21/Feb/2026:18:10:50 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:52 172.18.0.1 - - [21/Feb/2026:18:10:52 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:10:56 172.18.0.1 - - [21/Feb/2026:18:10:56 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:11:07 Loading config file : /home/inventree/data/config.yaml 2026-02-21 18:11:36 172.18.0.1 - - [21/Feb/2026:18:11:36 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:11:39 172.18.0.1 - - [21/Feb/2026:18:11:39 +0000] "POST /api/stock/transfer/ HTTP/1.1" 201 119 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:11:39 172.18.0.1 - - [21/Feb/2026:18:11:39 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&search=nextpm&limit=25&offset=0 HTTP/1.1" 200 37011 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:14:34 172.18.0.1 - - [21/Feb/2026:18:14:34 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:17:52 172.18.0.1 - - [21/Feb/2026:18:17:52 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:17:59 172.18.0.1 - - [21/Feb/2026:18:17:59 +0000] "GET /api/stock/?part_detail=true&location_detail=true&supplier_part_detail=true&search=screw&limit=25&offset=0 HTTP/1.1" 200 10359 "http://inventree.localhost/web/stock/location/index/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:10 172.18.0.1 - - [21/Feb/2026:18:18:10 +0000] "GET /api/stock/229/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1572 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:10 172.18.0.1 - - [21/Feb/2026:18:18:10 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:10 172.18.0.1 - - [21/Feb/2026:18:18:10 +0000] "GET /api/stock/location/1/ HTTP/1.1" 200 262 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:10 172.18.0.1 - - [21/Feb/2026:18:18:10 +0000] "GET /api/part/44/ HTTP/1.1" 200 1311 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:10 172.18.0.1 - - [21/Feb/2026:18:18:10 +0000] "GET /api/stock/229/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:12 172.18.0.1 - - [21/Feb/2026:18:18:12 +0000] "OPTIONS /api/stock/track/?item=229&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:12 172.18.0.1 - - [21/Feb/2026:18:18:12 +0000] "GET /api/stock/track/?item=229&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 2369 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:15 172.18.0.1 - - [21/Feb/2026:18:18:15 +0000] "OPTIONS /api/attachment/?model_type=stockitem&model_id=229 HTTP/1.1" 200 6254 "http://inventree.localhost/web/stock/item/229/attachments" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:15 172.18.0.1 - - [21/Feb/2026:18:18:15 +0000] "GET /api/attachment/?model_type=stockitem&model_id=229&limit=25&offset=0 HTTP/1.1" 200 52 "http://inventree.localhost/web/stock/item/229/attachments" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:16 172.18.0.1 - - [21/Feb/2026:18:18:16 +0000] "GET /api/stock/?ancestor=229&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 1550 "http://inventree.localhost/web/stock/item/229/child_items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:17 172.18.0.1 - - [21/Feb/2026:18:18:17 +0000] "OPTIONS /api/stock/?ancestor=229&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/stock/item/229/child_items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:17 172.18.0.1 - - [21/Feb/2026:18:18:17 +0000] "GET /api/build/item/?stock_item=229&build_detail=true&part_detail=false&location_detail=true&stock_detail=true&install_into_detail=true&supplier_detail=true&limit=25&offset=0 HTTP/1.1" 200 52 "http://inventree.localhost/web/stock/item/229/allocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:17 172.18.0.1 - - [21/Feb/2026:18:18:17 +0000] "GET /api/stock/?ancestor=229&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 1550 "http://inventree.localhost/web/stock/item/229/child_items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:17 172.18.0.1 - - [21/Feb/2026:18:18:17 +0000] "OPTIONS /api/build/item/?stock_item=229&build_detail=true&part_detail=false&location_detail=true&stock_detail=true&install_into_detail=true&supplier_detail=true HTTP/1.1" 200 71334 "http://inventree.localhost/web/stock/item/229/allocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:18 172.18.0.1 - - [21/Feb/2026:18:18:18 +0000] "OPTIONS /api/stock/?ancestor=229&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/stock/item/229/child_items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:19 172.18.0.1 - - [21/Feb/2026:18:18:19 +0000] "GET /api/build/item/?stock_item=229&build_detail=true&part_detail=false&location_detail=true&stock_detail=true&install_into_detail=true&supplier_detail=true&limit=25&offset=0 HTTP/1.1" 200 52 "http://inventree.localhost/web/stock/item/229/allocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:19 172.18.0.1 - - [21/Feb/2026:18:18:19 +0000] "OPTIONS /api/build/item/?stock_item=229&build_detail=true&part_detail=false&location_detail=true&stock_detail=true&install_into_detail=true&supplier_detail=true HTTP/1.1" 200 71334 "http://inventree.localhost/web/stock/item/229/allocations" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:20 172.18.0.1 - - [21/Feb/2026:18:18:20 +0000] "OPTIONS /api/stock/track/?item=229&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:20 172.18.0.1 - - [21/Feb/2026:18:18:20 +0000] "GET /api/stock/track/?item=229&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 2369 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:23 172.18.0.1 - - [21/Feb/2026:18:18:23 +0000] "GET /api/stock/location/1/?path_detail=true HTTP/1.1" 200 308 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:23 172.18.0.1 - - [21/Feb/2026:18:18:23 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/location/1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:23 172.18.0.1 - - [21/Feb/2026:18:18:23 +0000] "GET /api/stock/?location=1&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 40022 "http://inventree.localhost/web/stock/location/1/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:24 172.18.0.1 - - [21/Feb/2026:18:18:24 +0000] "OPTIONS /api/stock/?location=1&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/stock/location/1/stock-items" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:27 172.18.0.1 - - [21/Feb/2026:18:18:27 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/part/category/index/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:27 172.18.0.1 - - [21/Feb/2026:18:18:27 +0000] "GET /api/part/?category_detail=true&location_detail=true&limit=25&offset=0 HTTP/1.1" 200 39483 "http://inventree.localhost/web/part/category/index/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:27 172.18.0.1 - - [21/Feb/2026:18:18:27 +0000] "OPTIONS /api/part/?category_detail=true&location_detail=true HTTP/1.1" 200 58899 "http://inventree.localhost/web/part/category/index/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:32 172.18.0.1 - - [21/Feb/2026:18:18:32 +0000] "GET /api/part/category/?top_level=true&limit=25&offset=0 HTTP/1.1" 200 2274 "http://inventree.localhost/web/part/category/index/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:32 172.18.0.1 - - [21/Feb/2026:18:18:32 +0000] "OPTIONS /api/part/category/?top_level=true HTTP/1.1" 200 7572 "http://inventree.localhost/web/part/category/index/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:35 172.18.0.1 - - [21/Feb/2026:18:18:35 +0000] "OPTIONS /api/part/category/?parent=7 HTTP/1.1" 200 7572 "http://inventree.localhost/web/part/category/7/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:35 172.18.0.1 - - [21/Feb/2026:18:18:35 +0000] "GET /api/part/category/7/?path_detail=true HTTP/1.1" 200 350 "http://inventree.localhost/web/part/category/7/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:35 172.18.0.1 - - [21/Feb/2026:18:18:35 +0000] "GET /api/part/category/?parent=7&limit=25&offset=0 HTTP/1.1" 200 637 "http://inventree.localhost/web/part/category/7/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:36 172.18.0.1 - - [21/Feb/2026:18:18:36 +0000] "OPTIONS /api/part/category/?parent=8 HTTP/1.1" 200 7572 "http://inventree.localhost/web/part/category/8/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:36 172.18.0.1 - - [21/Feb/2026:18:18:36 +0000] "GET /api/part/category/8/?path_detail=true HTTP/1.1" 200 413 "http://inventree.localhost/web/part/category/8/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:36 172.18.0.1 - - [21/Feb/2026:18:18:36 +0000] "GET /api/part/category/?parent=8&limit=25&offset=0 HTTP/1.1" 200 52 "http://inventree.localhost/web/part/category/8/subcategories" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:38 172.18.0.1 - - [21/Feb/2026:18:18:38 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/part/category/8/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:38 172.18.0.1 - - [21/Feb/2026:18:18:38 +0000] "OPTIONS /api/part/?category=8&category_detail=true&location_detail=true HTTP/1.1" 200 58899 "http://inventree.localhost/web/part/category/8/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:38 172.18.0.1 - - [21/Feb/2026:18:18:38 +0000] "GET /api/part/?category=8&category_detail=true&location_detail=true&limit=25&offset=0 HTTP/1.1" 200 6828 "http://inventree.localhost/web/part/category/8/parts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:45 172.18.0.1 - - [21/Feb/2026:18:18:45 +0000] "GET /api/part/44/requirements/ HTTP/1.1" 200 244 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:45 172.18.0.1 - - [21/Feb/2026:18:18:45 +0000] "GET /api/part/44/?path_detail=true HTTP/1.1" 200 1416 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:46 172.18.0.1 - - [21/Feb/2026:18:18:46 +0000] "GET /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 3096 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:46 172.18.0.1 - - [21/Feb/2026:18:18:46 +0000] "GET /api/part/44/serial-numbers/ HTTP/1.1" 200 26 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:46 172.18.0.1 - - [21/Feb/2026:18:18:46 +0000] "OPTIONS /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:52 172.18.0.1 - - [21/Feb/2026:18:18:52 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:59 172.18.0.1 - - [21/Feb/2026:18:18:59 +0000] "GET /api/stock/236/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:59 172.18.0.1 - - [21/Feb/2026:18:18:59 +0000] "GET /api/stock/236/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1491 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:00 172.18.0.1 - - [21/Feb/2026:18:19:00 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:00 172.18.0.1 - - [21/Feb/2026:18:19:00 +0000] "OPTIONS /api/stock/track/?item=236&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:00 172.18.0.1 - - [21/Feb/2026:18:19:00 +0000] "GET /api/stock/track/?item=236&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 3441 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "OPTIONS /api/stock/236/ HTTP/1.1" 200 31810 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "POST /api/generate/serial-number/ HTTP/1.1" 201 21 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "GET /api/stock/236/ HTTP/1.1" 200 1447 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "GET /api/part/44/?virtual=false HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "GET /api/part/44/?virtual=false HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "POST /api/generate/serial-number/ HTTP/1.1" 201 21 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "POST /api/generate/batch-code/ HTTP/1.1" 201 17 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:05 172.18.0.1 - - [21/Feb/2026:18:19:05 +0000] "POST /api/generate/batch-code/ HTTP/1.1" 201 17 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:06 172.18.0.1 - - [21/Feb/2026:18:19:06 +0000] "GET /api/part/44/?virtual=false HTTP/1.1" 200 1311 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:08 172.18.0.1 - - [21/Feb/2026:18:19:08 +0000] "GET /api/part/44/?path_detail=true HTTP/1.1" 200 1416 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:08 172.18.0.1 - - [21/Feb/2026:18:19:08 +0000] "GET /api/part/44/requirements/ HTTP/1.1" 200 244 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:09 172.18.0.1 - - [21/Feb/2026:18:19:09 +0000] "GET /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 3096 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:10 172.18.0.1 - - [21/Feb/2026:18:19:10 +0000] "OPTIONS /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:11 172.18.0.1 - - [21/Feb/2026:18:19:11 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:11 172.18.0.1 - - [21/Feb/2026:18:19:11 +0000] "GET /api/stock/236/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:11 172.18.0.1 - - [21/Feb/2026:18:19:11 +0000] "GET /api/stock/236/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1491 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:12 172.18.0.1 - - [21/Feb/2026:18:19:12 +0000] "OPTIONS /api/stock/track/?item=236&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:12 172.18.0.1 - - [21/Feb/2026:18:19:12 +0000] "GET /api/stock/track/?item=236&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 3441 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:14 172.18.0.1 - - [21/Feb/2026:18:19:14 +0000] "GET /web/stock/item/229/ HTTP/1.1" 200 3153 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /api/auth/v1/auth/session HTTP/1.1" 200 259 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /api/user/me/ HTTP/1.1" 200 374 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /api/user/roles/ HTTP/1.1" 200 5816 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /auth/ HTTP/1.1" 200 0 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /api/auth/v1/config HTTP/1.1" 200 430 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:15 172.18.0.1 - - [21/Feb/2026:18:19:15 +0000] "GET /api/generic/status/ HTTP/1.1" 200 7732 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /auth/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/generic/status/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/auth/v1/config HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/settings/user/ HTTP/1.1" 200 11463 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44328 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/settings/user/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:16 172.18.0.1 - - [21/Feb/2026:18:19:16 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44328 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/ HTTP/1.1" 200 2130 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/plugins/ui/features/spotlight_action/ HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/stock/229/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/stock/229/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1572 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:17 172.18.0.1 - - [21/Feb/2026:18:19:17 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:18 172.18.0.1 - - [21/Feb/2026:18:19:18 +0000] "OPTIONS /api/stock/track/?item=229&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:18 172.18.0.1 - - [21/Feb/2026:18:19:18 +0000] "GET /api/plugins/ui/features/navigation/ HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:18 172.18.0.1 - - [21/Feb/2026:18:19:18 +0000] "GET /api/ HTTP/1.1" 200 2131 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:18 172.18.0.1 - - [21/Feb/2026:18:19:18 +0000] "GET /api/stock/track/?item=229&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 2369 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:18 172.18.0.1 - - [21/Feb/2026:18:19:18 +0000] "GET /api/plugins/ui/features/panel/?target_model=stockitem&target_id=229 HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:19 172.18.0.1 - - [21/Feb/2026:18:19:19 +0000] "GET /api/stock/track/?item=229&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 2369 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:19 172.18.0.1 - - [21/Feb/2026:18:19:19 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:19 172.18.0.1 - - [21/Feb/2026:18:19:19 +0000] "OPTIONS /api/stock/track/?item=229&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:27 172.18.0.1 - - [21/Feb/2026:18:19:27 +0000] "GET /web/stock/item/236/ HTTP/1.1" 200 3153 "http://inventree.localhost/web/stock/item/229/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:28 172.18.0.1 - - [21/Feb/2026:18:19:28 +0000] "GET /api/auth/v1/auth/session HTTP/1.1" 200 259 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:28 172.18.0.1 - - [21/Feb/2026:18:19:28 +0000] "GET /api/user/me/ HTTP/1.1" 200 374 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:28 172.18.0.1 - - [21/Feb/2026:18:19:28 +0000] "GET /api/user/roles/ HTTP/1.1" 200 5816 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /auth/ HTTP/1.1" 200 0 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /api/generic/status/ HTTP/1.1" 200 7732 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /auth/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /api/generic/status/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /api/ HTTP/1.1" 200 2130 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:29 172.18.0.1 - - [21/Feb/2026:18:19:29 +0000] "GET /api/settings/user/ HTTP/1.1" 200 11463 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/settings/user/ HTTP/1.1" 200 11463 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/auth/v1/config HTTP/1.1" 200 430 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44328 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/auth/v1/config HTTP/1.1" 200 430 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/plugins/ui/features/navigation/ HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/plugins/ui/features/spotlight_action/ HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/ HTTP/1.1" 200 2130 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/settings/global/ HTTP/1.1" 200 44328 "http://inventree.localhost/web/logged-in" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "POST /api/system-internal/observability/end HTTP/1.1" 200 15 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/stock/236/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/stock/236/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1491 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/236/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:30 172.18.0.1 - - [21/Feb/2026:18:19:30 +0000] "OPTIONS /api/stock/track/?item=236&user_detail=true HTTP/1.1" 200 2372 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:31 172.18.0.1 - - [21/Feb/2026:18:19:31 +0000] "GET /api/stock/track/?item=236&user_detail=true&limit=25&offset=0 HTTP/1.1" 200 3441 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:31 172.18.0.1 - - [21/Feb/2026:18:19:31 +0000] "GET /api/plugins/ui/features/panel/?target_model=stockitem&target_id=236 HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/236/tracking" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:39 172.18.0.1 - - [21/Feb/2026:18:19:39 +0000] "GET /api/build/20/ HTTP/1.1" 200 1318 "http://inventree.localhost/web/stock/item/236/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:39 172.18.0.1 - - [21/Feb/2026:18:19:39 +0000] "GET /api/part/44/ HTTP/1.1" 200 1311 "http://inventree.localhost/web/stock/item/236/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:40 172.18.0.1 - - [21/Feb/2026:18:19:40 +0000] "GET /api/stock/229/ HTTP/1.1" 200 1448 "http://inventree.localhost/web/stock/item/236/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:41 172.18.0.1 - - [21/Feb/2026:18:19:41 +0000] "GET /api/part/44/requirements/ HTTP/1.1" 200 244 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:41 172.18.0.1 - - [21/Feb/2026:18:19:41 +0000] "GET /api/part/44/?path_detail=true HTTP/1.1" 200 1416 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:41 172.18.0.1 - - [21/Feb/2026:18:19:41 +0000] "GET /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0 HTTP/1.1" 200 3096 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:41 172.18.0.1 - - [21/Feb/2026:18:19:41 +0000] "GET /api/part/44/serial-numbers/ HTTP/1.1" 200 26 "http://inventree.localhost/web/part/44/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:42 172.18.0.1 - - [21/Feb/2026:18:19:42 +0000] "GET /api/plugins/ui/features/panel/?target_model=part&target_id=44 HTTP/1.1" 200 2 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:19:42 172.18.0.1 - - [21/Feb/2026:18:19:42 +0000] "OPTIONS /api/stock/?part=44&part_detail=true&location_detail=true&supplier_part_detail=true HTTP/1.1" 200 35418 "http://inventree.localhost/web/part/44/stock" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:26 172.18.0.1 - - [21/Feb/2026:18:20:26 +0000] "GET /api/stock/229/serial-numbers/ HTTP/1.1" 200 29 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:26 172.18.0.1 - - [21/Feb/2026:18:20:26 +0000] "GET /api/stock/229/?part_detail=true&location_detail=true&path_detail=true HTTP/1.1" 200 1572 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:26 172.18.0.1 - - [21/Feb/2026:18:20:26 +0000] "GET /api/plugins/?active=true HTTP/1.1" 200 11554 "http://inventree.localhost/web/stock/item/229/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:26 172.18.0.1 - - [21/Feb/2026:18:20:26 +0000] "GET /api/stock/location/1/ HTTP/1.1" 200 262 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:26 172.18.0.1 - - [21/Feb/2026:18:20:26 +0000] "GET /api/part/44/ HTTP/1.1" 200 1311 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:27 172.18.0.1 - - [21/Feb/2026:18:20:27 +0000] "GET /api/plugins/ui/features/panel/?target_model=stockitem&target_id=229 HTTP/1.1" 200 2 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:30 172.18.0.1 - - [21/Feb/2026:18:20:30 +0000] "GET /api/notifications/?read=false&limit=1 HTTP/1.1" 200 499 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:31 172.18.0.1 - - [21/Feb/2026:18:20:31 +0000] "OPTIONS /api/stock/count/ HTTP/1.1" 200 1847 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:18:23 2026-02-21 18:18:23,932 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'a6ba39cc-b287-4238-b584-ab50f44f4a40', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:18:23.932018Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:18:45 2026-02-21T18:18:45.815869Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=a669a5be-032d-4830-9663-b029f4bb7543 user_id=1 2026-02-21 18:18:45 2026-02-21 18:18:45,815 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'a669a5be-032d-4830-9663-b029f4bb7543', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:18:45.815869Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:18:46 2026-02-21T18:18:46.117477Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=68c36122-c326-41db-a521-50b0877c2d53 user_id=1 2026-02-21 18:18:46 2026-02-21 18:18:46,117 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '68c36122-c326-41db-a521-50b0877c2d53', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:18:46.117477Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:04 2026-02-21T18:19:04.877030Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=54a93980-5ec4-425c-b467-0f4a47015613 user_id=1 2026-02-21 18:19:04 2026-02-21 18:19:04,877 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '54a93980-5ec4-425c-b467-0f4a47015613', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:04.877030Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:05 2026-02-21T18:19:05.443790Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=b1ae889c-6c31-44f6-a459-cf30210d6826 user_id=1 2026-02-21 18:19:05 2026-02-21 18:19:05,443 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'b1ae889c-6c31-44f6-a459-cf30210d6826', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:05.443790Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:05 2026-02-21 18:19:05,567 ERROR Service Unavailable: /api/part/44/ 2026-02-21 18:19:05 2026-02-21 18:19:05,576 ERROR Service Unavailable: /api/part/44/ 2026-02-21 18:19:09 2026-02-21T18:19:09.275598Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=1258d4f3-45e7-46ea-b9be-3cd34410144d user_id=1 2026-02-21 18:19:09 2026-02-21 18:19:09,275 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '1258d4f3-45e7-46ea-b9be-3cd34410144d', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:09.275598Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:15 2026-02-21T18:19:15.767407Z [warning ] INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG. [inventree] ip=172.18.0.1 request_id=5e64f5ed-add8-4474-ae7f-7de3417bcb52 user_id=1 2026-02-21 18:19:15 2026-02-21 18:19:15,767 WARNING {'event': 'INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG.', 'request_id': '5e64f5ed-add8-4474-ae7f-7de3417bcb52', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:15.767407Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:16 2026-02-21T18:19:16.012470Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=826d980e-0bab-4b66-b4a0-bb5088478bbb user_id=1 2026-02-21 18:19:16 2026-02-21 18:19:16,012 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '826d980e-0bab-4b66-b4a0-bb5088478bbb', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:16.012470Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:16 2026-02-21T18:19:16.013461Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=60404fc8-bc04-4083-bb1c-2e6b55f41bbe user_id=1 2026-02-21 18:19:16 2026-02-21 18:19:16,013 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '60404fc8-bc04-4083-bb1c-2e6b55f41bbe', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:16.013461Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:16 2026-02-21 18:19:16,050 ERROR Service Unavailable: /auth/ 2026-02-21 18:19:16 2026-02-21 18:19:16,066 ERROR Service Unavailable: /api/generic/status/ 2026-02-21 18:19:16 2026-02-21 18:19:16,067 ERROR Service Unavailable: /api/auth/v1/config 2026-02-21 18:19:16 2026-02-21T18:19:16.446047Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=b76e4f33-4f41-4c9c-84c3-36be86c85563 user_id=1 2026-02-21 18:19:16 2026-02-21 18:19:16,446 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'user_id': 1, 'request_id': 'b76e4f33-4f41-4c9c-84c3-36be86c85563', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:16.446047Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:16 2026-02-21 18:19:16,608 ERROR Service Unavailable: /api/settings/user/ 2026-02-21 18:19:17 2026-02-21T18:19:17.029395Z [warning ] INVE-W7: Email backend not configured [inventree] ip=172.18.0.1 request_id=b76e4f33-4f41-4c9c-84c3-36be86c85563 user_id=1 2026-02-21 18:19:17 2026-02-21 18:19:17,029 WARNING {'event': 'INVE-W7: Email backend not configured', 'user_id': 1, 'request_id': 'b76e4f33-4f41-4c9c-84c3-36be86c85563', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:17.029395Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:17 2026-02-21T18:19:17.029683Z [warning ] InvenTree system health checks failed [inventree] ip=172.18.0.1 request_id=b76e4f33-4f41-4c9c-84c3-36be86c85563 user_id=1 2026-02-21 18:19:17 2026-02-21 18:19:17,029 WARNING {'event': 'InvenTree system health checks failed', 'user_id': 1, 'request_id': 'b76e4f33-4f41-4c9c-84c3-36be86c85563', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:17.029683Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:17 2026-02-21T18:19:17.490228Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=f7d6ee01-8c35-4b0c-ab0e-23b5780b1cf7 user_id=1 2026-02-21 18:19:17 2026-02-21 18:19:17,490 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'f7d6ee01-8c35-4b0c-ab0e-23b5780b1cf7', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:17.490228Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:17 2026-02-21T18:19:17.531055Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=aee6aa34-f1d0-4d14-90cb-4c5bb4158441 user_id=1 2026-02-21 18:19:17 2026-02-21 18:19:17,531 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'user_id': 1, 'request_id': 'aee6aa34-f1d0-4d14-90cb-4c5bb4158441', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:17.531055Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:18 2026-02-21T18:19:18.248548Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=a17e1ce2-8b6e-40da-9134-9953da7ff304 user_id=1 2026-02-21 18:19:18 2026-02-21 18:19:18,248 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'a17e1ce2-8b6e-40da-9134-9953da7ff304', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:18.248548Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:18 2026-02-21T18:19:18.616939Z [warning ] INVE-W7: Email backend not configured [inventree] ip=172.18.0.1 request_id=aee6aa34-f1d0-4d14-90cb-4c5bb4158441 user_id=1 2026-02-21 18:19:18 2026-02-21 18:19:18,617 WARNING {'event': 'INVE-W7: Email backend not configured', 'user_id': 1, 'request_id': 'aee6aa34-f1d0-4d14-90cb-4c5bb4158441', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:18.616939Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:18 2026-02-21T18:19:18.617393Z [warning ] InvenTree system health checks failed [inventree] ip=172.18.0.1 request_id=aee6aa34-f1d0-4d14-90cb-4c5bb4158441 user_id=1 2026-02-21 18:19:18 2026-02-21 18:19:18,617 WARNING {'event': 'InvenTree system health checks failed', 'user_id': 1, 'request_id': 'aee6aa34-f1d0-4d14-90cb-4c5bb4158441', 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:18.617393Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:29 2026-02-21T18:19:29.322057Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=7f76644e-a9e3-4c8c-af21-c9d590cea21f user_id=1 2026-02-21 18:19:29 2026-02-21 18:19:29,322 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '7f76644e-a9e3-4c8c-af21-c9d590cea21f', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:29.322057Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:29 2026-02-21T18:19:29.329004Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=252bb82b-5db6-452f-9670-76bcd2330103 user_id=1 2026-02-21 18:19:29 2026-02-21 18:19:29,329 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '252bb82b-5db6-452f-9670-76bcd2330103', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:29.329004Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:29 2026-02-21 18:19:29,359 ERROR Service Unavailable: /auth/ 2026-02-21 18:19:29 2026-02-21 18:19:29,372 ERROR Service Unavailable: /api/generic/status/ 2026-02-21 18:19:29 2026-02-21T18:19:29.878032Z [warning ] INVE-W7: Email backend not configured [inventree] ip=172.18.0.1 request_id=252bb82b-5db6-452f-9670-76bcd2330103 user_id=1 2026-02-21 18:19:29 2026-02-21 18:19:29,878 WARNING {'event': 'INVE-W7: Email backend not configured', 'request_id': '252bb82b-5db6-452f-9670-76bcd2330103', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:29.878032Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:29 2026-02-21T18:19:29.878283Z [warning ] InvenTree system health checks failed [inventree] ip=172.18.0.1 request_id=252bb82b-5db6-452f-9670-76bcd2330103 user_id=1 2026-02-21 18:19:29 2026-02-21 18:19:29,878 WARNING {'event': 'InvenTree system health checks failed', 'request_id': '252bb82b-5db6-452f-9670-76bcd2330103', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:29.878283Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:30 2026-02-21T18:19:30.145538Z [warning ] INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG. [inventree] ip=172.18.0.1 request_id=bd6e37a8-48f8-4872-90b4-a02cd1a474b9 user_id=1 2026-02-21 18:19:30 2026-02-21 18:19:30,145 WARNING {'event': 'INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG.', 'request_id': 'bd6e37a8-48f8-4872-90b4-a02cd1a474b9', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:30.145538Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:30 2026-02-21T18:19:30.211949Z [warning ] INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG. [inventree] ip=172.18.0.1 request_id=18d5e55b-060c-4815-b943-b3ebf7f748b5 user_id=1 2026-02-21 18:19:30 2026-02-21 18:19:30,212 WARNING {'event': 'INVE-W12: Signup attempt blocked, because registration is disabled via setting LOGIN_ENABLE_REG.', 'request_id': '18d5e55b-060c-4815-b943-b3ebf7f748b5', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:30.211949Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:30 2026-02-21T18:19:30.317295Z [warning ] INVE-W7: Email backend not configured [inventree] ip=172.18.0.1 request_id=5fa50946-4956-4a03-8aaf-cc2622161fda user_id=1 2026-02-21 18:19:30 2026-02-21 18:19:30,317 WARNING {'event': 'INVE-W7: Email backend not configured', 'request_id': '5fa50946-4956-4a03-8aaf-cc2622161fda', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:30.317295Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:30 2026-02-21T18:19:30.317608Z [warning ] InvenTree system health checks failed [inventree] ip=172.18.0.1 request_id=5fa50946-4956-4a03-8aaf-cc2622161fda user_id=1 2026-02-21 18:19:30 2026-02-21 18:19:30,317 WARNING {'event': 'InvenTree system health checks failed', 'request_id': '5fa50946-4956-4a03-8aaf-cc2622161fda', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:30.317608Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:31 2026-02-21T18:19:31.306400Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=a71ae43b-d2a1-4a83-9984-aba270c07d72 user_id=1 2026-02-21 18:19:31 2026-02-21 18:19:31,306 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'a71ae43b-d2a1-4a83-9984-aba270c07d72', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:31.306400Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:41 2026-02-21T18:19:41.406529Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=aabd895f-f389-4bd8-b254-9b526d87ace1 user_id=1 2026-02-21 18:19:41 2026-02-21 18:19:41,406 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'aabd895f-f389-4bd8-b254-9b526d87ace1', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:41.406529Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:41 2026-02-21T18:19:41.647842Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=d1529ce4-8003-4d5e-aca2-d1c69f3a5772 user_id=1 2026-02-21 18:19:41 2026-02-21 18:19:41,647 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'd1529ce4-8003-4d5e-aca2-d1c69f3a5772', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:19:41.647842Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:19:42 2026-02-21T18:19:42.063345Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=6b7ed084-27f3-40dc-8bc4-b682fd076893 user_id=1 2026-02-21 18:19:42 2026-02-21 18:19:42,063 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '6b7ed084-27f3-40dc-8bc4-b682fd076893', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:19:42.063345Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:26 2026-02-21T18:20:26.743677Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=5a7cf446-a9f1-417c-be6e-23f54427b9d9 user_id=1 2026-02-21 18:20:26 2026-02-21 18:20:26,743 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': '5a7cf446-a9f1-417c-be6e-23f54427b9d9', 'ip': '172.18.0.1', 'user_id': 1, 'timestamp': '2026-02-21T18:20:26.743677Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.130480Z [warning ] Could not create label template: 'InvenTree Stock Location Label (QR + Text)' [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,130 WARNING {'event': "Could not create label template: 'InvenTree Stock Location Label (QR + Text)'", 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.130480Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.131109Z [warning ] Database not ready for creating default report templates [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,131 WARNING {'event': 'Database not ready for creating default report templates', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.131109Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.132596Z [warning ] Failed to set maintenance mode state after 5 retries [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,132 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.132596Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.134055Z [warning ] Failed to set maintenance mode state after 5 retries [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,134 WARNING {'event': 'Failed to set maintenance mode state after 5 retries', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.134055Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.134817Z [error ] Failed to remove obsolete tasks - database not ready [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels 2026-02-21 18:20:38 report.models.LabelTemplate.objects.create( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save 2026-02-21 18:20:38 super().save() 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save 2026-02-21 18:20:38 super().save(force_insert=force_insert, force_update=force_update, **kwargs) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save 2026-02-21 18:20:38 super().save(*args, **kwargs) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql 2026-02-21 18:20:38 for sql, params in self.as_sql(): 2026-02-21 18:20:38 ^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql 2026-02-21 18:20:38 value_rows = [ 2026-02-21 18:20:38 ^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp> 2026-02-21 18:20:38 [ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp> 2026-02-21 18:20:38 self.prepare_value(field, self.pre_save_val(field, obj)) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val 2026-02-21 18:20:38 return field.pre_save(obj, add=True) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save 2026-02-21 18:20:38 file.save(file.name, file.file, save=False) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save 2026-02-21 18:20:38 name = self.field.generate_filename(self.instance, name) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename 2026-02-21 18:20:38 filename = self.upload_to(instance, filename) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template 2026-02-21 18:20:38 instance.check_existing_file(path, raise_error=True) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file 2026-02-21 18:20:38 raise ValidationError({ 2026-02-21 18:20:38 django.core.exceptions.ValidationError: {'template': ['Template file with this name already exists']} 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/apps.py", line 106, in remove_obsolete_tasks 2026-02-21 18:20:38 if obsolete_tasks.exists(): 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1298, in exists 2026-02-21 18:20:38 return self.query.has_results(using=self.db) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/query.py", line 676, in has_results 2026-02-21 18:20:38 return compiler.has_results() 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1591, in has_results 2026-02-21 18:20:38 return bool(self.execute_sql(SINGLE)) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1623, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38,138 ERROR {'event': 'Failed to remove obsolete tasks - database not ready', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.134817Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels\n report.models.LabelTemplate.objects.create(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save\n super().save()\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save\n super().save(force_insert=force_insert, force_update=force_update, **kwargs)\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save\n super().save(*args, **kwargs)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql\n for sql, params in self.as_sql():\n ^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql\n value_rows = [\n ^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>\n [\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>\n self.prepare_value(field, self.pre_save_val(field, obj))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val\n return field.pre_save(obj, add=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save\n file.save(file.name, file.file, save=False)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save\n name = self.field.generate_filename(self.instance, name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename\n filename = self.upload_to(instance, filename)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template\n instance.check_existing_file(path, raise_error=True)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file\n raise ValidationError({\ndjango.core.exceptions.ValidationError: {\'template\': [\'Template file with this name already exists\']}\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/InvenTree/apps.py", line 106, in remove_obsolete_tasks\n if obsolete_tasks.exists():\n ^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1298, in exists\n return self.query.has_results(using=self.db)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/query.py", line 676, in has_results\n return compiler.has_results()\n ^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1591, in has_results\n return bool(self.execute_sql(SINGLE))\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1623, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'} 2026-02-21 18:20:38 2026-02-21T18:20:38.149486Z [warning ] WARNING: '<function register_event at 0x7f0be7018e00>' not offloaded due to An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,149 WARNING {'event': "WARNING: '<function register_event at 0x7f0be7018e00>' not offloaded due to An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.", 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.149486Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.151627Z [error ] An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,151 ERROR {'event': TransactionManagementError("An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block."), 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.151627Z', 'logger': 'inventree', 'level': 'error'} 2026-02-21 18:20:38 2026-02-21T18:20:38.152069Z [error ] Failed to log exception to database [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels 2026-02-21 18:20:38 report.models.LabelTemplate.objects.create( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save 2026-02-21 18:20:38 super().save() 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save 2026-02-21 18:20:38 super().save(force_insert=force_insert, force_update=force_update, **kwargs) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save 2026-02-21 18:20:38 super().save(*args, **kwargs) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql 2026-02-21 18:20:38 for sql, params in self.as_sql(): 2026-02-21 18:20:38 ^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql 2026-02-21 18:20:38 value_rows = [ 2026-02-21 18:20:38 ^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp> 2026-02-21 18:20:38 [ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp> 2026-02-21 18:20:38 self.prepare_value(field, self.pre_save_val(field, obj)) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val 2026-02-21 18:20:38 return field.pre_save(obj, add=True) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save 2026-02-21 18:20:38 file.save(file.name, file.file, save=False) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save 2026-02-21 18:20:38 name = self.field.generate_filename(self.instance, name) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename 2026-02-21 18:20:38 filename = self.upload_to(instance, filename) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template 2026-02-21 18:20:38 instance.check_existing_file(path, raise_error=True) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file 2026-02-21 18:20:38 raise ValidationError({ 2026-02-21 18:20:38 django.core.exceptions.ValidationError: {'template': ['Template file with this name already exists']} 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/tasks.py", line 205, in offload_task 2026-02-21 18:20:38 task.run() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run 2026-02-21 18:20:38 self.id = async_task(self.func, *self.args, **self.kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task 2026-02-21 18:20:38 enqueue_id = broker.enqueue(pack) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue 2026-02-21 18:20:38 package = self.get_connection().create( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/exceptions.py", line 92, in log_error 2026-02-21 18:20:38 Error.objects.create(kind=kind, info=info or '', data=data or '', path=path) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38,153 ERROR {'event': 'Failed to log exception to database', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.152069Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels\n report.models.LabelTemplate.objects.create(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save\n super().save()\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save\n super().save(force_insert=force_insert, force_update=force_update, **kwargs)\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save\n super().save(*args, **kwargs)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql\n for sql, params in self.as_sql():\n ^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql\n value_rows = [\n ^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>\n [\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>\n self.prepare_value(field, self.pre_save_val(field, obj))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val\n return field.pre_save(obj, add=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save\n file.save(file.name, file.file, save=False)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save\n name = self.field.generate_filename(self.instance, name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename\n filename = self.upload_to(instance, filename)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template\n instance.check_existing_file(path, raise_error=True)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file\n raise ValidationError({\ndjango.core.exceptions.ValidationError: {\'template\': [\'Template file with this name already exists\']}\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/InvenTree/tasks.py", line 205, in offload_task\n task.run()\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run\n self.id = async_task(self.func, *self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task\n enqueue_id = broker.enqueue(pack)\n ^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue\n package = self.get_connection().create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'} 2026-02-21 18:20:38 2026-02-21T18:20:38.162994Z [error ] Unexpected error during plugin reload: 'NoneType' object has no attribute 'is_mandatory' [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/plugin/registry.py", line 479, in reload_plugins 2026-02-21 18:20:38 if config.is_mandatory() and not config.active: 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 AttributeError: 'NoneType' object has no attribute 'is_mandatory' 2026-02-21 18:20:38 2026-02-21 18:20:38,163 ERROR {'event': "Unexpected error during plugin reload: 'NoneType' object has no attribute 'is_mandatory'", 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.162994Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/plugin/registry.py", line 479, in reload_plugins\n if config.is_mandatory() and not config.active:\n ^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'is_mandatory\''} 2026-02-21 18:20:38 2026-02-21T18:20:38.163494Z [error ] 'NoneType' object has no attribute 'is_mandatory' [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,163 ERROR {'event': AttributeError("'NoneType' object has no attribute 'is_mandatory'"), 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.163494Z', 'logger': 'inventree', 'level': 'error'} 2026-02-21 18:20:38 2026-02-21T18:20:38.163850Z [error ] Failed to log exception to database [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 172.18.0.1 - - [21/Feb/2026:18:20:38 +0000] "POST /api/stock/count/ HTTP/1.1" 500 215 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:40 172.18.0.1 - - [21/Feb/2026:18:20:40 +0000] "POST /api/stock/count/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:42 172.18.0.1 - - [21/Feb/2026:18:20:42 +0000] "POST /api/stock/count/ HTTP/1.1" 503 1866 "http://inventree.localhost/web/stock/item/229/details" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels 2026-02-21 18:20:38 report.models.LabelTemplate.objects.create( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save 2026-02-21 18:20:38 super().save() 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save 2026-02-21 18:20:38 super().save(force_insert=force_insert, force_update=force_update, **kwargs) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save 2026-02-21 18:20:38 super().save(*args, **kwargs) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql 2026-02-21 18:20:38 for sql, params in self.as_sql(): 2026-02-21 18:20:38 ^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql 2026-02-21 18:20:38 value_rows = [ 2026-02-21 18:20:38 ^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp> 2026-02-21 18:20:38 [ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp> 2026-02-21 18:20:38 self.prepare_value(field, self.pre_save_val(field, obj)) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val 2026-02-21 18:20:38 return field.pre_save(obj, add=True) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save 2026-02-21 18:20:38 file.save(file.name, file.file, save=False) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save 2026-02-21 18:20:38 name = self.field.generate_filename(self.instance, name) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename 2026-02-21 18:20:38 filename = self.upload_to(instance, filename) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template 2026-02-21 18:20:38 instance.check_existing_file(path, raise_error=True) 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file 2026-02-21 18:20:38 raise ValidationError({ 2026-02-21 18:20:38 django.core.exceptions.ValidationError: {'template': ['Template file with this name already exists']} 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/tasks.py", line 205, in offload_task 2026-02-21 18:20:38 task.run() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run 2026-02-21 18:20:38 self.id = async_task(self.func, *self.args, **self.kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task 2026-02-21 18:20:38 enqueue_id = broker.enqueue(pack) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue 2026-02-21 18:20:38 package = self.get_connection().create( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/exceptions.py", line 92, in log_error 2026-02-21 18:20:38 Error.objects.create(kind=kind, info=info or '', data=data or '', path=path) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38 The above exception was the direct cause of the following exception: 2026-02-21 18:20:38 2026-02-21 18:20:38 Traceback (most recent call last): 2026-02-21 18:20:38 File "/home/inventree/src/backend/InvenTree/InvenTree/exceptions.py", line 92, in log_error 2026-02-21 18:20:38 Error.objects.create(kind=kind, info=info or '', data=data or '', path=path) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create 2026-02-21 18:20:38 obj.save(force_insert=True, using=self.db) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save 2026-02-21 18:20:38 self.save_base( 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base 2026-02-21 18:20:38 updated = self._save_table( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table 2026-02-21 18:20:38 results = self._do_insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert 2026-02-21 18:20:38 return manager._insert( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method 2026-02-21 18:20:38 return getattr(self.get_queryset(), name)(*args, **kwargs) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert 2026-02-21 18:20:38 return query.get_compiler(using=using).execute_sql(returning_fields) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql 2026-02-21 18:20:38 cursor.execute(sql, params) 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute 2026-02-21 18:20:38 return self._execute_with_wrappers( 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers 2026-02-21 18:20:38 return executor(sql, params, many, context) 2026-02-21 18:20:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 99, in _execute 2026-02-21 18:20:38 self.db.validate_no_broken_transaction() 2026-02-21 18:20:38 File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction 2026-02-21 18:20:38 raise TransactionManagementError( 2026-02-21 18:20:38 django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. 2026-02-21 18:20:38 2026-02-21 18:20:38,165 ERROR {'event': 'Failed to log exception to database', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.163850Z', 'logger': 'inventree', 'level': 'error', 'exception': 'Traceback (most recent call last):\n File "/home/inventree/src/backend/InvenTree/report/apps.py", line 163, in create_default_labels\n report.models.LabelTemplate.objects.create(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 211, in save\n super().save()\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 179, in save\n super().save(force_insert=force_insert, force_update=force_update, **kwargs)\n File "/home/inventree/src/backend/InvenTree/InvenTree/models.py", line 130, in save\n super().save(*args, **kwargs)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1881, in execute_sql\n for sql, params in self.as_sql():\n ^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1804, in as_sql\n value_rows = [\n ^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1805, in <listcomp>\n [\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1806, in <listcomp>\n self.prepare_value(field, self.pre_save_val(field, obj))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1750, in pre_save_val\n return field.pre_save(obj, add=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 338, in pre_save\n file.save(file.name, file.file, save=False)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 98, in save\n name = self.field.generate_filename(self.instance, name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/fields/files.py", line 353, in generate_filename\n filename = self.upload_to(instance, filename)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 69, in rename_template\n instance.check_existing_file(path, raise_error=True)\n File "/home/inventree/src/backend/InvenTree/report/models.py", line 127, in check_existing_file\n raise ValidationError({\ndjango.core.exceptions.ValidationError: {\'template\': [\'Template file with this name already exists\']}\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/InvenTree/tasks.py", line 205, in offload_task\n task.run()\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 730, in run\n self.id = async_task(self.func, *self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/tasks.py", line 75, in async_task\n enqueue_id = broker.enqueue(pack)\n ^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django_q/brokers/orm.py", line 60, in enqueue\n package = self.get_connection().create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' 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/InvenTree/exceptions.py", line 92, in log_error\n Error.objects.create(kind=kind, info=info or \'\', data=data or \'\', path=path)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 665, in create\n obj.save(force_insert=True, using=self.db)\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 902, in save\n self.save_base(\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1008, in save_base\n updated = self._save_table(\n ^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1169, in _save_table\n results = self._do_insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1210, in _do_insert\n return manager._insert(\n ^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method\n return getattr(self.get_queryset(), name)(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1873, in _insert\n return query.get_compiler(using=using).execute_sql(returning_fields)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1882, in execute_sql\n cursor.execute(sql, params)\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute\n return self._execute_with_wrappers(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, 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 99, in _execute\n self.db.validate_no_broken_transaction()\n File "/root/.local/lib/python3.11/site-packages/django/db/backends/base/base.py", line 521, in validate_no_broken_transaction\n raise TransactionManagementError(\ndjango.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can\'t execute queries until the end of the \'atomic\' block.'} 2026-02-21 18:20:38 2026-02-21T18:20:38.166293Z [warning ] plugin.registry.with_mixin: Database not ready [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,166 WARNING {'event': 'plugin.registry.with_mixin: Database not ready', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.166293Z', 'logger': 'inventree', 'level': 'warning'} 2026-02-21 18:20:38 2026-02-21T18:20:38.173155Z [error ] An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. [inventree] ip=172.18.0.1 request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,173 ERROR {'event': TransactionManagementError("An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block."), 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.173155Z', 'logger': 'inventree', 'level': 'error'} 2026-02-21 18:20:38 /root/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1612: RuntimeWarning: DateTimeField NotificationEntry.updated received a naive datetime (2026-02-20 00:00:00) while time zone support is active. 2026-02-21 18:20:38 warnings.warn( 2026-02-21 18:20:38 2026-02-21T18:20:38.478866Z [error ] request_finished [django_structlog.middlewares.request] code=500 ip=172.18.0.1 request='POST /api/stock/count/' request_id=ef081680-cfc2-41b9-9033-5d010ced06a3 user_id=1 2026-02-21 18:20:38 2026-02-21 18:20:38,478 ERROR {'code': 500, 'request': 'POST /api/stock/count/', 'event': 'request_finished', 'request_id': 'ef081680-cfc2-41b9-9033-5d010ced06a3', 'user_id': 1, 'ip': '172.18.0.1', 'timestamp': '2026-02-21T18:20:38.478866Z', 'logger': 'django_structlog.middlewares.request', 'level': 'error'} 2026-02-21 18:20:38 2026-02-21 18:20:38,479 ERROR Internal Server Error: /api/stock/count/ 2026-02-21 18:20:40 2026-02-21 18:20:40,518 ERROR Service Unavailable: /api/stock/count/ 2026-02-21 18:20:42 2026-02-21 18:20:42,526 ERROR Service Unavailable: /api/stock/count/SchrodingersGat commentedon Feb 21, 2026
@TCWilliamson thanks for reporting - this seems to stem from not checking for a null object - fix incoming in #11394
TCWilliamson commentedon Feb 24, 2026
oh Awesome!
What's the best way / commands I need to issue for updating my docker instance to this fixed version / something that works?
Last update... was a mess xD
matmair commentedon Feb 24, 2026
https://docs.inventree.org/en/stable/start/docker_install/#updating-inventree
once 1.3.0 is released
TCWilliamson commentedon Feb 24, 2026
What would you recommend I do until then, as my ability to use my stock system is entirely down 😭
Have I messed up in some way to cause this issue to be specifically only for me? As it's completely crippled the software to the point I can't use it.
SchrodingersGat commentedon Feb 24, 2026
This fix was also back-ported to
1.2.3which has been released: https://hub.docker.com/r/inventree/inventree/tagsPlease update to
1.2.3and confirm that the fix has been applied and solves the issue for you