inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.19k stars 754 forks source link

Data Migration -> Export failing #3965

Closed operatort closed 1 year ago

operatort commented 1 year ago

Deployment Method

Describe the problem*

Hey installed the Server sucessfully with the installer on Ubuntu 22.04 from https://packager.io/gh/matmair/InvenTree/builds/214/install/ubuntu-20.04

(just had to manually add the libssl1.1 `echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list

sudo apt-get update

sudo apt-get install libssl1.1

sudo rm /etc/apt/sources.list.d/focal-security.list` )

I wanted to test the the backup/export/data migration with this tutorial https://docs.inventree.org/en/latest/start/migrate/ Do I have to specify the static dir in another config too?

(env) inventree@*****:/opt/inventree$ invoke export-records -f data.json
Exporting database records to file '/opt/inventree/data.json'
Traceback (most recent call last):
  File "/opt/inventree/InvenTree/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 363, in execute
    settings.INSTALLED_APPS
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 69, in _setup
    self._wrapped = Settings(settings_module)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 170, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/inventree/InvenTree/InvenTree/settings.py", line 87, in <module>
    STATIC_ROOT = config.get_static_dir()
  File "/opt/inventree/InvenTree/InvenTree/config.py", line 153, in get_static_dir
    raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified')
**FileNotFoundError: INVENTREE_STATIC_ROOT not specified**

when looking into the config.yaml inventree@*****:/etc/inventree$ nano config.yaml

`# MEDIA_ROOT is the local filesystem location for storing uploaded files
media_root: '/opt/inventree/data/media'

# STATIC_ROOT is the local filesystem location for storing static files
static_root: '/opt/inventree/data/static'

# BACKUP_DIR is the local filesystem location for storing backups
backup_dir: '/opt/inventree/data/backup'

# Background worker options
background:
  workers: 4
  timeout: 90

# Optional URL schemes to allow in URL fields
# By default, only the following schemes are allowed: `

the static directory is defined?! Could someone help me? Inventree itself seems to run without problems

Thanks for your helping :)

Steps to Reproduce

  1. python3 -m venv env
  2. ./env/bin/activate
  3. cd /opt/inventree
  4. invoke export-records -f data.json

Relevant log output

(env) inventree@*****:/opt/inventree$ invoke export-records -f data.json
Exporting database records to file '/opt/inventree/data.json'
Traceback (most recent call last):
  File "/opt/inventree/InvenTree/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 363, in execute
    settings.INSTALLED_APPS
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 69, in _setup
    self._wrapped = Settings(settings_module)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/conf/__init__.py", line 170, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/inventree/InvenTree/InvenTree/settings.py", line 87, in <module>
    STATIC_ROOT = config.get_static_dir()
  File "/opt/inventree/InvenTree/InvenTree/config.py", line 153, in get_static_dir
    raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified')
**FileNotFoundError: INVENTREE_STATIC_ROOT not specified**
matmair commented 1 year ago

@operatort 22.04 is not supported. Neither by the installer nor the packaged software for multiple reasons. If you want to help with this effort check https://github.com/inventree/InvenTree/issues/3836 for some steps

operatort commented 1 year ago

I will spin up another VM on ubuntu 20.04 to see if the data export failure persists

matmair commented 1 year ago

If you install please point to the official version, the one you used is my personal fork - I am experimenting with that a lot.

operatort commented 1 year ago

I am not able to sucessfully install/reach the inventree website on port 80 (502 Bad Gateway nginx) I tried to install multiples times on fresh images ubuntu 20.04 + https://dl.packager.io/srv/matmair/InvenTree/master/installer/ubuntu/20.04.repo ubuntu 20.04 +https://dl.packager.io/srv/inventree/InvenTree/master/installer/ubuntu/20.04.repo ubuntu 22.04+ https://dl.packager.io/srv/inventree/InvenTree/master/installer/ubuntu/20.04.repo ubuntu 22.04 + https://dl.packager.io/srv/matmair/InvenTree/master/installer/ubuntu/20.04.repo <-this is the only one where i can connect and work in

example log not working

`# Setting base environment variables
# No config file found: /etc/inventree/config.yaml, using envs or defaults
# 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=sampleport
# Getting the IP address of the server via web service
IP address is+++++++
# Setting up python enviroment
Collecting invoke
  Downloading invoke-1.7.3-py3-none-any.whl (216 kB)
Collecting wheel
  Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
Installing collected packages: invoke, wheel
Successfully installed invoke-1.7.3 wheel-0.38.4
# Unlinking default nginx config\n# Old file still in /etc/nginx/sites-available/default
# Stopping nginx
# Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# Starting nginx
# (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# Enabling InvenTree on boot
# Creating admin user data
# Stopping InvenTree
# Updating InvenTree
# inv update| Installing required python packages from 'requirements.txt'
# inv update| Collecting pip
# inv update|   Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
# inv update| Installing collected packages: pip
# inv update|   Attempting uninstall: pip
# inv update|     Found existing installation: pip 20.0.2
# inv update|     Uninstalling pip-20.0.2:
# inv update|       Successfully uninstalled pip-20.0.2
# inv update| Successfully installed pip-22.3.1
# inv update| Collecting arrow==1.2.3
# inv update|   Downloading arrow-1.2.3-py3-none-any.whl (66 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 kB 92.5 MB/s eta 0:00:00
# inv update| Collecting asgiref==3.5.2
# inv update|   Downloading asgiref-3.5.2-py3-none-any.whl (22 kB)
# inv update| Collecting babel==2.10.3
# inv update|   Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 323.6 MB/s eta 0:00:00
# inv update| Collecting bleach[css]==5.0.1
# inv update|   Downloading bleach-5.0.1-py3-none-any.whl (160 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.9/160.9 kB 408.6 MB/s eta 0:00:00
# inv update| Collecting blessed==1.19.1
# inv update|   Downloading blessed-1.19.1-py2.py3-none-any.whl (58 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 301.8 MB/s eta 0:00:00
# inv update| Collecting brotli==1.0.9
# inv update|   Downloading Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl (357 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 357.2/357.2 kB 476.1 MB/s eta 0:00:00
# inv update| Collecting certifi==2022.9.24
# inv update|   Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 421.8 MB/s eta 0:00:00
# inv update| Collecting cffi==1.15.1
# inv update|   Downloading cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 442.7/442.7 kB 477.0 MB/s eta 0:00:00
# inv update| Collecting charset-normalizer==2.1.1
# inv update|   Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
# inv update| Collecting coreapi==2.3.3
# inv update|   Downloading coreapi-2.3.3-py2.py3-none-any.whl (25 kB)
# inv update| Collecting coreschema==0.0.4
# inv update|   Downloading coreschema-0.0.4.tar.gz (10 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting cryptography==3.4.8
# inv update|   Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 398.8 MB/s eta 0:00:00
# inv update| Collecting cssselect2==0.7.0
# inv update|   Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
# inv update| Collecting defusedxml==0.7.1
# inv update|   Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
# inv update| Collecting diff-match-patch==20200713
# inv update|   Downloading diff_match_patch-20200713-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 342.4 MB/s eta 0:00:00
# inv update| Collecting django==3.2.16
# inv update|   Downloading Django-3.2.16-py3-none-any.whl (7.9 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 402.3 MB/s eta 0:00:00
# inv update| Collecting django-allauth==0.51.0
# inv update|   Downloading django-allauth-0.51.0.tar.gz (709 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 709.6/709.6 kB 436.8 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting django-allauth-2fa==0.10.0
# inv update|   Downloading django_allauth_2fa-0.10.0-py3-none-any.whl (13 kB)
# inv update| Collecting django-cleanup==6.0.0
# inv update|   Downloading django_cleanup-6.0.0-py2.py3-none-any.whl (10.0 kB)
# inv update| Collecting django-cors-headers==3.13.0
# inv update|   Downloading django_cors_headers-3.13.0-py3-none-any.whl (13 kB)
# inv update| Collecting django-crispy-forms==1.14.0
# inv update|   Downloading django_crispy_forms-1.14.0-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 427.5 MB/s eta 0:00:00
# inv update| Collecting django-dbbackup==4.0.2
# inv update|   Downloading django_dbbackup-4.0.2-py3-none-any.whl (56 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.2/56.2 kB 321.9 MB/s eta 0:00:00
# inv update| Collecting django-error-report==0.2.0
# inv update|   Downloading django-error-report-0.2.0.tar.gz (5.1 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting django-filter==22.1
# inv update|   Downloading django_filter-22.1-py3-none-any.whl (80 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 323.6 MB/s eta 0:00:00
# inv update| Collecting django-formtools==2.4
# inv update|   Downloading django_formtools-2.4-py3-none-any.whl (154 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.4/154.4 kB 381.1 MB/s eta 0:00:00
# inv update| Collecting django-import-export==2.5.0
# inv update|   Downloading django_import_export-2.5.0-py3-none-any.whl (94 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.7/94.7 kB 374.4 MB/s eta 0:00:00
# inv update| Collecting django-js-asset==2.0.0
# inv update|   Downloading django_js_asset-2.0.0-py3-none-any.whl (4.9 kB)
# inv update| Collecting django-maintenance-mode==0.16.3
# inv update|   Downloading django_maintenance_mode-0.16.3-py3-none-any.whl (15 kB)
# inv update| Collecting django-markdownify==0.9.2
# inv update|   Downloading django_markdownify-0.9.2-py3-none-any.whl (10 kB)
# inv update| Collecting django-money==2.1.1
# inv update|   Downloading django_money-2.1.1-py3-none-any.whl (34 kB)
# inv update| Collecting django-mptt==0.11.0
# inv update|   Downloading django_mptt-0.11.0-py2.py3-none-any.whl (109 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.8/109.8 kB 378.5 MB/s eta 0:00:00
# inv update| Collecting django-otp==1.1.3
# inv update|   Downloading django_otp-1.1.3-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.4/61.4 kB 366.1 MB/s eta 0:00:00
# inv update| Collecting django-picklefield==3.1
# inv update|   Downloading django_picklefield-3.1-py3-none-any.whl (9.5 kB)
# inv update| Collecting django-q==1.3.9
# inv update|   Downloading django_q-1.3.9-py3-none-any.whl (89 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 393.7 MB/s eta 0:00:00
# inv update| Collecting django-redis==5.2.0
# inv update|   Downloading django_redis-5.2.0-py3-none-any.whl (30 kB)
# inv update| Collecting django-sql-utils==0.6.1
# inv update|   Downloading django_sql_utils-0.6.1-py3-none-any.whl (14 kB)
# inv update| Collecting django-sslserver==0.22
# inv update|   Downloading django_sslserver-0.22-py3-none-any.whl (10 kB)
# inv update| Collecting django-stdimage==5.3.0
# inv update|   Downloading django_stdimage-5.3.0-py2.py3-none-any.whl (17 kB)
# inv update| Collecting django-user-sessions==1.7.1
# inv update|   Downloading django_user_sessions-1.7.1-py2.py3-none-any.whl (38 kB)
# inv update| Collecting django-weasyprint==2.2.0
# inv update|   Downloading django_weasyprint-2.2.0-py3-none-any.whl (9.7 kB)
# inv update| Collecting django-xforwardedfor-middleware==2.0
# inv update|   Downloading django-xforwardedfor-middleware-2.0.tar.gz (1.6 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting djangorestframework==3.14.0
# inv update|   Downloading djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 433.6 MB/s eta 0:00:00
# inv update| Collecting et-xmlfile==1.1.0
# inv update|   Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
# inv update| Collecting feedparser==6.0.10
# inv update|   Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 361.1 MB/s eta 0:00:00
# inv update| Collecting fonttools[woff]==4.37.4
# inv update|   Downloading fonttools-4.37.4-py3-none-any.whl (960 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 960.8/960.8 kB 356.4 MB/s eta 0:00:00
# inv update| Collecting gunicorn==20.1.0
# inv update|   Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 382.5 MB/s eta 0:00:00
# inv update| Collecting html5lib==1.1
# inv update|   Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 268.2 MB/s eta 0:00:00
# inv update| Collecting idna==3.4
# inv update|   Downloading idna-3.4-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 357.0 MB/s eta 0:00:00
# inv update| Collecting importlib-metadata==5.0.0
# inv update|   Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
# inv update| Collecting itypes==1.2.0
# inv update|   Downloading itypes-1.2.0-py2.py3-none-any.whl (4.8 kB)
# inv update| Collecting jinja2==3.1.2
# inv update|   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 431.6 MB/s eta 0:00:00
# inv update| Collecting markdown==3.4.1
# inv update|   Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 317.1 MB/s eta 0:00:00
# inv update| Collecting markuppy==1.14
# inv update|   Downloading MarkupPy-1.14.tar.gz (6.8 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting markupsafe==2.1.1
# inv update|   Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
# inv update| Collecting oauthlib==3.2.1
# inv update|   Downloading oauthlib-3.2.1-py3-none-any.whl (151 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 430.0 MB/s eta 0:00:00
# inv update| Collecting odfpy==1.4.1
# inv update|   Downloading odfpy-1.4.1.tar.gz (717 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 717.0/717.0 kB 435.5 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting openpyxl==3.0.10
# inv update|   Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.1/242.1 kB 396.6 MB/s eta 0:00:00
# inv update| Collecting pdf2image==1.16.0
# inv update|   Downloading pdf2image-1.16.0-py3-none-any.whl (10 kB)
# inv update| Collecting pillow==9.2.0
# inv update|   Downloading Pillow-9.2.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.2 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 379.8 MB/s eta 0:00:00
# inv update| Collecting py-moneyed==1.2
# inv update|   Downloading py_moneyed-1.2-py2.py3-none-any.whl (17 kB)
# inv update| Collecting pycparser==2.21
# inv update|   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 425.5 MB/s eta 0:00:00
# inv update| Collecting pydyf==0.5.0
# inv update|   Downloading pydyf-0.5.0-py3-none-any.whl (6.8 kB)
# inv update| Collecting pyjwt[crypto]==2.5.0
# inv update|   Downloading PyJWT-2.5.0-py3-none-any.whl (20 kB)
# inv update| Collecting pyphen==0.13.0
# inv update|   Downloading pyphen-0.13.0-py3-none-any.whl (2.0 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 358.3 MB/s eta 0:00:00
# inv update| Collecting python-barcode[images]==0.14.0
# inv update|   Downloading python_barcode-0.14.0-py3-none-any.whl (212 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.9/212.9 kB 471.7 MB/s eta 0:00:00
# inv update| Collecting python-dateutil==2.8.2
# inv update|   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 450.1 MB/s eta 0:00:00
# inv update| Collecting python-fsutil==0.7.0
# inv update|   Downloading python_fsutil-0.7.0-py3-none-any.whl (12 kB)
# inv update| Collecting python3-openid==3.2.0
# inv update|   Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 385.6 MB/s eta 0:00:00
# inv update| Collecting pytz==2022.4
# inv update|   Downloading pytz-2022.4-py2.py3-none-any.whl (500 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.8/500.8 kB 491.1 MB/s eta 0:00:00
# inv update| Collecting pyyaml==6.0
# inv update|   Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.2/701.2 kB 364.9 MB/s eta 0:00:00
# inv update| Collecting qrcode[pil]==7.3.1
# inv update|   Downloading qrcode-7.3.1.tar.gz (43 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.5/43.5 kB 288.8 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting rapidfuzz==0.7.6
# inv update|   Downloading rapidfuzz-0.7.6-cp38-cp38-manylinux2010_x86_64.whl (689 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 689.4/689.4 kB 424.1 MB/s eta 0:00:00
# inv update| Collecting redis==3.5.3
# inv update|   Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.1/72.1 kB 319.6 MB/s eta 0:00:00
# inv update| Collecting regex==2022.9.13
# inv update|   Downloading regex-2022.9.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (772 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 772.3/772.3 kB 412.8 MB/s eta 0:00:00
# inv update| Collecting requests==2.28.1
# inv update|   Downloading requests-2.28.1-py3-none-any.whl (62 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 322.3 MB/s eta 0:00:00
# inv update| Collecting requests-oauthlib==1.3.1
# inv update|   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
# inv update| Collecting sentry-sdk==1.9.10
# inv update|   Downloading sentry_sdk-1.9.10-py2.py3-none-any.whl (162 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 453.8 MB/s eta 0:00:00
# inv update| Collecting sgmllib3k==1.0.0
# inv update|   Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting six==1.16.0
# inv update|   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
# inv update| Collecting sqlparse==0.4.3
# inv update|   Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.8/42.8 kB 259.9 MB/s eta 0:00:00
# inv update| Collecting tablib[html,ods,xls,xlsx,yaml]==3.2.1
# inv update|   Downloading tablib-3.2.1-py3-none-any.whl (48 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.7/48.7 kB 307.7 MB/s eta 0:00:00
# inv update| Collecting tinycss2==1.1.1
# inv update|   Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
# inv update| Collecting types-cryptography==3.3.23
# inv update|   Downloading types_cryptography-3.3.23-py3-none-any.whl (30 kB)
# inv update| Collecting uritemplate==4.1.1
# inv update|   Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
# inv update| Collecting urllib3==1.26.12
# inv update|   Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 429.0 MB/s eta 0:00:00
# inv update| Collecting wcwidth==0.2.5
# inv update|   Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
# inv update| Collecting weasyprint==54.3
# inv update|   Downloading weasyprint-54.3-py3-none-any.whl (247 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.9/247.9 kB 447.5 MB/s eta 0:00:00
# inv update| Collecting webencodings==0.5.1
# inv update|   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
# inv update| Collecting xlrd==2.0.1
# inv update|   Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.5/96.5 kB 387.5 MB/s eta 0:00:00
# inv update| Collecting xlwt==1.3.0
# inv update|   Downloading xlwt-1.3.0-py2.py3-none-any.whl (99 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0/100.0 kB 368.9 MB/s eta 0:00:00
# inv update| Collecting zipp==3.9.0
# inv update|   Downloading zipp-3.9.0-py3-none-any.whl (5.8 kB)
# inv update| Collecting zopfli==0.2.1
# inv update|   Downloading zopfli-0.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (704 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 704.8/704.8 kB 417.1 MB/s eta 0:00:00
# inv update| Requirement already satisfied: setuptools in ./env/lib/python3.8/site-packages (from django-money==2.1.1->-r requirements.txt (line 99)) (44.0.0)
# inv update| Building wheels for collected packages: coreschema, django-allauth, django-error-report, django-xforwardedfor-middleware, markuppy, odfpy, sgmllib3k, qrcode
# inv update|   Building wheel for coreschema (setup.py): started
# inv update|   Building wheel for coreschema (setup.py): finished with status 'done'
# inv update|   Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15032 sha256=a887b578117cf54fc53b412c67f01414e953e049da97c74e466d0905f501ad38
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/8a/37/57/4e8f4a9c03acced29141508bcc85ae357c7bea1fa0ae40be2d
# inv update|   Building wheel for django-allauth (setup.py): started
# inv update|   Building wheel for django-allauth (setup.py): finished with status 'done'
# inv update|   Created wheel for django-allauth: filename=django_allauth-0.51.0-py3-none-any.whl size=1036028 sha256=6117b635d784b4cc823167f0e621afc434b6ff5f236bbbe6d375b02e2b3311d8
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/db/55/a7/b56cfca7e450751f132dff7f6ede80bd7ca265b071b9c44786
# inv update|   Building wheel for django-error-report (setup.py): started
# inv update|   Building wheel for django-error-report (setup.py): finished with status 'done'
# inv update|   Created wheel for django-error-report: filename=django_error_report-0.2.0-py3-none-any.whl size=7162 sha256=1c7f56731b2e3ba35ff196f99b1a9fd6e080186e5776a65ed4996317037e0fc4
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/6b/bf/ab/e257bf7f195690550a2fd8f84077c096dbc622ff2b2a79b043
# inv update|   Building wheel for django-xforwardedfor-middleware (setup.py): started
# inv update|   Building wheel for django-xforwardedfor-middleware (setup.py): finished with status 'done'
# inv update|   Created wheel for django-xforwardedfor-middleware: filename=django_xforwardedfor_middleware-2.0-py3-none-any.whl size=1948 sha256=bad00b958fc5c7eda65062b3c6fba2ad976984a8b9e70b1ddadede588f145205
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/e6/f2/7a/ee8d42baafba0b8dd3e6e8591063a872106f8e1565878a4c54
# inv update|   Building wheel for markuppy (setup.py): started
# inv update|   Building wheel for markuppy (setup.py): finished with status 'done'
# inv update|   Created wheel for markuppy: filename=MarkupPy-1.14-py3-none-any.whl size=7415 sha256=e5811aab9d6b037fb2512dd7a2f72cd4ee0efb6f3ba0402d10c2274df08a7d5a
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/a9/4b/2c/4f43c6b33ade79fa04e887aab0b2586e359300fa1d5a2e4af3
# inv update|   Building wheel for odfpy (setup.py): started
# inv update|   Building wheel for odfpy (setup.py): finished with status 'done'
# inv update|   Created wheel for odfpy: filename=odfpy-1.4.1-py2.py3-none-any.whl size=160692 sha256=f6efe412e0e00f346d51b27c7f7602d8f05f8dc575d6b154635dbadde408a2a8
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/17/f5/03/1b2b376862e4eae6b16f19ab48796d59d2abb963a7b27d2346
# inv update|   Building wheel for sgmllib3k (setup.py): started
# inv update|   Building wheel for sgmllib3k (setup.py): finished with status 'dPlugin configuration file does not exist - creating default file
2022-11-19 22:48:05,656 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
Traceback (most recent call last):
  File "manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/opt/inventree/env/lib/python3.8/site-packages/django/apps/config.py", line 212, in create
    mod = import_module(mod_path)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/inventree/InvenTree/InvenTree/apps.py", line 14, in <module>
    import InvenTree.tasks
  File "/opt/inventree/InvenTree/InvenTree/tasks.py", line 154, in <module>
    class TaskRegister:
  File "/opt/inventree/InvenTree/InvenTree/tasks.py", line 156, in TaskRegister
    task_list: list[ScheduledTask] = []
TypeError: 'type' object is not subscriptable
one'
# inv update|   Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6066 sha256=59e41f3a9619e13dde798ebfae07b70b226164e390822f28f90535b531dc57ca
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/f2/3d/e2/03a8c2177ae48bc14ba849ffc39182eb96126a2ee08ec6dd1e
# inv update|   Building wheel for qrcode (setup.py): started
# inv update|   Building wheel for qrcode (setup.py): finished with status 'done'
# inv update|   Created wheel for qrcode: filename=qrcode-7.3.1-py3-none-any.whl size=40386 sha256=555e539327297e7fb34f96977d7426d679e9be13bcf163b8381804446e2c6070
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-x7n3f8bj/wheels/44/e7/b1/34e28773d1e198331d4be1dbd693d61d82ec0ff915cb0cc44d
# inv update| Successfully built coreschema django-allauth django-error-report django-xforwardedfor-middleware markuppy odfpy sgmllib3k qrcode
# inv update| Installing collected packages: xlwt, webencodings, wcwidth, types-cryptography, sgmllib3k, pytz, python-fsutil, python-barcode, markuppy, itypes, django-cleanup, brotli, zopfli, zipp, xlrd, urllib3, uritemplate, tinycss2, tablib, sqlparse, six, regex, redis, rapidfuzz, qrcode, pyyaml, pyphen, pyjwt, pydyf, pycparser, pillow, oauthlib, markupsafe, idna, gunicorn, fonttools, feedparser, et-xmlfile, django-maintenance-mode, django-crispy-forms, diff-match-patch, defusedxml, charset-normalizer, certifi, babel, asgiref, sentry-sdk, requests, python3-openid, python-dateutil, py-moneyed, pdf2image, openpyxl, odfpy, jinja2, importlib-metadata, html5lib, django, cssselect2, cffi, blessed, bleach, weasyprint, requests-oauthlib, markdown, djangorestframework, django-xforwardedfor-middleware, django-user-sessions, django-stdimage, django-sslserver, django-sql-utils, django-redis, django-picklefield, django-otp, django-money, django-js-asset, django-formtools, django-filter, django-error-report, django-dbbackup, django-cors-headers, cryptography, coreschema, arrow, django-weasyprint, django-q, django-mptt, django-markdownify, django-import-export, coreapi, django-allauth, django-allauth-2fa
# inv update| Successfully installed arrow-1.2.3 asgiref-3.5.2 babel-2.10.3 bleach-5.0.1 blessed-1.19.1 brotli-1.0.9 certifi-2022.9.24 cffi-1.15.1 charset-normalizer-2.1.1 coreapi-2.3.3 coreschema-0.0.4 cryptography-3.4.8 cssselect2-0.7.0 defusedxml-0.7.1 diff-match-patch-20200713 django-3.2.16 django-allauth-0.51.0 django-allauth-2fa-0.10.0 django-cleanup-6.0.0 django-cors-headers-3.13.0 django-crispy-forms-1.14.0 django-dbbackup-4.0.2 django-error-report-0.2.0 django-filter-22.1 django-formtools-2.4 django-import-export-2.5.0 django-js-asset-2.0.0 django-maintenance-mode-0.16.3 django-markdownify-0.9.2 django-money-2.1.1 django-mptt-0.11.0 django-otp-1.1.3 django-picklefield-3.1 django-q-1.3.9 django-redis-5.2.0 django-sql-utils-0.6.1 django-sslserver-0.22 django-stdimage-5.3.0 django-user-sessions-1.7.1 django-weasyprint-2.2.0 django-xforwardedfor-middleware-2.0 djangorestframework-3.14.0 et-xmlfile-1.1.0 feedparser-6.0.10 fonttools-4.37.4 gunicorn-20.1.0 html5lib-1.1 idna-3.4 importlib-metadata-5.0.0 itypes-1.2.0 jinja2-3.1.2 markdown-3.4.1 markuppy-1.14 markupsafe-2.1.1 oauthlib-3.2.1 odfpy-1.4.1 openpyxl-3.0.10 pdf2image-1.16.0 pillow-9.2.0 py-moneyed-1.2 pycparser-2.21 pydyf-0.5.0 pyjwt-2.5.0 pyphen-0.13.0 python-barcode-0.14.0 python-dateutil-2.8.2 python-fsutil-0.7.0 python3-openid-3.2.0 pytz-2022.4 pyyaml-6.0 qrcode-7.3.1 rapidfuzz-0.7.6 redis-3.5.3 regex-2022.9.13 requests-2.28.1 requests-oauthlib-1.3.1 sentry-sdk-1.9.10 sgmllib3k-1.0.0 six-1.16.0 sqlparse-0.4.3 tablib-3.2.1 tinycss2-1.1.1 types-cryptography-3.3.23 uritemplate-4.1.1 urllib3-1.26.12 wcwidth-0.2.5 weasyprint-54.3 webencodings-0.5.1 xlrd-2.0.1 xlwt-1.3.0 zipp-3.9.0 zopfli-0.2.1
# inv update| Installing plugin packages from '/etc/inventree/plugins.txt'
# inv update| Backing up InvenTree database...
# inv update| InvenTree configuration file 'config.yaml' not found - creating default file
# inv update| Created config file /etc/inventree/config.yaml
# Set permissions for data dir and media: /opt/inventree/data
# Setting up InvenTree config values
# Writing the settings to the config file /etc/inventree/config.yaml
# 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:
   +++++
`

Example log working apart from the data export function

`# Setting base environment variables
# No config file found: /etc/inventree/config.yaml, using envs or defaults
# 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=sampleport
# Getting the IP address of the server via web service
IP address is ++++++
# Setting up python enviroment
Collecting invoke
  Downloading invoke-1.7.3-py3-none-any.whl (216 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.4/216.4 KB 6.0 MB/s eta 0:00:00
Collecting wheel
  Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
Installing collected packages: invoke, wheel
Successfully installed invoke-1.7.3 wheel-0.38.4
# Unlinking default nginx config\n# Old file still in /etc/nginx/sites-available/default
# Stopping nginx
# Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# Starting nginx
# (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# Enabling InvenTree on boot
# Creating admin user data
# Stopping InvenTree
# Updating InvenTree
# inv update| Installing required python packages from 'requirements.txt'
# inv update| Requirement already satisfied: pip in ./env/lib/python3.10/site-packages (22.0.2)
# inv update| Collecting pip
# inv update|   Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 23.2 MB/s eta 0:00:00
# inv update| Installing collected packages: pip
# inv update|   Attempting uninstall: pip
# inv update|     Found existing installation: pip 22.0.2
# inv update|     Uninstalling pip-22.0.2:
# inv update|       Successfully uninstalled pip-22.0.2
# inv update| Successfully installed pip-22.3.1
# inv update| Collecting arrow==1.2.3
# inv update|   Downloading arrow-1.2.3-py3-none-any.whl (66 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 kB 2.8 MB/s eta 0:00:00
# inv update| Collecting asgiref==3.5.2
# inv update|   Downloading asgiref-3.5.2-py3-none-any.whl (22 kB)
# inv update| Collecting babel==2.10.3
# inv update|   Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 135.6 MB/s eta 0:00:00
# inv update| Collecting bleach[css]==5.0.1
# inv update|   Downloading bleach-5.0.1-py3-none-any.whl (160 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.9/160.9 kB 295.6 MB/s eta 0:00:00
# inv update| Collecting blessed==1.19.1
# inv update|   Downloading blessed-1.19.1-py2.py3-none-any.whl (58 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 254.5 MB/s eta 0:00:00
# inv update| Collecting brotli==1.0.9
# inv update|   Downloading Brotli-1.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 283.9 MB/s eta 0:00:00
# inv update| Collecting certifi==2022.9.24
# inv update|   Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 309.6 MB/s eta 0:00:00
# inv update| Collecting cffi==1.15.1
# inv update|   Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 322.1 MB/s eta 0:00:00
# inv update| Collecting charset-normalizer==2.1.1
# inv update|   Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
# inv update| Collecting coreapi==2.3.3
# inv update|   Downloading coreapi-2.3.3-py2.py3-none-any.whl (25 kB)
# inv update| Collecting coreschema==0.0.4
# inv update|   Downloading coreschema-0.0.4.tar.gz (10 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting cryptography==3.4.8
# inv update|   Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 263.7 MB/s eta 0:00:00
# inv update| Collecting cssselect2==0.7.0
# inv update|   Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
# inv update| Collecting defusedxml==0.7.1
# inv update|   Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
# inv update| Collecting diff-match-patch==20200713
# inv update|   Downloading diff_match_patch-20200713-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 250.6 MB/s eta 0:00:00
# inv update| Collecting django==3.2.16
# inv update|   Downloading Django-3.2.16-py3-none-any.whl (7.9 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 249.3 MB/s eta 0:00:00
# inv update| Collecting django-allauth==0.51.0
# inv update|   Downloading django-allauth-0.51.0.tar.gz (709 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 709.6/709.6 kB 291.1 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting django-allauth-2fa==0.10.0
# inv update|   Downloading django_allauth_2fa-0.10.0-py3-none-any.whl (13 kB)
# inv update| Collecting django-cleanup==6.0.0
# inv update|   Downloading django_cleanup-6.0.0-py2.py3-none-any.whl (10.0 kB)
# inv update| Collecting django-cors-headers==3.13.0
# inv update|   Downloading django_cors_headers-3.13.0-py3-none-any.whl (13 kB)
# inv update| Collecting django-crispy-forms==1.14.0
# inv update|   Downloading django_crispy_forms-1.14.0-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 286.7 MB/s eta 0:00:00
# inv update| Collecting django-dbbackup==4.0.2
# inv update|   Downloading django_dbbackup-4.0.2-py3-none-any.whl (56 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.2/56.2 kB 253.1 MB/s eta 0:00:00
# inv update| Collecting django-error-report==0.2.0
# inv update|   Downloading django-error-report-0.2.0.tar.gz (5.1 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting django-filter==22.1
# inv update|   Downloading django_filter-22.1-py3-none-any.whl (80 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 282.5 MB/s eta 0:00:00
# inv update| Collecting django-formtools==2.4
# inv update|   Downloading django_formtools-2.4-py3-none-any.whl (154 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.4/154.4 kB 297.1 MB/s eta 0:00:00
# inv update| Collecting django-import-export==2.5.0
# inv update|   Downloading django_import_export-2.5.0-py3-none-any.whl (94 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.7/94.7 kB 236.0 MB/s eta 0:00:00
# inv update| Collecting django-js-asset==2.0.0
# inv update|   Downloading django_js_asset-2.0.0-py3-none-any.whl (4.9 kB)
# inv update| Collecting django-maintenance-mode==0.16.3
# inv update|   Downloading django_maintenance_mode-0.16.3-py3-none-any.whl (15 kB)
# inv update| Collecting django-markdownify==0.9.2
# inv update|   Downloading django_markdownify-0.9.2-py3-none-any.whl (10 kB)
# inv update| Collecting django-money==2.1.1
# inv update|   Downloading django_money-2.1.1-py3-none-any.whl (34 kB)
# inv update| Collecting django-mptt==0.11.0
# inv update|   Downloading django_mptt-0.11.0-py2.py3-none-any.whl (109 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.8/109.8 kB 285.4 MB/s eta 0:00:00
# inv update| Collecting django-otp==1.1.3
# inv update|   Downloading django_otp-1.1.3-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.4/61.4 kB 281.5 MB/s eta 0:00:00
# inv update| Collecting django-picklefield==3.1
# inv update|   Downloading django_picklefield-3.1-py3-none-any.whl (9.5 kB)
# inv update| Collecting django-q==1.3.9
# inv update|   Downloading django_q-1.3.9-py3-none-any.whl (89 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 233.8 MB/s eta 0:00:00
# inv update| Collecting django-redis==5.2.0
# inv update|   Downloading django_redis-5.2.0-py3-none-any.whl (30 kB)
# inv update| Collecting django-sql-utils==0.6.1
# inv update|   Downloading django_sql_utils-0.6.1-py3-none-any.whl (14 kB)
# inv update| Collecting django-sslserver==0.22
# inv update|   Downloading django_sslserver-0.22-py3-none-any.whl (10 kB)
# inv update| Collecting django-stdimage==5.3.0
# inv update|   Downloading django_stdimage-5.3.0-py2.py3-none-any.whl (17 kB)
# inv update| Collecting django-user-sessions==1.7.1
# inv update|   Downloading django_user_sessions-1.7.1-py2.py3-none-any.whl (38 kB)
# inv update| Collecting django-weasyprint==2.2.0
# inv update|   Downloading django_weasyprint-2.2.0-py3-none-any.whl (9.7 kB)
# inv update| Collecting django-xforwardedfor-middleware==2.0
# inv update|   Downloading django-xforwardedfor-middleware-2.0.tar.gz (1.6 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting djangorestframework==3.14.0
# inv update|   Downloading djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 284.6 MB/s eta 0:00:00
# inv update| Collecting et-xmlfile==1.1.0
# inv update|   Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
# inv update| Collecting feedparser==6.0.10
# inv update|   Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 260.2 MB/s eta 0:00:00
# inv update| Collecting fonttools[woff]==4.37.4
# inv update|   Downloading fonttools-4.37.4-py3-none-any.whl (960 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 960.8/960.8 kB 290.2 MB/s eta 0:00:00
# inv update| Collecting gunicorn==20.1.0
# inv update|   Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 226.1 MB/s eta 0:00:00
# inv update| Collecting html5lib==1.1
# inv update|   Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 292.9 MB/s eta 0:00:00
# inv update| Collecting idna==3.4
# inv update|   Downloading idna-3.4-py3-none-any.whl (61 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 274.0 MB/s eta 0:00:00
# inv update| Collecting importlib-metadata==5.0.0
# inv update|   Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
# inv update| Collecting itypes==1.2.0
# inv update|   Downloading itypes-1.2.0-py2.py3-none-any.whl (4.8 kB)
# inv update| Collecting jinja2==3.1.2
# inv update|   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 303.6 MB/s eta 0:00:00
# inv update| Collecting markdown==3.4.1
# inv update|   Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 287.5 MB/s eta 0:00:00
# inv update| Collecting markuppy==1.14
# inv update|   Downloading MarkupPy-1.14.tar.gz (6.8 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting markupsafe==2.1.1
# inv update|   Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
# inv update| Collecting oauthlib==3.2.1
# inv update|   Downloading oauthlib-3.2.1-py3-none-any.whl (151 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 302.5 MB/s eta 0:00:00
# inv update| Collecting odfpy==1.4.1
# inv update|   Downloading odfpy-1.4.1.tar.gz (717 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 717.0/717.0 kB 303.8 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting openpyxl==3.0.10
# inv update|   Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.1/242.1 kB 301.9 MB/s eta 0:00:00
# inv update| Collecting pdf2image==1.16.0
# inv update|   Downloading pdf2image-1.16.0-py3-none-any.whl (10 kB)
# inv update| Collecting pillow==9.2.0
# inv update|   Downloading Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 266.4 MB/s eta 0:00:00
# inv update| Collecting py-moneyed==1.2
# inv update|   Downloading py_moneyed-1.2-py2.py3-none-any.whl (17 kB)
# inv update| Collecting pycparser==2.21
# inv update|   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 274.5 MB/s eta 0:00:00
# inv update| Collecting pydyf==0.5.0
# inv update|   Downloading pydyf-0.5.0-py3-none-any.whl (6.8 kB)
# inv update| Collecting pyjwt[crypto]==2.5.0
# inv update|   Downloading PyJWT-2.5.0-py3-none-any.whl (20 kB)
# inv update| Collecting pyphen==0.13.0
# inv update|   Downloading pyphen-0.13.0-py3-none-any.whl (2.0 MB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 269.1 MB/s eta 0:00:00
# inv update| Collecting python-barcode[images]==0.14.0
# inv update|   Downloading python_barcode-0.14.0-py3-none-any.whl (212 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.9/212.9 kB 316.1 MB/s eta 0:00:00
# inv update| Collecting python-dateutil==2.8.2
# inv update|   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 324.5 MB/s eta 0:00:00
# inv update| Collecting python-fsutil==0.7.0
# inv update|   Downloading python_fsutil-0.7.0-py3-none-any.whl (12 kB)
# inv update| Collecting python3-openid==3.2.0
# inv update|   Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 289.8 MB/s eta 0:00:00
# inv update| Collecting pytz==2022.4
# inv update|   Downloading pytz-2022.4-py2.py3-none-any.whl (500 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.8/500.8 kB 329.1 MB/s eta 0:00:00
# inv update| Collecting pyyaml==6.0
# inv update|   Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 276.6 MB/s eta 0:00:00
# inv update| Collecting qrcode[pil]==7.3.1
# inv update|   Downloading qrcode-7.3.1.tar.gz (43 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.5/43.5 kB 232.4 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting rapidfuzz==0.7.6
# inv update|   Downloading rapidfuzz-0.7.6.tar.gz (227 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.5/227.5 kB 300.1 MB/s eta 0:00:00
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting redis==3.5.3
# inv update|   Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.1/72.1 kB 260.8 MB/s eta 0:00:00
# inv update| Collecting regex==2022.9.13
# inv update|   Downloading regex-2022.9.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (770 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.5/770.5 kB 253.0 MB/s eta 0:00:00
# inv update| Collecting requests==2.28.1
# inv update|   Downloading requests-2.28.1-py3-none-any.whl (62 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 242.3 MB/s eta 0:00:00
# inv update| Collecting requests-oauthlib==1.3.1
# inv update|   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
# inv update| Collecting sentry-sdk==1.9.10
# inv update|   Downloading sentry_sdk-1.9.10-py2.py3-none-any.whl (162 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 280.2 MB/s eta 0:00:00
# inv update| Collecting sgmllib3k==1.0.0
# inv update|   Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)
# inv update|   Preparing metadata (setup.py): started
# inv update|   Preparing metadata (setup.py): finished with status 'done'
# inv update| Collecting six==1.16.0
# inv update|   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
# inv update| Collecting sqlparse==0.4.3
# inv update|   Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.8/42.8 kB 230.4 MB/s eta 0:00:00
# inv update| Collecting tablib[html,ods,xls,xlsx,yaml]==3.2.1
# inv update|   Downloading tablib-3.2.1-py3-none-any.whl (48 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.7/48.7 kB 188.3 MB/s eta 0:00:00
# inv update| Collecting tinycss2==1.1.1
# inv update|   Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
# inv update| Collecting types-cryptography==3.3.23
# inv update|   Downloading types_cryptography-3.3.23-py3-none-any.whl (30 kB)
# inv update| Collecting uritemplate==4.1.1
# inv update|   Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
# inv update| Collecting urllib3==1.26.12
# inv update|   Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 313.0 MB/s eta 0:00:00
# inv update| Collecting wcwidth==0.2.5
# inv update|   Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
# inv update| Collecting weasyprint==54.3
# inv update|   Downloading weasyprint-54.3-py3-none-any.whl (247 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.9/247.9 kB 319.8 MB/s eta 0:00:00
# inv update| Collecting webencodings==0.5.1
# inv update|   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
# inv update| Collecting xlrd==2.0.1
# inv update|   Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.5/96.5 kB 301.3 MB/s eta 0:00:00
# inv update| Collecting xlwt==1.3.0
# inv update|   Downloading xlwt-1.3.0-py2.py3-none-any.whl (99 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0/100.0 kB 292.7 MB/s eta 0:00:00
# inv update| Collecting zipp==3.9.0
# inv update|   Downloading zipp-3.9.0-py3-none-any.whl (5.8 kB)
# inv update| Collecting zopfli==0.2.1
# inv update|   Downloading zopfli-0.2.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (848 kB)
# inv update|      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 848.9/848.9 kB 300.2 MB/s eta 0:00:00
# inv update| Requirement already satisfied: setuptools in ./env/lib/python3.10/site-packages (from django-money==2.1.1->-r requirements.txt (line 99)) (59.6.0)
# inv update| Building wheels for collected packages: coreschema, django-allauth, django-error-report, django-xforwardedfor-middleware, markuppy, odfpy, rapidfuzz, sgmllib3k, qrcode
# inv update|   Building wheel for coreschema (setup.py): started
# inv update|   Building wheel for coreschema (setup.py): finished with status 'done'
# inv update|   Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15030 sha256=dc51c3e1a50bbc5605cf2c42f6826cb1cb3e8d502694eb8151f1a2085460329e
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/77/23/d2/e492f653c783d8e1acd784e804533145928ec2597cf10ff157
# inv update|   Building wheel for django-allauth (setup.py): started
# inv update|   Building wheel for django-allauth (setup.py): finished with status 'done'
# inv update|   Created wheel for django-allauth: filename=django_allauth-0.51.0-py3-none-any.whl size=1036053 sha256=71aa77b2784c42b06bc8a13e6edc18f560bc30ea59866eaca0fee27b34fc9f69
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/6f/17/ae/0ed43373dc265af588fbf1b2d9bdcb8745e947124849921b0f
# inv update|   Building wheel for django-error-report (setup.py): started
# inv update|   Building wheel for django-error-report (setup.py): finished with status 'done'
# inv update|   Created wheel for django-error-report: filename=django_error_report-0.2.0-py3-none-any.whl size=7178 sha256=7b972473d4491d51505c6a75fc44bf3e57336288f5c5adeb8277b6d02dab0595
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/c8/8e/b4/369c1e27e5f2763a2b29e76cf9296c6a23c209b30fa0943dfd
# inv update|   Building wheel for django-xforwardedfor-middleware (setup.py): started
# inv update|   Building wheel for django-xforwardedfor-middleware (setup.py): finished with status 'done'
# inv update|   Created wheel for django-xforwardedfor-middleware: filename=django_xforwardedfor_middleware-2.0-py3-none-any.whl size=1949 sha256=5f7abeaa6b0ff67b72adf102edf8dfa5c1c143e589e7073f6f8a4196a520336e
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/98/a5/2f/f03288a86a8a12851e67c04ddc1aeb1bef103452a4a971e18e
# inv update|   Building wheel for markuppy (setup.py): started
# inv update|   Building wheel for markuppy (setup.py): finished with status 'done'
# inv update|   Created wheel for markuppy: filename=MarkupPy-1.14-py3-none-any.whl size=7415 sha256=598b3f91a9d479c340dc45601e763adb94ef30a19bfafc5734181b6c91c69460
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/21/66/1d/dd55ec31b540d78d6b311c490273e4840898f0e9ecce947ff5
# inv update|   Building wheel for odfpy (setup.py): started
# inv update|   Building wheel for odfpy (setup.py): finished with status 'done'
# inv update|   Created wheel for odfpy: filename=odfpy-1.4.1-py2.py3-none-any.whl size=160692 sha256=0040bdb5c0cc190be2d3a33714b4bfee4ad2d89df128972fc0ef8e9725585b45
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/9e/28/33/c15fd2ca17ade7bcc260a848e305f6b24f24464fe06d6d3d55
# inv update|   Building wheel for rapidfuzz (setup.py): started
# inv update|   Building wheel for rapidfuzz (setup.py): finished with status 'done'
# inv update|   Created wheel for rapidfuzz: filename=rapidfuzz-0.7.6-cp310-cp310-linux_x86_64.whl size=586678 sha256=a577d9276e0f8ea64668948e9567b2f9698135ebccac80099b040b2d4c108d5c
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/4c/7e/c8/978fd0d2cd9d8649fcff17fbcef16bc2fbd3db9d22ddd2a7f8
# inv update|   Building wheel for sgmllib3k (setup.py): started
# inv update|   Building wheel for sgmllib3k (setup.py): finished with status 'done'
# inv update|   Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6066 sha256=e50a80a27c92e6ea1589a67ee06a73469f08acb829bae7b85efcd918e82a7bcb
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/3b/24/68/f82c1fe16fe6cc7c6f9f67fe4bbf2a4ce527dea6b14a4b34ee
# inv update|   Building wheel for qrcode (setup.py): started
# inv update|   Building wheel for qrcode (setup.py): finished with status 'done'
# inv update|   Created wheel for qrcode: filename=qrcode-7.3.1-py3-none-any.whl size=40402 sha256=5a3768deaea2ca5de900cf5f9427296a214a7b7bb4f27e2529db74e1f3176364
# inv update|   Stored in directory: /tmp/pip-ephem-wheel-cache-_nqj55uy/wheels/22/55/8f/67bcedfbd469c9a86c74b0f6bf73c814a59cea47fdc3289c02
# inv update| Successfully built coreschema django-allauth django-error-report django-xforwardedfor-middleware markuppy odfpy rapidfuzz sgmllib3k qrcode
# inv update| Installing collected packages: xlwt, webencodings, wcwidth, types-cryptography, sgmllib3k, pytz, python-fsutil, python-barcode, markuppy, itypes, django-cleanup, brotli, zopfli, zipp, xlrd, urllib3, uritemplate, tinycss2, tablib, sqlparse, six, regex, redis, rapidfuzz, qrcode, pyyaml, pyphen, pyjwt, pydyf, pycparser, pillow, oauthlib, markupsafe, markdown, idna, gunicorn, fonttools, feedparser, et-xmlfile, django-maintenance-mode, django-crispy-forms, diff-match-patch, defusedxml, charset-normalizer, certifi, babel, asgiref, sentry-sdk, requests, python3-openid, python-dateutil, py-moneyed, pdf2image, openpyxl, odfpy, jinja2, importlib-metadata, html5lib, django, cssselect2, cffi, blessed, bleach, weasyprint, requests-oauthlib, djangorestframework, django-xforwardedfor-middleware, django-user-sessions, django-stdimage, django-sslserver, django-sql-utils, django-redis, django-picklefield, django-otp, django-money, django-js-asset, django-formtools, django-filter, django-error-report, django-dbbackup, django-cors-headers, cryptography, coreschema, arrow, django-weasyprint, django-q, django-mptt, django-markdownify, django-import-export, coreapi, django-allauth, django-allauth-2fa
# inv update| Successfully installed arrow-1.2.3 asgiref-3.5.2 babel-2.10.3 bleach-5.0.1 blessed-1.19.1 brotli-1.0.9 certifi-2022.9.24 cffi-1.15.1 charset-normalizer-2.1.1 coreapi-2.3.3 coreschema-0.0.4 cryptography-3.4.8 cssselect2-0.7.0 defusedxml-0.7.1 diff-match-patch-20200713 django-3.2.16 django-allauth-0.51.0 django-allauth-2fa-0.10.0 django-cleanup-6.0.0 django-cors-headers-3.13.0 django-crispy-forms-1.14.0 django-dbbackup-4.0.2 django-error-report-0.2.0 django-filter-22.1 django-formtools-2.4 django-import-export-2.5.0 django-js-asset-2.0.0 django-maintenance-mode-0.16.3 django-markdownify-0.9.2 django-money-2.1.1 django-mptt-0.11.0 django-otp-1.1.3 django-picklefield-3.1 django-q-1.3.9 django-redis-5.2.0 django-sql-utils-0.6.1 django-sslserver-0.22 django-stdimage-5.3.0 django-user-sessions-1.7.1 django-weasyprint-2.2.0 django-xforwardedfor-middleware-2.0 djangorestframework-3.14.0 et-xmlfile-1.1.0 feedparser-6.0.10 fonttools-4.37.4 gunicorn-20.1.0 html5lib-1.1 idna-3.4 importlib-metadata-5.0.0 itypes-1Plugin configuration file does not exist - creating default file
2022-11-19 22:58:10,252 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
Backing Up Database: /opt/inventree/data/database.sqlite3
Writing file to default-mat2204-2022-11-19-225812.dump.gz
2022-11-19 22:58:13,038 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
Writing file to mat2204-2022-11-19-225815.tar.gz
2022-11-19 22:58:15,635 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
2022-11-19 22:58:18,839 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
.2.0 jinja2-3.1.2 markdown-3.4.1 markuppy-1.14 markupsafe-2.1.1 oauthlib-3.2.1 odfpy-1.4.1 openpyxl-3.0.10 pdf2image-1.16.0 pillow-9.2.0 py-moneyed-1.2 pycparser-2.21 pydyf-0.5.0 pyjwt-2.5.0 pyphen-0.13.0 python-barcode-0.14.0 python-dateutil-2.8.2 python-fsutil-0.7.0 python3-openid-3.2.0 pytz-2022.4 pyyaml-6.0 qrcode-7.3.1 rapidfuzz-0.7.6 redis-3.5.3 regex-2022.9.13 requests-2.28.1 requests-oauthlib-1.3.1 sentry-sdk-1.9.10 sgmllib3k-1.0.0 six-1.16.0 sqlparse-0.4.3 tablib-3.2.1 tinycss2-1.1.1 types-cryptography-3.3.23 uritemplate-4.1.1 urllib3-1.26.12 wcwidth-0.2.5 weasyprint-54.3 webencodings-0.5.1 xlrd-2.0.1 xlwt-1.3.0 zipp-3.9.0 zopfli-0.2.1
# inv update| Installing plugin packages from '/etc/inventree/plugins.txt'
# inv update| Backing up InvenTree database...
# inv update| InvenTree configuration file 'config.yaml' not found - creating default file
# inv update| Created config file /etc/inventree/config.yaml
# inv update| Backing up InvenTree media files...
# inv update| Running InvenTree database migrations...
# inv update| ========================================
# inv update| No changes detected
# inv update| Operations to perform:
# inv update|   Apply all migrations: account, admin, auth, authtoken, build, common, company, contenttypes, django_q, error_report, exchange, label, order, otp_static, otp_totp, part, plugin, report, sites, socialaccount, stock, user_sessions, users
# inv update| Running migrations:
# inv update|   Applying contenttypes.0001_initial... OK
# inv update|   Applying auth.0001_initial... OK
# inv update|   Applying account.0001_initial... OK
# inv update|   Applying account.0002_email_max_length... OK
# inv update|   Applying admin.0001_initial... OK
# inv update|   Applying admin.0002_logentry_remove_auto_add... OK
# inv update|   Applying admin.0003_logentry_add_action_flag_choices... OK
# inv update|   Applying contenttypes.0002_remove_content_type_name... OK
# inv update|   Applying auth.0002_alter_permission_name_max_length... OK
# inv update|   Applying auth.0003_alter_user_email_max_length... OK
# inv update|   Applying auth.0004_alter_user_username_opts... OK
# inv update|   Applying auth.0005_alter_user_last_login_null... OK
# inv update|   Applying auth.0006_require_contenttypes_0002... OK
# inv update|   Applying auth.0007_alter_validators_add_error_messages... OK
# inv update|   Applying auth.0008_alter_user_username_max_length... OK
# inv update|   Applying auth.0009_alter_user_last_name_max_length... OK
# inv update|   Applying auth.0010_alter_group_name_max_length... OK
# inv update|   Applying auth.0011_update_proxy_permissions... OK
# inv update|   Applying auth.0012_alter_user_first_name_max_length... OK
# inv update|   Applying authtoken.0001_initial... OK
# inv update|   Applying authtoken.0002_auto_20160226_1747... OK
# inv update|   Applying authtoken.0003_tokenproxy... OK
# inv update|   Applying users.0001_initial... OK
# inv update|   Applying users.0002_auto_20201004_0158... OK
# inv update|   Applying users.0003_auto_20201005_2227... OK
# inv update|   Applying users.0004_auto_20210113_1909... OK
# inv update|   Applying users.0005_owner_model... OK
# inv update|   Applying part.0001_initial... OK
# inv update|   Applying company.0001_initial... OK
# inv update|   Applying stock.0001_initial... OK
# inv update|   Applying stock.0002_auto_20190525_2226... OK
# inv update|   Applying stock.0003_auto_20190525_2303... OK
# inv update|   Applying stock.0004_auto_20190525_2356... OK
# inv update|   Applying stock.0005_auto_20190602_1944... OK
# inv update|   Applying company.0002_auto_20190520_2204... OK
# inv update|   Applying company.0003_remove_supplierpart_minimum... OK
# inv update|   Applying company.0004_auto_20190525_2354... OK
# inv update|   Applying company.0005_auto_20190525_2356... OK
# inv update|   Applying order.0001_initial... OK
# inv update|   Applying order.0002_auto_20190604_2224... OK
# inv update|   Applying order.0003_auto_20190604_2226... OK
# inv update|   Applying order.0004_purchaseorder_status... OK
# inv update|   Applying order.0005_purchaseorderlineitem_part... OK
# inv update|   Applying order.0006_auto_20190605_2056... OK
# inv update|   Applying order.0007_auto_20190605_2138... OK
# inv update|   Applying order.0008_auto_20190605_2140... OK
# inv update|   Applying order.0009_auto_20190606_2133... OK
# inv update|   Applying order.0010_purchaseorderlineitem_notes... OK
# inv update|   Applying stock.0006_stockitem_purchase_order... OK
# inv update|   Applying stock.0007_auto_20190618_0042... OK
# inv update|   Applying stock.0008_stockitemtracking_url... OK
# inv update|   Applying stock.0009_auto_20190715_2351... OK
# inv update|   Applying build.0001_initial... OK
# inv update|   Applying build.0002_auto_20190520_2204... OK
# inv update|   Applying build.0003_auto_20190525_2355... OK
# inv update|   Applying build.0004_auto_20190525_2356... OK
# inv update|   Applying build.0005_auto_20190604_2217... OK
# inv update|   Applying stock.0010_stockitem_build... OK
# inv update|   Applying stock.0011_auto_20190908_0404... OK
# inv update|   Applying stock.0012_auto_20190908_0405... OK
# inv update|   Applying stock.0013_auto_20190908_0916... OK
# inv update|   Applying stock.0014_auto_20190908_0918... OK
# inv update|   Applying stock.0015_auto_20190913_1407... OK
# inv update|   Applying stock.0016_auto_20191118_2146... OK
# inv update|   Applying stock.0017_auto_20191118_2311... OK
# inv update|   Applying stock.0018_auto_20200202_0103... OK
# inv update|   Applying stock.0019_auto_20200202_1024... OK
# inv update|   Applying stock.0020_auto_20200206_1213... OK
# inv update|   Applying stock.0021_auto_20200215_2232... OK
# inv update|   Applying stock.0022_auto_20200217_1109... OK
# inv update|   Applying stock.0023_auto_20200318_1027... OK
# inv update|   Applying stock.0024_auto_20200405_2239... OK
# inv update|   Applying stock.0025_auto_20200405_2243... OK
# inv update|   Applying stock.0026_stockitem_uid... OK
# inv update|   Applying part.0002_auto_20190520_2204... OK
# inv update|   Applying part.0003_auto_20190525_2226... OK
# inv update|   Applying part.0004_auto_20190525_2356... OK
# inv update|   Applying part.0005_auto_20190526_1119... OK
# inv update|   Applying part.0006_auto_20190526_1215... OK
# inv update|   Applying part.0007_auto_20190602_1944... OK
# inv update|   Applying part.0008_auto_20190618_0042... OK
# inv update|   Applying part.0009_part_virtual... OK
# inv update|   Applying part.0010_auto_20190620_2135... OK
# inv update|   Applying part.0011_part_revision... OK
# inv update|   Applying part.0012_auto_20190627_2144... OK
# inv update|   Applying part.0013_auto_20190628_0951... OK
# inv update|   Applying part.0014_partparameter... OK
# inv update|   Applying part.0015_auto_20190820_0251... OK
# inv update|   Applying part.0016_auto_20190820_0257... OK
# inv update|   Applying part.0017_bomitem_checksum... OK
# inv update|   Applying part.0018_auto_20190907_0941... OK
# inv update|   Applying part.0019_auto_20190908_0404... OK
# inv update|   Applying part.0020_auto_20190908_0404... OK
# inv update|   Applying part.0021_auto_20190908_0916... OK
# inv update|   Applying part.0022_auto_20190908_0918... OK
# inv update|   Applying part.0023_auto_20190913_1401... OK
# inv update|   Applying part.0024_auto_20191118_2139... OK
# inv update|   Applying part.0025_auto_20191118_2316... OK
# inv update|   Applying part.0026_auto_20200131_1022... OK
# inv update|   Applying part.0027_auto_20200202_1024... OK
# inv update|   Applying part.0028_auto_20200203_1007... OK
# inv update|   Applying part.0029_auto_20200223_0901... OK
# inv update|   Applying part.0030_auto_20200318_1027... OK
# inv update|   Applying part.0031_auto_20200318_1044... OK
# inv update|   Applying part.0032_auto_20200322_0453... OK
# inv update|   Applying part.0033_auto_20200404_0445... OK
# inv update|   Applying part.0034_auto_20200404_1238... OK
# inv update|   Applying part.0035_auto_20200406_0045... OK
# inv update|   Applying order.0011_auto_20190615_1928... OK
# inv update|   Applying order.0012_auto_20190617_1943... OK
# inv update|   Applying order.0013_auto_20191118_2323... OK
# inv update|   Applying order.0014_auto_20191118_2328... OK
# inv update|   Applying order.0015_auto_20200201_2346... OK
# inv update|   Applying order.0016_purchaseorderattachment... OK
# inv update|   Applying order.0017_auto_20200331_1000... OK
# inv update|   Applying order.0018_auto_20200406_0151... OK
# inv update|   Applying order.0019_purchaseorder_supplier_reference... OK
# inv update|   Applying common.0001_initial... OK
# inv update|   Applying common.0002_auto_20190902_2304... OK
# inv update|   Applying common.0003_auto_20190902_2310... OK
# inv update|   Applying company.0006_supplierpricebreak_currency... OK
# inv update|   Applying company.0007_remove_supplierpart_lead_time... OK
# inv update|   Applying company.0008_auto_20190913_1407... OK
# inv update|   Applying company.0009_auto_20191118_2323... OK
# inv update|   Applying company.0010_auto_20200201_1231... OK
# inv update|   Applying company.0011_auto_20200318_1114... OK
# inv update|   Applying company.0012_auto_20200318_1114... OK
# inv update|   Applying company.0013_auto_20200406_0131... OK
# inv update|   Applying company.0014_auto_20200407_0116... OK
# inv update|   Applying company.0015_company_is_manufacturer... OK
# inv update|   Applying company.0016_auto_20200412_2330... OK
# inv update|   Applying company.0017_auto_20200413_0320... OK
# inv update|   Applying company.0018_supplierpart_manufacturer... OK
# inv update|   Applying company.0019_auto_20200413_0642... OK
# inv update|   Applying company.0020_auto_20200413_0839... OK
# inv update|   Applying company.0021_remove_supplierpart_manufacturer_name... OK
# inv update|   Applying order.0020_auto_20200420_0940... OK
# inv update|   Applying order.0021_auto_20200420_1010... OK
# inv update|   Applying order.0022_salesorderlineitem_part... OK
# inv update|   Applying order.0023_auto_20200420_2309... OK
# inv update|   Applying stock.0027_stockitem_sales_order... OK
# inv update|   Applying stock.0028_auto_20200421_0724... OK
# inv update|   Applying stock.0029_auto_20200421_2359... OK
# inv update|   Applying stock.0030_auto_20200422_0015... OK
# inv update|   Applying order.0024_salesorderallocation... OK
# inv update|   Applying stock.0031_auto_20200422_0209... OK
# inv update|   Applying order.0025_auto_20200422_0222... OK
# inv update|   Applying order.0026_auto_20200422_0224... OK
# inv update|   Applying order.0027_auto_20200422_0236... OK
# inv update|   Applying order.0028_auto_20200423_0956... OK
# inv update|   Applying order.0029_auto_20200423_1042... OK
# inv update|   Applying build.0006_auto_20190913_1407... OK
# inv update|   Applying build.0007_auto_20191118_2321... OK
# inv update|   Applying build.0008_auto_20200201_1247... OK
# inv update|   Applying build.0009_auto_20200210_1032... OK
# inv update|   Applying build.0010_auto_20200318_1027... OK
# inv update|   Applying build.0011_auto_20200406_0123... OK
# inv update|   Applying build.0012_build_sales_order... OK
# inv update|   Applying build.0013_auto_20200425_0507... OK
# inv update|   Applying build.0014_auto_20200425_1243... OK
# inv update|   Applying build.0015_auto_20200425_1350... OK
# inv update|   Applying stock.0032_stockitem_build_order... OK
# inv update|   Applying stock.0033_auto_20200426_0539... OK
# inv update|   Applying order.0030_auto_20200426_0551... OK
# inv update|   Applying build.0016_auto_20200426_0551... OK
# inv update|   Applying stock.0034_auto_20200426_0602... OK
# inv update|   Applying stock.0035_auto_20200502_2308... OK
# inv update|   Applying stock.0036_stockitemattachment... OK
# inv update|   Applying stock.0037_stockitemattachment_user... OK
# inv update|   Applying stock.0038_stockitemattachment_upload_date... OK
# inv update|   Applying stock.0039_auto_20200513_0016... OK
# inv update|   Applying stock.0040_stockitemtestresult... OK
# inv update|   Applying stock.0041_stockitemtestresult_notes... OK
# inv update|   Applying stock.0042_auto_20200523_0121... OK
# inv update|   Applying part.0036_partattachment_user... OK
# inv update|   Applying part.0037_partattachment_upload_date... OK
# inv update|   Applying part.0038_auto_20200513_0016... OK
# inv update|   Applying part.0039_auto_20200515_1127... OK
# inv update|   Applying part.0040_parttesttemplate... OK
# inv update|   Applying part.0041_auto_20200517_0348... OK
# inv update|   Applying part.0042_auto_20200518_0900... OK
# inv update|   Applying stock.0043_auto_20200525_0420... OK
# inv update|   Applying stock.0044_auto_20200528_1036... OK
# inv update|   Applying stock.0045_stockitem_customer... OK
# inv update|   Applying stock.0046_auto_20200605_0931... OK
# inv update|   Applying stock.0047_auto_20200605_0932... OK
# inv update|   Applying stock.0048_auto_20200807_2344... OK
# inv update|   Applying part.0043_auto_20200527_0005... OK
# inv update|   Applying part.0044_auto_20200605_0931... OK
# inv update|   Applying part.0045_auto_20200605_0932... OK
# inv update|   Applying company.0022_auto_20200613_1045... OK
# inv update|   Applying company.0023_auto_20200808_0715... OK
# inv update|   Applying stock.0049_auto_20200820_0454... OK
# inv update|   Applying stock.0050_auto_20200821_1403... OK
# inv update|   Applying stock.0051_auto_20200928_0928... OK
# inv update|   Applying stock.0052_stockitem_is_building... OK
# inv update|   Applying stock.0053_auto_20201110_0513... OK
# inv update|   Applying stock.0054_remove_stockitem_build_order... OK
# inv update|   Applying stock.0055_auto_20201117_1453... OK
# inv update|   Applying stock.0056_stockitem_expiry_date... OK
# inv update|   Applying stock.0057_stock_location_item_owner... OK
# inv update|   Applying stock.0058_stockitem_packaging... OK
# inv update|   Applying part.0046_auto_20200804_0107... OK
# inv update|   Applying part.0047_auto_20200808_0715... OK
# inv update|   Applying part.0048_auto_20200902_1404... OK
# inv update|   Applying common.0004_inventreesetting... OK
# inv update|   Applying common.0005_auto_20190915_1256... OK
# inv update|   Applying common.0006_auto_20200203_0951... OK
# inv update|   Applying common.0007_colortheme... OK
# inv update|   Applying part.0049_partsellpricebreak... OK
# inv update|   Applying part.0050_auto_20200917_2315... OK
# inv update|   Applying part.0051_bomitem_optional... OK
# inv update|   Applying part.0052_partrelated... OK
# inv update|   Applying part.0054_auto_20201109_1246... OK
# inv update|   Applying part.0055_auto_20201110_1001... OK
# inv update|   Applying part.0056_auto_20201110_1125... OK
# inv update|   Applying part.0057_remove_partsellpricebreak_currency... OK
# inv update|   Applying part.0058_remove_partsellpricebreak_cost... OK
# inv update|   Applying part.0059_auto_20201112_1112... OK
# inv update|   Applying part.0053_partcategoryparametertemplate... OK
# inv update|   Applying part.0060_merge_20201112_1722... OK
# inv update|   Applying company.0024_unique_name_email_constraint... OK
# inv update|   Applying company.0025_auto_20201110_1001... OK
# inv update|   Applying company.0026_auto_20201110_1011... OK
# inv update|   Applying company.0027_remove_supplierpricebreak_currency... OK
# inv update|   Applying company.0028_remove_supplierpricebreak_cost... OK
# inv update|   Applying company.0029_company_currency... OK
# inv update|   Applying company.0030_auto_20201112_1112... OK
# inv update|   Applying company.0031_auto_20210103_2215... OK
# inv update|   Applying part.0061_auto_20210104_2331... OK
# inv update|   Applying part.0061_auto_20210103_2313... OK
# inv update|   Applying part.0062_merge_20210105_0056... OK
# inv update|   Applying part.0063_bomitem_inherited... OK
# inv update|   Applying part.0064_auto_20210404_2016... OK
# inv update|   Applying part.0065_auto_20210505_2144... OK
# inv update|   Applying part.0066_bomitem_allow_variants... OK
# inv update|   Applying build.0017_auto_20200426_0612... OK
# inv update|   Applying build.0018_build_reference... OK
# inv update|   Applying build.0019_auto_20201019_1302... OK
# inv update|   Applying build.0020_auto_20201019_1325... OK
# inv update|   Applying build.0021_auto_20201020_0908_squashed_0026_auto_20201023_1228... OK
# inv update|   Applying build.0022_buildorderattachment... OK
# inv update|   Applying build.0023_auto_20201110_0911... OK
# inv update|   Applying build.0024_auto_20201201_1023... OK
# inv update|   Applying build.0025_build_target_date... OK
# inv update|   Applying build.0026_auto_20210216_1539... OK
# inv update|   Applying build.0027_auto_20210404_2016... OK
# inv update|   Applying build.0028_builditem_bom_item... OK
# inv update|   Applying build.0029_auto_20210601_1525... OK
# inv update|   Applying build.0030_alter_build_reference... OK
# inv update|   Applying build.0031_build_reference_int... OK
# inv update|   Applying build.0032_auto_20211014_0632... OK
# inv update|   Applying build.0033_auto_20211128_0151... OK
# inv update|   Applying build.0034_alter_build_reference_int... OK
# inv update|   Applying build.0035_alter_build_notes... OK
# inv update|   Applying build.0036_auto_20220707_1101... OK
# inv update|   Applying common.0008_remove_inventreesetting_description... OK
# inv update|   Applying common.0009_delete_currency... OK
# inv update|   Applying common.0010_migrate_currency_setting... OK
# inv update|   Applying common.0011_auto_20210722_2114... OK
# inv update|   Applying common.0012_notificationentry... OK
# inv update|   Applying common.0013_webhookendpoint_webhookmessage... OK
# inv update|   Applying common.0014_notificationmessage... OK
# inv update|   Applying common.0015_newsfeedentry... OK
# inv update|   Applying company.0032_auto_20210403_1837... OK
# inv update|   Applying company.0033_auto_20210410_1528... OK
# inv update|   Applying company.0034_manufacturerpart... OK
# inv update|   Applying company.0035_supplierpart_update_1... OK
# inv update|   Applying company.0036_supplierpart_update_2... OK
# inv update|   Applying company.0037_supplierpart_update_3... OK
# inv update|   Applying company.0038_manufacturerpartparameter... OK
# inv update|   Applying company.0039_auto_20210701_0509... OK
# inv update|   Applying company.0040_alter_company_currency... OK
# inv update|   Applying company.0041_alter_company_options... OK
# inv update|   Applying company.0042_supplierpricebreak_updated... OK
# inv update|   Applying company.0043_manufacturerpartattachment... OK
# inv update|   Applying company.0044_auto_20220607_2204... OK
# inv update|   Applying company.0045_alter_company_notes... OK
# inv update|   Applying company.0046_alter_company_image... OK
# inv update|   Applying company.0047_supplierpart_pack_size... OK
# inv update|   Applying company.0048_auto_20220913_0312... OK
# inv update|   Applying company.0049_company_metadata... OK
# inv update|   Applying company.0050_alter_company_website... OK
# inv update|   Applying company.0051_alter_supplierpricebreak_price... OK
# inv update|   Applying django_q.0001_initial... OK
# inv update|   Applying django_q.0002_auto_20150630_1624... OK
# inv update|   Applying django_q.0003_auto_20150708_1326... OK
# inv update|   Applying django_q.0004_auto_20150710_1043... OK
# inv update|   Applying django_q.0005_auto_20150718_1506... OK
# inv update|   Applying django_q.0006_auto_20150805_1817... OK
# inv update|   Applying django_q.0007_ormq... OK
# inv update|   Applying django_q.0008_auto_20160224_1026... OK
# inv update|   Applying django_q.0009_auto_20171009_0915... OK
# inv update|   Applying django_q.0010_auto_20200610_0856... OK
# inv update|   Applying django_q.0011_auto_20200628_1055... OK
# inv update|   Applying django_q.0012_auto_20200702_1608... OK
# inv update|   Applying django_q.0013_task_attempt_count... OK
# inv update|   Applying django_q.0014_schedule_cluster... OK
# inv update|   Applying error_report.0001_initial... OK
# inv update|   Applying exchange.0001_initial... OK
# inv update|   Applying label.0001_initial... OK
# inv update|   Applying label.0002_stockitemlabel_enabled... OK
# inv update|   Applying label.0003_stocklocationlabel... OK
# inv update|   Applying label.0004_auto_20210111_2302... OK
# inv update|   Applying label.0005_auto_20210113_2302... OK
# inv update|   Applying label.0006_auto_20210222_1535... OK
# inv update|   Applying label.0007_auto_20210513_1327... OK
# inv update|   Applying label.0008_auto_20210708_2106... OK
# inv update|   Applying stock.0059_auto_20210404_2016... OK
# inv update|   Applying stock.0060_auto_20210511_1713... OK
# inv update|   Applying stock.0061_auto_20210511_0911... OK
# inv update|   Applying stock.0062_auto_20210511_2151... OK
# inv update|   Applying stock.0063_auto_20210511_2343... OK
# inv update|   Applying stock.0064_auto_20210621_1724... OK
# inv update|   Applying stock.0065_auto_20210701_0509... OK
# inv update|   Applying stock.0066_stockitem_scheduled_for_deletion... OK
# inv update|   Applying part.0067_partinternalpricebreak... OK
# inv update|   Applying part.0068_part_unique_part... OK
# inv update|   Applying part.0069_auto_20210701_0509... OK
# inv update|   Applying part.0070_alter_part_variant_of... OK
# inv update|   Applying part.0071_alter_partparametertemplate_name... OK
# inv update|   Applying part.0072_bomitemsubstitute... OK
# inv update|   Applying part.0073_auto_20211013_1048... OK
# inv update|   Applying part.0074_partcategorystar... OK
# inv update|   Applying stock.0067_alter_stockitem_part... OK
# inv update|   Applying stock.0068_stockitem_serial_int... OK
# inv update|   Applying stock.0069_auto_20211109_2347... OK
# inv update|   Applying stock.0070_auto_20211128_0151... OK
# inv update|   Applying stock.0071_auto_20211205_1733... OK
# inv update|   Applying stock.0072_remove_stockitem_scheduled_for_deletion... OK
# inv update|   Applying stock.0073_alter_stockitem_belongs_to... OK
# inv update|   Applying stock.0074_alter_stockitem_batch... OK
# inv update|   Applying stock.0075_auto_20220515_1440... OK
# inv update|   Applying stock.0076_alter_stockitem_status... OK
# inv update|   Applying stock.0077_alter_stockitem_notes... OK
# inv update|   Applying part.0075_auto_20211128_0151... OK
# inv update|   Applying part.0076_auto_20220516_0819... OK
# inv update|   Applying part.0077_alter_bomitem_unique_together... OK
# inv update|   Applying part.0078_auto_20220606_0024... OK
# inv update|   Applying part.0079_alter_part_notes... OK
# inv update|   Applying order.0031_auto_20200426_0612... OK
# inv update|   Applying order.0032_auto_20200427_0044... OK
# inv update|   Applying order.0033_auto_20200512_1033... OK
# inv update|   Applying order.0034_auto_20200512_1054... OK
# inv update|   Applying order.0035_auto_20200513_0016... OK
# inv update|   Applying order.0036_auto_20200831_0912... OK
# inv update|   Applying order.0037_auto_20201110_0911... OK
# inv update|   Applying order.0038_auto_20201112_1737... OK
# inv update|   Applying order.0039_auto_20201112_2203... OK
# inv update|   Applying order.0040_salesorder_target_date... OK
# inv update|   Applying order.0041_auto_20210114_1728... OK
# inv update|   Applying order.0042_auto_20210310_1619... OK
# inv update|   Applying order.0043_auto_20210330_0013... OK
# inv update|   Applying order.0044_auto_20210404_2016... OK
# inv update|   Applying order.0045_auto_20210504_1946... OK
# inv update|   Applying order.0046_purchaseorderlineitem_destination... OK
# inv update|   Applying order.0047_auto_20210701_0509... OK
# inv update|   Applying order.0048_auto_20210702_2321... OK
# inv update|   Applying order.0049_alter_purchaseorderlineitem_unique_together... OK
# inv update|   Applying order.0050_alter_purchaseorderlineitem_destination... OK
# inv update|   Applying order.0051_auto_20211014_0623... OK
# inv update|   Applying order.0052_auto_20211014_0631... OK
# inv update|   Applying order.0053_auto_20211128_0151... OK
# inv update|   Applying order.0053_salesordershipment... OK
# inv update|   Applying order.0054_salesorderallocation_shipment... OK
# inv update|   Applying order.0055_auto_20211025_0645... OK
# inv update|   Applying order.0056_alter_salesorderallocation_shipment... OK
# inv update|   Applying order.0057_salesorderlineitem_shipped... OK
# inv update|   Applying order.0058_auto_20211126_1210... OK
# inv update|   Applying order.0059_salesordershipment_tracking_number... OK
# inv update|   Applying order.0060_auto_20211129_1339... OK
# inv update|   Applying order.0054_auto_20211201_2139... OK
# inv update|   Applying order.0061_merge_0054_auto_20211201_2139_0060_auto_20211129_1339... OK
# inv update|   Applying order.0062_auto_20220228_0321... OK
# inv update|   Applying order.0063_alter_purchaseorderlineitem_unique_together... OK
# inv update|   Applying order.0064_purchaseorderextraline_salesorderextraline... OK
# inv update|   Applying order.0065_alter_purchaseorderlineitem_part... OK
# inv update|   Applying order.0066_alter_purchaseorder_supplier... OK
# inv update|   Applying order.0067_auto_20220516_1120... OK
# inv update|   Applying order.0068_alter_salesorderallocation_unique_together... OK
# inv update|   Applying order.0069_auto_20220524_0508... OK
# inv update|   Applying order.0070_auto_20220620_0728... OK
# inv update|   Applying order.0071_auto_20220628_0133... OK
# inv update|   Applying order.0072_alter_salesorder_reference... OK
# inv update|   Applying order.0073_alter_purchaseorder_reference... OK
# inv update|   Applying order.0074_auto_20220709_0108... OK
# inv update|   Applying order.0075_auto_20221110_0108... OK
# inv update|   Applying order.0076_auto_20221111_0153... OK
# inv update|   Applying otp_static.0001_initial... OK
# inv update|   Applying otp_static.0002_throttling... OK
# inv update|   Applying otp_totp.0001_initial... OK
# inv update|   Applying otp_totp.0002_auto_20190420_0723... OK
# inv update|   Applying part.0080_alter_part_image... OK
# inv update|   Applying part.0081_alter_partcategory_name... OK
# inv update|   Applying part.0082_partcategory_pathstring... OK
# inv update|   Applying part.0083_auto_20220731_2357... OK
# inv update|   Applying part.0084_partcategory_icon... OK
# inv update|   Applying part.0085_partparametertemplate_description... OK
# inv update|   Applying part.0086_auto_20220912_0007... OK
# inv update|   Applying part.0087_bomitem_consumable... OK
# inv update|   Applying part.0088_alter_partparametertemplate_name... OK
# inv update|   Applying part.0089_auto_20221112_0128... OK
# inv update|   Applying part.0090_auto_20221115_0816... OK
# inv update|   Applying plugin.0001_initial... OK
# inv update|   Applying plugin.0002_alter_pluginconfig_options... OK
# inv update|   Applying plugin.0003_pluginsetting... OK
# inv update|   Applying plugin.0004_alter_pluginsetting_key... OK
# inv update|   Applying plugin.0005_notificationusersetting... OK
# inv update|   Applying report.0001_initial... OK
# inv update|   Applying report.0002_delete_reporttemplate... OK
# inv update|   Applying report.0003_testreport_enabled... OK
# inv update|   Applying report.0004_auto_20200823_1104... OK
# inv update|   Applying report.0005_auto_20210119_0815... OK
# inv update|   Applying report.0006_reportsnippet... OK
# inv update|   Applying report.0007_auto_20210204_1617... OK
# inv update|   Applying report.0008_auto_20210204_2100... OK
# inv update|   Applying report.0009_testreport_revision... OK
# inv update|   Applying report.0010_auto_20210205_1201... OK
# inv update|   Applying report.0011_auto_20210212_2024... OK
# inv update|   Applying report.0012_buildreport... OK
# inv update|   Applying report.0013_testreport_include_installed... OK
# inv update|   Applying report.0014_purchaseorderreport_salesorderreport... OK
# inv update|   Applying report.0015_auto_20210403_1837... OK
# inv update|   Applying report.0016_auto_20210513_1303... OK
# inv update|   Applying sites.0001_initial... OK
# inv update|   Applying sites.0002_alter_domain_unique... OK
# inv update|   Applying socialaccount.0001_initial... OK
# inv update|   Applying socialaccount.0002_token_max_lengths... OK
# inv update|   Applying socialaccount.0003_extra_data_default_dict... OK
# inv update|   Applying stock.0078_alter_stockitem_supplier_part... OK
# inv update|   Applying stock.0079_alter_stocklocation_name... OK
# inv update|   Applying stock.0080_stocklocation_pathstring... OK
# inv update|   Applying stock.0081_auto_20220801_0044... OK
# inv update|2022-11-19 22:58:53,173 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
2022-11-19 22:58:57,015 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
2022-11-19 22:59:04,752 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
2022-11-19 22:59:20,557 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
2022-11-19 22:59:23,359 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
22:59:25 [Q] INFO Enqueued 1
   Applying stock.0082_alter_stockitem_link... OK
# inv update|   Applying stock.0083_stocklocation_icon... OK
# inv update|   Applying stock.0084_auto_20220903_0154... OK
# inv update|   Applying stock.0085_auto_20220903_0225... OK
# inv update|   Applying stock.0086_remove_stockitem_uid... OK
# inv update|   Applying stock.0087_auto_20220912_2341... OK
# inv update|   Applying stock.0088_remove_stockitem_infinite... OK
# inv update|   Applying stock.0089_alter_stockitem_purchase_price... OK
# inv update|   Applying user_sessions.0001_initial... OK
# inv update|   Applying user_sessions.0002_auto_20151208_1536... OK
# inv update|   Applying user_sessions.0003_auto_20161205_1516... OK
# inv update| Operations to perform:
# inv update|   Synchronize unmigrated apps: InvenTree, allauth, allauth_2fa, corsheaders, crispy_forms, dbbackup, django_cleanup, django_filters, django_otp, djmoney, formtools, import_export, maintenance_mode, markdownify, messages, mptt, rest_framework, sslserver, staticfiles
# inv update|   Apply all migrations: account, admin, auth, authtoken, build, common, company, contenttypes, django_q, error_report, exchange, label, order, otp_static, otp_totp, part, plugin, report, sites, socialaccount, stock, user_sessions, users
# inv update| Synchronizing apps without migrations:
# inv update|   Creating tables...
# inv update|     Running deferred SQL...
# inv update| Running migrations:
# inv update|   No migrations to apply.
# inv update| System check identified no issues (1 silenced).
# inv update| ========================================
# inv update| InvenTree database migrations completed!
# inv update| 2022-11-19 22:58:59,594 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
# inv update| Rebuilding Part objects
# inv update| Rebuilding PartCategory objects
# inv update| Rebuilding StockItem objects
# inv update| Rebuilding StockLocation objects
# inv update| Rebuilding Build objects
# inv update| 2022-11-19 22:59:02,187 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
# inv update| render news.js
# inv update| render charts.js
# inv update| render stock.js
# inv update| render plugin.js
# inv update| render build.js
# inv update| render part.js
# inv update| render company.js
# inv update| render filters.js
# inv update| render pricing.js
# inv update| render table_filters.js
# inv update| render model_renderers.js
# inv update| render helpers.js
# inv update| render attachment.js
# inv update| render report.js
# inv update| render search.js
# inv update| render label.js
# inv update| render tables.js
# inv update| render modals.js
# inv update| render bom.js
# inv update| render order.js
# inv update| render notification.js
# inv update| render api.js
# inv update| render barcode.js
# inv update| render forms.js
# inv update| rendered all files in /opt/inventree/InvenTree/templates/js/translated
# inv update| 
# inv update| 2877 static files copied to '/opt/inventree/data/static'.
# inv update| InvenTree translation coverage: 18%
# inv update| 2022-11-19 22:59:26,833 ERROR Invalid number for INVENTREE_DB_PORT: sampleport
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/pl/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/it/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/es/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/fr/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/pt_br/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/de/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/zh/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/sv/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/ja/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/nl/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/en/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/da/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/tr/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/th/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/ko/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/he/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/el/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/no/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/id/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/vi/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/pt/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/ru/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/fa/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/es_MX/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/hu/LC_MESSAGES
# inv update| processing file django.po in /opt/inventree/InvenTree/locale/cs/LC_MESSAGES
# Set permissions for data dir and media: /opt/inventree/data
# Setting up InvenTree config values
# Writing the settings to the config file /etc/inventree/config.yaml
# 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:/++++++/

A++++++
####################################################################################
`
operatort commented 1 year ago

Attached the latets try with Ubuntu 20.04 +

 [#67](https://packager.io/gh/inventree/InvenTree/builds/67)
Ubuntu Focal 20.04 64 bits
    Created: about 12 hours ago Started: about 12 hours ago Duration: 65s
    [master](https://github.com/inventree/InvenTree/tree/master)
    [5869a008c5870ad9feee2e1ac5f857cc14ca5203](https://github.com/inventree/InvenTree/commit/5869a008c5870ad9feee2e1ac5f857cc14ca5203)

setup_2022-11-19_23_48_10.log

After the install i checked and the backup directory is only rwxr-xr-x (0755) the others are rwxrwxr-x (0775) in working one they are all (0775) and the sq3lite database is visible

operatort commented 1 year ago

Awesome your fix fixed the installer (previously saying on 20.04 ->20.04 not suported) For installer documententation: wget -Nq https://raw.githubusercontent.com/InvenTree/InvenTree/master/contrib/install.sh && bash install.sh -master the default "stable" is not working with this the install is working flawless :)

i had to copy the autmatically created config.yaml file from the /etc/inventree to /opt/inventree/InvenTree for some reason the config.yaml in /opt is just the default without the necessary information cp /etc/inventree/config.yaml /opt/inventree/InvenTree/

After that invoke update and invoke import-records and invoke export-records

Thank you @matmair

matmair commented 1 year ago

@operatort there was no stable release with the current installer up to now. 0.9.x will be the first on.

Could you test if it works with the copying? The info where the file is placed should be passed on normally.

operatort commented 1 year ago

@matmair I am not sure what you mean

  1. I installed it with the installer -master

  2. Inventree is running

  3. populated inventree with some test data

  4. tried invoke export

  5. error Traceback (most recent call last): File "manage.py", line 23, in <module> execute_from_command_line(sys.argv) File "/opt/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/opt/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 363, in execute settings.INSTALLED_APPS File "/opt/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__ self._setup(name) File "/opt/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/opt/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 170, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 848, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/opt/inventree/InvenTree/InvenTree/settings.py", line 87, in <module> STATIC_ROOT = config.get_static_dir() File "/opt/inventree/InvenTree/InvenTree/config.py", line 153, in get_static_dir raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified') FileNotFoundError: INVENTREE_STATIC_ROOT not specified

  6. so i replaced the "default" automatically created config.yaml in /opt with the good automatically created one from /etc

  7. invoke export works

  8. successfully tested reverting between different database stages :)

I attached the install log i think it mentions the problem with the config.yaml in /opt setup_2022-11-20_12_10_21.log

matmair commented 1 year ago

Ah now I get the error. Yeah this is a bit of a shortfall in the distribution right now, there is a FR to fix this #3780. If you call invoke you are normally not executing it in the context of the packaged install - so it does not know where the files are.