502 Bad Gateway after update 0.12.8 -> 0.13.0

Deployment Method

[X] Installer
[ ] Docker Development
[ ] Docker Production
[ ] Bare metal Development
[ ] Bare metal Production
[ ] Digital Ocean image
[ ] Other (please provide a link Steps to Reproduce

Describe the problem*
After performing an update to 0.13, using sudo apt install --only-upgrade inventree , InvenTree no longer works (website returns "502 Bad Gateway").
The upgrade seems to skip running inv update. When manually executing inv update and rebooting the system, the problem is solved.
Performed on a system running Debian 11 with InvenTree 0.12 installed using the installation script.
IPv6 is disabled in /etc/sysctl.conf.
/etc/nginx/sites-enabled/inventree.conf is unchanged (default content).
First mentioned in #4134
Steps to Reproduce
Perform update
Relevant log output
sudo apt install --only-upgrade inventree returns:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  inventree
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/117 MB of archives.
After this operation, 32.5 MB of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 73097 files and directories currently installed.)
Preparing to unpack .../inventree_0.13.0-1702638825.301afaa9.focal_amd64.deb ...
Unpacking inventree (0.13.0-1702638825.301afaa9.focal) over (0.12.8-1698964278.a7487ff8.focal) ...
Setting up inventree (0.13.0-1702638825.301afaa9.focal) ...
# Setting base environment variables
# Using existing config file: /etc/inventree/config.yaml

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
# Collected environment variables:
#    INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
#    INVENTREE_STATIC_ROOT=/opt/inventree/data/static
#    INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
#    INVENTREE_PLUGINS_ENABLED=true
#    INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
#    INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
#    INVENTREE_DB_ENGINE=postgresql
#    INVENTREE_DB_NAME=inventree
#    INVENTREE_DB_USER=inventree
#    INVENTREE_DB_HOST=localhost
#    INVENTREE_DB_PORT=5432
# Getting the IP address of the server via web service
IP address is xxx.xxx.xxx.xxx
# Setting up python environment
Requirement already satisfied: invoke in ./env/lib/python3.9/site-packages (2.1.3)
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.40.0)

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
# Stopping nginx
# Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# Starting nginx
# (Re)creating init scripts
Nothing to do.
Nothing to do.
# Enabling InvenTree on boot
# Admin data already exists - skipping
# Stopping InvenTree
# Updating InvenTree
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.40.0)

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
No idea what '--no-frontend' is!
# Set permissions for data dir and media: /opt/inventree/data
# 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://xxx.xxx.xxx.xxx/

curl http://localhost returns:

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx/1.18.0

@JustusRijke  and @eimparas thank you for being patient with me and responding to my post in #4134.  As stated I tried to update Inventree on December 27 and am still trying to get it running. While I have a bit of computer experience, I don't have a large amount of Linux or Python experience.  I have mainly used CPM, DOS, and Windows systems, and programs in C and Basic.  And a lot of google. :)
To give you the best information, I started with a clean install of Ubuntu 22.02.03 (ubuntu-22.04.3-desktop-amd64) this morning.
I updated the system  sudo apt update && sudo apt upgrade and from experience, installed curl  sudo apt install curl
I checked the version of Python3, which was 3.10.12.  I also created the folder ```/etc/inventories `` and copied my config.yaml file into the folder. (This is the same config file I used on V12 of Inventree) So, I went ahead with the one-line installer.
When I ran it from the user prompt, I received the same Permission denied error as outlined in #6175.  I thought this weekend that maybe of version 13 it needed root privileges that were not needed in previous versions of Inventree.  So I entered the root bash, which is the "root" account in Ubuntu.  sudo bash
I tried the one-line installer again, but this time, I received a message that the requirements for Python3.9 were not met. This seems strange since the documation says Python3.9 or newer.  So I installed Python 3.9 sudo apt install python3.9 python3.9-dev python3.9-venv  so not python3 is python 3.10.12 and python3.9 is python 3.9.18.
I tried the one-line installer again, and it appeared to work. below is the screen info.
root@npaparts-server:/opt/inventree# wget -qO install.sh https://get.inventree.org && bash install.sh
### Installer for InvenTree - source: inventree/stable
### Detected distribution: Ubuntu 22.04
### Installing required packages for download
### Installing libssl1.1
deb http://security.ubuntu.com/ubuntu focal-security main
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:7 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 InRelease [1,863 B]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,641 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [693 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [405 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [18.9 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [36.0 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64@2 Icons [29 B]
Get:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB]
Fetched 4,212 kB in 5s (904 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libssl1.1 is already the newest version (1.1.1f-1ubuntu2.20).
The following packages were automatically installed and are no longer required:
  gettext jq libevent-core-2.1-7 libevent-extra-2.1-7 libffi7 libjq1 libonig5
  libpq5 python3-brotli python3-cffi python3-ply python3-pycparser
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
### Getting and adding key
### Adding package source
### Updating package lists
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Get:6 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 InRelease [1,863 B]
Fetched 1,863 B in 2s (854 B/s)
Reading package lists... Done
### Setting installer args
### Installing InvenTree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  inventree
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/117 MB of archives.
After this operation, 331 MB of additional disk space will be used.
Selecting previously unselected package inventree.
(Reading database ... 206419 files and directories currently installed.)
Preparing to unpack .../inventree_0.13.0-1702638825.301afaa9.focal_amd64.deb ...
Unpacking inventree (0.13.0-1702638825.301afaa9.focal) ...
Setting up inventree (0.13.0-1702638825.301afaa9.focal) ...
# Setting base environment variables
# Using existing config file: /etc/inventree/config.yaml
# 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 <IP_ADDRESS>
# Setting up python environment
Requirement already satisfied: invoke in ./env/lib/python3.9/site-packages (2.2.0)
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.42.0)
# Stopping nginx
# Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# Starting nginx
# (Re)creating init scripts
Nothing to do.
Nothing to do.
# Enabling InvenTree on boot
# Admin data already exists - skipping
# Stopping InvenTree
# Updating InvenTree
Requirement already satisfied: wheel in ./env/lib/python3.9/site-packages (0.42.0)
No idea what '--no-frontend' is!
# Set permissions for data dir and media: /opt/inventree/data
# 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://<IP_ADDRESS>/

Admin user data:
   Email:
   Username:
   Password:
####################################################################################
### Install done!

Now I am at the point of having a 502 error.  I have lost this once so I will continue in my next post .... TBC

As shown in #4134, I checked the system status.  Yes, I know I did not have to use sudo when I was working as root, but it worked.
System status
root@npaparts-server:/opt/inventree# sudo systemctl status inventree
● inventree.service
     Loaded: loaded (/etc/systemd/system/inventree.service; enabled; vendor pre>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 1min 43s ago
   Main PID: 8022 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 168.0K
        CPU: 2ms
     CGroup: /system.slice/inventree.service
             └─8022 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree.service.
lines 1-11/11 (END)

invoke update,  it failed, but I thought it was because I was not in the Python env.
root@npaparts-server:/opt/inventree# invoke update
Traceback (most recent call last):
  File "/usr/bin/invoke", line 11, in <module>
    load_entry_point('invoke==1.4.1', 'console_scripts', 'invoke')()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 373, in run
    self.parse_collection()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 465, in parse_collection
    self.load_collection()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 696, in load_collection
    module, parent = loader.load(coll_name)
  File "/usr/lib/python3/dist-packages/invoke/loader.py", line 76, in load
    module = imp.load_module(name, fd, path, desc)
  File "/usr/lib/python3.10/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.10/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 719, in _load
  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/tasks.py", line 352, in <module>
    def update(c, skip_backup=False, frontend: bool = False):
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 338, in inner
    obj = klass(
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 76, in __init__
    self.positional = self.fill_implicit_positionals(positional)
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 167, in fill_implicit_positionals
    args, spec_dict = self.argspec(self.body)
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 153, in argspec
    spec = inspect.getargspec(func)
  File "/usr/lib/python3.10/inspect.py", line 1237, in getargspec
    raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them

inventree config
root@npaparts-server:/opt/inventree# inventree config
APP_GROUP=inventree
APP_HOME=/opt/inventree
APP_NAME=inventree
APP_RUNNER_CLI=systemctl
APP_RUNNER_TYPE=systemd
APP_SAFE_NAME=inventree
APP_USER=inventree
APP_WIZARDS=
FORWARDED_ALLOW_IPS=*
GUNICORN_CMD_ARGS=--access-logfile -
HOME=/home/inventree
LANG=en_US.UTF-8
OLDPWD=/
ORIGINAL_PWD=/opt/inventree
PATH=/opt/inventree/.heroku/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin
PORT=6000
PWD=/opt/inventree
PYTHONHASHSEED=random
PYTHONPATH=/opt/inventree
PYTHONUNBUFFERED=true
ROOT_PATH=/
SHLVL=0

web and worker status
root@npaparts-server:/opt/inventree# sudo systemctl status inventree-web
● inventree-web.service
     Loaded: loaded (/etc/systemd/system/inventree-web.service; enabled; vendor>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 7min ago
   Main PID: 8023 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 172.0K
        CPU: 2ms
     CGroup: /system.slice/inventree-web.service
             └─8023 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree-web.service.
lines 1-11/11 (END)

root@npaparts-server:/opt/inventree# sudo systemctl status inventree-worker
● inventree-worker.service
     Loaded: loaded (/etc/systemd/system/inventree-worker.service; enabled; ven>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 8min ago
   Main PID: 8025 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 176.0K
        CPU: 3ms
     CGroup: /system.slice/inventree-worker.service
             └─8025 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree-worker.service.

root@npaparts-server:/opt/inventree# sudo lsof -i -P -n | grep LISTEN
systemd-r  465 systemd-resolve   14u  IPv4  21363      0t0  TCP <IP_ADDRESS>:53 (LISTEN)
cupsd      700            root    6u  IPv6  25309      0t0  TCP [::1]:631 (LISTEN)
cupsd      700            root    7u  IPv4  25310      0t0  TCP <IP_ADDRESS>:631 (LISTEN)
nginx     7860            root    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)
nginx     7861        www-data    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)
nginx     7862        www-data    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)

restart and check again
root@npaparts-server:/opt/inventree# sudo service inventree restart
root@npaparts-server:/opt/inventree# sudo service inventree-web-1 status
× inventree-web-1.service
     Loaded: loaded (/etc/systemd/system/inventree-web-1.service; enabled; vend>
     Active: failed (Result: exit-code) since Mon 2024-01-08 11:27:10 EST; 12s >
    Process: 8913 ExecStart=/usr/bin/inventree run web (code=exited, status=1/F>
   Main PID: 8913 (code=exited, status=1/FAILURE)
        CPU: 873ms

Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Main proce>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Failed wit>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Scheduled >
Jan 08 11:27:10 npaparts-server systemd[1]: Stopped inventree-web-1.service.
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Start requ>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Failed wit>
Jan 08 11:27:10 npaparts-server systemd[1]: Failed to start inventree-web-1.ser>
lines 1-14/14 (END)
'''
I was not sure how to check if nginx had IPv6 enabled, but since @JustusRijke had confirmed that was not the case this time, I procided.  I checked the configeration

root@npaparts-server:/opt/inventree# nano /etc/nginx/sites-enabled/inventree.conf```
changed from http://localhost:6000 to http://<IP_ADDRESS>:6000  Then saw the comment from @matmair that it was not needed for most systems.
restarted inventree services and confirmed they were still not working
root@npaparts-server:/opt/inventree# sudo service inventree restart
root@npaparts-server:/opt/inventree# systemctl | grep "inventree"
● inventree-web-1.service                                                                                loaded failed failed    inventree-web-1.service
  inventree-web.service                                                                                loaded active running   inventree-web.service
● inventree-worker-1.service                                                                                loaded failed failed    inventree-worker-1.service
  inventree-worker.service                                                                                loaded active running   inventree-worker.service
  inventree.service                                                                                loaded active running   inventree.service

root@npaparts-server:/opt/inventree# sudo service inventree-web-1 status
× inventree-web-1.service
     Loaded: loaded (/etc/systemd/system/inventree-web-1.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-01-08 11:39:02 EST; 3min 32s ago
    Process: 10801 ExecStart=/usr/bin/inventree run web (code=exited, status=1/FAILURE)
   Main PID: 10801 (code=exited, status=1/FAILURE)
        CPU: 866ms

Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Scheduled restart job, restart >
Jan 08 11:39:02 npaparts-server systemd[1]: Stopped inventree-web-1.service.
Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Start request repeated too quic>
Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Failed with result 'exit-code'.
Jan 08 11:39:02 npaparts-server systemd[1]: Failed to start inventree-web-1.service.
lines 1-12/12 (END)

Then I ran into a possible problem.  Continued in the next comment.

As shown in #4134, I checked the system status.  Yes, I know I did not have to use sudo when I was working as root, but it worked.
System status
root@npaparts-server:/opt/inventree# sudo systemctl status inventree
● inventree.service
     Loaded: loaded (/etc/systemd/system/inventree.service; enabled; vendor pre>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 1min 43s ago
   Main PID: 8022 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 168.0K
        CPU: 2ms
     CGroup: /system.slice/inventree.service
             └─8022 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree.service.
lines 1-11/11 (END)

invoke update,  it failed, but I thought it was because I was not in the Python env.
root@npaparts-server:/opt/inventree# invoke update
Traceback (most recent call last):
  File "/usr/bin/invoke", line 11, in <module>
    load_entry_point('invoke==1.4.1', 'console_scripts', 'invoke')()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 373, in run
    self.parse_collection()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 465, in parse_collection
    self.load_collection()
  File "/usr/lib/python3/dist-packages/invoke/program.py", line 696, in load_collection
    module, parent = loader.load(coll_name)
  File "/usr/lib/python3/dist-packages/invoke/loader.py", line 76, in load
    module = imp.load_module(name, fd, path, desc)
  File "/usr/lib/python3.10/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.10/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 719, in _load
  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/tasks.py", line 352, in <module>
    def update(c, skip_backup=False, frontend: bool = False):
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 338, in inner
    obj = klass(
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 76, in __init__
    self.positional = self.fill_implicit_positionals(positional)
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 167, in fill_implicit_positionals
    args, spec_dict = self.argspec(self.body)
  File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 153, in argspec
    spec = inspect.getargspec(func)
  File "/usr/lib/python3.10/inspect.py", line 1237, in getargspec
    raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them

inventree config
root@npaparts-server:/opt/inventree# inventree config
APP_GROUP=inventree
APP_HOME=/opt/inventree
APP_NAME=inventree
APP_RUNNER_CLI=systemctl
APP_RUNNER_TYPE=systemd
APP_SAFE_NAME=inventree
APP_USER=inventree
APP_WIZARDS=
FORWARDED_ALLOW_IPS=*
GUNICORN_CMD_ARGS=--access-logfile -
HOME=/home/inventree
LANG=en_US.UTF-8
OLDPWD=/
ORIGINAL_PWD=/opt/inventree
PATH=/opt/inventree/.heroku/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin
PORT=6000
PWD=/opt/inventree
PYTHONHASHSEED=random
PYTHONPATH=/opt/inventree
PYTHONUNBUFFERED=true
ROOT_PATH=/
SHLVL=0

web and worker status
root@npaparts-server:/opt/inventree# sudo systemctl status inventree-web
● inventree-web.service
     Loaded: loaded (/etc/systemd/system/inventree-web.service; enabled; vendor>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 7min ago
   Main PID: 8023 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 172.0K
        CPU: 2ms
     CGroup: /system.slice/inventree-web.service
             └─8023 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree-web.service.
lines 1-11/11 (END)

root@npaparts-server:/opt/inventree# sudo systemctl status inventree-worker
● inventree-worker.service
     Loaded: loaded (/etc/systemd/system/inventree-worker.service; enabled; ven>
     Active: active (running) since Mon 2024-01-08 11:16:03 EST; 8min ago
   Main PID: 8025 (sleep)
      Tasks: 1 (limit: 4213)
     Memory: 176.0K
        CPU: 3ms
     CGroup: /system.slice/inventree-worker.service
             └─8025 /bin/sleep infinity

Jan 08 11:16:03 npaparts-server systemd[1]: Started inventree-worker.service.

root@npaparts-server:/opt/inventree# sudo lsof -i -P -n | grep LISTEN
systemd-r  465 systemd-resolve   14u  IPv4  21363      0t0  TCP <IP_ADDRESS>:53 (LISTEN)
cupsd      700            root    6u  IPv6  25309      0t0  TCP [::1]:631 (LISTEN)
cupsd      700            root    7u  IPv4  25310      0t0  TCP <IP_ADDRESS>:631 (LISTEN)
nginx     7860            root    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)
nginx     7861        www-data    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)
nginx     7862        www-data    6u  IPv4  71033      0t0  TCP *:80 (LISTEN)

restart and check again
root@npaparts-server:/opt/inventree# sudo service inventree restart
root@npaparts-server:/opt/inventree# sudo service inventree-web-1 status
× inventree-web-1.service
     Loaded: loaded (/etc/systemd/system/inventree-web-1.service; enabled; vend>
     Active: failed (Result: exit-code) since Mon 2024-01-08 11:27:10 EST; 12s >
    Process: 8913 ExecStart=/usr/bin/inventree run web (code=exited, status=1/F>
   Main PID: 8913 (code=exited, status=1/FAILURE)
        CPU: 873ms

Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Main proce>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Failed wit>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Scheduled >
Jan 08 11:27:10 npaparts-server systemd[1]: Stopped inventree-web-1.service.
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Start requ>
Jan 08 11:27:10 npaparts-server systemd[1]: inventree-web-1.service: Failed wit>
Jan 08 11:27:10 npaparts-server systemd[1]: Failed to start inventree-web-1.ser>
lines 1-14/14 (END)
'''
I was not sure how to check if nginx had IPv6 enabled, but since @JustusRijke had confirmed that was not the case this time, I procided.  I checked the configeration

root@npaparts-server:/opt/inventree# nano /etc/nginx/sites-enabled/inventree.conf
edit /etc/nginx/sites-enabled/inventree.conf

change
from http://localhost:6000
to http://<IP_ADDRESS>:6000

root@npaparts-server:/opt/inventree# sudo service inventree restart
root@npaparts-server:/opt/inventree# systemctl | grep "inventree"
● inventree-web-1.service                                                                                loaded failed failed    inventree-web-1.service
  inventree-web.service                                                                                loaded active running   inventree-web.service
● inventree-worker-1.service                                                                                loaded failed failed    inventree-worker-1.service
  inventree-worker.service                                                                                loaded active running   inventree-worker.service
  inventree.service                                                                                loaded active running   inventree.service

root@npaparts-server:/opt/inventree# sudo service inventree-web-1 status
× inventree-web-1.service
     Loaded: loaded (/etc/systemd/system/inventree-web-1.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-01-08 11:39:02 EST; 3min 32s ago
    Process: 10801 ExecStart=/usr/bin/inventree run web (code=exited, status=1/FAILURE)
   Main PID: 10801 (code=exited, status=1/FAILURE)
        CPU: 866ms

Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Scheduled restart job, restart >
Jan 08 11:39:02 npaparts-server systemd[1]: Stopped inventree-web-1.service.
Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Start request repeated too quic>
Jan 08 11:39:02 npaparts-server systemd[1]: inventree-web-1.service: Failed with result 'exit-code'.
Jan 08 11:39:02 npaparts-server systemd[1]: Failed to start inventree-web-1.service.
lines 1-12/12 (END)

Next, I went with the inv update that @JustusRijke noticed was missing.  I am assuming that he meant to type cd and not ls:
''cd /opt/inventree
source ./env/bin/activate
inv update
reboot now```
But I did both :) here are the results.
'''
root@npaparts-server:/opt/inventree# ls /opt/inventree
backportrc.json  data                env           package-lock.json     requirements.in   vendor
branches.json    deploy              images        Procfile              requirements.txt  VERSION
ci               docker              install.sh README.md             runtime.txt       yarn.lock
commit.json      docker-compose.yml  InvenTree     readthedocs.yml       SECURITY.md
contrib          docker.dev.env      LICENSE       RELEASE.md            setup.cfg
CONTRIBUTING.md  Dockerfile          log           requirements-dev.in   src
crowdin.yml      docs                package.json  requirements-dev.txt  tasks.py
root@npaparts-server:/opt/inventree# source ./env/bin/activate
(env) root@npaparts-server:/opt/inventree# inv update
Installing required python packages from 'requirements.txt'
Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (23.3.2)
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (69.0.3)
Requirement already satisfied: asgiref==3.7.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (3.7.2)
Requirement already satisfied: async-timeout==4.0.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.0.3)
Requirement already satisfied: attrs==23.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (23.1.0)
Requirement already satisfied: babel==2.13.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 15)) (2.13.1)
Requirement already satisfied: bleach==6.1.0 in ./env/lib/python3.9/site-packages (from bleach[css]==6.1.0->-r requirements.txt (line 17)) (6.1.0)
Requirement already satisfied: brotli==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 19)) (1.1.0)
Requirement already satisfied: certifi==2023.7.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 21)) (2023.7.22)
Requirement already satisfied: cffi==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 25)) (1.16.0)
Requirement already satisfied: charset-normalizer==3.3.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 29)) (3.3.2)
Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 31)) (2.3.3)
Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 33)) (0.0.4)
Requirement already satisfied: cryptography==41.0.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 35)) (41.0.6)
Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 40)) (0.7.0)
Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 42)) (0.7.1)
Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 46)) (20230430)
Requirement already satisfied: dj-rest-auth==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 48)) (5.0.1)
Requirement already satisfied: django==3.2.23 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 50)) (3.2.23)
Requirement already satisfied: django-allauth==0.54.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 84)) (0.54.0)
Requirement already satisfied: django-allauth-2fa==0.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 88)) (0.11.1)
Requirement already satisfied: django-cleanup==8.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 90)) (8.0.0)
Requirement already satisfied: django-cors-headers==4.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 92)) (4.3.0)
Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 94)) (1.14.0)
Requirement already satisfied: django-dbbackup==4.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 96)) (4.0.2)
Requirement already satisfied: django-error-report-2==0.4.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 98)) (0.4.2)
Requirement already satisfied: django-filter==23.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 100)) (23.3)
Requirement already satisfied: django-flags==5.0.13 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 102)) (5.0.13)
Requirement already satisfied: django-formtools==2.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 104)) (2.4.1)
Requirement already satisfied: django-ical==1.9.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 106)) (1.9.2)
Requirement already satisfied: django-import-export==3.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 108)) (3.3.1)
Requirement already satisfied: django-js-asset==2.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 110)) (2.1.0)
Requirement already satisfied: django-maintenance-mode==0.21.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 112)) (0.21.0)
Requirement already satisfied: django-markdownify==0.9.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 114)) (0.9.3)
Requirement already satisfied: django-money==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 116)) (3.2.0)
Requirement already satisfied: django-mptt==0.11.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 118)) (0.11.0)
Requirement already satisfied: django-otp==1.2.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 120)) (1.2.4)
Requirement already satisfied: django-picklefield==3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 122)) (3.1)
Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 124)) (0.1.6)
Requirement already satisfied: django-q2==1.6.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 126)) (1.6.1)
Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 128)) (1.11.1)
Requirement already satisfied: django-redis==5.4.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 130)) (5.4.0)
Requirement already satisfied: django-sesame==3.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 132)) (3.2.1)
Requirement already satisfied: django-sql-utils==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 134)) (0.7.0)
Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 136)) (0.22)
Requirement already satisfied: django-stdimage==6.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 138)) (6.0.2)
Requirement already satisfied: django-taggit==4.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 140)) (4.0.0)
Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 142)) (2.0.0)
Requirement already satisfied: django-weasyprint==2.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 144)) (2.2.1)
Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 146)) (2.0)
Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 148)) (3.14.0)
Requirement already satisfied: djangorestframework-simplejwt==5.3.0 in ./env/lib/python3.9/site-packages (from djangorestframework-simplejwt[crypto]==5.3.0->-r requirements.txt (line 154)) (5.3.0)
Requirement already satisfied: drf-spectacular==0.26.5 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 156)) (0.26.5)
Requirement already satisfied: dulwich==0.21.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 158)) (0.21.6)
Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 160)) (1.1.0)
Requirement already satisfied: feedparser==6.0.10 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 162)) (6.0.10)
Requirement already satisfied: fonttools==4.44.0 in ./env/lib/python3.9/site-packages (from fonttools[woff]==4.44.0->-r requirements.txt (line 164)) (4.44.0)
Requirement already satisfied: gunicorn==21.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 166)) (21.2.0)
Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 168)) (1.1)
Requirement already satisfied: icalendar==5.0.11 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 170)) (5.0.11)
Requirement already satisfied: idna==3.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 172)) (3.4)
Requirement already satisfied: importlib-metadata==6.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 174)) (6.8.0)
Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 178)) (0.5.1)
Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 180)) (1.2.0)
Requirement already satisfied: jinja2==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 182)) (3.1.2)
Requirement already satisfied: jsonschema==4.19.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 184)) (4.19.2)
Requirement already satisfied: jsonschema-specifications==2023.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 186)) (2023.7.1)
Requirement already satisfied: markdown==3.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 188)) (3.5.1)
Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 190)) (1.14)
Requirement already satisfied: markupsafe==2.1.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 192)) (2.1.3)
Requirement already satisfied: oauthlib==3.2.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 194)) (3.2.2)
Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 196)) (1.4.1)
Requirement already satisfied: openpyxl==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 198)) (3.1.2)
Requirement already satisfied: packaging==23.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 200)) (23.2)
Requirement already satisfied: pdf2image==1.16.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 202)) (1.16.3)
Requirement already satisfied: pillow==10.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 204)) (10.1.0)
Requirement already satisfied: pint==0.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 212)) (0.21)
Requirement already satisfied: py-moneyed==3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 214)) (3.0)
Requirement already satisfied: pycparser==2.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 216)) (2.21)
Requirement already satisfied: pydyf==0.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 218)) (0.8.0)
Requirement already satisfied: pyjwt==2.8.0 in ./env/lib/python3.9/site-packages (from pyjwt[crypto]==2.8.0->-r requirements.txt (line 220)) (2.8.0)
Requirement already satisfied: pyphen==0.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 224)) (0.14.0)
Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 226)) (0.20220715.0)
Requirement already satisfied: python-barcode==0.15.1 in ./env/lib/python3.9/site-packages (from python-barcode[images]==0.15.1->-r requirements.txt (line 228)) (0.15.1)
Requirement already satisfied: python-dateutil==2.8.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 230)) (2.8.2)
Requirement already satisfied: python-dotenv==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 234)) (1.0.0)
Requirement already satisfied: python-fsutil==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 236)) (0.12.0)
Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 238)) (3.2.0)
Requirement already satisfied: pytz==2023.3.post1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 240)) (2023.3.post1)
Requirement already satisfied: pyyaml==6.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 246)) (6.0.1)
Requirement already satisfied: qrcode==7.4.2 in ./env/lib/python3.9/site-packages (from qrcode[pil]==7.4.2->-r requirements.txt (line 251)) (7.4.2)
Requirement already satisfied: rapidfuzz==0.7.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 255)) (0.7.6)
Requirement already satisfied: redis==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 257)) (5.0.1)
Requirement already satisfied: referencing==0.30.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 259)) (0.30.2)
Requirement already satisfied: regex==2023.10.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 263)) (2023.10.3)
Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 265)) (2.31.0)
Requirement already satisfied: requests-oauthlib==1.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 270)) (1.3.1)
Requirement already satisfied: rpds-py==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 272)) (0.12.0)
Requirement already satisfied: sentry-sdk==1.34.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 276)) (1.34.0)
Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 280)) (1.0.0)
Requirement already satisfied: six==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 282)) (1.16.0)
Requirement already satisfied: sqlparse==0.4.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 287)) (0.4.4)
Requirement already satisfied: tablib==3.5.0 in ./env/lib/python3.9/site-packages (from tablib[html,ods,xls,xlsx,yaml]==3.5.0->-r requirements.txt (line 291)) (3.5.0)
Requirement already satisfied: tinycss2==1.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 295)) (1.2.1)
Requirement already satisfied: typing-extensions==4.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 300)) (4.8.0)
Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 305)) (4.1.1)
Requirement already satisfied: urllib3==2.0.7 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 309)) (2.0.7)
Requirement already satisfied: weasyprint==60.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 314)) (60.1)
Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 318)) (0.5.1)
Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 324)) (2.0.1)
Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 326)) (1.3.0)
Requirement already satisfied: zipp==3.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 328)) (3.16.0)
Requirement already satisfied: zopfli==0.2.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 330)) (0.2.3)
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (from django-money==3.2.0->-r requirements.txt (line 116)) (69.0.3)
Backing up InvenTree database...
Traceback (most recent call last):
File "/opt/inventree/InvenTree/manage.py", line 23, in
Python version 3.9.18 - /opt/inventree/env/bin/python3
load version from file
execute_from_command_line(sys.argv)
File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/init.py", line 363, in execute
settings.INSTALLED_APPS
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
self._setup(name)
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/opt/inventree/InvenTree/InvenTree/settings.py", line 129, in
STATIC_ROOT = config.get_static_dir()
File "/opt/inventree/InvenTree/InvenTree/config.py", line 237, in get_static_dir
raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified')
FileNotFoundError: INVENTREE_STATIC_ROOT not specified
Yes during the ```inv update```  config.py was not reading the data from my config.yaml file.  I double checked it and the data for static file location was there.  it was.

STATIC_ROOT is the local filesystem location for storing static files
static_root: '/home/inventree/data/static'
the same location as in my last install.  I moved and tried using ```/home/npa-parts/data/static``` but changes that with the same results.  I also tried the other invoke commands, ```invoke update``` and ```invoke backup``` which had the same issue of not finding the folder. I then reviewed the Python code for config.py and noticed the function had provisions for a default value, so I added my directory there. It worked as it got past that section, and I received this error.

(env) root@npaparts-server:/opt/inventree# inv update
Installing required python packages from 'requirements.txt'
Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (23.3.2)
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (69.0.3)
Requirement already satisfied: asgiref==3.7.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (3.7.2)
Requirement already satisfied: async-timeout==4.0.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.0.3)
Requirement already satisfied: attrs==23.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (23.1.0)
Requirement already satisfied: babel==2.13.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 15)) (2.13.1)
Requirement already satisfied: bleach==6.1.0 in ./env/lib/python3.9/site-packages (from bleach[css]==6.1.0->-r requirements.txt (line 17)) (6.1.0)
Requirement already satisfied: brotli==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 19)) (1.1.0)
Requirement already satisfied: certifi==2023.7.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 21)) (2023.7.22)
Requirement already satisfied: cffi==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 25)) (1.16.0)
Requirement already satisfied: charset-normalizer==3.3.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 29)) (3.3.2)
Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 31)) (2.3.3)
Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 33)) (0.0.4)
Requirement already satisfied: cryptography==41.0.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 35)) (41.0.6)
Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 40)) (0.7.0)
Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 42)) (0.7.1)
Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 46)) (20230430)
Requirement already satisfied: dj-rest-auth==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 48)) (5.0.1)
Requirement already satisfied: django==3.2.23 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 50)) (3.2.23)
Requirement already satisfied: django-allauth==0.54.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 84)) (0.54.0)
Requirement already satisfied: django-allauth-2fa==0.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 88)) (0.11.1)
Requirement already satisfied: django-cleanup==8.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 90)) (8.0.0)
Requirement already satisfied: django-cors-headers==4.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 92)) (4.3.0)
Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 94)) (1.14.0)
Requirement already satisfied: django-dbbackup==4.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 96)) (4.0.2)
Requirement already satisfied: django-error-report-2==0.4.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 98)) (0.4.2)
Requirement already satisfied: django-filter==23.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 100)) (23.3)
Requirement already satisfied: django-flags==5.0.13 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 102)) (5.0.13)
Requirement already satisfied: django-formtools==2.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 104)) (2.4.1)
Requirement already satisfied: django-ical==1.9.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 106)) (1.9.2)
Requirement already satisfied: django-import-export==3.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 108)) (3.3.1)
Requirement already satisfied: django-js-asset==2.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 110)) (2.1.0)
Requirement already satisfied: django-maintenance-mode==0.21.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 112)) (0.21.0)
Requirement already satisfied: django-markdownify==0.9.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 114)) (0.9.3)
Requirement already satisfied: django-money==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 116)) (3.2.0)
Requirement already satisfied: django-mptt==0.11.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 118)) (0.11.0)
Requirement already satisfied: django-otp==1.2.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 120)) (1.2.4)
Requirement already satisfied: django-picklefield==3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 122)) (3.1)
Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 124)) (0.1.6)
Requirement already satisfied: django-q2==1.6.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 126)) (1.6.1)
Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 128)) (1.11.1)
Requirement already satisfied: django-redis==5.4.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 130)) (5.4.0)
Requirement already satisfied: django-sesame==3.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 132)) (3.2.1)
Requirement already satisfied: django-sql-utils==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 134)) (0.7.0)
Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 136)) (0.22)
Requirement already satisfied: django-stdimage==6.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 138)) (6.0.2)
Requirement already satisfied: django-taggit==4.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 140)) (4.0.0)
Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 142)) (2.0.0)
Requirement already satisfied: django-weasyprint==2.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 144)) (2.2.1)
Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 146)) (2.0)
Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 148)) (3.14.0)
Requirement already satisfied: djangorestframework-simplejwt==5.3.0 in ./env/lib/python3.9/site-packages (from djangorestframework-simplejwt[crypto]==5.3.0->-r requirements.txt (line 154)) (5.3.0)
Requirement already satisfied: drf-spectacular==0.26.5 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 156)) (0.26.5)
Requirement already satisfied: dulwich==0.21.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 158)) (0.21.6)
Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 160)) (1.1.0)
Requirement already satisfied: feedparser==6.0.10 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 162)) (6.0.10)
Requirement already satisfied: fonttools==4.44.0 in ./env/lib/python3.9/site-packages (from fonttools[woff]==4.44.0->-r requirements.txt (line 164)) (4.44.0)
Requirement already satisfied: gunicorn==21.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 166)) (21.2.0)
Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 168)) (1.1)
Requirement already satisfied: icalendar==5.0.11 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 170)) (5.0.11)
Requirement already satisfied: idna==3.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 172)) (3.4)
Requirement already satisfied: importlib-metadata==6.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 174)) (6.8.0)
Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 178)) (0.5.1)
Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 180)) (1.2.0)
Requirement already satisfied: jinja2==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 182)) (3.1.2)
Requirement already satisfied: jsonschema==4.19.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 184)) (4.19.2)
Requirement already satisfied: jsonschema-specifications==2023.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 186)) (2023.7.1)
Requirement already satisfied: markdown==3.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 188)) (3.5.1)
Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 190)) (1.14)
Requirement already satisfied: markupsafe==2.1.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 192)) (2.1.3)
Requirement already satisfied: oauthlib==3.2.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 194)) (3.2.2)
Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 196)) (1.4.1)
Requirement already satisfied: openpyxl==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 198)) (3.1.2)
Requirement already satisfied: packaging==23.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 200)) (23.2)
Requirement already satisfied: pdf2image==1.16.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 202)) (1.16.3)
Requirement already satisfied: pillow==10.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 204)) (10.1.0)
Requirement already satisfied: pint==0.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 212)) (0.21)
Requirement already satisfied: py-moneyed==3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 214)) (3.0)
Requirement already satisfied: pycparser==2.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 216)) (2.21)
Requirement already satisfied: pydyf==0.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 218)) (0.8.0)
Requirement already satisfied: pyjwt==2.8.0 in ./env/lib/python3.9/site-packages (from pyjwt[crypto]==2.8.0->-r requirements.txt (line 220)) (2.8.0)
Requirement already satisfied: pyphen==0.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 224)) (0.14.0)
Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 226)) (0.20220715.0)
Requirement already satisfied: python-barcode==0.15.1 in ./env/lib/python3.9/site-packages (from python-barcode[images]==0.15.1->-r requirements.txt (line 228)) (0.15.1)
Requirement already satisfied: python-dateutil==2.8.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 230)) (2.8.2)
Requirement already satisfied: python-dotenv==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 234)) (1.0.0)
Requirement already satisfied: python-fsutil==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 236)) (0.12.0)
Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 238)) (3.2.0)
Requirement already satisfied: pytz==2023.3.post1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 240)) (2023.3.post1)
Requirement already satisfied: pyyaml==6.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 246)) (6.0.1)
Requirement already satisfied: qrcode==7.4.2 in ./env/lib/python3.9/site-packages (from qrcode[pil]==7.4.2->-r requirements.txt (line 251)) (7.4.2)
Requirement already satisfied: rapidfuzz==0.7.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 255)) (0.7.6)
Requirement already satisfied: redis==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 257)) (5.0.1)
Requirement already satisfied: referencing==0.30.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 259)) (0.30.2)
Requirement already satisfied: regex==2023.10.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 263)) (2023.10.3)
Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 265)) (2.31.0)
Requirement already satisfied: requests-oauthlib==1.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 270)) (1.3.1)
Requirement already satisfied: rpds-py==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 272)) (0.12.0)
Requirement already satisfied: sentry-sdk==1.34.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 276)) (1.34.0)
Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 280)) (1.0.0)
Requirement already satisfied: six==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 282)) (1.16.0)
Requirement already satisfied: sqlparse==0.4.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 287)) (0.4.4)
Requirement already satisfied: tablib==3.5.0 in ./env/lib/python3.9/site-packages (from tablib[html,ods,xls,xlsx,yaml]==3.5.0->-r requirements.txt (line 291)) (3.5.0)
Requirement already satisfied: tinycss2==1.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 295)) (1.2.1)
Requirement already satisfied: typing-extensions==4.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 300)) (4.8.0)
Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 305)) (4.1.1)
Requirement already satisfied: urllib3==2.0.7 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 309)) (2.0.7)
Requirement already satisfied: weasyprint==60.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 314)) (60.1)
Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 318)) (0.5.1)
Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 324)) (2.0.1)
Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 326)) (1.3.0)
Requirement already satisfied: zipp==3.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 328)) (3.16.0)
Requirement already satisfied: zopfli==0.2.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 330)) (0.2.3)
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (from django-money==3.2.0->-r requirements.txt (line 116)) (69.0.3)
Backing up InvenTree database...
2024-01-08 12:38:17,065 ERROR Missing required database configuration value ENGINE
Python version 3.9.18 - /opt/inventree/env/bin/python3
load version from file
Error: Missing required database configuration value ENGINE
(env) root@npaparts-server:/opt/inventree#
With this error I am now totally lost.  If you can supply any suggestions where to go from here it would be great.

@SparkeyinVA The problem you have is not the same as I describe in this ticket, which makes the discussion difficult to follow. Please create a new issue, move your posts to the issue (and remove them here) and let's continue the discussion there.

@JustusRijke I have moved the commants.

From your posted logs, the "smoking gun" is this line:
No idea what '--no-frontend' is!

The installer script seems to be running with the legacy --no-frontend tag, which is causing the invoke update task to fail.
@matmair I cannot find the --no-frontend command anywhere in the current installer, but if they are running the old installer, perhaps that is "polluted" with the --no-frontend tag?

Could be an old installer. Downloading the installer again should fix that

manually executing inventree run invoke update and rebooting the system hasn't worked in my case

@Sudura what was the output of the command

During the first run it installed a bunch of packages, but i have no log from this run
Now:
Installing required python packages from 'requirements.txt' Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (23.3.2) Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (69.0.3) Requirement already satisfied: asgiref==3.7.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (3.7.2) Requirement already satisfied: async-timeout==4.0.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.0.3) Requirement already satisfied: attrs==23.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (23.1.0) Requirement already satisfied: babel==2.13.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 15)) (2.13.1) Requirement already satisfied: bleach==6.1.0 in ./env/lib/python3.9/site-packages (from bleach[css]==6.1.0->-r requirements.txt (line 17)) (6.1.0) Requirement already satisfied: brotli==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 19)) (1.1.0) Requirement already satisfied: certifi==2023.7.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 21)) (2023.7.22) Requirement already satisfied: cffi==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 25)) (1.16.0) Requirement already satisfied: charset-normalizer==3.3.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 29)) (3.3.2) Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 31)) (2.3.3) Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 33)) (0.0.4) Requirement already satisfied: cryptography==41.0.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 35)) (41.0.6) Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 40)) (0.7.0) Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 42)) (0.7.1) Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 46)) (20230430) Requirement already satisfied: dj-rest-auth==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 48)) (5.0.1) Requirement already satisfied: django==3.2.23 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 50)) (3.2.23) Requirement already satisfied: django-allauth==0.54.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 84)) (0.54.0) Requirement already satisfied: django-allauth-2fa==0.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 88)) (0.11.1) Requirement already satisfied: django-cleanup==8.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 90)) (8.0.0) Requirement already satisfied: django-cors-headers==4.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 92)) (4.3.0) Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 94)) (1.14.0) Requirement already satisfied: django-dbbackup==4.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 96)) (4.0.2) Requirement already satisfied: django-error-report-2==0.4.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 98)) (0.4.2) Requirement already satisfied: django-filter==23.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 100)) (23.3) Requirement already satisfied: django-flags==5.0.13 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 102)) (5.0.13) Requirement already satisfied: django-formtools==2.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 104)) (2.4.1) Requirement already satisfied: django-ical==1.9.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 106)) (1.9.2) Requirement already satisfied: django-import-export==3.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 108)) (3.3.1) Requirement already satisfied: django-js-asset==2.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 110)) (2.1.0) Requirement already satisfied: django-maintenance-mode==0.21.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 112)) (0.21.0) Requirement already satisfied: django-markdownify==0.9.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 114)) (0.9.3) Requirement already satisfied: django-money==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 116)) (3.2.0) Requirement already satisfied: django-mptt==0.11.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 118)) (0.11.0) Requirement already satisfied: django-otp==1.2.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 120)) (1.2.4) Requirement already satisfied: django-picklefield==3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 122)) (3.1) Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 124)) (0.1.6) Requirement already satisfied: django-q2==1.6.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 126)) (1.6.1) Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 128)) (1.11.1) Requirement already satisfied: django-redis==5.4.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 130)) (5.4.0) Requirement already satisfied: django-sesame==3.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 132)) (3.2.1) Requirement already satisfied: django-sql-utils==0.7.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 134)) (0.7.0) Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 136)) (0.22) Requirement already satisfied: django-stdimage==6.0.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 138)) (6.0.2) Requirement already satisfied: django-taggit==4.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 140)) (4.0.0) Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 142)) (2.0.0) Requirement already satisfied: django-weasyprint==2.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 144)) (2.2.1) Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 146)) (2.0) Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 148)) (3.14.0) Requirement already satisfied: djangorestframework-simplejwt==5.3.0 in ./env/lib/python3.9/site-packages (from djangorestframework-simplejwt[crypto]==5.3.0->-r requirements.txt (line 154)) (5.3.0) Requirement already satisfied: drf-spectacular==0.26.5 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 156)) (0.26.5) Requirement already satisfied: dulwich==0.21.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 158)) (0.21.6) Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 160)) (1.1.0) Requirement already satisfied: feedparser==6.0.10 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 162)) (6.0.10) Requirement already satisfied: fonttools==4.44.0 in ./env/lib/python3.9/site-packages (from fonttools[woff]==4.44.0->-r requirements.txt (line 164)) (4.44.0) Requirement already satisfied: gunicorn==21.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 166)) (21.2.0) Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 168)) (1.1) Requirement already satisfied: icalendar==5.0.11 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 170)) (5.0.11) Requirement already satisfied: idna==3.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 172)) (3.4) Requirement already satisfied: importlib-metadata==6.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 174)) (6.8.0) Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 178)) (0.5.1) Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 180)) (1.2.0) Requirement already satisfied: jinja2==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 182)) (3.1.2) Requirement already satisfied: jsonschema==4.19.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 184)) (4.19.2) Requirement already satisfied: jsonschema-specifications==2023.7.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 186)) (2023.7.1) Requirement already satisfied: markdown==3.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 188)) (3.5.1) Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 190)) (1.14) Requirement already satisfied: markupsafe==2.1.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 192)) (2.1.3) Requirement already satisfied: oauthlib==3.2.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 194)) (3.2.2) Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 196)) (1.4.1) Requirement already satisfied: openpyxl==3.1.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 198)) (3.1.2) Requirement already satisfied: packaging==23.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 200)) (23.2) Requirement already satisfied: pdf2image==1.16.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 202)) (1.16.3) Requirement already satisfied: pillow==10.1.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 204)) (10.1.0) Requirement already satisfied: pint==0.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 212)) (0.21) Requirement already satisfied: py-moneyed==3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 214)) (3.0) Requirement already satisfied: pycparser==2.21 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 216)) (2.21) Requirement already satisfied: pydyf==0.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 218)) (0.8.0) Requirement already satisfied: pyjwt==2.8.0 in ./env/lib/python3.9/site-packages (from pyjwt[crypto]==2.8.0->-r requirements.txt (line 220)) (2.8.0) Requirement already satisfied: pyphen==0.14.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 224)) (0.14.0) Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 226)) (0.20220715.0) Requirement already satisfied: python-barcode==0.15.1 in ./env/lib/python3.9/site-packages (from python-barcode[images]==0.15.1->-r requirements.txt (line 228)) (0.15.1) Requirement already satisfied: python-dateutil==2.8.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 230)) (2.8.2) Requirement already satisfied: python-dotenv==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 234)) (1.0.0) Requirement already satisfied: python-fsutil==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 236)) (0.12.0) Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 238)) (3.2.0) Requirement already satisfied: pytz==2023.3.post1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 240)) (2023.3.post1) Requirement already satisfied: pyyaml==6.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 246)) (6.0.1) Requirement already satisfied: qrcode==7.4.2 in ./env/lib/python3.9/site-packages (from qrcode[pil]==7.4.2->-r requirements.txt (line 251)) (7.4.2) Requirement already satisfied: rapidfuzz==0.7.6 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 255)) (0.7.6) Requirement already satisfied: redis==5.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 257)) (5.0.1) Requirement already satisfied: referencing==0.30.2 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 259)) (0.30.2) Requirement already satisfied: regex==2023.10.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 263)) (2023.10.3) Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 265)) (2.31.0) Requirement already satisfied: requests-oauthlib==1.3.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 270)) (1.3.1) Requirement already satisfied: rpds-py==0.12.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 272)) (0.12.0) Requirement already satisfied: sentry-sdk==1.34.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 276)) (1.34.0) Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 280)) (1.0.0) Requirement already satisfied: six==1.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 282)) (1.16.0) Requirement already satisfied: sqlparse==0.4.4 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 287)) (0.4.4) Requirement already satisfied: tablib==3.5.0 in ./env/lib/python3.9/site-packages (from tablib[html,ods,xls,xlsx,yaml]==3.5.0->-r requirements.txt (line 291)) (3.5.0) Requirement already satisfied: tinycss2==1.2.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 295)) (1.2.1) Requirement already satisfied: typing-extensions==4.8.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 300)) (4.8.0) Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 305)) (4.1.1) Requirement already satisfied: urllib3==2.0.7 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 309)) (2.0.7) Requirement already satisfied: weasyprint==60.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 314)) (60.1) Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 318)) (0.5.1) Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 324)) (2.0.1) Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 326)) (1.3.0) Requirement already satisfied: zipp==3.16.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 328)) (3.16.0) Requirement already satisfied: zopfli==0.2.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 330)) (0.2.3) Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (from django-money==3.2.0->-r requirements.txt (line 116)) (69.0.3) Backing up InvenTree database... Python version 3.9.5 - /opt/inventree/env/bin/python3 load version from file 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.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line     utility.execute()   File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 363, in execute     settings.INSTALLED_APPS   File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 82, in __getattr__     self._setup(name)   File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 69, in _setup     self._wrapped = Settings(settings_module)   File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 170, in __init__     mod = importlib.import_module(self.SETTINGS_MODULE)   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 855, in exec_module   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed   File "/opt/inventree/InvenTree/InvenTree/settings.py", line 129, in <module>     STATIC_ROOT = config.get_static_dir()   File "/opt/inventree/InvenTree/InvenTree/config.py", line 237, in get_static_dir     raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified') FileNotFoundError: INVENTREE_STATIC_ROOT not specified

@Sudura  I could finally get around this issue where "INVENTREE_STATIC_ROOT" was not found.
But I noticed a note in the log which stated that config.yaml was not found, so one was created at /opt/inventree/InvenTree/config.yaml
I then copied the config.yaml from /etc/inventree/ to /opt/inventree/InvenTree/.  I then ran inv update again, and it found the config file and updated and backed up the database as expected.
cd /opt/inventree
source ./env/bin/activate
inv update
sudo reboot now

It looks like the single line installer is looking for config.yaml at  /etc/inventree/ the inv update is looking for config.yaml at  /opt/inventree/InvenTree/
After the restart it may take several minutes for inventree to come in line so at first you will see a 504 error but then inventree will start.
I hope this helps.

Also got the 502 error after update from 0.12.8 to 0.13.0 with sudo apt install --only-upgrade inventree.
Additional inventree run invoke update and reboot worked for me.

Well, after updating to 0.13.0-1705069754.213a6331.focal amd64 I can't any more get rid of the 502 error. inventree run invoke update gives at the end:
Backing up InvenTree database...
Python version 3.9.5 - /opt/inventree/env/bin/python3
load version from file
Traceback (most recent call last):
  File "/opt/inventree/InvenTree/manage.py", line 23, in <module>
    main()
  File "/opt/inventree/InvenTree/manage.py", line 19, in main
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate
    app_config.ready()
  File "/opt/inventree/env/lib/python3.9/site-packages/allauth/account/apps.py", line 15, in ready
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE

@mittkkoo can you please revert the changes you made to config.yaml and try:
inventree run invoke update --skip-backup

It may be that update to allauth means that we need to carefully consider the update operation

I have the same issue after updrade .
my version is :
INVENTREE_COMMIT_HASH='e81349e7'
INVENTREE_COMMIT_DATE='2024-01-21T13:41:00Z'
INVENTREE_PKG_INSTALLER='PKG'
INVENTREE_PKG_BRANCH='stable'
INVENTREE_PKG_TARGET='debian:11'
NODE_ID='C_kwDOBR6lPdoAKGU4MTM0OWU3MGUzZjlmYjk3ZGUzNmZhZmMxODU5ZDk2NGU5OTNhNGY'
SIGNATURE='-----BEGIN PGP SIGNATURE-----
sdfsdafsdjflksadjhfkljasdhflkasjdhflkasdjhflaks
-----END PGP SIGNATURE-----'

when i run inventree run invoke update i get

Traceback (most recent call last):
  File "/opt/inventree/env/bin/invoke", line 8, in <module>
    sys.exit(program.run())
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/program.py", line 373, in run
    self.parse_collection()
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/program.py", line 465, in parse_collection
    self.load_collection()
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/program.py", line 699, in load_collection
    module, parent = loader.load(coll_name)
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/loader.py", line 76, in load
    module = imp.load_module(name, fd, path, desc)
  File "/usr/lib/python3.9/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.9/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/inventree/tasks.py", line 387, in <module>
    def update(c, skip_backup=False, frontend: bool = False, no_frontend: bool = False):
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/tasks.py", line 357, in inner
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/tasks.py", line 76, in __init__
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/tasks.py", line 167, in fill_implicit_positionals
  File "/opt/inventree/env/lib/python3.9/site-packages/invoke/tasks.py", line 153, in argspec
    spec = inspect.getargspec(func)
  File "/usr/lib/python3.9/inspect.py", line 1122, in getargspec
    raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them

all i get after a curl

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx/1.18.0

@eimparas looks like your invoke version is too old (needs to be 2.0.0 or newer):
https://docs.inventree.org/en/latest/faq/#invoke-version

i did pip install -U invoke and i got upgraded to Invoke 2.2.0 , then performed a invoke update but still no dice .
 curl <IP_ADDRESS> :

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx/1.18.0

I managed to fix it by deleting data/media/maintenance_mode_state.txt and data/static/maintenance_mode_state.txt, and runninginvoke update again. Both the mentioned files were empty.

@eimparas thanks for providing this information - those files should not be empty, so we will have to look into that

@mittkkoo can you please revert the changes you made to config.yaml and try:
inventree run invoke update --skip-backup

(and report back if that runs without error)
It may be that update to allauth means that we need to carefully consider the update operation

I currently have the same problem with updating to 0.14.1
This is when I run from inside the environment: (env) root@xxx:/opt/inventree# inventree run invoke update . Beforehand I updated Invoke to 2.2.0 (was 1.3.0).
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 69.1.1
    Uninstalling setuptools-69.1.1:
      Successfully uninstalled setuptools-69.1.1
Successfully installed setuptools-69.1.0
Installing plugin packages from '/etc/inventree/plugins.txt'
Backing up InvenTree database...
Python version 3.10.13 - /opt/inventree/env/bin/python3
load version from file
Python version 3.10.13 - /opt/inventree/env/bin/python3
load version from file
Traceback (most recent call last):
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 237, in fetch_command
    app_name = commands[subcommand]
KeyError: 'dbbackup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/inventree/InvenTree/manage.py", line 24, in <module>
    main()
  File "/opt/inventree/InvenTree/manage.py", line 20, in main
    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 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 244, in fetch_command
    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 565, in <module>
    from django.db.backends.postgresql.psycopg_any import IsolationLevel
ModuleNotFoundError: No module named 'django.db.backends.postgresql.psycopg_any'

Yes, I tried.
The problem is python 3.10.13. As soon as I downgrade to 3.9.5 in the virtual environment, the upgrade will succeed. After the upgrade I could change back to 3.10, but this is an ugly workaround.

Have you manually upgraded your python version and venv?

I created a new env with python3.10 -m venv env

If you are using postgres, you will need to install the required postgres dependencies into your new venv


when i make posix_sitl_default jmavsim I meet a problem:

when i make posix_sitl_default jmavsim I meet a problem:
com.jogamp.opengl.GLException: J3D-Renderer-1: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.sw], current: 3.0 (Compat profile, compat[ES2], FBO, software) - 3.0 Mesa 17.2.8
so how can i sovle it

This issue occurs if you try run jMAVSim in a VM (virtualbox or VMWare). @dagar - told you it was a P.I.T.A.

But it might be caused by something that has been introduced in the VM or in the Ubuntu image. This used to work, but I just tried older tag 1.7.1 and found the same failure.


[FEATURE]: Disable Item Icons

Feature Title
Disable Item Icons
Motivation
I want to make it look as stock as possible, to match FO4. Tried looking through options and can't seem to find a way to remove them.
Feature Description
No response
Additional Context
No response

It's possible, but requires another sfw change. Wouldn't break compatibility with older skins though, they just wouldn't support the toggle until they are updated.

I hope you consider it for the next update, though breaking skins for a minor update might be a problem for everyone

It wouldn't break skins. They would work just fine, but ignore the new setting. That's what I was trying to say before ^^
Adding the option shouldn't be terribly difficult either. I doubt many players would use it, but it wouldn't be the most niche option we provide.

Assuming you mean disabling the item icons entirely, that seems like a niche feature. We'll add it, but it's not high priority right now.

Implemented.


Tag database connections with Database

I'm working on a pretty large code base split between two postgres databases, and I'm kind of wishing that the connection was also tagged with a database so that it's impossible to use it in a runQuery where it doesn't make sense. for example, the type signature of runQuery would become
-- | Query and fetch zero or more resulting rows.
runQuery
 :: (MonadIO m, Cx.MonadThrow m, PP.Default O.QueryRunner v r, Allow 'Fetch ps)
 => Conn ps d -> Query d () v -> m [r] -- ^

what are the authors' views on this?

It sounds like a great idea to me!
On Jun 6, 2017 6:14 PM, "martyall"<EMAIL_ADDRESS>wrote:

I'm working on a pretty large code base split between two postgres
databases, and I'm kind of wishing that the connection was also tagged with
a database so that it's impossible to use it in a runQuery where it doesn't
make sense. for example, the type signature of runQuery would become
-- | Query and fetch zero or more resulting rows.
runQuery
:: (MonadIO m, Cx.MonadThrow m, PP.Default O.QueryRunner v r, Allow 'Fetch ps)
=> Conn ps d -> Query d () v -> m [r] -- ^
what are the authors' views on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/k0001/tisch/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAM5ieHgvZXl_xV0KQg03Fgl45Pv1k6ks5sBXrkgaJpZM4Nxk-J
.

great, I'll put together a pr.

I'm closing this issue do to pr #26


python3Packages.surepy: 0.5.0 -> 0.6.0

Motivation for this change
Update to latest upstream release 0.6.0
Change log: https://github.com/benleb/surepy/releases/tag/v0.6.0
Requires later rich release.

https://github.com/willmcgugan/rich/releases/tag/v10.1.0
https://github.com/willmcgugan/rich/releases/tag/v10.0.1
https://github.com/willmcgugan/rich/releases/tag/v10.0.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

labelbox failure will be fixed with #121677.

Result of nixpkgs-review pr 121732 run on x86_64-linux 1

8 packages marked as broken and skipped:

python38Packages.optuna
python38Packages.pymc3
python38Packages.shap
python38Packages.skorch
python38Packages.textacy
python39Packages.optuna
python39Packages.skorch
python39Packages.textacy

11 packages failed to build:

apache-airflow
backblaze-b2
conan
nrfutil
python38Packages.ignite
python38Packages.labelbox
python38Packages.pywick
python38Packages.sunpy
python39Packages.labelbox
python39Packages.pywick
python39Packages.sunpy

178 packages built:

aiodnsbrute
ansible-lint (python38Packages.ansible-lint)
check_systemd
checkov
deja-dup
dpt-rp1-py
duplicity
duply
evdevremapkeys
evillimiter
ffmpeg-normalize
gdown (python38Packages.gdown)
gnome-keysign
home-assistant
jellyfin-mpv-shim
kaggle (python38Packages.kaggle)
keepkey_agent (python38Packages.keepkey_agent)
ldeep
ledger_agent (python38Packages.ledger_agent)
lieer
luigi
magic-wormhole (python38Packages.magic-wormhole)
manim
mathlibtools (python38Packages.mathlibtools)
mnemosyne
noto-fonts-emoji
ocrmypdf
papis (python38Packages.papis)
past-time
piston-cli
plex-mpv-shim
python38Packages.afdko
python38Packages.aiosmb
python38Packages.ansible-kernel
python38Packages.ansible-runner
python38Packages.b2sdk
python38Packages.baselines
python38Packages.cirq
python38Packages.cve-bin-tool
python38Packages.datasets
python38Packages.datashader
python38Packages.dipy
python38Packages.dnachisel
python38Packages.enrich
python38Packages.ffmpeg-progress-yield
python38Packages.genome-collector
python38Packages.gradient
python38Packages.gradient-utils
python38Packages.graphtage
python38Packages.gtts
python38Packages.habanero
python38Packages.holoviews
python38Packages.huggingface-hub
python38Packages.hvplot
python38Packages.hyperopt
python38Packages.intake
python38Packages.internetarchive
python38Packages.libagent
python38Packages.lsassy
python38Packages.mesa
python38Packages.moviepy
python38Packages.msldap
python38Packages.myfitnesspal
python38Packages.nagiosplugin
python38Packages.nbsmoke
python38Packages.ndjson
python38Packages.nltk
python38Packages.nototools
python38Packages.panel
python38Packages.papermill
python38Packages.parfive
python38Packages.perfplot
python38Packages.plexapi
python38Packages.proglog
python38Packages.pypiserver
python38Packages.pyppeteer
python38Packages.pypykatz
python38Packages.pyro-ppl
python38Packages.python-daemon
python38Packages.python-miio
python38Packages.python-mpv-jsonipc
python38Packages.pytorch-lightning
python38Packages.rbtools
python38Packages.rich
python38Packages.rising
python38Packages.sacremoses
python38Packages.salmon-mail
python38Packages.scancode-toolkit
python38Packages.surepy
python38Packages.thinc
python38Packages.toggl-cli
python38Packages.tqdm
python38Packages.transformers
trezor_agent (python38Packages.trezor_agent)
python38Packages.tubeup
python38Packages.twine
python39Packages.afdko
python39Packages.aiosmb
python39Packages.ansible-kernel
python39Packages.ansible-lint
python39Packages.ansible-runner
python39Packages.b2sdk
python39Packages.baselines
python39Packages.cirq
python39Packages.cve-bin-tool
python39Packages.datasets
python39Packages.dipy
python39Packages.dnachisel
python39Packages.enrich
python39Packages.ffmpeg-progress-yield
python39Packages.gdown
python39Packages.genome-collector
python39Packages.gradient
python39Packages.gradient-utils
python39Packages.graphtage
python39Packages.gtts
python39Packages.habanero
python39Packages.holoviews
python39Packages.huggingface-hub
python39Packages.hvplot
python39Packages.hyperopt
python39Packages.ignite
python39Packages.intake
python39Packages.internetarchive
python39Packages.kaggle
python39Packages.keepkey_agent
python39Packages.ledger_agent
python39Packages.libagent
python39Packages.lsassy
python39Packages.magic-wormhole
python39Packages.mathlibtools
python39Packages.mesa
python39Packages.moviepy
python39Packages.msldap
python39Packages.myfitnesspal
python39Packages.nagiosplugin
python39Packages.nbsmoke
python39Packages.ndjson
python39Packages.nltk
python39Packages.nototools
python39Packages.panel
python39Packages.papermill
python39Packages.papis
python39Packages.parfive
python39Packages.perfplot
python39Packages.plexapi
python39Packages.proglog
python39Packages.pypiserver
python39Packages.pyppeteer
python39Packages.pypykatz
python39Packages.pyro-ppl
python39Packages.python-daemon
python39Packages.python-miio
python39Packages.python-mpv-jsonipc
python39Packages.pytorch-lightning
python39Packages.rbtools
python39Packages.rich
python39Packages.rising
python39Packages.sacremoses
python39Packages.salmon-mail
python39Packages.scancode-toolkit
python39Packages.surepy
python39Packages.thinc
python39Packages.tqdm
python39Packages.transformers
python39Packages.trezor_agent
python39Packages.tubeup
python39Packages.twine
r128gain
sacad
spotdl
tartube
theharvester
tinyprog
tockloader
tts
twitter-color-emoji
urlwatch

:+1: No new build failures for me, nixos x86_64, but would be nice to get a darwin tester as ever.

I'll need this for the home-assistant bump later today, so I can't wait for a darwin reviewer to appear out of thin air I'm afraid.

The postPatch phase in surepy looks outdated.
https://github.com/benleb/surepy/commit/f0bfffa32aaf07e5285db68395d64f59e6ca9873

The postPatch phase in surepy looks outdated.

Thanks, postPatch removed.

Please enable home-assistant tests and rebase on top of master.


Gracefully handle inert wl_output resources

Closes: https://github.com/swaywm/wlroots/issues/2088

I can confirm this fixes #2088 for me. Tested multiple times in different states of the second monitor being on/off.

Thanks!


UnitTests: Add Uninstall tests

Add remaining tests for uninstall_reconciler.go
cc: @raghavendra-talur

/ok-to-test

I am planning to work on this once others are merged.

Actually, can we just use one PR? That'll save everyone a lot of time. Close the other ones and we can focus on this one.

Actually, can we just use one PR? That'll save everyone a lot of time. Close the other ones and we can focus on this one.

Done