Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 Bad Gateway error on fresh Debian 11 install #8494

Open
2 of 6 tasks
mschaffner9239 opened this issue Nov 16, 2024 · 7 comments
Open
2 of 6 tasks

502 Bad Gateway error on fresh Debian 11 install #8494

mschaffner9239 opened this issue Nov 16, 2024 · 7 comments
Labels
installer question This is a question setup Relates to the InvenTree setup / installation process

Comments

@mschaffner9239
Copy link

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

After creating a fresh Debian 11 VM and installing InvenTree, everything seems to be fine. Able to login with the provided admin from the installer script. After rebooting the VM, no longer able to login, when trying to reach the server, getting a '502 Bad Gateway' error message.

Steps to Reproduce

  1. Create new Debian 11 VM
  2. Install InvenTree using the Installer script
  3. Goto the URL for your VM and get the login screen
  4. Reboot VM
  5. Goto the URL for the VM and get '502 Bad Gateway'

Expected behaviour

After reboot of the VM, that the login screen would appear.

Deployment Method

  • Docker
  • Package
  • Bare metal
  • Other - added info in Steps to Reproduce

Version Information

0.16.8 based on first login.

Please verify if you can reproduce this bug on the demo site.

  • I can reproduce this bug on the demo site.

Relevant log output

NGINX Error Log

2024/11/15 18:28:10 [error] 504#504: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.113.132, server: , request: "GET / HTTP/1.1", upstream: "http://[::1]:6000/", host: "invtest.schaffner.online"
2024/11/15 18:28:10 [error] 504#504: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.113.132, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:6000/favicon.ico", host: "invtest.schaffner.online", referrer: "http://invtest.schaffner.online/"
@mschaffner9239 mschaffner9239 added bug Identifies a bug which needs to be addressed question This is a question triage:not-checked Item was not checked by the core team labels Nov 16, 2024
@matmair matmair added setup Relates to the InvenTree setup / installation process and removed bug Identifies a bug which needs to be addressed triage:not-checked Item was not checked by the core team labels Nov 18, 2024
@matmair
Copy link
Member

matmair commented Nov 18, 2024

There is not enough info to debug this here @mschaffner9239 . The log is from nginx, not the inventree server, and the described things can be a thousand things.

@JamieSinn
Copy link

JamieSinn commented Nov 26, 2024

I also have gotten this error from the installer; on a fresh Ubuntu 22.04 install;

root@inventree:/opt/inventree/src/backend/InvenTree# uname -a
Linux inventree 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root@inventree:/opt/inventree/src/backend/InvenTree# cat /etc/
Display all 186 possibilities? (y or n)
root@inventree:/opt/inventree/src/backend/InvenTree# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Initially it seemed like the installer failed to properly install packages.

Initially - the gpg file failed to install/write - even after using sudo - fixed that

james@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
[sudo] password for james:
Selecting previously unselected package apt-transport-https.
(Reading database ... 74796 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.4.13_all.deb ...
Unpacking apt-transport-https (2.4.13) ...
Setting up apt-transport-https (2.4.13) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Installing libssl1.1
deb http://security.ubuntu.com/ubuntu focal-security main
Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3,303 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [484 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]
Fetched 4,313 kB in 2s (2,401 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libssl1.1
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 1,323 kB of archives.
After this operation, 4,131 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu focal-security/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.23 [1,323 kB]
Fetched 1,323 kB in 0s (3,789 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 74800 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.23) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.23) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Getting and adding key
tee: /etc/apt/trusted.gpg.d/pkgr-inventree.gpg: Permission denied
root@inventree:/home/james# cd
root@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://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
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.23).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
### Getting and adding key
### Adding package source
### Updating package lists
Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Get:5 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 InRelease [1,863 B]
Get:6 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04/main amd64 Packages [6,804 B]
Fetched 8,667 B in 1s (7,161 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 additional packages will be installed:
  build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base
  gettext javascript-common jq libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libatomic1 libc-dev-bin
  libc-devtools libc6-dev libcc1-0 libcrypt-dev libdatrie1 libdeflate0 libdpkg-perl libevent-2.1-7 libevent-extra-2.1-7 libexpat1-dev
  libfakeroot libfile-fcntllock-perl libfontconfig1 libgcc-11-dev libgd3 libgomp1 libgraphite2-3 libharfbuzz0b libisl23 libitm1 libjbig0
  libjpeg-turbo8 libjpeg8 libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnginx-mod-http-geoip2
  libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip2 libnsl-dev
  libonig5 libpango-1.0-0 libpangoft2-1.0-0 libpq5 libpython3-dev libpython3.10-dev libquadmath0 libstdc++-11-dev libthai-data libthai0
  libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make manpages-dev nginx nginx-common
  nginx-core python3-brotli python3-cffi python3-dev python3-pip python3-pip-whl python3-ply python3-pycparser python3-setuptools-whl
  python3-wheel python3.10-dev python3.10-venv rpcsvc-proto zlib1g-dev
Suggested packages:
  bzip2-doc cpp-doc gcc-11-locales debian-keyring g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf automake libtool flex
  bison gdb gcc-doc gcc-11-multilib gettext-doc autopoint libasprintf-dev libgettextpo-dev glibc-doc bzr libgd-tools libstdc++-11-doc
  make-doc fcgiwrap nginx-doc ssl-cert python-ply-doc
The following NEW packages will be installed:
  build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base
  gettext inventree javascript-common jq libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libatomic1
  libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdatrie1 libdeflate0 libdpkg-perl libevent-2.1-7 libevent-extra-2.1-7
  libexpat1-dev libfakeroot libfile-fcntllock-perl libfontconfig1 libgcc-11-dev libgd3 libgomp1 libgraphite2-3 libharfbuzz0b libisl23
  libitm1 libjbig0 libjpeg-turbo8 libjpeg8 libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnginx-mod-http-geoip2
  libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip2 libnsl-dev
  libonig5 libpango-1.0-0 libpangoft2-1.0-0 libpq5 libpython3-dev libpython3.10-dev libquadmath0 libstdc++-11-dev libthai-data libthai0
  libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make manpages-dev nginx nginx-common
  nginx-core python3-brotli python3-cffi python3-dev python3-pip python3-pip-whl python3-ply python3-pycparser python3-setuptools-whl
  python3-wheel python3.10-dev python3.10-venv rpcsvc-proto zlib1g-dev
0 upgraded, 96 newly installed, 0 to remove and 19 not upgraded.
Need to get 151 MB of archives.
After this operation, 426 MB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.8 [20.3 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-126.136 [1,334 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.8 [2,100 kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-base amd64 11.4.0-1ubuntu1~22.04 [20.2 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libisl23 amd64 0.24-2build1 [727 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libmpc3 amd64 1.2.1-2build1 [46.9 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cpp-11 amd64 11.4.0-1ubuntu1~22.04 [10.0 MB]
Get:12 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04/main amd64 inventree amd64 0.16.8-1730959683.f23d4053.focal [72.9 MB]
Get:13 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 cpp amd64 4:11.2.0-1ubuntu1 [27.7 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.3.0-1ubuntu1~22.04 [48.3 kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgomp1 amd64 12.3.0-1ubuntu1~22.04 [126 kB]
Get:16 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libitm1 amd64 12.3.0-1ubuntu1~22.04 [30.2 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libatomic1 amd64 12.3.0-1ubuntu1~22.04 [10.4 kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libasan6 amd64 11.4.0-1ubuntu1~22.04 [2,282 kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 liblsan0 amd64 12.3.0-1ubuntu1~22.04 [1,069 kB]
Get:20 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtsan0 amd64 11.4.0-1ubuntu1~22.04 [2,260 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libubsan1 amd64 12.3.0-1ubuntu1~22.04 [976 kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libquadmath0 amd64 12.3.0-1ubuntu1~22.04 [154 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,517 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.4.0-1ubuntu1~22.04 [20.1 MB]
Get:25 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B]
Get:26 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libstdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,101 kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 g++-11 amd64 11.4.0-1ubuntu1~22.04 [11.4 MB]
Get:28 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1,412 B]
Get:29 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdpkg-perl all 1.21.1ubuntu2.3 [237 kB]
Get:31 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 bzip2 amd64 1.0.8-5build1 [34.8 kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 lto-disabled-list all 24 [12.5 kB]
Get:33 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 dpkg-dev all 1.21.1ubuntu2.3 [922 kB]
Get:34 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 build-essential amd64 12.9ubuntu3 [4,744 B]
Get:35 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libfakeroot amd64 1.28-1ubuntu1 [31.5 kB]
Get:36 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 fakeroot amd64 1.28-1ubuntu1 [60.4 kB]
Get:37 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 fonts-dejavu-core all 2.37-2build1 [1,041 kB]
Get:38 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 fontconfig-config all 2.13.1-4.2ubuntu5 [29.1 kB]
Get:39 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libfontconfig1 amd64 2.13.1-4.2ubuntu5 [131 kB]
Get:40 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 fontconfig amd64 2.13.1-4.2ubuntu5 [177 kB]
Get:41 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 gettext amd64 0.21-4ubuntu4 [868 kB]
Get:42 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq5 amd64 14.13-0ubuntu0.22.04.1 [149 kB]
Get:43 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libevent-2.1-7 amd64 2.1.12-stable-1build3 [148 kB]
Get:44 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libevent-extra-2.1-7 amd64 2.1.12-stable-1build3 [65.4 kB]
Get:45 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip-whl all 22.0.2+dfsg-1ubuntu0.5 [1,680 kB]
Get:46 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-setuptools-whl all 59.6.0-1.2ubuntu0.22.04.2 [788 kB]
Get:47 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3.10-venv amd64 3.10.12-1~22.04.7 [5,718 B]
Get:48 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libexpat1-dev amd64 2.4.7-1ubuntu0.4 [147 kB]
Get:49 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
Get:50 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-dev amd64 3.10.12-1~22.04.7 [4,762 kB]
Get:51 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-dev amd64 3.10.12-1~22.04.7 [508 kB]
Get:52 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-wheel all 0.37.1-2ubuntu0.22.04.1 [32.0 kB]
Get:53 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.5 [1,306 kB]
Get:54 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 python3-ply all 3.11-5 [47.5 kB]
Get:55 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 python3-pycparser all 2.21-1 [76.9 kB]
Get:56 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 python3-cffi all 1.15.0-1build2 [72.6 kB]
Get:57 http://ca.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-brotli amd64 1.0.9-2build6 [319 kB]
Get:58 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libgraphite2-3 amd64 1.3.14-1build2 [71.3 kB]
Get:59 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz0b amd64 2.7.4-1ubuntu3.1 [352 kB]
Get:60 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libthai-data all 0.1.29-1build1 [162 kB]
Get:61 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libdatrie1 amd64 0.2.13-2 [19.9 kB]
Get:62 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libthai0 amd64 0.1.29-1build1 [19.2 kB]
Get:63 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpango-1.0-0 amd64 1.50.6+ds-2ubuntu1 [230 kB]
Get:64 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpangoft2-1.0-0 amd64 1.50.6+ds-2ubuntu1 [54.0 kB]
Get:65 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 nginx-common all 1.18.0-6ubuntu14.5 [40.1 kB]
Get:66 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg-turbo8 amd64 2.1.2-0ubuntu1 [134 kB]
Get:67 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg8 amd64 8c-2ubuntu10 [2,264 B]
Get:68 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libdeflate0 amd64 1.10-2 [70.9 kB]
Get:69 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libjbig0 amd64 2.1-3.1ubuntu0.22.04.1 [29.2 kB]
Get:70 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwebp7 amd64 1.2.2-2ubuntu0.22.04.2 [206 kB]
Get:71 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.10 [185 kB]
Get:72 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxpm4 amd64 1:3.5.12-1ubuntu0.22.04.2 [36.7 kB]
Get:73 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgd3 amd64 2.3.0-2ubuntu2.3 [129 kB]
Get:74 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-http-image-filter amd64 1.18.0-6ubuntu14.5 [15.5 kB]
Get:75 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-http-xslt-filter amd64 1.18.0-6ubuntu14.5 [13.8 kB]
Get:76 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-http-geoip2 amd64 1.18.0-6ubuntu14.5 [12.0 kB]
Get:77 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-mail amd64 1.18.0-6ubuntu14.5 [45.8 kB]
Get:78 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-stream amd64 1.18.0-6ubuntu14.5 [72.8 kB]
Get:79 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnginx-mod-stream-geoip2 amd64 1.18.0-6ubuntu14.5 [10.1 kB]
Get:80 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 nginx-core amd64 1.18.0-6ubuntu14.5 [483 kB]
Get:81 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 nginx amd64 1.18.0-6ubuntu14.5 [3,882 B]
Get:82 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libonig5 amd64 6.9.7.1-2build1 [172 kB]
Get:83 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjq1 amd64 1.6-2.1ubuntu3 [133 kB]
Get:84 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 jq amd64 1.6-2.1ubuntu3 [52.5 kB]
Get:85 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5,936 B]
Get:86 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]
Get:87 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6build3 [11.9 kB]
Get:88 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:89 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.8 [28.9 kB]
Get:90 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libfile-fcntllock-perl amd64 0.22-3build7 [33.9 kB]
Get:91 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
Get:92 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-underscore all 1.13.2~dfsg-2 [118 kB]
Get:93 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-sphinxdoc all 4.3.2-1 [139 kB]
Get:94 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-dev amd64 3.10.6-1~22.04.1 [7,064 B]
Get:95 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 manpages-dev all 5.10-1ubuntu1 [2,309 kB]
Get:96 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-dev amd64 3.10.6-1~22.04.1 [26.0 kB]
Fetched 151 MB in 33s (4,502 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libc-dev-bin.
(Reading database ... 74810 files and directories currently installed.)
Preparing to unpack .../00-libc-dev-bin_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.8) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../01-linux-libc-dev_5.15.0-126.136_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-126.136) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../02-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../04-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../05-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.8) ...
Selecting previously unselected package gcc-11-base:amd64.
Preparing to unpack .../07-gcc-11-base_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../08-libisl23_0.24-2build1_amd64.deb ...
Unpacking libisl23:amd64 (0.24-2build1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.2.1-2build1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.1-2build1) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../10-cpp-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../16-libasan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../19-libubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../20-libquadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../21-libgcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../22-gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../23-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-11-dev:amd64.
Preparing to unpack .../24-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11.
Preparing to unpack .../25-g++-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../26-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../27-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../28-libdpkg-perl_1.21.1ubuntu2.3_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.3) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../29-bzip2_1.0.8-5build1_amd64.deb ...
Unpacking bzip2 (1.0.8-5build1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../30-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.21.1ubuntu2.3_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../33-libfakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.28-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.28-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../35-fonts-dejavu-core_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-core (2.37-2build1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../36-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../37-libfontconfig1_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../38-fontconfig_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking fontconfig (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package gettext.
Preparing to unpack .../39-gettext_0.21-4ubuntu4_amd64.deb ...
Unpacking gettext (0.21-4ubuntu4) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../40-libpq5_14.13-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq5:amd64 (14.13-0ubuntu0.22.04.1) ...
Selecting previously unselected package libevent-2.1-7:amd64.
Preparing to unpack .../41-libevent-2.1-7_2.1.12-stable-1build3_amd64.deb ...
Unpacking libevent-2.1-7:amd64 (2.1.12-stable-1build3) ...
Selecting previously unselected package libevent-extra-2.1-7:amd64.
Preparing to unpack .../42-libevent-extra-2.1-7_2.1.12-stable-1build3_amd64.deb ...
Unpacking libevent-extra-2.1-7:amd64 (2.1.12-stable-1build3) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../43-python3-pip-whl_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../44-python3-setuptools-whl_59.6.0-1.2ubuntu0.22.04.2_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.2) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../45-python3.10-venv_3.10.12-1~22.04.7_amd64.deb ...
Unpacking python3.10-venv (3.10.12-1~22.04.7) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../46-libexpat1-dev_2.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../47-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../48-libpython3.10-dev_3.10.12-1~22.04.7_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.12-1~22.04.7) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../49-python3.10-dev_3.10.12-1~22.04.7_amd64.deb ...
Unpacking python3.10-dev (3.10.12-1~22.04.7) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../50-python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../51-python3-pip_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Selecting previously unselected package python3-ply.
Preparing to unpack .../52-python3-ply_3.11-5_all.deb ...
Unpacking python3-ply (3.11-5) ...
Selecting previously unselected package python3-pycparser.
Preparing to unpack .../53-python3-pycparser_2.21-1_all.deb ...
Unpacking python3-pycparser (2.21-1) ...
Selecting previously unselected package python3-cffi.
Preparing to unpack .../54-python3-cffi_1.15.0-1build2_all.deb ...
Unpacking python3-cffi (1.15.0-1build2) ...
Selecting previously unselected package python3-brotli.
Preparing to unpack .../55-python3-brotli_1.0.9-2build6_amd64.deb ...
Unpacking python3-brotli (1.0.9-2build6) ...
Selecting previously unselected package libgraphite2-3:amd64.
Preparing to unpack .../56-libgraphite2-3_1.3.14-1build2_amd64.deb ...
Unpacking libgraphite2-3:amd64 (1.3.14-1build2) ...
Selecting previously unselected package libharfbuzz0b:amd64.
Preparing to unpack .../57-libharfbuzz0b_2.7.4-1ubuntu3.1_amd64.deb ...
Unpacking libharfbuzz0b:amd64 (2.7.4-1ubuntu3.1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../58-libthai-data_0.1.29-1build1_all.deb ...
Unpacking libthai-data (0.1.29-1build1) ...
Selecting previously unselected package libdatrie1:amd64.
Preparing to unpack .../59-libdatrie1_0.2.13-2_amd64.deb ...
Unpacking libdatrie1:amd64 (0.2.13-2) ...
Selecting previously unselected package libthai0:amd64.
Preparing to unpack .../60-libthai0_0.1.29-1build1_amd64.deb ...
Unpacking libthai0:amd64 (0.1.29-1build1) ...
Selecting previously unselected package libpango-1.0-0:amd64.
Preparing to unpack .../61-libpango-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ...
Unpacking libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Selecting previously unselected package libpangoft2-1.0-0:amd64.
Preparing to unpack .../62-libpangoft2-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ...
Unpacking libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../63-nginx-common_1.18.0-6ubuntu14.5_all.deb ...
Unpacking nginx-common (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../64-libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../65-libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../66-libdeflate0_1.10-2_amd64.deb ...
Unpacking libdeflate0:amd64 (1.10-2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../67-libjbig0_2.1-3.1ubuntu0.22.04.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../68-libwebp7_1.2.2-2ubuntu0.22.04.2_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../69-libtiff5_4.3.0-6ubuntu0.10_amd64.deb ...
Unpacking libtiff5:amd64 (4.3.0-6ubuntu0.10) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../70-libxpm4_1%3a3.5.12-1ubuntu0.22.04.2_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../71-libgd3_2.3.0-2ubuntu2.3_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Selecting previously unselected package libnginx-mod-http-image-filter.
Preparing to unpack .../72-libnginx-mod-http-image-filter_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-http-xslt-filter.
Preparing to unpack .../73-libnginx-mod-http-xslt-filter_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-http-geoip2.
Preparing to unpack .../74-libnginx-mod-http-geoip2_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../75-libnginx-mod-mail_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-mail (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../76-libnginx-mod-stream_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-stream (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-stream-geoip2.
Preparing to unpack .../77-libnginx-mod-stream-geoip2_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../78-nginx-core_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking nginx-core (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package nginx.
Preparing to unpack .../79-nginx_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking nginx (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libonig5:amd64.
Preparing to unpack .../80-libonig5_6.9.7.1-2build1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.7.1-2build1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../81-libjq1_1.6-2.1ubuntu3_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1ubuntu3) ...
Selecting previously unselected package jq.
Preparing to unpack .../82-jq_1.6-2.1ubuntu3_amd64.deb ...
Unpacking jq (1.6-2.1ubuntu3) ...
Selecting previously unselected package inventree.
Preparing to unpack .../83-inventree_0.16.8-1730959683.f23d4053.focal_amd64.deb ...
# PRI01| Running preinstall script - start - Tue Nov 26 04:26:03 AM UTC 2024
# PRI02| No python environment found - skipping
# PRI03| Running preinstall script - done - Tue Nov 26 04:26:03 AM UTC 2024
Unpacking inventree (0.16.8-1730959683.f23d4053.focal) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../84-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../85-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../86-libalgorithm-diff-xs-perl_0.04-6build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../87-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../88-libc-devtools_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.8) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../89-libfile-fcntllock-perl_0.22-3build7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build7) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../90-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../91-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../92-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../93-libpython3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../94-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../95-python3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04.1) ...
Setting up javascript-common (11+nmu1) ...
Setting up libgraphite2-3:amd64 (1.3.14-1build2) ...
Setting up gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up libevent-extra-2.1-7:amd64 (2.1.12-stable-1build3) ...
Setting up python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.2) ...
Setting up lto-disabled-list (24) ...
Setting up libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Setting up libdatrie1:amd64 (0.2.13-2) ...
Setting up libfile-fcntllock-perl (0.22-3build7) ...
Setting up python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up python3-ply (3.11-5) ...
Setting up libpq5:amd64 (14.13-0ubuntu0.22.04.1) ...
Setting up libdeflate0:amd64 (1.10-2) ...
Setting up linux-libc-dev:amd64 (5.15.0-126.136) ...
Setting up nginx-common (1.18.0-6ubuntu14.5) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
Setting up libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up bzip2 (1.0.8-5build1) ...
Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Setting up libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Setting up libfakeroot:amd64 (1.28-1ubuntu1) ...
Setting up python3-pycparser (2.21-1) ...
Setting up libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up fakeroot (1.28-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.5) ...
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up make (4.3-4.1build1) ...
Setting up python3-brotli (1.0.9-2build6) ...
Setting up libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libmpc3:amd64 (1.2.1-2build1) ...
Setting up libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libevent-2.1-7:amd64 (2.1.12-stable-1build3) ...
Setting up fonts-dejavu-core (2.37-2build1) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Setting up libdpkg-perl (1.21.1ubuntu2.3) ...
Setting up libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Setting up libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libharfbuzz0b:amd64 (2.7.4-1ubuntu3.1) ...
Setting up libthai-data (0.1.29-1build1) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libisl23:amd64 (0.24-2build1) ...
Setting up libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.5) ...
Setting up libc-dev-bin (2.35-0ubuntu3.8) ...
Setting up libalgorithm-diff-xs-perl (0.04-6build3) ...
Setting up libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libonig5:amd64 (6.9.7.1-2build1) ...
Setting up liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up libjpeg8:amd64 (8c-2ubuntu10) ...
Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libnginx-mod-mail (1.18.0-6ubuntu14.5) ...
Setting up gettext (0.21-4ubuntu4) ...
Setting up python3.10-venv (3.10.12-1~22.04.7) ...
Setting up libjq1:amd64 (1.6-2.1ubuntu3) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up python3-cffi (1.15.0-1build2) ...
Setting up libnginx-mod-stream (1.18.0-6ubuntu14.5) ...
Setting up dpkg-dev (1.21.1ubuntu2.3) ...
Setting up libthai0:amd64 (0.1.29-1build1) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ...
Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up jq (1.6-2.1ubuntu3) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.8) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.10) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Setting up libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.5) ...
Setting up fontconfig (2.13.1-4.2ubuntu5) ...
Regenerating fonts cache... done.
Setting up libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Setting up libc-devtools (2.35-0ubuntu3.8) ...
Setting up g++-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6ubuntu14.5) ...
Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.7) ...
Setting up python3.10-dev (3.10.12-1~22.04.7) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Setting up nginx-core (1.18.0-6ubuntu14.5) ...
 * Upgrading binary nginx                                                                                                            [ OK ]
Setting up libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Setting up nginx (1.18.0-6ubuntu14.5) ...
Setting up inventree (0.16.8-1730959683.f23d4053.focal) ...
# POI01| Running postinstall script - start - Tue Nov 26 04:26:36 AM UTC 2024
# POI01| Importing functions
# POI01| Functions imported
# POI03| Setting base environment variables
# POI03| No config file found: /etc/inventree/config.yaml, using envs or defaults
# POI03| Collected environment variables:
# POI03|    INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
# POI03|    INVENTREE_STATIC_ROOT=/opt/inventree/data/static
# POI03|    INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
# POI03|    INVENTREE_PLUGINS_ENABLED=true
# POI03|    INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
# POI03|    INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
# POI03|    INVENTREE_DB_ENGINE=sqlite3
# POI03|    INVENTREE_DB_NAME=/opt/inventree/data/database.sqlite3
# POI03|    INVENTREE_DB_USER=sampleuser
# POI03|    INVENTREE_DB_HOST=samplehost
# POI03|    INVENTREE_DB_PORT=123456
# POI04| Running in docker: no
# POI05| Using init command: systemctl
# POI06| Getting the IP address of the server via web service
# POI06| IP address is 66.205.247.10
# POI07| No python environment found - using environment variable: python3.9
# POI07| Trying to detecting python3.9 to python3.12 - using newest version
# POI07| Checking for python3.12
# POI07| Checking for python3.11
# POI07| Checking for python3.10
# POI07| Found python3.10 installed - using for setup python3.10
# POI07| Using python command: python3.10
# POI08| Checking if update checks are needed
# POI08| Normal install - no need for checks
# POI09| Setting up python environment
Collecting invoke
  Downloading invoke-2.2.0-py3-none-any.whl (160 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 KB 1.9 MB/s eta 0:00:00
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 KB 2.8 MB/s eta 0:00:00
Installing collected packages: wheel, invoke
Successfully installed invoke-2.2.0 wheel-0.45.1
# POI09| Unlinking default nginx config\n# POI09| Old file still in /etc/nginx/sites-available/default
# POI09| Unlinked default nginx config
# POI09| Stopping nginx
# POI09| Stopped nginx
# POI09| Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# POI09| Starting nginx
# POI09| Started nginx
# POI09| (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# POI09| Enabling InvenTree on boot
# POI09| Enabled InvenTree on boot
# POI10| Creating admin user data
# POI11| Stopping InvenTree
# POI11| Stopped InvenTree
# POI12| Updating InvenTree
Collecting uv
  Downloading uv-0.5.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.5/14.5 MB 9.6 MB/s eta 0:00:00
Requirement already satisfied: wheel in ./env/lib/python3.10/site-packages (0.45.1)
Installing collected packages: uv
Successfully installed uv-0.5.4
Using Python 3.10.12 environment at env
Resolved 137 packages in 2.25s
Prepared 137 packages in 8.13s
Uninstalled 1 package in 28ms
Installed 137 packages in 169ms
 + asgiref==3.8.1
 + async-timeout==4.0.3
 + attrs==23.2.0
 + babel==2.15.0
 + bleach==6.1.0
 + brotli==1.1.0
 + certifi==2024.7.4
 + cffi==1.16.0
 + charset-normalizer==3.3.2
 + coreapi==2.3.3
 + coreschema==0.0.4
 + cryptography==42.0.8
 + cssselect2==0.7.0
 + defusedxml==0.7.1
 + deprecated==1.2.14
 + diff-match-patch==20230430
 + dj-rest-auth==6.0.0
 + django==4.2.15
 + django-allauth==0.63.3
 + django-allauth-2fa==0.11.1
 + django-cleanup==8.1.0
 + django-cors-headers==4.4.0
 + django-crispy-forms==1.14.0
 + django-dbbackup==4.1.0
 + django-error-report-2==0.4.2
 + django-filter==24.2
 + django-flags==5.0.13
 + django-formtools==2.5.1
 + django-ical==1.9.2
 + django-import-export==3.3.9
 + django-js-asset==2.2.0
 + django-maintenance-mode==0.21.1
 + django-markdownify==0.9.5
 + django-money==3.2.0
 + django-mptt==0.16.0
 + django-otp==1.5.0
 + django-picklefield==3.2
 + django-q-sentry==0.1.6
 + django-q2==1.6.2
 + django-recurrence==1.11.1
 + django-redis==5.4.0
 + django-sesame==3.2.2
 + django-sql-utils==0.7.0
 + django-sslserver==0.22
 + django-stdimage==6.0.2
 + django-taggit==5.0.1
 + django-user-sessions==2.0.0
 + django-weasyprint==2.3.0
 + django-xforwardedfor-middleware==2.0
 + djangorestframework==3.14.0
 + djangorestframework-simplejwt==5.3.1
 + drf-spectacular==0.27.2
 + dulwich==0.22.1
 + et-xmlfile==1.1.0
 + feedparser==6.0.11
 + fonttools==4.53.0
 + googleapis-common-protos==1.63.2
 + grpcio==1.64.1
 + gunicorn==22.0.0
 + html5lib==1.1
 + icalendar==5.0.13
 + idna==3.7
 + importlib-metadata==7.1.0
 + inflection==0.5.1
 + isodate==0.6.1
 + itypes==1.2.0
 + jinja2==3.1.4
 + jsonschema==4.22.0
 + jsonschema-specifications==2023.12.1
 + lxml==5.2.2
 + markdown==3.6
 + markuppy==1.14
 + markupsafe==2.1.5
 + odfpy==1.4.1
 + openpyxl==3.1.4
 + opentelemetry-api==1.25.0
 + opentelemetry-exporter-otlp==1.25.0
 + opentelemetry-exporter-otlp-proto-common==1.25.0
 + opentelemetry-exporter-otlp-proto-grpc==1.25.0
 + opentelemetry-exporter-otlp-proto-http==1.25.0
 + opentelemetry-instrumentation==0.46b0
 + opentelemetry-instrumentation-django==0.46b0
 + opentelemetry-instrumentation-redis==0.46b0
 + opentelemetry-instrumentation-requests==0.46b0
 + opentelemetry-instrumentation-wsgi==0.46b0
 + opentelemetry-proto==1.25.0
 + opentelemetry-sdk==1.25.0
 + opentelemetry-semantic-conventions==0.46b0
 + opentelemetry-util-http==0.46b0
 + packaging==24.1
 + pdf2image==1.17.0
 + pillow==10.3.0
 + pint==0.21
 + pip-licenses==4.4.0
 + prettytable==3.10.0
 + protobuf==4.25.3
 + py-moneyed==3.0
 + pycparser==2.22
 + pydyf==0.10.0
 + pyjwt==2.8.0
 + pyphen==0.15.0
 + pypng==0.20220715.0
 + python-barcode==0.15.1
 + python-dateutil==2.9.0.post0
 + python-dotenv==1.0.1
 + python-fsutil==0.14.1
 + python3-openid==3.2.0
 + python3-saml==1.16.0
 + pytz==2024.1
 + pyyaml==6.0.1
 + qrcode==7.4.2
 + rapidfuzz==3.9.3
 + redis==5.0.7
 + referencing==0.35.1
 + regex==2024.4.28
 + requests==2.32.3
 + rpds-py==0.18.1
 + sentry-sdk==2.8.0
 - setuptools==75.6.0
 + setuptools==72.1.0
 + sgmllib3k==1.0.0
 + six==1.16.0
 + sqlparse==0.5.0
 + tablib==3.5.0
 + tinycss2==1.2.1
 + typing-extensions==4.12.2
 + uritemplate==4.1.1
 + urllib3==2.2.2
 + wcwidth==0.2.13
 + weasyprint==61.2
 + webencodings==0.5.1
 + whitenoise==6.7.0
 + wrapt==1.16.0
 + xlrd==2.0.1
 + xlwt==1.3.0
 + xmlsec==1.3.14
 + zipp==3.19.2
 + zopfli==0.2.3
Plugin configuration file does not exist - creating default file
warning: Requirements file /etc/inventree/plugins.txt does not contain any dependencies
Using Python 3.10.12 environment at env
Audited in 8ms
Traceback (most recent call last):
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/opt/inventree/src/backend/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 442, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/apps/config.py", line 178, in create
    mod = import_module(mod_path)
  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 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  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/src/backend/InvenTree/plugin/__init__.py", line 4, in <module>
    from .plugin import InvenTreePlugin
  File "/opt/inventree/src/backend/InvenTree/plugin/plugin.py", line 16, in <module>
    from InvenTree.helpers import pui_url
  File "/opt/inventree/src/backend/InvenTree/InvenTree/helpers.py", line 26, in <module>
    import regex
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/__init__.py", line 1, in <module>
    from .regex import *
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/regex.py", line 417, in <module>
    import regex._regex_core as _regex_core
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/_regex_core.py", line 21, in <module>
    import regex._regex as _regex
ModuleNotFoundError: No module named 'regex._regex'
# POI12| u | Installing required python packages from 'src/backend/requirements.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.10/site-packages (0.5.4)
# POI12| u | Requirement already satisfied: setuptools in ./env/lib/python3.10/site-packages (59.6.0)
# POI12| u | Collecting setuptools
# POI12| u |   Downloading setuptools-75.6.0-py3-none-any.whl (1.2 MB)
# POI12| u |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.3 MB/s eta 0:00:00
# POI12| u | Installing collected packages: setuptools
# POI12| u |   Attempting uninstall: setuptools
# POI12| u |     Found existing installation: setuptools 59.6.0
# POI12| u |     Uninstalling setuptools-59.6.0:
# POI12| u |       Successfully uninstalled setuptools-59.6.0
# POI12| u | Successfully installed setuptools-75.6.0
# POI12| u | Installing plugin packages from '/etc/inventree/plugins.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.10/site-packages (0.5.4)
# POI12| u | Python version 3.10.12 - /opt/inventree/env/bin/python3
# POI12| u | InvenTree configuration file 'config.yaml' not found - creating default file
# POI12| u | Created config file /etc/inventree/config.yaml
# POI12| Set permissions for data dir and media: /opt/inventree/data
# POI13| Setting up InvenTree config values
# POI13| Writing the settings to the config file /etc/inventree/config.yaml
# POI13| Done setting up InvenTree config values
# POI14| Setting up InvenTree site URL
# POI15| Starting InvenTree
# POI15| Started InvenTree
# POI16| Printing Final message
####################################################################################
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://SCRUBBED/

Admin user data:
   Email: [email protected]
   Username: admin
   Password: SCRUBBED
####################################################################################
# POI17| Running postinstall script - done - Tue Nov 26 04:27:16 AM UTC 2024
Setting up python3-dev (3.10.6-1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Processing triggers for ufw (0.36.1-4ubuntu0.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Install done!

I fixed the broken package - then ran the installer again - which properly installed the packages without any issue - but still got a 502.

Oddly the services all show active

root@inventree:/opt/inventree/src/backend/InvenTree# systemctl status inventree
● inventree.service
     Loaded: loaded (/etc/systemd/system/inventree.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-11-26 06:01:15 UTC; 10min ago
   Main PID: 17559 (sleep)
      Tasks: 1 (limit: 9393)
     Memory: 172.0K
        CPU: 3ms
     CGroup: /system.slice/inventree.service
             └─17559 /bin/sleep infinity

Nov 26 06:01:15 inventree systemd[1]: Started inventree.service.
root@inventree:/opt/inventree/src/backend/InvenTree# systemctl status inventree-web
● inventree-web.service
     Loaded: loaded (/etc/systemd/system/inventree-web.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-11-26 06:01:15 UTC; 10min ago
   Main PID: 17560 (sleep)
      Tasks: 1 (limit: 9393)
     Memory: 172.0K
        CPU: 3ms
     CGroup: /system.slice/inventree-web.service
             └─17560 /bin/sleep infinity

Nov 26 06:01:15 inventree systemd[1]: Started inventree-web.service.
root@inventree:/opt/inventree/src/backend/InvenTree# systemctl status inventree-worker
● inventree-worker.service
     Loaded: loaded (/etc/systemd/system/inventree-worker.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-11-26 06:01:15 UTC; 10min ago
   Main PID: 17562 (sleep)
      Tasks: 1 (limit: 9393)
     Memory: 172.0K
        CPU: 3ms
     CGroup: /system.slice/inventree-worker.service
             └─17562 /bin/sleep infinity

Nov 26 06:01:15 inventree systemd[1]: Started inventree-worker.service.
root@inventree:/opt/inventree/src/backend/InvenTree#

From #6349 (comment) - I checked for the maintenance mode - but it still doesn't work.

Next attempt is a full new VM running 24.04 - but not sure how much that will change things as it's also an LTS.

@JamieSinn
Copy link

Seems like this is related? #8495

@SchrodingersGat
Copy link
Member

All, I have just release 0.16.9 which should hopefully address these issues - please try the new version and report back

@mschaffner9239
Copy link
Author

Hi Oliver,

I attempted an install on Debian 12 and it stopped with a different issue, see log below:

Setting up inventree (0.16.9-1732958900.e0756a70.bullseye) ...
# POI01| Running postinstall script - start - Sat Nov 30 02:46:40 PM PST 2024
# POI01| Importing functions
# POI01| Functions imported
# POI03| Setting base environment variables
# POI03| No config file found: /etc/inventree/config.yaml, using envs or defaults
# POI03| Collected environment variables:
# POI03|    INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
# POI03|    INVENTREE_STATIC_ROOT=/opt/inventree/data/static
# POI03|    INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
# POI03|    INVENTREE_PLUGINS_ENABLED=true
# POI03|    INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
# POI03|    INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
# POI03|    INVENTREE_DB_ENGINE=sqlite3
# POI03|    INVENTREE_DB_NAME=/opt/inventree/data/database.sqlite3
# POI03|    INVENTREE_DB_USER=sampleuser
# POI03|    INVENTREE_DB_HOST=samplehost
# POI03|    INVENTREE_DB_PORT=123456
# POI04| Running in docker: no
# POI05| Using init command: systemctl
# POI06| Getting the IP address of the server via web service
# POI06| IP address is 47.154.159.22
# POI07| No python environment found - using environment variable: python3.9
# POI07| Trying to detecting python3.9 to python3.12 - using newest version
# POI07| Checking for python3.12
# POI07| Checking for python3.11
# POI07| Found python3.11 installed - using for setup python3.11
# POI07| Using python command: python3.11
# POI08| Checking if update checks are needed
# POI08| Normal install - no need for checks
# POI09| Setting up python environment
Collecting invoke
  Downloading invoke-2.2.0-py3-none-any.whl (160 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 kB 3.8 MB/s eta 0:00:00
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 kB 3.1 MB/s eta 0:00:00
Installing collected packages: wheel, invoke
Successfully installed invoke-2.2.0 wheel-0.45.1
# POI09| Unlinking default nginx config\n# POI09| Old file still in /etc/nginx/sites-available/default
# POI09| Unlinked default nginx config
# POI09| Stopping nginx
# POI09| Stopped nginx
# POI09| Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# POI09| Starting nginx
# POI09| Started nginx
# POI09| (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# POI09| Enabling InvenTree on boot
# POI09| Enabled InvenTree on boot
# POI10| Creating admin user data
# POI11| Stopping InvenTree
# POI11| Stopped InvenTree
# POI12| Updating InvenTree
Collecting uv
  Downloading uv-0.5.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.4/14.4 MB 6.0 MB/s eta 0:00:00
Requirement already satisfied: wheel in ./env/lib/python3.11/site-packages (0.45.1)
Installing collected packages: uv
Successfully installed uv-0.5.5
Using Python 3.11.2 environment at: env
Resolved 136 packages in 2.60s
Prepared 136 packages in 6.55s
Uninstalled 1 package in 18ms
Installed 136 packages in 2.83s
 + asgiref==3.8.1
 + async-timeout==5.0.1
 + attrs==23.2.0
 + babel==2.15.0
 + bleach==6.1.0
 + brotli==1.1.0
 + certifi==2024.7.4
 + cffi==1.16.0
 + charset-normalizer==3.3.2
 + coreapi==2.3.3
 + coreschema==0.0.4
 + cryptography==42.0.8
 + cssselect2==0.7.0
 + defusedxml==0.7.1
 + deprecated==1.2.14
 + diff-match-patch==20230430
 + dj-rest-auth==6.0.0
 + django==4.2.15
 + django-allauth==0.63.3
 + django-allauth-2fa==0.11.1
 + django-cleanup==8.1.0
 + django-cors-headers==4.4.0
 + django-crispy-forms==1.14.0
 + django-dbbackup==4.1.0
 + django-error-report-2==0.4.2
 + django-filter==24.2
 + django-flags==5.0.13
 + django-formtools==2.5.1
 + django-ical==1.9.2
 + django-import-export==3.3.9
 + django-js-asset==2.2.0
 + django-maintenance-mode==0.21.1
 + django-markdownify==0.9.5
 + django-money==3.2.0
 + django-mptt==0.16.0
 + django-otp==1.5.0
 + django-picklefield==3.2
 + django-q-sentry==0.1.6
 + django-q2==1.6.2
 + django-recurrence==1.11.1
 + django-redis==5.4.0
 + django-sesame==3.2.2
 + django-sql-utils==0.7.0
 + django-sslserver==0.22
 + django-stdimage==6.0.2
 + django-taggit==5.0.1
 + django-user-sessions==2.0.0
 + django-weasyprint==2.3.0
 + django-xforwardedfor-middleware==2.0
 + djangorestframework==3.14.0
 + djangorestframework-simplejwt==5.3.1
 + drf-spectacular==0.27.2
 + dulwich==0.22.1
 + et-xmlfile==1.1.0
 + feedparser==6.0.11
 + fonttools==4.53.0
 + googleapis-common-protos==1.63.2
 + grpcio==1.64.1
 + gunicorn==22.0.0
 + html5lib==1.1
 + icalendar==5.0.13
 + idna==3.7
 + importlib-metadata==7.1.0
 + inflection==0.5.1
 + isodate==0.6.1
 + itypes==1.2.0
 + jinja2==3.1.4
 + jsonschema==4.22.0
 + jsonschema-specifications==2023.12.1
 + lxml==5.2.2
 + markdown==3.6
 + markuppy==1.14
 + markupsafe==2.1.5
 + odfpy==1.4.1
 + openpyxl==3.1.4
 + opentelemetry-api==1.25.0
 + opentelemetry-exporter-otlp==1.25.0
 + opentelemetry-exporter-otlp-proto-common==1.25.0
 + opentelemetry-exporter-otlp-proto-grpc==1.25.0
 + opentelemetry-exporter-otlp-proto-http==1.25.0
 + opentelemetry-instrumentation==0.46b0
 + opentelemetry-instrumentation-django==0.46b0
 + opentelemetry-instrumentation-redis==0.46b0
 + opentelemetry-instrumentation-requests==0.46b0
 + opentelemetry-instrumentation-wsgi==0.46b0
 + opentelemetry-proto==1.25.0
 + opentelemetry-sdk==1.25.0
 + opentelemetry-semantic-conventions==0.46b0
 + opentelemetry-util-http==0.46b0
 + packaging==24.1
 + pdf2image==1.17.0
 + pillow==10.3.0
 + pint==0.21
 + pip-licenses==4.4.0
 + prettytable==3.10.0
 + protobuf==4.25.3
 + py-moneyed==3.0
 + pycparser==2.22
 + pydyf==0.10.0
 + pyjwt==2.8.0
 + pyphen==0.15.0
 + pypng==0.20220715.0
 + python-barcode==0.15.1
 + python-dateutil==2.9.0.post0
 + python-dotenv==1.0.1
 + python-fsutil==0.14.1
 + python3-openid==3.2.0
 + python3-saml==1.16.0
 + pytz==2024.1
 + pyyaml==6.0.1
 + qrcode==7.4.2
 + rapidfuzz==3.9.3
 + redis==5.0.7
 + referencing==0.35.1
 + requests==2.32.3
 + rpds-py==0.18.1
 + sentry-sdk==2.8.0
 - setuptools==75.6.0
 + setuptools==72.1.0
 + sgmllib3k==1.0.0
 + six==1.16.0
 + sqlparse==0.5.0
 + tablib==3.5.0
 + tinycss2==1.2.1
 + typing-extensions==4.12.2
 + uritemplate==4.1.1
 + urllib3==2.2.2
 + wcwidth==0.2.13
 + weasyprint==61.2
 + webencodings==0.5.1
 + whitenoise==6.7.0
 + wrapt==1.16.0
 + xlrd==2.0.1
 + xlwt==1.3.0
 + xmlsec==1.3.14
 + zipp==3.19.2
 + zopfli==0.2.3
Plugin configuration file does not exist - creating default file
warning: Requirements file `/etc/inventree/plugins.txt` does not contain any dependencies
Using Python 3.11.2 environment at: env
Audited in 2ms
Traceback (most recent call last):
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.11/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/inventree/src/backend/InvenTree/build/models.py", line 32, in <module>
    import InvenTree.helpers_model
  File "/opt/inventree/src/backend/InvenTree/InvenTree/helpers_model.py", line 16, in <module>
    from PIL import Image
  File "/opt/inventree/env/lib/python3.11/site-packages/PIL/Image.py", line 88, in <module>
    from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL' (/opt/inventree/env/lib/python3.11/site-packages/PIL/__init__.py)
# POI12| u | Installing required python packages from 'src/backend/requirements.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.11/site-packages (0.5.5)
# POI12| u | Requirement already satisfied: setuptools in ./env/lib/python3.11/site-packages (66.1.1)
# POI12| u | Collecting setuptools
# POI12| u |   Downloading setuptools-75.6.0-py3-none-any.whl (1.2 MB)
# POI12| u |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 10.0 MB/s eta 0:00:00
# POI12| u | Installing collected packages: setuptools
# POI12| u |   Attempting uninstall: setuptools
# POI12| u |     Found existing installation: setuptools 66.1.1
# POI12| u |     Uninstalling setuptools-66.1.1:
# POI12| u |       Successfully uninstalled setuptools-66.1.1
# POI12| u | Successfully installed setuptools-75.6.0
# POI12| u | Installing plugin packages from '/etc/inventree/plugins.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.11/site-packages (0.5.5)
# POI12| u | Python version 3.11.2 - /opt/inventree/env/bin/python3
# POI12| u | InvenTree configuration file 'config.yaml' not found - creating default file
# POI12| u | Created config file /etc/inventree/config.yaml
# POI12| Set permissions for data dir and media: /opt/inventree/data
# POI13| Setting up InvenTree config values
# POI13| Writing the settings to the config file /etc/inventree/config.yaml
# POI13| Done setting up InvenTree config values
# POI14| Setting up InvenTree site URL
# POI15| Starting InvenTree
# POI15| Started InvenTree
# POI16| Printing Final message
####################################################################################

@SchrodingersGat
Copy link
Member

@mschaffner9239 we are playing whack-a-mole here...

Some quick googling of this new error shows that maybe there is a version incompatibilitity with another package already installed on your system?

Can you show the output of:

pip show pillow
pip show PIL

References

@mschaffner9239
Copy link
Author

Hi Oliver,

My apologies, the above was meant for the other ticket. I did an install of 0.16.9 on Debian 11 and so far that seems to be working correctly. I'll move over that previous message to the proper ticket.

Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installer question This is a question setup Relates to the InvenTree setup / installation process
Projects
None yet
Development

No branches or pull requests

4 participants