Closed johanneshk closed 3 months ago
Hi @johanneshk,
This seems like you're either running in debug mode (if so try disabling it and try again)
If it's still not solved, you may have not collected the static files. Could you please post a screenshot of the browsers devtools console and network tab?
(Of course, feel free to redact any sensitive information, e.g. your base url/domain)
Best Lukas
It appears that indeed static files are not loaded properly...
I tried to find how to manually collect static files but couldn't find anything...
Running 'invoke update' doesn't appear to collect static files:
sudo inventree run invoke update
Installing required python packages from 'src/backend/requirements.txt'
Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (24.1.2)
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (69.5.1)
Collecting setuptools
Downloading setuptools-71.0.4-py3-none-any.whl.metadata (6.5 kB)
Downloading setuptools-71.0.4-py3-none-any.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 5.3 MB/s eta 0:00:00
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 69.5.1
Uninstalling setuptools-69.5.1:
Successfully uninstalled setuptools-69.5.1
Successfully installed setuptools-71.0.4
Requirement already satisfied: asgiref==3.8.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 3)) (3.8.1)
Requirement already satisfied: async-timeout==4.0.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 9)) (4.0.3)
Requirement already satisfied: attrs==23.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 13)) (23.2.0)
Requirement already satisfied: babel==2.15.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 19)) (2.15.0)
Requirement already satisfied: bleach==6.1.0 in ./env/lib/python3.9/site-packages (from bleach[css]==6.1.0->-r src/backend/requirements.txt (line 23)) (6.1.0)
Requirement already satisfied: brotli==1.1.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 27)) (1.1.0)
Requirement already satisfied: certifi==2024.2.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 112)) (2024.2.2)
Requirement already satisfied: cffi==1.16.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 118)) (1.16.0)
Requirement already satisfied: charset-normalizer==3.3.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 174)) (3.3.2)
Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 266)) (2.3.3)
Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 269)) (0.0.4)
Requirement already satisfied: cryptography==42.0.7 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 273)) (42.0.7)
Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 309)) (0.7.0)
Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 313)) (0.7.1)
Requirement already satisfied: deprecated==1.2.14 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 319)) (1.2.14)
Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 326)) (20230430)
Requirement already satisfied: dj-rest-auth==6.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 330)) (6.0.0)
Requirement already satisfied: django==4.2.14 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 332)) (4.2.14)
Requirement already satisfied: django-allauth==0.61.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 366)) (0.61.1)
Requirement already satisfied: django-allauth-2fa==0.11.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 369)) (0.11.1)
Requirement already satisfied: django-cleanup==8.1.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 372)) (8.1.0)
Requirement already satisfied: django-cors-headers==4.3.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 375)) (4.3.1)
Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 378)) (1.14.0)
Requirement already satisfied: django-dbbackup==4.1.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 381)) (4.1.0)
Requirement already satisfied: django-error-report-2==0.4.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 384)) (0.4.2)
Requirement already satisfied: django-filter==24.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 387)) (24.2)
Requirement already satisfied: django-flags==5.0.13 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 390)) (5.0.13)
Requirement already satisfied: django-formtools==2.5.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 393)) (2.5.1)
Requirement already satisfied: django-ical==1.9.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 396)) (1.9.2)
Requirement already satisfied: django-import-export==3.3.7 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 399)) (3.3.7)
Requirement already satisfied: django-js-asset==2.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 402)) (2.2.0)
Requirement already satisfied: django-maintenance-mode==0.21.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 406)) (0.21.1)
Requirement already satisfied: django-markdownify==0.9.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 409)) (0.9.3)
Requirement already satisfied: django-money==3.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 412)) (3.2.0)
Requirement already satisfied: django-mptt==0.16.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 415)) (0.16.0)
Requirement already satisfied: django-otp==1.5.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 418)) (1.5.0)
Requirement already satisfied: django-picklefield==3.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 422)) (3.2)
Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 426)) (0.1.6)
Requirement already satisfied: django-q2==1.6.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 428)) (1.6.2)
Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 431)) (1.11.1)
Requirement already satisfied: django-redis==5.4.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 435)) (5.4.0)
Requirement already satisfied: django-sesame==3.2.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 438)) (3.2.2)
Requirement already satisfied: django-sql-utils==0.7.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 441)) (0.7.0)
Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 444)) (0.22)
Requirement already satisfied: django-stdimage==6.0.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 446)) (6.0.2)
Requirement already satisfied: django-taggit==5.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 449)) (5.0.1)
Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 452)) (2.0.0)
Requirement already satisfied: django-weasyprint==2.3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 455)) (2.3.0)
Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 458)) (2.0)
Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 460)) (3.14.0)
Requirement already satisfied: djangorestframework-simplejwt==5.3.1 in ./env/lib/python3.9/site-packages (from djangorestframework-simplejwt[crypto]==5.3.1->-r src/backend/requirements.txt (line 467)) (5.3.1)
Requirement already satisfied: drf-spectacular==0.27.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 470)) (0.27.2)
Requirement already satisfied: dulwich==0.22.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 473)) (0.22.1)
Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 521)) (1.1.0)
Requirement already satisfied: feedparser==6.0.11 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 525)) (6.0.11)
Requirement already satisfied: fonttools==4.51.0 in ./env/lib/python3.9/site-packages (from fonttools[woff]==4.51.0->-r src/backend/requirements.txt (line 528)) (4.51.0)
Requirement already satisfied: googleapis-common-protos==1.63.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 572)) (1.63.0)
Requirement already satisfied: grpcio==1.63.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 578)) (1.63.0)
Requirement already satisfied: gunicorn==22.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 626)) (22.0.0)
Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 629)) (1.1)
Requirement already satisfied: icalendar==5.0.12 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 633)) (5.0.12)
Requirement already satisfied: idna==3.7 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 637)) (3.7)
Requirement already satisfied: importlib-metadata==7.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 641)) (7.0.0)
Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 648)) (0.5.1)
Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 652)) (1.2.0)
Requirement already satisfied: jinja2==3.1.4 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 656)) (3.1.4)
Requirement already satisfied: jsonschema==4.22.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 660)) (4.22.0)
Requirement already satisfied: jsonschema-specifications==2023.12.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 664)) (2023.12.1)
Requirement already satisfied: markdown==3.6 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 668)) (3.6)
Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 672)) (1.14)
Requirement already satisfied: markupsafe==2.1.5 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 675)) (2.1.5)
Requirement already satisfied: oauthlib==3.2.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 737)) (3.2.2)
Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 741)) (1.4.1)
Requirement already satisfied: openpyxl==3.1.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 744)) (3.1.2)
Requirement already satisfied: opentelemetry-api==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 748)) (1.24.0)
Requirement already satisfied: opentelemetry-exporter-otlp==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 760)) (1.24.0)
Requirement already satisfied: opentelemetry-exporter-otlp-proto-common==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 763)) (1.24.0)
Requirement already satisfied: opentelemetry-exporter-otlp-proto-grpc==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 769)) (1.24.0)
Requirement already satisfied: opentelemetry-exporter-otlp-proto-http==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 773)) (1.24.0)
Requirement already satisfied: opentelemetry-instrumentation==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 777)) (0.45b0)
Requirement already satisfied: opentelemetry-instrumentation-django==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 785)) (0.45b0)
Requirement already satisfied: opentelemetry-instrumentation-redis==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 788)) (0.45b0)
Requirement already satisfied: opentelemetry-instrumentation-requests==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 791)) (0.45b0)
Requirement already satisfied: opentelemetry-instrumentation-wsgi==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 794)) (0.45b0)
Requirement already satisfied: opentelemetry-proto==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 798)) (1.24.0)
Requirement already satisfied: opentelemetry-sdk==1.24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 805)) (1.24.0)
Requirement already satisfied: opentelemetry-semantic-conventions==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 811)) (0.45b0)
Requirement already satisfied: opentelemetry-util-http==0.45b0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 820)) (0.45b0)
Requirement already satisfied: packaging==24.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 827)) (24.0)
Requirement already satisfied: pdf2image==1.17.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 831)) (1.17.0)
Requirement already satisfied: pillow==10.3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 834)) (10.3.0)
Requirement already satisfied: pint==0.21 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 910)) (0.21)
Requirement already satisfied: pip-licenses==4.4.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 913)) (4.4.0)
Requirement already satisfied: prettytable==3.10.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 916)) (3.10.0)
Requirement already satisfied: protobuf==4.25.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 920)) (4.25.3)
Requirement already satisfied: py-moneyed==3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 935)) (3.0)
Requirement already satisfied: pycparser==2.22 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 939)) (2.22)
Requirement already satisfied: pydyf==0.10.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 943)) (0.10.0)
Requirement already satisfied: pyjwt==2.8.0 in ./env/lib/python3.9/site-packages (from pyjwt[crypto]==2.8.0->-r src/backend/requirements.txt (line 947)) (2.8.0)
Requirement already satisfied: pyphen==0.15.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 953)) (0.15.0)
Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 957)) (0.20220715.0)
Requirement already satisfied: python-barcode==0.15.1 in ./env/lib/python3.9/site-packages (from python-barcode[images]==0.15.1->-r src/backend/requirements.txt (line 961)) (0.15.1)
Requirement already satisfied: python-dateutil==2.9.0.post0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 964)) (2.9.0.post0)
Requirement already satisfied: python-dotenv==1.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 970)) (1.0.1)
Requirement already satisfied: python-fsutil==0.14.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 973)) (0.14.1)
Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 977)) (3.2.0)
Requirement already satisfied: pytz==2024.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 981)) (2024.1)
Requirement already satisfied: pyyaml==6.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 988)) (6.0.1)
Requirement already satisfied: qrcode==7.4.2 in ./env/lib/python3.9/site-packages (from qrcode[pil]==7.4.2->-r src/backend/requirements.txt (line 1043)) (7.4.2)
Requirement already satisfied: rapidfuzz==3.9.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1047)) (3.9.0)
Requirement already satisfied: redis==5.0.4 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1138)) (5.0.4)
Requirement already satisfied: referencing==0.35.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1142)) (0.35.1)
Requirement already satisfied: regex==2024.4.28 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1148)) (2024.4.28)
Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1228)) (2.31.0)
Requirement already satisfied: requests-oauthlib==2.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1236)) (2.0.0)
Requirement already satisfied: rpds-py==0.18.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1240)) (0.18.1)
Requirement already satisfied: sentry-sdk==2.1.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1343)) (2.1.1)
Collecting setuptools==69.5.1 (from -r src/backend/requirements.txt (line 1347))
Downloading setuptools-69.5.1-py3-none-any.whl (894 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 894.6/894.6 kB 6.2 MB/s eta 0:00:00
Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1353)) (1.0.0)
Requirement already satisfied: six==1.16.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1356)) (1.16.0)
Requirement already satisfied: sqlparse==0.5.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1363)) (0.5.0)
Requirement already satisfied: tablib==3.5.0 in ./env/lib/python3.9/site-packages (from tablib[html,ods,xls,xlsx,yaml]==3.5.0->-r src/backend/requirements.txt (line 1369)) (3.5.0)
Requirement already satisfied: tinycss2==1.2.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1373)) (1.2.1)
Requirement already satisfied: typing-extensions==4.11.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1380)) (4.11.0)
Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1389)) (4.1.1)
Requirement already satisfied: urllib3==2.2.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1395)) (2.2.1)
Requirement already satisfied: wcwidth==0.2.13 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1402)) (0.2.13)
Requirement already satisfied: weasyprint==61.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1406)) (61.2)
Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1410)) (0.5.1)
Requirement already satisfied: whitenoise==6.6.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1418)) (6.6.0)
Requirement already satisfied: wrapt==1.16.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1421)) (1.16.0)
Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1496)) (2.0.1)
Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1500)) (1.3.0)
Requirement already satisfied: zipp==3.18.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1504)) (3.18.1)
Requirement already satisfied: zopfli==0.2.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1508)) (0.2.3)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 71.0.4
Uninstalling setuptools-71.0.4:
Successfully uninstalled setuptools-71.0.4
Successfully installed setuptools-69.5.1
Installing plugin packages from '/etc/inventree/plugins.txt'
Requirement already satisfied: inventree-brother-plugin in ./env/lib/python3.9/site-packages (from -r /etc/inventree/plugins.txt (line 2)) (0.9.0)
Requirement already satisfied: inventree-bulk-plugin in ./env/lib/python3.9/site-packages (from -r /etc/inventree/plugins.txt (line 4)) (1.3.0)
Requirement already satisfied: brother-ql-inventree>=1.1 in ./env/lib/python3.9/site-packages (from inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (1.2)
Requirement already satisfied: pydantic==2.* in ./env/lib/python3.9/site-packages (from inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (2.8.2)
Requirement already satisfied: Jinja2==3.* in ./env/lib/python3.9/site-packages (from inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (3.1.4)
Requirement already satisfied: MarkupSafe>=2.0 in ./env/lib/python3.9/site-packages (from Jinja2==3.*->inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (2.1.5)
Requirement already satisfied: annotated-types>=0.4.0 in ./env/lib/python3.9/site-packages (from pydantic==2.*->inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (0.7.0)
Requirement already satisfied: pydantic-core==2.20.1 in ./env/lib/python3.9/site-packages (from pydantic==2.*->inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (2.20.1)
Requirement already satisfied: typing-extensions>=4.6.1 in ./env/lib/python3.9/site-packages (from pydantic==2.*->inventree-bulk-plugin->-r /etc/inventree/plugins.txt (line 4)) (4.11.0)
Requirement already satisfied: click in ./env/lib/python3.9/site-packages (from brother-ql-inventree>=1.1->inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (8.1.7)
Requirement already satisfied: packbits in ./env/lib/python3.9/site-packages (from brother-ql-inventree>=1.1->inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (0.6)
Requirement already satisfied: pillow>=10.0.0 in ./env/lib/python3.9/site-packages (from brother-ql-inventree>=1.1->inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (10.3.0)
Requirement already satisfied: pyusb in ./env/lib/python3.9/site-packages (from brother-ql-inventree>=1.1->inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (1.2.1)
Requirement already satisfied: attrs in ./env/lib/python3.9/site-packages (from brother-ql-inventree>=1.1->inventree-brother-plugin->-r /etc/inventree/plugins.txt (line 2)) (23.2.0)
Backing up InvenTree database...
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Backing Up Database: /opt/inventree/data/database.sqlite3
Backup size: 1.6 MiB
Writing file to default-inventree-2024-07-21-085453.dump.gz
Backing up InvenTree media files...
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Backup size: 10.3 MiB
Writing file to inventree-2024-07-21-085457.tar.gz
Running InvenTree database migrations...
========================================
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
No changes detected
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Operations to perform:
Synchronize unmigrated apps: allauth, allauth_2fa, corsheaders, crispy_forms, dbbackup, dj_rest_auth, django_cleanup, django_filters, django_ical, django_otp, djmoney, drf_spectacular, formtools, generic, import_export, maintenance_mode, markdownify, messages, mptt, registration, rest_framework, runserver_nostatic, staticfiles, web
Apply all migrations: InvenTree, account, admin, auth, build, common, company, contenttypes, django_q, error_report, exchange, flags, label, machine, order, otp_static, otp_totp, part, plugin, report, socialaccount, stock, taggit, user_sessions, users
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Running migrations:
No migrations to apply.
========================================
InvenTree database migrations completed!
Updating frontend...
Downloading frontend...
fatal: not a git repository (or any of the parent directories): .git
[INFO] Running in package environment, got commit "b13cd712dc87c6d67013a7cccc2795d1a60b959c" from VERSION file
Current frontend information for commit is not available - this is expected in some cases
Found workflow QC (run 13497-1)
Found artifact frontend-build with id 1713798115 (1.88MB).
GitHub doesn't allow artifact downloads from anonymous users. Either download the following file
via your signed in browser, or consider using a point release download via invoke frontend-download --tag <git-tag>
Download: https://github.com/InvenTree/inventree/suites/26140571385/artifacts/1713798115 manually and
continue by running: invoke frontend-download --file <path-to-downloaded-zip-file>
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Rendered all files in /opt/inventree/src/backend/InvenTree/templates/js/translated
Collecting static files...
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Python version 3.9.5 - /opt/inventree/env/bin/python3
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Python version 3.9.5 - /opt/inventree/env/bin/python3
File “/opt/inventree/src/backend/InvenTree/locale/th/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/zh/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/en/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/fa/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/fr/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/tr/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/sr/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/sv/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/it/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/zh_hant/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/es/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/es_MX/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/he/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/hi/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/hu/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/zh_Hans/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/bg/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/ko/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/no/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/pl/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/sl/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/lv/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/da/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/ja/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/el/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/fi/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/de/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/nl/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/sk/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/ru/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/pt/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/vi/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/pt_br/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/id/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/uk/LC_MESSAGES/django.po” is already compiled and up to date.
File “/opt/inventree/src/backend/InvenTree/locale/cs/LC_MESSAGES/django.po” is already compiled and up to date.
InvenTree translation coverage: 19%
Though now I see that updating the frontend failed, so I'll try to manually update that.
EDIT: Based on https://github.com/inventree/InvenTree/issues/5413 it appears I shouldn't need to manually update the frontend since I installed using the installer? So I'll wait for further advice for now. Thanks!
I don't think DEBUG is enabled:
sudo inventree config
APP_GROUP=inventree
APP_HOME=/opt/inventree
APP_NAME=inventree
APP_RUNNER_CLI=systemctl
APP_RUNNER_TYPE=systemd
APP_SAFE_NAME=inventree
APP_USER=inventree
APP_WIZARDS=
FORWARDED_ALLOW_IPS=*
GUNICORN_CMD_ARGS=--access-logfile -
HOME=/home/inventree
INVENTREE_CONFIG_FILE=/etc/inventree/config.yaml
INVENTREE_SITE_URL=http://xxx
LANG=en_US.UTF-8
OLDPWD=/
ORIGINAL_PWD=/home/johannes
PATH=/opt/inventree/.heroku/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin
PORT=6000
PWD=/opt/inventree
PYTHONHASHSEED=random
PYTHONPATH=/opt/inventree
PYTHONUNBUFFERED=true
ROOT_PATH=/
SHLVL=0
Yes, the problem is with static files. inventree/inventree#7425 has broken how static files were collected. I'll be working on updating the plugin.
Are you sure, you're running v0.15.x? Then this seems like a different bug, as the mentioned PR is was not back ported into 0.15.x. Could you please check the following three things for me:
inventree-bulk-plugin
or plugins/inventree-bulk-plugin
. If there is one of those, please post back which one and the contents of the folder.
sudo inventree run invoke static
, and check again.http://your-domain.com/static/inventree-bulk-plugin/dist/bulk-creation-panel.js
or http://your-domain.com/static/plugins/inventree-bulk-plugin/inventree-bulk-plugin/dist/bulk-creation-panel.js
Have the same issue. After running invoke static
, neither subdirectory shows up.
Have the same issue. After running
invoke static
, neither subdirectory shows up.
@eiaro How have you installed inventree? Using the installer? Docker? And which version (best would be to also provide the commit hash, you can find that in the ui with the about inventree modal)
@wolflu05 Installed Inventree by following the official Docker guide. I'm running 0.15.5 (stable).
InvenTree-Version: 0.15.5 Django Version: 4.2.14 Commit Hash: cc45357 Commit Date: 2024-07-12
Database: postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-6.1.0-10-amd64-x86_64-with Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'Brother Labels', 'slug': 'brother', 'version': '0.9.0'}, {'name': 'IPNGenerator', 'slug': 'ipngen', 'version': '0.1'}, {'name': 'InvenTreeBulkPlugin', 'slug': 'inventree-bulk-plugin', 'version': '1.3.0'}]
Thanks for that information, that helps. There seems to be multiple issues at the inventree side with the latest version and plugins in my tests. But not sure about stable I need to do some deeper analysis in the next days.
I have checked with stable again. It's working fine for me there. Have you @eiaro and @johanneshk both checked, that you have enabled the app integration and url integration plugins, like described in step 1 of the install guide in the readme?
In PUI:
Or CUI:
If not, activate both, stop the server, run invoke update
and then start the server again. The plugin should work just fine then. Please let me know if that fixed it.
@wolflu05 I'm so sorry, I indeed didn't have the switches above enabled :( . I honestly didn't understand this part in the documentation "Make sure you allow the use of the url integration and app integration" and then just didn't consider it further. I enabled the switch and invoked 'update' and now it works! If you think it's useful I can submit an update to the instruction, I think something like the following would have made it clear to me (as an absolute beginner with Inventree):
"Make sure to enable 'Enable URL integration' and 'Enable app integration' switches in Plugin Settings section"
Again, my bad and oversight, I didn't read the documentation with enough care. Thanks!
Glad that we got this sorted out. And thanks, that's also how I discovered that plugins using static files won't work correctly with the latest version before the latest version is officially released, so this can be fixed.
I think something like the following would have made it clear to me
Thats a very good suggestion, I'll change that in the documentation in a few days when I'll fix the issue with the latest version, as the install instructions are slightly simpler with 0.16 then (no need to manually invoke update, the static files should be collected and migrations should run automatically then).
Hello, I have an issue where the bulk creation UI is not visible. I installed inventree 0.15.5 via the installer. I also ran
sudo inventree run invoke update
and then restart.Should there be a section in /admin for the bulk plugin (because there is not)? Did I mis-understand anything?
Thanks!