Closed Philipboy881 closed 1 month ago
Spam, do not click that link
@Philipboy881 There is not much we can do without the log output
Relevant log output seems to be:
# Clearing precompiled files
No idea what 'clear-generated' is!
@SchrodingersGat that is not blocking and should not fail the deployment
I have try'd multiple things, but cannot figure it out. When I don't the inventree update only command it will change the settings in nginx sites available. After the failed update I cannot get into the site via url https://inventree.example.com https://192.168.1.47 does also not work but if I go to http://192.168.1.47 I can reach the site but by information it still say's 0.14 dev
I am having the same issue on Debian bullseye when trying to upgrade from 15.7 to 16.0. After digging into the issue it is the command 'sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke clear-generated"' from the prerm script in the debian package failing the invoke with an unknown command error. This causes the package install to fail, since prerm is invoked as the first stem in a package upgrade, and it exits with an error status.
sudo apt-get remove --purge python3-invoke pip install --user invoke ~/.local/bin/invoke --version export PATH=$HOME/.local/bin:$PATH source ~/.bashrc invoke --version
cd /opt/inventree sudo git clone https://github.com/inventree/InvenTree.git temp_inventree sudo cp temp_inventree/tasks.py /opt/inventree/tasks.py sudo rm -rf temp_inventree
sudo apt install --only-upgrade inventree
after this i was able to upgrade inventree to v0.16. but i still have to do the database migrations. i get some error's in there mostly config errors because the config. i will look at this tomorrow
We have released 0.16.1 - which should fix several upgrade issues. Please try updating using regular apt upgrade Ref https://github.com/inventree/InvenTree/pull/8034
sudo apt-get remove --purge python3-invoke pip install --user invoke ~/.local/bin/invoke --version export PATH=$HOME/.local/bin:$PATH source ~/.bashrc invoke --version
cd /opt/inventree sudo git clone https://github.com/inventree/InvenTree.git temp_inventree sudo cp temp_inventree/tasks.py /opt/inventree/tasks.py sudo rm -rf temp_inventree
sudo apt install --only-upgrade inventree
Already did the above
Now need to migrate db
Sudo su inventree Cd /opt/inventree Source en/bin/activate Invoke migrate This will give an error because something goes wrong in the config Nano /opt/inventree/scr/backendInvenTree/config.yaml
There you need to fix the db settings from your old config file example
ENGINE: sqlite3 NAME: '/opt/inventree/data/database.sqlite3' USER: sampleuser PASSWORD: samplepassword HOST: samplehost PORT: 123456
And the location of some files Media_root:... Static_root:... Backup_dir:...
I needed to change /home/ to /opt/
After this: invoke migrate Invoke update to be Shure exit
Sudo nano /etc/nginx/sites-enabled/inventree.conf
Change the SSL settings if used Sudo reboot now
And it is working...
InvenTree-Version: 0.17.0 dev Django Version: 4.2.14
Database: sqlite3 Debug-Mode: False Deployed using Docker: False Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.35 Installer: None
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', '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.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': 'Zebra', 'slug': 'zebra', 'version': '0.5.2'}]
there are a lot of error's still. but maby i can migrate the database to a fresh install to make it working smoothly ?
Ok so 90% of the stuff you are doing is not necessary and probably causing issues. If you want to call any invoke task with the package installer you can use inventree run cli
and append the command you want -> inventree run cli migrate
. All the environment setup and isolation stuff is done for you.
In a normal package install your config is in /etc/inventree/config.yaml, not /opt/inventree/src/...
Changing settings in /etc/nginx/sites-enabled/inventree.conf
is going to cause issues as those files are overwritten with updates, add a custom site config if you want to use SSL or change something else.
This is documented behaviour: https://docs.inventree.org/en/stable/start/installer/?h=webconfig#webconfig
Without listing errors and logs we will not be able to help you
i just retry'd the last command sudo systemctl stop inventree sudo apt install --only-upgrade inventree
and i still get an error with
No idea what 'clear-generated' is! and at the end dpkg has failed
if i get tasks.py from github and put it in my inventree folder (replace old tasks.py) the (sudo apt-install --only-upgrade inventree) will pass. and then i did the migation command (sudo inventree run cli migrate).
when its all done i still get white screen with the text none on the new ui and if i am at the home page i will see parts listed in recently addet list. but when i go to parts i will see an amount but nothing else.
Which version are you extracting? It sounds like you are still using a cached version of the broken 0.16.0 (rc) release and not 0.16.1
I have a snapshot of the system before I try'd to update and it starts downloading a package when I start 'sudo apt install --only-upgrade inventree' Witch version I do not know right now. I will look into this
The version is listed when you do an apt install in the first few lines. This all would be much easier if you would provide full log outputs, not just the snippets you think are important. Updating answers also is not helpful as no one gets update notifications for that. We are not looking at 200+ issues to see if something changed
i needed to change this sudo nano /etc/apt/sources.list.d/inventree.list deb https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 main
and then sudo apt-get update apt-cache policy inventree
i got v 0.16.1 and installed it. still an broken install.
i spun up a fresh install of ubuntu 20.04 and run the single line install command copied the files sqlite3 database and media to the new server and gave it the inventree user and group permisions. ik think i can safly say it is workin. printing works viewing parts works i think i fixed it.
thanx for the support
philip@inventree:~$ sudo nano /etc/apt/sources.list.d/inventree.list
[sudo] password for philip:
philip@inventree:~$ sudo apt-get update
Geraakt:1 http://be.archive.ubuntu.com/ubuntu jammy InRelease
Ophalen:2 http://be.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Ophalen:3 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 InRelease [1.863 B]
Geraakt:4 http://be.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ophalen:5 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 /main amd64 Packages [6.178 B]
Ophalen:6 http://be.archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Ophalen:7 http://be.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1.987 kB]
Geraakt:8 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Ophalen:9 http://be.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packa ges [1.112 kB]
3.364 kB opgehaald in 3s (1.058 kB/s)
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 3, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Pakketlijsten worden ingelezen... Klaar
W: https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu/dists/20.04/ InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), s ee the DEPRECATION section in apt-key(8) for details.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-u pdate-db > /dev/null; fi'
E: Sub-process returned an error code
philip@inventree:~$ sudo apt install --only-upgrade inventree
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar
De volgende pakketten zullen opgewaardeerd worden:
inventree
1 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 226 niet opgewaardee rd.
Er moeten 72,9 MB aan archieven opgehaald worden.
Na deze bewerking zal er 161 MB schijfruimte vrijkomen.
Ophalen:1 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 /main amd64 inventree amd64 0.16.1-1724998827.4c15e5c9.focal [72,9 MB]
72,9 MB opgehaald in 40s (1.823 kB/s)
(Database wordt ingelezen ... 148628 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van .../inventree_0.16.1-1724998827.4c15e5c9.focal_amd64.deb wordt voorbereid...
# Clearing precompiled files - skipping
Bezig met uitpakken van inventree (0.16.1-1724998827.4c15e5c9.focal) over (0.13.0-1703134809.fc5645a9.focal) ...
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/part/templatetags' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/part/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/part' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/web/templatetags' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/web' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/users/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/users' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/label/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/label' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/build/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/build' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/de/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/de' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pl/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pl' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fi/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fi' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ko/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ko' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/vi/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/vi' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sv/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sv' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/id/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/id' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/he/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/he' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/nl/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/nl' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fr/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fr' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/cs/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/cs' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/bg/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/bg' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/th/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/th' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/el/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/el' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/tr/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/tr' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/es/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/es' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pt/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pt' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/it/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/it' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/da/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/da' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ja/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ja' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sr/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sr' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/hi/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/hi' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sl/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/sl' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fa/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/fa' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/es_MX/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/es_MX' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh_Hans/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh_Hans' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/en/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/en' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/no/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/no' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/hu/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/hu' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pt_br/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/pt_br' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh_hant/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/zh_hant' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ru/LC_MESSAGES' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale/ru' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/locale' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/generic/templatetags' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/generic/states' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/generic' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/InvenTree/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/InvenTree/management/commands' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/InvenTree/management' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/InvenTree' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/stock/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/stock' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/common/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/common' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/report/templatetags' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/report/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/report' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/barcodes' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/label' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/integration' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/action' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/event' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base/locate' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/base' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/samples/integration' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/samples/event' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/samples/locate' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/samples' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/templatetags' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/builtin/barcodes' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/builtin/labels' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/builtin/integration' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/builtin/suppliers' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/builtin' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin/mixins' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugin' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/company/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/company' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/plugins' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/order/migrations' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree/order' niet verwijderen: Directory not empty
dpkg: waarschuwing: kan de oude map '/opt/inventree/InvenTree' niet verwijderen: Directory not empty
Instellen van inventree (0.16.1-1724998827.4c15e5c9.focal) ...
# Setting base environment variables
# Using existing config file: /etc/inventree/config.yaml
[notice] A new release of pip is available: 23.3.2 -> 24.2
[notice] To update, run: pip install --upgrade pip
# Collected environment variables:
# INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
# INVENTREE_STATIC_ROOT=/opt/inventree/data/static
# INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
# INVENTREE_PLUGINS_ENABLED=true
# INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
# INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
# INVENTREE_DB_ENGINE=sqlite3
# INVENTREE_DB_NAME=/opt/inventree/data/database.sqlite3
# INVENTREE_DB_USER=sampleuser
# INVENTREE_DB_HOST=samplehost
# INVENTREE_DB_PORT=123456
# Getting the IP address of the server via web service
IP address is **.***.***.**
# Python environment already present
# Found earlier used version: /opt/inventree/env/bin/python
# Checking if update checks are needed
# Running upgrade
# Old version is: 0.13.0-1703134809.fc5645a9.focal - release: 13
# Setting up python environment
Requirement already satisfied: invoke in ./env/lib/python3.9/site-packages (2.2.0)
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.42.0)
[notice] A new release of pip is available: 23.3.2 -> 24.2
[notice] To update, run: pip install --upgrade pip
# Stopping nginx
# Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# Starting nginx
# (Re)creating init scripts
Nothing to do.
Nothing to do.
# Enabling InvenTree on boot
# Admin data already exists - skipping
# Stopping InvenTree
# Updating InvenTree
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.42.0)
[notice] A new release of pip is available: 23.3.2 -> 24.2
[notice] To update, run: pip install --upgrade pip
# inv update| Installing required python packages from 'src/backend/requirements.txt'
# inv update| Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (23.3.2)
# inv update| Collecting pip
# inv update| Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
# inv update| Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (69.0.2)
# inv update| Collecting setuptools
# inv update| Downloading setuptools-74.0.0-py3-none-any.whl.metadata (6.7 kB)
# inv update| Downloading pip-24.2-py3-none-any.whl (1.8 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 2.1 MB/s eta 0:00:00
# inv update| Downloading setuptools-74.0.0-py3-none-any.whl (1.3 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 2.1 MB/s eta 0:00:00
# inv update| Installing collected packages: setuptools, pip
# inv update| Attempting uninstall: setuptools
# inv update| Found existing installation: setuptools 69.0.2
# inv update| Uninstalling setuptools-69.0.2:
# inv update| Successfully uninstalled setuptools-69.0.2
# inv update| Attempting uninstall: pip
# inv update| Found existing installation: pip 23.3.2
# inv update| Uninstalling pip-23.3.2:
# inv update| Successfully uninstalled pip-23.3.2
# inv update| Successfully installed pip-24.2 setuptools-74.0.0
# inv update| Collecting asgiref==3.8.1 (from -r src/backend/requirements.txt (line 3))
# inv update| Downloading asgiref-3.8.1-py3-none-any.whl (23 kB)
# inv update| 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)
# inv update| Collecting attrs==23.2.0 (from -r src/backend/requirements.txt (line 13))
# inv update| Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
# inv update| Collecting babel==2.15.0 (from -r src/backend/requirements.txt (line 19))
# inv update| Downloading Babel-2.15.0-py3-none-any.whl (9.6 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 2.6 MB/s eta 0:00:00
# inv update| 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)
# inv update| 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)
# inv update| Requirement already satisfied: certifi==2024.7.4 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 112)) (2024.7.4)
# inv update| 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)
# inv update| 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)
# inv update| 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)
# inv update| Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 270)) (0.0.4)
# inv update| Collecting cryptography==42.0.8 (from -r src/backend/requirements.txt (line 274))
# inv update| Downloading cryptography-42.0.8-cp39-abi3-manylinux_2_28_x86_64.whl (3.9 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 2.8 MB/s eta 0:00:00
# inv update| Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 310)) (0.7.0)
# inv update| Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 314)) (0.7.1)
# inv update| Collecting deprecated==1.2.14 (from -r src/backend/requirements.txt (line 320))
# inv update| Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
# inv update| Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 327)) (20230430)
# inv update| Collecting dj-rest-auth==6.0.0 (from -r src/backend/requirements.txt (line 331))
# inv update| Downloading dj-rest-auth-6.0.0.tar.gz (220 kB)
# inv update| Preparing metadata (setup.py): started
# inv update| Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting django==4.2.15 (from -r src/backend/requirements.txt (line 334))
# inv update| Downloading Django-4.2.15-py3-none-any.whl (8.0 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 2.1 MB/s eta 0:00:00
# inv update| Collecting django-allauth==0.63.3 (from django-allauth[openid,saml]==0.63.3->-r src/backend/requirements.txt (line 369))
# inv update| Downloading django_allauth-0.63.3.tar.gz (1.1 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.4 MB/s eta 0:00:00
# inv update| Installing build dependencies: started
# inv update| Installing build dependencies: finished with status 'done'
# inv update| Getting requirements to build wheel: started
# inv update| Getting requirements to build wheel: finished with status 'done'
# inv update| Preparing metadata (pyproject.toml): started
# inv update| Preparing metadata (pyproject.toml): finished with status 'done'
# inv update| Requirement already satisfied: django-allauth-2fa==0.11.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 374)) (0.11.1)
# inv update| Collecting django-cleanup==8.1.0 (from -r src/backend/requirements.txt (line 378))
# inv update| Downloading django_cleanup-8.1.0-py2.py3-none-any.whl (10 kB)
# inv update| Collecting django-cors-headers==4.4.0 (from -r src/backend/requirements.txt (line 382))
# inv update| Downloading django_cors_headers-4.4.0-py3-none-any.whl (12 kB)
# inv update| Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 386)) (1.14.0)
# inv update| Collecting django-dbbackup==4.1.0 (from -r src/backend/requirements.txt (line 390))
# inv update| Downloading django_dbbackup-4.1.0-py3-none-any.whl (56 kB)
# inv update| Requirement already satisfied: django-error-report-2==0.4.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 394)) (0.4.2)
# inv update| Collecting django-filter==24.2 (from -r src/backend/requirements.txt (line 398))
# inv update| Downloading django_filter-24.2-py3-none-any.whl (94 kB)
# inv update| Requirement already satisfied: django-flags==5.0.13 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 402)) (5.0.13)
# inv update| Collecting django-formtools==2.5.1 (from -r src/backend/requirements.txt (line 406))
# inv update| Downloading django_formtools-2.5.1-py3-none-any.whl (170 kB)
# inv update| Requirement already satisfied: django-ical==1.9.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 410)) (1.9.2)
# inv update| Collecting django-import-export==3.3.9 (from -r src/backend/requirements.txt (line 414))
# inv update| Downloading django_import_export-3.3.9-py3-none-any.whl (112 kB)
# inv update| Collecting django-js-asset==2.2.0 (from -r src/backend/requirements.txt (line 418))
# inv update| Downloading django_js_asset-2.2.0-py3-none-any.whl (4.7 kB)
# inv update| Collecting django-maintenance-mode==0.21.1 (from -r src/backend/requirements.txt (line 422))
# inv update| Downloading django_maintenance_mode-0.21.1-py3-none-any.whl (16 kB)
# inv update| Collecting django-markdownify==0.9.5 (from -r src/backend/requirements.txt (line 426))
# inv update| Downloading django_markdownify-0.9.5-py3-none-any.whl (10 kB)
# inv update| Requirement already satisfied: django-money==3.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 430)) (3.2.0)
# inv update| Collecting django-mptt==0.16.0 (from -r src/backend/requirements.txt (line 434))
# inv update| Downloading django_mptt-0.16.0-py3-none-any.whl (115 kB)
# inv update| Collecting django-otp==1.5.0 (from -r src/backend/requirements.txt (line 438))
# inv update| Downloading django_otp-1.5.0-py3-none-any.whl (80 kB)
# inv update| Collecting django-picklefield==3.2 (from -r src/backend/requirements.txt (line 442))
# inv update| Downloading django_picklefield-3.2-py3-none-any.whl (9.5 kB)
# inv update| Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 446)) (0.1.6)
# inv update| Collecting django-q2==1.6.2 (from -r src/backend/requirements.txt (line 449))
# inv update| Downloading django_q2-1.6.2-py3-none-any.whl (101 kB)
# inv update| Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 453)) (1.11.1)
# inv update| Requirement already satisfied: django-redis==5.4.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 457)) (5.4.0)
# inv update| Collecting django-sesame==3.2.2 (from -r src/backend/requirements.txt (line 461))
# inv update| Downloading django_sesame-3.2.2-py3-none-any.whl (20 kB)
# inv update| Requirement already satisfied: django-sql-utils==0.7.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 465)) (0.7.0)
# inv update| Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 469)) (0.22)
# inv update| Requirement already satisfied: django-stdimage==6.0.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 472)) (6.0.2)
# inv update| Collecting django-taggit==5.0.1 (from -r src/backend/requirements.txt (line 476))
# inv update| Downloading django_taggit-5.0.1-py3-none-any.whl (61 kB)
# inv update| Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 480)) (2.0.0)
# inv update| Collecting django-weasyprint==2.3.0 (from -r src/backend/requirements.txt (line 484))
# inv update| Downloading django_weasyprint-2.3.0-py3-none-any.whl (10 kB)
# inv update| Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 488)) (2.0)
# inv update| Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 491)) (3.14.0)
# inv update| Collecting djangorestframework-simplejwt==5.3.1 (from djangorestframework-simplejwt[crypto]==5.3.1->-r src/backend/requirements.txt (line 499))
# inv update| Downloading djangorestframework_simplejwt-5.3.1-py3-none-any.whl (101 kB)
# inv update| Collecting drf-spectacular==0.27.2 (from -r src/backend/requirements.txt (line 503))
# inv update| Downloading drf_spectacular-0.27.2-py3-none-any.whl (102 kB)
# inv update| Collecting dulwich==0.22.1 (from -r src/backend/requirements.txt (line 507))
# inv update| Downloading dulwich-0.22.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (981 kB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 981.1/981.1 kB 2.7 MB/s eta 0:00:00
# inv update| Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 556)) (1.1.0)
# inv update| Collecting feedparser==6.0.11 (from -r src/backend/requirements.txt (line 560))
# inv update| Downloading feedparser-6.0.11-py3-none-any.whl (81 kB)
# inv update| Collecting fonttools==4.53.0 (from fonttools[woff]==4.53.0->-r src/backend/requirements.txt (line 564))
# inv update| Downloading fonttools-4.53.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 1.8 MB/s eta 0:00:00
# inv update| Collecting googleapis-common-protos==1.63.2 (from -r src/backend/requirements.txt (line 608))
# inv update| Downloading googleapis_common_protos-1.63.2-py2.py3-none-any.whl (220 kB)
# inv update| Collecting grpcio==1.64.1 (from -r src/backend/requirements.txt (line 614))
# inv update| Downloading grpcio-1.64.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 1.6 MB/s eta 0:00:00
# inv update| Collecting gunicorn==22.0.0 (from -r src/backend/requirements.txt (line 664))
# inv update| Downloading gunicorn-22.0.0-py3-none-any.whl (84 kB)
# inv update| Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 668)) (1.1)
# inv update| Collecting icalendar==5.0.13 (from -r src/backend/requirements.txt (line 672))
# inv update| Downloading icalendar-5.0.13-py3-none-any.whl (118 kB)
# inv update| Requirement already satisfied: idna==3.7 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 676)) (3.7)
# inv update| Collecting importlib-metadata==7.1.0 (from -r src/backend/requirements.txt (line 680))
# inv update| Downloading importlib_metadata-7.1.0-py3-none-any.whl (24 kB)
# inv update| Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 687)) (0.5.1)
# inv update| Collecting isodate==0.6.1 (from -r src/backend/requirements.txt (line 691))
# inv update| Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB)
# inv update| Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 695)) (1.2.0)
# inv update| Collecting jinja2==3.1.4 (from -r src/backend/requirements.txt (line 699))
# inv update| Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
# inv update| Collecting jsonschema==4.22.0 (from -r src/backend/requirements.txt (line 703))
# inv update| Downloading jsonschema-4.22.0-py3-none-any.whl (88 kB)
# inv update| Collecting jsonschema-specifications==2023.12.1 (from -r src/backend/requirements.txt (line 707))
# inv update| Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
# inv update| Collecting lxml==5.2.2 (from -r src/backend/requirements.txt (line 711))
# inv update| Downloading lxml-5.2.2-cp39-cp39-manylinux_2_28_x86_64.whl (5.0 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 2.4 MB/s eta 0:00:00
# inv update| Collecting markdown==3.6 (from -r src/backend/requirements.txt (line 857))
# inv update| Downloading Markdown-3.6-py3-none-any.whl (105 kB)
# inv update| Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 861)) (1.14)
# inv update| Collecting markupsafe==2.1.5 (from -r src/backend/requirements.txt (line 864))
# inv update| Downloading MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
# inv update| Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 926)) (1.4.1)
# inv update| Collecting openpyxl==3.1.4 (from -r src/backend/requirements.txt (line 929))
# inv update| Downloading openpyxl-3.1.4-py2.py3-none-any.whl (251 kB)
# inv update| Collecting opentelemetry-api==1.25.0 (from -r src/backend/requirements.txt (line 933))
# inv update| Downloading opentelemetry_api-1.25.0-py3-none-any.whl (59 kB)
# inv update| Collecting opentelemetry-exporter-otlp==1.25.0 (from -r src/backend/requirements.txt (line 947))
# inv update| Downloading opentelemetry_exporter_otlp-1.25.0-py3-none-any.whl (7.0 kB)
# inv update| Collecting opentelemetry-exporter-otlp-proto-common==1.25.0 (from -r src/backend/requirements.txt (line 951))
# inv update| Downloading opentelemetry_exporter_otlp_proto_common-1.25.0-py3-none-any.whl (17 kB)
# inv update| Collecting opentelemetry-exporter-otlp-proto-grpc==1.25.0 (from -r src/backend/requirements.txt (line 957))
# inv update| Downloading opentelemetry_exporter_otlp_proto_grpc-1.25.0-py3-none-any.whl (18 kB)
# inv update| Collecting opentelemetry-exporter-otlp-proto-http==1.25.0 (from -r src/backend/requirements.txt (line 961))
# inv update| Downloading opentelemetry_exporter_otlp_proto_http-1.25.0-py3-none-any.whl (16 kB)
# inv update| Collecting opentelemetry-instrumentation==0.46b0 (from -r src/backend/requirements.txt (line 965))
# inv update| Downloading opentelemetry_instrumentation-0.46b0-py3-none-any.whl (29 kB)
# inv update| Collecting opentelemetry-instrumentation-django==0.46b0 (from -r src/backend/requirements.txt (line 973))
# inv update| Downloading opentelemetry_instrumentation_django-0.46b0-py3-none-any.whl (18 kB)
# inv update| Collecting opentelemetry-instrumentation-redis==0.46b0 (from -r src/backend/requirements.txt (line 977))
# inv update| Downloading opentelemetry_instrumentation_redis-0.46b0-py3-none-any.whl (11 kB)
# inv update| Collecting opentelemetry-instrumentation-requests==0.46b0 (from -r src/backend/requirements.txt (line 981))
# inv update| Downloading opentelemetry_instrumentation_requests-0.46b0-py3-none-any.whl (12 kB)
# inv update| Collecting opentelemetry-instrumentation-wsgi==0.46b0 (from -r src/backend/requirements.txt (line 985))
# inv update| Downloading opentelemetry_instrumentation_wsgi-0.46b0-py3-none-any.whl (13 kB)
# inv update| Collecting opentelemetry-proto==1.25.0 (from -r src/backend/requirements.txt (line 989))
# inv update| Downloading opentelemetry_proto-1.25.0-py3-none-any.whl (52 kB)
# inv update| Collecting opentelemetry-sdk==1.25.0 (from -r src/backend/requirements.txt (line 996))
# inv update| Downloading opentelemetry_sdk-1.25.0-py3-none-any.whl (107 kB)
# inv update| Collecting opentelemetry-semantic-conventions==0.46b0 (from -r src/backend/requirements.txt (line 1003))
# inv update| Downloading opentelemetry_semantic_conventions-0.46b0-py3-none-any.whl (130 kB)
# inv update| Collecting opentelemetry-util-http==0.46b0 (from -r src/backend/requirements.txt (line 1012))
# inv update| Downloading opentelemetry_util_http-0.46b0-py3-none-any.whl (6.9 kB)
# inv update| Collecting packaging==24.1 (from -r src/backend/requirements.txt (line 1019))
# inv update| Downloading packaging-24.1-py3-none-any.whl (53 kB)
# inv update| Collecting pdf2image==1.17.0 (from -r src/backend/requirements.txt (line 1023))
# inv update| Downloading pdf2image-1.17.0-py3-none-any.whl (11 kB)
# inv update| Collecting pillow==10.3.0 (from -r src/backend/requirements.txt (line 1027))
# inv update| Downloading pillow-10.3.0-cp39-cp39-manylinux_2_28_x86_64.whl (4.5 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 2.6 MB/s eta 0:00:00
# inv update| Requirement already satisfied: pint==0.21 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1104)) (0.21)
# inv update| Collecting pip-licenses==4.4.0 (from -r src/backend/requirements.txt (line 1108))
# inv update| Downloading pip_licenses-4.4.0-py3-none-any.whl (20 kB)
# inv update| Collecting prettytable==3.10.0 (from -r src/backend/requirements.txt (line 1112))
# inv update| Downloading prettytable-3.10.0-py3-none-any.whl (28 kB)
# inv update| Collecting protobuf==4.25.3 (from -r src/backend/requirements.txt (line 1116))
# inv update| Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
# inv update| Requirement already satisfied: py-moneyed==3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1131)) (3.0)
# inv update| Collecting pycparser==2.22 (from -r src/backend/requirements.txt (line 1135))
# inv update| Downloading pycparser-2.22-py3-none-any.whl (117 kB)
# inv update| Collecting pydyf==0.10.0 (from -r src/backend/requirements.txt (line 1139))
# inv update| Downloading pydyf-0.10.0-py3-none-any.whl (8.1 kB)
# inv update| Requirement already satisfied: pyjwt==2.8.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1143)) (2.8.0)
# inv update| Collecting pyphen==0.15.0 (from -r src/backend/requirements.txt (line 1147))
# inv update| Downloading pyphen-0.15.0-py3-none-any.whl (2.1 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 2.6 MB/s eta 0:00:00
# inv update| Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1151)) (0.20220715.0)
# inv update| 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 1155)) (0.15.1)
# inv update| Collecting python-dateutil==2.9.0.post0 (from -r src/backend/requirements.txt (line 1159))
# inv update| Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
# inv update| Collecting python-dotenv==1.0.1 (from -r src/backend/requirements.txt (line 1165))
# inv update| Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)
# inv update| Collecting python-fsutil==0.14.1 (from -r src/backend/requirements.txt (line 1169))
# inv update| Downloading python_fsutil-0.14.1-py3-none-any.whl (16 kB)
# inv update| Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1173)) (3.2.0)
# inv update| Collecting python3-saml==1.16.0 (from -r src/backend/requirements.txt (line 1177))
# inv update| Downloading python3_saml-1.16.0-py3-none-any.whl (76 kB)
# inv update| Collecting pytz==2024.1 (from -r src/backend/requirements.txt (line 1182))
# inv update| Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
# inv update| Requirement already satisfied: pyyaml==6.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1189)) (6.0.1)
# inv update| 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 1245)) (7.4.2)
# inv update| Collecting rapidfuzz==3.9.3 (from -r src/backend/requirements.txt (line 1251))
# inv update| Downloading rapidfuzz-3.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 1.8 MB/s eta 0:00:00
# inv update| Collecting redis==5.0.7 (from -r src/backend/requirements.txt (line 1346))
# inv update| Downloading redis-5.0.7-py3-none-any.whl (252 kB)
# inv update| Collecting referencing==0.35.1 (from -r src/backend/requirements.txt (line 1350))
# inv update| Downloading referencing-0.35.1-py3-none-any.whl (26 kB)
# inv update| Collecting regex==2024.4.28 (from -r src/backend/requirements.txt (line 1356))
# inv update| Downloading regex-2024.4.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 773.5/773.5 kB 837.9 kB/s eta 0:00:00
# inv update| Requirement already satisfied: requests==2.32.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1437)) (2.32.3)
# inv update| Collecting rpds-py==0.18.1 (from -r src/backend/requirements.txt (line 1443))
# inv update| Downloading rpds_py-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 2.0 MB/s eta 0:00:00
# inv update| Collecting sentry-sdk==2.8.0 (from -r src/backend/requirements.txt (line 1546))
# inv update| Downloading sentry_sdk-2.8.0-py2.py3-none-any.whl (300 kB)
# inv update| Collecting setuptools==72.1.0 (from -r src/backend/requirements.txt (line 1552))
# inv update| Downloading setuptools-72.1.0-py3-none-any.whl (2.3 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 1.1 MB/s eta 0:00:00
# inv update| Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1559)) (1.0.0)
# inv update| Requirement already satisfied: six==1.16.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1562)) (1.16.0)
# inv update| Collecting sqlparse==0.5.0 (from -r src/backend/requirements.txt (line 1570))
# inv update| Downloading sqlparse-0.5.0-py3-none-any.whl (43 kB)
# inv update| 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 1576)) (3.5.0)
# inv update| Requirement already satisfied: tinycss2==1.2.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1582)) (1.2.1)
# inv update| Collecting typing-extensions==4.12.2 (from -r src/backend/requirements.txt (line 1589))
# inv update| Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
# inv update| Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1598)) (4.1.1)
# inv update| Requirement already satisfied: urllib3==2.2.2 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1604)) (2.2.2)
# inv update| Collecting wcwidth==0.2.13 (from -r src/backend/requirements.txt (line 1611))
# inv update| Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
# inv update| Collecting weasyprint==61.2 (from -r src/backend/requirements.txt (line 1615))
# inv update| Downloading weasyprint-61.2-py3-none-any.whl (271 kB)
# inv update| Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1621)) (0.5.1)
# inv update| Collecting whitenoise==6.7.0 (from -r src/backend/requirements.txt (line 1629))
# inv update| Downloading whitenoise-6.7.0-py3-none-any.whl (19 kB)
# inv update| Collecting wrapt==1.16.0 (from -r src/backend/requirements.txt (line 1633))
# inv update| Downloading wrapt-1.16.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80 kB)
# inv update| Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1708)) (2.0.1)
# inv update| Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1712)) (1.3.0)
# inv update| Collecting xmlsec==1.3.14 (from -r src/backend/requirements.txt (line 1716))
# inv update| Downloading xmlsec-1.3.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB)
# inv update| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 1.6 MB/s eta 0:00:00
# inv update| Collecting zipp==3.19.2 (from -r src/backend/requirements.txt (line 1776))
# inv update| Downloading zipp-3.19.2-py3-none-any.whl (9.0 kB)
# inv update| Requirement already satisfied: zopfli==0.2.3 in ./env/lib/python3.9/site-packages (from -r src/backend/requirements.txt (line 1780)) (0.2.3)
# inv update| Building wheels for collected packages: dj-rest-auth, django-allauth
# inv update| Building wheel for dj-rest-auth (setup.py): started
# inv update| Building wheel for dj-rest-auth (setup.py): finished with status 'done'
# inv update| Created wheel for dj-rest-auth: filename=dj_rest_auth-6.0.0-py2.py3-none-any.whl size=250769 sha256=3e835bf254c517ce85d7a9599e0c7d92aee99c3ad0f9d8ee14ea45c5307d6bc9
# inv update| Stored in directory: /tmp/pip-ephem-wheel-cache-87bugbmk/wheels/1e/c0/ee/a9b4aa9287ba512381c6a164d602c619fb7c67935ee194ea16
# inv update| Building wheel for django-allauth (pyproject.toml): started
# inv update| Building wheel for django-allauth (pyproject.toml): finished with status 'done'
# inv update| Created wheel for django-allauth: filename=django_allauth-0.63.3-py3-none-any.whl size=1420667 sha256=fc1cbd2243d006e095998e98d7b450e561e588602e0dd3d28b5484d610e0d81a
# inv update| Stored in directory: /tmp/pip-ephem-wheel-cache-87bugbmk/wheels/d8/92/bd/61444b0192ff8bd0cfc805ac0a17ade6fe738bd3cd4cdc9ec9
# inv update| Successfully built dj-rest-auth django-allauth
# inv update| Installing collected packages: wcwidth, pytz, python-fsutil, django-cleanup, zipp, wrapt, whitenoise, typing-extensions, sqlparse, setuptools, sentry-sdk, rpds-py, regex, redis, rapidfuzz, python-dotenv, python-dateutil, pyphen, pydyf, pycparser, protobuf, prettytable, pillow, packaging, opentelemetry-util-http, openpyxl, markupsafe, lxml, isodate, grpcio, fonttools, feedparser, dulwich, django-maintenance-mode, babel, attrs, xmlsec, referencing, pip-licenses, pdf2image, opentelemetry-proto, jinja2, importlib-metadata, icalendar, gunicorn, googleapis-common-protos, deprecated, asgiref, weasyprint, python3-saml, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, markdown, jsonschema-specifications, django, cryptography, opentelemetry-semantic-conventions, opentelemetry-instrumentation, jsonschema, django-weasyprint, django-taggit, django-sesame, django-picklefield, django-otp, django-markdownify, django-js-asset, django-import-export, django-formtools, django-filter, django-dbbackup, django-cors-headers, django-allauth, opentelemetry-sdk, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation-requests, opentelemetry-instrumentation-redis, drf-spectacular, djangorestframework-simplejwt, django-q2, django-mptt, dj-rest-auth, opentelemetry-instrumentation-django, opentelemetry-exporter-otlp-proto-http, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-exporter-otlp
# inv update| Attempting uninstall: pytz
# inv update| Found existing installation: pytz 2023.3.post1
# inv update| Uninstalling pytz-2023.3.post1:
# inv update| Successfully uninstalled pytz-2023.3.post1
# inv update| Attempting uninstall: python-fsutil
# inv update| Found existing installation: python-fsutil 0.12.0
# inv update| Uninstalling python-fsutil-0.12.0:
# inv update| Successfully uninstalled python-fsutil-0.12.0
# inv update| Attempting uninstall: django-cleanup
# inv update| Found existing installation: django-cleanup 8.0.0
# inv update| Uninstalling django-cleanup-8.0.0:
# inv update| Successfully uninstalled django-cleanup-8.0.0
# inv update| Attempting uninstall: zipp
# inv update| Found existing installation: zipp 3.16.0
# inv update| Uninstalling zipp-3.16.0:
# inv update| Successfully uninstalled zipp-3.16.0
# inv update| Attempting uninstall: typing-extensions
# inv update| Found existing installation: typing_extensions 4.8.0
# inv update| Uninstalling typing_extensions-4.8.0:
# inv update| Successfully uninstalled typing_extensions-4.8.0
# inv update| Attempting uninstall: sqlparse
# inv update| Found existing installation: sqlparse 0.4.4
# inv update| Uninstalling sqlparse-0.4.4:
# inv update| Successfully uninstalled sqlparse-0.4.4
# inv update| Attempting uninstall: setuptools
# inv update| Found existing installation: setuptools 74.0.0
# inv update| Uninstalling setuptools-74.0.0:
# inv update| Successfully uninstalled setuptools-74.0.0
# inv update| Attempting uninstall: sentry-sdk
# inv update| Found existing installation: sentry-sdk 1.34.0
# inv update| Uninstalling sentry-sdk-1.34.0:
# inv update| Successfully uninstalled sentry-sdk-1.34.0
# inv update| Attempting uninstall: rpds-py
# inv update| Found existing installation: rpds-py 0.12.0
# inv update| Uninstalling rpds-py-0.12.0:
# inv update| Successfully uninstalled rpds-py-0.12.0
# inv update| Attempting uninstall: regex
# inv update| Found existing installation: regex 2023.10.3
# inv update| Uninstalling regex-2023.10.3:
# inv update| Successfully uninstalled regex-2023.10.3
# inv update| Attempting uninstall: redis
# inv update| Found existing installation: redis 5.0.1
# inv update| Uninstalling redis-5.0.1:
# inv update| Successfully uninstalled redis-5.0.1
# inv update| Attempting uninstall: rapidfuzz
# inv update| Found existing installation: rapidfuzz 0.7.6
# inv update| Uninstalling rapidfuzz-0.7.6:
# inv update| Successfully uninstalled rapidfuzz-0.7.6
# inv update| Attempting uninstall: python-dotenv
# inv update| Found existing installation: python-dotenv 1.0.0
# inv update| Uninstalling python-dotenv-1.0.0:
# inv update| Successfully uninstalled python-dotenv-1.0.0
# inv update| Attempting uninstall: python-dateutil
# inv update| Found existing installation: python-dateutil 2.8.2
# inv update| Uninstalling python-dateutil-2.8.2:
# inv update| Successfully uninstalled python-dateutil-2.8.2
# inv update| Attempting uninstall: pyphen
# inv update| Found existing installation: pyphen 0.14.0
# inv update| Uninstalling pyphen-0.14.0:
# inv update| Successfully uninstalled pyphen-0.14.0
# inv update| Attempting uninstall: pydyf
# inv update| Found existing installation: pydyf 0.8.0
# inv update| Uninstalling pydyf-0.8.0:
# inv update| Successfully uninstalled pydyf-0.8.0
# inv update| Attempting uninstall: pycparser
# inv update| Found existing installation: pycparser 2.21
# inv update| Uninstalling pycparser-2.21:
# inv update| Successfully uninstalled pycparser-2.21
# inv update| Attempting uninstall: pillow
# inv update| Found existing installation: Pillow 10.1.0
# inv update| Uninstalling Pillow-10.1.0:
# inv update| Successfully uninstalled Pillow-10.1.0
# inv update| Attempting uninstall: packaging
# inv update| Found existing installation: packaging 23.2
# inv update| Uninstalling packaging-23.2:
# inv update| Successfully uninstalled packaging-23.2
# inv update| Attempting uninstall: openpyxl
# inv update| Found existing installation: openpyxl 3.1.2
# inv update| Uninstalling openpyxl-3.1.2:
# inv update| Successfully uninstalled openpyxl-3.1.2
# inv update| Attempting uninstall: markupsafe
# inv update| Found existing installation: MarkupSafe 2.1.3
# inv update| Uninstalling MarkupSafe-2.1.3:
# inv update| Successfully uninstalled MarkupSafe-2.1.3
# inv update| Attempting uninstall: fonttools
# inv update| Found existing installation: fonttools 4.44.0
# inv update| Uninstalling fonttools-4.44.0:
# inv update| Successfully uninstalled fonttools-4.44.0
# inv update| Attempting uninstall: feedparser
# inv update| Found existing installation: feedparser 6.0.10
# inv update| Uninstalling feedparser-6.0.10:
# inv update| Successfully uninstalled feedparser-6.0.10
# inv update| Attempting uninstall: dulwich
# inv update| Found existing installation: dulwich 0.21.6
# inv update| Uninstalling dulwich-0.21.6:
# inv update| Successfully uninstalled dulwich-0.21.6
# inv update| Attempting uninstall: django-maintenance-mode
# inv update| Found existing installation: django-maintenance-mode 0.21.0
# inv update| Uninstalling django-maintenance-mode-0.21.0:
# inv update| Successfully uninstalled django-maintenance-mode-0.21.0
# inv update| Attempting uninstall: babel
# inv update| Found existing installation: Babel 2.13.1
# inv update| Uninstalling Babel-2.13.1:
# inv update| Successfully uninstalled Babel-2.13.1
# inv update| Attempting uninstall: attrs
# inv update| Found existing installation: attrs 23.1.0
# inv update| Uninstalling attrs-23.1.0:
# inv update| Successfully uninstalled attrs-23.1.0
# inv update| Attempting uninstall: referencing
# inv update| Found existing installation: referencing 0.30.2
# inv update| Uninstalling referencing-0.30.2:
# inv update| Successfully uninstalled referencing-0.30.2
# inv update| Attempting uninstall: pdf2image
# inv update| Found existing installation: pdf2image 1.16.3
# inv update| Uninstalling pdf2image-1.16.3:
# inv update| Successfully uninstalled pdf2image-1.16.3
# inv update| Attempting uninstall: jinja2
# inv update| Found existing installation: Jinja2 3.1.2
# inv update| Uninstalling Jinja2-3.1.2:
# inv update| Successfully uninstalled Jinja2-3.1.2
# inv update| Attempting uninstall: importlib-metadata
# inv update| Found existing installation: importlib-metadata 6.8.0
# inv update| Uninstalling importlib-metadata-6.8.0:
# inv update| Successfully uninstalled importlib-metadata-6.8.0
# inv update| Attempting uninstall: icalendar
# inv update| Found existing installation: icalendar 5.0.11
# inv update| Uninstalling icalendar-5.0.11:
# inv update| Successfully uninstalled icalendar-5.0.11
# inv update| Attempting uninstall: gunicorn
# inv update| Found existing installation: gunicorn 21.2.0
# inv update| Uninstalling gunicorn-21.2.0:
# inv update| Successfully uninstalled gunicorn-21.2.0
# inv update| Attempting uninstall: asgiref
# inv update| Found existing installation: asgiref 3.7.2
# inv update| Uninstalling asgiref-3.7.2:
# inv update| Successfully uninstalled asgiref-3.7.2
# inv update| Attempting uninstall: weasyprint
# inv update| Found existing installation: weasyprint 60.1
# inv update| Uninstalling weasyprint-60.1:
# inv update| Successfully uninstalled weasyprint-60.1
# inv update| Attempting uninstall: markdown
# inv update| Found existing installation: Markdown 3.5.1
# inv update| Uninstalling Markdown-3.5.1:
# inv update| Successfully uninstalled Markdown-3.5.1
# inv update| Attempting uninstall: jsonschema-specifications
# inv update| Found existing installation: jsonschema-specifications 2023.7.1
# inv update| Uninstalling jsonschema-specifications-2023.7.1:
# inv update| Successfully uninstalled jsonschema-specifications-2023.7.1
# inv update| Attempting uninstall: django
# inv update| Found existing installation: Django 3.2.23
# inv update| Uninstalling Django-3.2.23:
# inv update| Successfully uninstalled Django-3.2.23
# inv update| Attempting uninstall: cryptography
# inv update| Found existing installation: cryptography 41.0.6
# inv update| Uninstalling cryptography-41.0.6:
# inv update| Successfully uninstalled cryptography-41.0.6
# inv update| Attempting uninstall: jsonschema
# inv update| Found existing installation: jsonschema 4.19.2
# inv update| Uninstalling jsonschema-4.19.2:
# inv update| Successfully uninstalled jsonschema-4.19.2
# inv update| Attempting uninstall: django-weasyprint
# inv update| Found existing installation: django-weasyprint 2.2.1
# inv update| Uninstalling django-weasyprint-2.2.1:
# inv update| Successfully uninstalled django-weasyprint-2.2.1
# inv update| Attempting uninstall: django-taggit
# inv update| Found existing installation: django-taggit 4.0.0
# inv update| Uninstalling django-taggit-4.0.0:
# inv update| Successfully uninstalled django-taggit-4.0.0
# inv update| Attempting uninstall: django-sesame
# inv update| Found existing installation: django-sesame 3.2.1
# inv update| Uninstalling django-sesame-3.2.1:
# inv update| Successfully uninstalled django-sesame-3.2.1
# inv update| Attempting uninstall: django-picklefield
# inv update| Found existing installation: django-picklefield 3.1
# inv update| Uninstalling django-picklefield-3.1:
# inv update| Successfully uninstalled django-picklefield-3.1
# inv update| Attempting uninstall: django-otp
# inv update| Found existing installation: django-otp 1.2.4
# inv update| Uninstalling django-otp-1.2.4:
# inv update| Successfully uninstalled django-otp-1.2.4
# inv update| Attempting uninstall: django-markdownify
# inv update| Found existing installation: django-markdownify 0.9.3
# inv update| Uninstalling django-markdownify-0.9.3:
# inv update| Successfully uninstalled django-markdownify-0.9.3
# inv update| Attempting uninstall: django-js-asset
# inv update| Found existing installation: django-js-asset 2.1.0
# inv update| Uninstalling django-js-asset-2.1.0:
# inv update| Successfully uninstalled django-js-asset-2.1.0
# inv update| Attempting uninstall: django-import-export
# inv update| Found existing installation: django-import-export 3.3.1
# inv update| Uninstalling django-import-export-3.3.1:
# inv update| Successfully uninstalled django-import-export-3.3.1
# inv update| Attempting uninstall: django-formtools
# inv update| Found existing installation: django-formtools 2.4.1
# inv update| Uninstalling django-formtools-2.4.1:
# inv update| Successfully uninstalled django-formtools-2.4.1
# inv update| Attempting uninstall: django-filter
# inv update| Found existing installation: django-filter 23.3
# inv update| Uninstalling django-filter-23.3:
# inv update| Successfully uninstalled django-filter-23.3
# inv update| Attempting uninstall: django-dbbackup
# inv update| Found existing installation: django-dbbackup 4.0.2
# inv update| Uninstalling django-dbbackup-4.0.2:
# inv update| Successfully uninstalled django-dbbackup-4.0.2
# inv update| Attempting uninstall: django-cors-headers
# inv update| Found existing installation: django-cors-headers 4.3.0
# inv update| Uninstalling django-cors-headers-4.3.0:
# inv update| Successfully uninstalled django-cors-headers-4.3.0
# inv update| Attempting uninstall: django-allauth
# inv update| Found existing installation: django-allauth 0.59.0
# inv update| Uninstalling django-allauth-0.59.0:
# inv update| Successfully uninstalled django-allauth-0.59.0
# inv update| Attempting uninstall: drf-spectacular
# inv update| Found existing installation: drf-spectacular 0.26.5
# inv update| Uninstalling drf-spectacular-0.26.5:
# inv update| Successfully uninstalled drf-spectacular-0.26.5
# inv update| Attempting uninstall: djangorestframework-simplejwt
# inv update| Found existing installation: djangorestframework-simplejwt 5.3.0
# inv update| Uninstalling djangorestframework-simplejwt-5.3.0:
# inv update| Successfully uninstalled djangorestframework-simplejwt-5.3.0
# inv update| Attempting uninstall: django-q2
# inv update| Found existing installation: django-q2 1.6.1
# inv update| Uninstalling django-q2-1.6.1:
# inv update| Successfully uninstalled django-q2-1.6.1
# inv update| Attempting uninstall: django-mptt
# inv update| Found existing installation: django-mptt 0.11.0
# inv update| Uninstalling django-mptt-0.11.0:
# inv update| Successfully uninstalled django-mptt-0.11.0
# inv update| Attempting uninstall: dj-rest-auth
# inv update| Found existing installation: dj-rest-auth 5.0.2
# inv update| Uninstalling dj-rest-auth-5.0.2:
# inv update| Successfully uninstalled dj-rest-auth-5.0.2
# inv update| Successfully installed asgiref-3.8.1 attrs-23.2.0 babel-2.15.0 cryptography-42.0.8 deprecated-1.2.14 dj-rest-auth-6.0.0 django-4.2.15 django-allauth-0.63.3 django-cleanup-8.1.0 django-cors-headers-4.4.0 django-dbbackup-4.1.0 django-filter-24.2 django-formtools-2.5.1 django-import-export-3.3.9 django-js-asset-2.2.0 django-maintenance-mode-0.21.1 django-markdownify-0.9.5 django-mptt-0.16.0 django-otp-1.5.0 django-picklefield-3.2 django-q2-1.6.2 django-sesame-3.2.2 django-taggit-5.0.1 django-weasyprint-2.3.0 djangorestframework-simplejwt-5.3.1 drf-spectacular-0.27.2 dulwich-0.22.1 feedparser-6.0.11 fonttools-4.53.0 googleapis-common-protos-1.63.2 grpcio-1.64.1 gunicorn-22.0.0 icalendar-5.0.132024-09-01 15:36:19,408 ERROR No CSRF_TRUSTED_ORIGINS specified. Please provide a list of trusted origins, or specify INVENTREE_SITE_URL
importlib-metadata-7.1.0 isodate-0.6.1 jinja2-3.1.4 jsonschema-4.22.0 jsonschema-specifications-2023.12.1 lxml-5.2.2 markdown-3.6 markupsafe-2.1.5 openpyxl-3.1.4 opentelemetry-api-1.25.0 opentelemetry-exporter-otlp-1.25.0 opentelemetry-exporter-otlp-proto-common-1.25.0 opentelemetry-exporter-otlp-proto-grpc-1.25.0 opentelemetry-exporter-otlp-proto-http-1.25.0 opentelemetry-instrumentation-0.46b0 opentelemetry-instrumentation-django-0.46b0 opentelemetry-instrumentation-redis-0.46b0 opentelemetry-instrumentation-requests-0.46b0 opentelemetry-instrumentation-wsgi-0.46b0 opentelemetry-proto-1.25.0 opentelemetry-sdk-1.25.0 opentelemetry-semantic-conventions-0.46b0 opentelemetry-util-http-0.46b0 packaging-24.1 pdf2image-1.17.0 pillow-10.3.0 pip-licenses-4.4.0 prettytable-3.10.0 protobuf-4.25.3 pycparser-2.22 pydyf-0.10.0 pyphen-0.15.0 python-dateutil-2.9.0.post0 python-dotenv-1.0.1 python-fsutil-0.14.1 python3-saml-1.16.0 pytz-2024.1 rapidfuzz-3.9.3 redis-5.0.7 referencing-0.35.1 regex-2024.4.28 rpds-py-0.18.1 sentry-sdk-2.8.0 setuptools-72.1.0 sqlparse-0.5.0 typing-extensions-4.12.2 wcwidth-0.2.13 weasyprint-61.2 whitenoise-6.7.0 wrapt-1.16.0 xmlsec-1.3.14 zipp-3.19.2
# inv update| Installing plugin packages from '/etc/inventree/plugins.txt'
# inv update| Requirement already satisfied: inventree-zebra-plugin in ./env/lib/python3.9/site-packages (from -r /etc/inventree/plugins.txt (line 3)) (0.5.2)
# inv update| Requirement already satisfied: zpl>=0.1.11 in ./env/lib/python3.9/site-packages (from inventree-zebra-plugin->-r /etc/inventree/plugins.txt (line 3)) (0.1.11)
# inv update| Requirement already satisfied: Pillow in ./env/lib/python3.9/site-packages (from zpl>=0.1.11->inventree-zebra-plugin->-r /etc/inventree/plugins.txt (line 3)) (10.3.0)
# inv update| Python version 3.9.18 - /opt/inventree/env/bin/python3
# Set permissions for data dir and media: /opt/inventree/data
# Setting up InvenTree site URL
# Starting InvenTree
####################################################################################
This InvenTree install uses nginx, the settings for the webserver can be found in
/etc/nginx/sites-enabled/inventree.conf
Try opening InvenTree with either
http://localhost/ or http://**.***.***.**/
Admin user data:
Email:
Username:
Password:
####################################################################################
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
philip@inventree:~$ inventree run cli migrate
Error: You must be executing as the user 'inventree' or with root privileges to launch commands.
Either log in as 'inventree', root, use sudo, or add sudo privileges for running inventree with your current user.
philip@inventree:~$ sudo inventree run cli migrate
Running InvenTree database migrations...
========================================
Python version 3.9.18 - /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.18 - /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")
Failed to set maintenance mode state
Failed to set maintenance mode state
Operations to perform:
Apply all migrations: InvenTree, account, admin, auth, build, common, company, contenttypes, django_q, error_report, exchange, flags, importer, machine, order, otp_static, otp_totp, part, plugin, report, socialaccount, stock, taggit, user_sessions, users
Running migrations:
Applying account.0006_emailaddress_lower... OK
Applying account.0007_emailaddress_idx_email... OK
Applying account.0008_emailaddress_unique_primary_email_fixup... OK
Applying account.0009_emailaddress_unique_primary_email... OK
Applying part.0120_parttesttemplate_key... OK
Applying part.0121_auto_20240207_0344... OK
Applying stock.0105_stockitemtestresult_template... OK
Applying stock.0106_auto_20240207_0353... OK
Applying stock.0107_remove_stockitemtestresult_test_and_more... OK
Applying stock.0108_auto_20240219_0252... OK
Applying stock.0109_add_additional_test_fields... OK
Applying stock.0110_alter_stockitemtestresult_finished_datetime_and_more... OK
Applying part.0122_parttesttemplate_enabled... OK
Applying part.0123_parttesttemplate_choices... OK
Applying order.0099_alter_salesorder_status... OK
Applying company.0069_company_active... OK
Applying common.0023_auto_20240602_1332...Found existing currency codes: EUR
- Creating new setting for currency codes
OK
Applying common.0024_notesimage_model_id_notesimage_model_type... OK
Applying common.0025_attachment... OK
Applying build.0049_alter_builditem_build_line... OK
Applying build.0050_auto_20240508_0138... OK
Applying common.0026_auto_20240608_1238...Migrating 12 attachments for the legacy 'PartAttachment' model.
OK
Applying build.0051_delete_buildorderattachment... OK
Applying common.0027_alter_customunit_symbol... OK
Applying common.0028_colortheme_user_obj... OK
Applying company.0070_remove_manufacturerpartattachment_manufacturer_part_and_more... OK
Applying company.0071_manufacturerpart_notes_supplierpart_notes... OK
Applying importer.0001_initial... OK
Applying importer.0002_dataimportsession_field_overrides... OK
Applying importer.0003_dataimportsession_field_filters... OK
Applying machine.0001_initial... OK
Applying order.0100_remove_returnorderattachment_order_and_more... OK
Applying otp_static.0003_add_timestamps... OK
Applying otp_totp.0003_add_timestamps... OK
Applying part.0124_delete_partattachment... OK
Applying part.0125_part_locked... OK
Applying part.0126_part_revision_of... OK
Applying part.0127_remove_partcategory_icon_partcategory__icon... OK
Applying plugin.0008_pluginconfig_package_name... OK
Applying plugin.0009_alter_pluginconfig_key... OK
Applying report.0022_reporttemplate... OK
Applying report.0023_auto_20240421_0455... OK
Applying report.0024_delete_billofmaterialsreport_delete_buildreport_and_more... OK
Applying report.0025_labeltemplate... OK
Applying report.0026_auto_20240422_1301...Creating new LabelTemplate for part - Part Label
Migrated 1 report templates to new LabelTemplate model.
OK
Applying report.0027_alter_labeltemplate_model_type_and_more... OK
Applying stock.0111_delete_stockitemattachment... OK
Applying stock.0112_alter_stocklocation_custom_icon_and_more... OK
Applying taggit.0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx... OK
Applying users.0011_auto_20240523_1640...Cleared all user sessions to deal with GHSA-2crp-q9pc-457j
OK
Applying users.0012_alter_ruleset_can_view... OK
Python version 3.9.18 - /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, importer, 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.
Python version 3.9.18 - /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")
========================================
InvenTree database migrations completed!
Python version 3.9.18 - /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")
Failed to set maintenance mode state
Python version 3.9.18 - /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")
philip@inventree:~$
on the external url i get some problems but on the local version it works fine and home page gives data and the build page gives data, parts and stock do not work if i klik on a part from the home screen i get more information like normal.
and as you can see new ui does work but old ui not
also when i try to print an label and only jus pres the print function to open the dialog i get this error: Unhandled Error Code Error code: 200
URL: undefined1/print/?plugin=inventreelabel&undefined%5B%5D=106
Type:
AttributeError
Path:
https://inventree.example.com/part/106/undefined1/print/?plugin=zebra&undefined%5B%5D=106
Info:
'NoneType' object has no attribute 'get_context_data'
When:
2 september 2024 11:59
Data:
Traceback (most recent call last):
File "/opt/inventree/env/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/inventree/env/lib/python3.9/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/inventree/env/lib/python3.9/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/opt/inventree/env/lib/python3.9/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
File "/opt/inventree/src/backend/InvenTree/part/views.py", line 377, in post
ctx = self.get_context_data(**kwargs)
File "/opt/inventree/src/backend/InvenTree/part/views.py", line 355, in get_context_data
ctx = part.get_context_data(self.request)
AttributeError: 'NoneType' object has no attribute 'get_context_data'
i checked the base url in the server global setting and saw it was this: Base URL | Base URL for server instance | http://.**..** (numbers are replaced for redacting reasons)
i tryd to change this to https://inventree.example.com and got this error Site URL is locked by configuration.
in the cli i did the folowing sudo inventree config:set INVENTREE_SITE_URL=https://inventree.example.com sudo systemctl restart inventree
the base url changed to the one i specified.
but i still have the same isue is there somting else thead i am missing ?
I also put developer mode on in Cloudflare and purged the cache bot this also did not fix it. And the app as I can see works fine but the site is broken
Deployment Method
Steps to Reproduce
Describe the problem*
I am trying to upgrade to the latest version but ik keeps failing It is installed on Ubuntu 22.04 in VMware.
I did install inventree a long time ago I do not remember how I did this.
Version Information:
InvenTree-Version: 0.14.0 dev Django Version: 3.2.23 Commit Hash: fc5645a9 Commit Date: None Commit Branch: master Database: sqlite3 Debug-Mode: False Deployed using Docker: False Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.35 Installer: PKG Target: ubuntu:20.04 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': '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'}]
Steps to Reproduce
sudo systemctl stop inventree sudo apt install --only-upgrade inventree
After this it wil display output till you get to view the username and password. But both fields are blank and it will give package failed to install.
Relevant log output