::: Configuring under user fermentrack(B ::: Configuring in directory /home/fermentrack(B ::: Checking for Internet connection: (B ::: Internet connection Success!(B ::: Checking whether this script is up to date...(B ::: /home/pi/fermentrack-tools/update-tools-repo.sh start.(B /home/pi/fermentrack-tools is up-to-date. ::: /home/pi/fermentrack-tools/update-tools-repo.sh end.(B ::: Installing dependencies using apt-get(B ::: apt is updated - installing git-core, nginx, python-dev, and a handful of other packages.(B ::: (This may take a few minutes during which everything will be silent) ...(B Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). git is already the newest version (1:2.20.1-2+deb10u3). The following package was automatically installed and is no longer required: libmicrodns0 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libftdi1 libhidapi-libusb0 libhiredis0.14 libjemalloc2 liblua5.1-0 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream lua-bitop lua-cjson nginx-common nginx-full redis-tools Suggested packages: dfu-programmer avrdude-doc fcgiwrap nginx-doc ssl-cert ruby-redis The following NEW packages will be installed: avrdude libftdi1 libhidapi-libusb0 libhiredis0.14 libjemalloc2 liblua5.1-0 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream lua-bitop lua-cjson nginx nginx-common nginx-full redis-server redis-tools 0 upgraded, 23 newly installed, 0 to remove and 4 not upgraded. Need to get 2,815 kB of archives. After this operation, 7,215 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian buster/main armhf avrdude armhf 6.3-20171130+svn1429-2+rpt1 [284 kB] Get:2 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libhiredis0.14 armhf 0.14.0-3 [28.9 kB] Get:3 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libjemalloc2 armhf 5.1.0-3 [169 kB] Get:4 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf liblua5.1-0 armhf 5.1.5-8.1+b1 [82.8 kB] Get:5 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf lua-bitop armhf 1.0.2-5 [6,496 B] Get:6 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf lua-cjson armhf 2.1.0+dfsg-2.1 [15.2 kB] Get:7 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf redis-tools armhf 5:5.0.3-4+deb10u1 [447 kB] Get:8 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf redis-server armhf 5:5.0.3-4+deb10u1 [78.4 kB] Get:9 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libftdi1 armhf 0.20-4 [17.0 kB] Get:10 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libhidapi-libusb0 armhf 0.8.0~rc1+git20140818.d17db57+dfsg-2 [12.3 kB] Get:11 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf nginx-common all 1.14.2-2+deb10u1 [120 kB] Get:12 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-auth-pam armhf 1.14.2-2+deb10u1 [91.9 kB] Get:13 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-dav-ext armhf 1.14.2-2+deb10u1 [98.8 kB] Get:14 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-echo armhf 1.14.2-2+deb10u1 [102 kB] Get:15 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-geoip armhf 1.14.2-2+deb10u1 [93.1 kB] Get:16 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-image-filter armhf 1.14.2-2+deb10u1 [96.3 kB] Get:17 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-subs-filter armhf 1.14.2-2+deb10u1 [95.0 kB] Get:18 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-upstream-fair armhf 1.14.2-2+deb10u1 [95.2 kB] Get:19 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-http-xslt-filter armhf 1.14.2-2+deb10u1 [94.7 kB] Get:20 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-mail armhf 1.14.2-2+deb10u1 [120 kB] Get:21 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libnginx-mod-stream armhf 1.14.2-2+deb10u1 [138 kB] Get:22 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf nginx-full armhf 1.14.2-2+deb10u1 [441 kB] Get:23 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf nginx all 1.14.2-2+deb10u1 [88.3 kB] Preconfiguring packages ... Fetched 2,815 kB in 4s (727 kB/s) Selecting previously unselected package libhiredis0.14:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 93553 files and directories currently installed.) Preparing to unpack .../00-libhiredis0.14_0.14.0-3_armhf.deb ... Unpacking libhiredis0.14:armhf (0.14.0-3) ... Selecting previously unselected package libjemalloc2:armhf. Preparing to unpack .../01-libjemalloc2_5.1.0-3_armhf.deb ... Unpacking libjemalloc2:armhf (5.1.0-3) ... Selecting previously unselected package liblua5.1-0:armhf. Preparing to unpack .../02-liblua5.1-0_5.1.5-8.1+b1_armhf.deb ... Unpacking liblua5.1-0:armhf (5.1.5-8.1+b1) ... Selecting previously unselected package lua-bitop:armhf. Preparing to unpack .../03-lua-bitop_1.0.2-5_armhf.deb ... Unpacking lua-bitop:armhf (1.0.2-5) ... Selecting previously unselected package lua-cjson:armhf. Preparing to unpack .../04-lua-cjson_2.1.0+dfsg-2.1_armhf.deb ... Unpacking lua-cjson:armhf (2.1.0+dfsg-2.1) ... Selecting previously unselected package redis-tools. Preparing to unpack .../05-redis-tools_5%3a5.0.3-4+deb10u1_armhf.deb ... Unpacking redis-tools (5:5.0.3-4+deb10u1) ... Selecting previously unselected package redis-server. Preparing to unpack .../06-redis-server_5%3a5.0.3-4+deb10u1_armhf.deb ... Unpacking redis-server (5:5.0.3-4+deb10u1) ... Selecting previously unselected package libftdi1:armhf. Preparing to unpack .../07-libftdi1_0.20-4_armhf.deb ... Unpacking libftdi1:armhf (0.20-4) ... Selecting previously unselected package libhidapi-libusb0:armhf. Preparing to unpack .../08-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_armhf.deb ... Unpacking libhidapi-libusb0:armhf (0.8.0~rc1+git20140818.d17db57+dfsg-2) ... Selecting previously unselected package avrdude. Preparing to unpack .../09-avrdude_6.3-20171130+svn1429-2+rpt1_armhf.deb ... Unpacking avrdude (6.3-20171130+svn1429-2+rpt1) ... Selecting previously unselected package nginx-common. Preparing to unpack .../10-nginx-common_1.14.2-2+deb10u1_all.deb ... Unpacking nginx-common (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-auth-pam. Preparing to unpack .../11-libnginx-mod-http-auth-pam_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-auth-pam (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-dav-ext. Preparing to unpack .../12-libnginx-mod-http-dav-ext_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-dav-ext (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-echo. Preparing to unpack .../13-libnginx-mod-http-echo_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-echo (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-geoip. Preparing to unpack .../14-libnginx-mod-http-geoip_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-geoip (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-image-filter. Preparing to unpack .../15-libnginx-mod-http-image-filter_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-image-filter (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-subs-filter. Preparing to unpack .../16-libnginx-mod-http-subs-filter_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-subs-filter (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-upstream-fair. Preparing to unpack .../17-libnginx-mod-http-upstream-fair_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-upstream-fair (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-http-xslt-filter. Preparing to unpack .../18-libnginx-mod-http-xslt-filter_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-http-xslt-filter (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-mail. Preparing to unpack .../19-libnginx-mod-mail_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-mail (1.14.2-2+deb10u1) ... Selecting previously unselected package libnginx-mod-stream. Preparing to unpack .../20-libnginx-mod-stream_1.14.2-2+deb10u1_armhf.deb ... Unpacking libnginx-mod-stream (1.14.2-2+deb10u1) ... Selecting previously unselected package nginx-full. Preparing to unpack .../21-nginx-full_1.14.2-2+deb10u1_armhf.deb ... Unpacking nginx-full (1.14.2-2+deb10u1) ... Selecting previously unselected package nginx. Preparing to unpack .../22-nginx_1.14.2-2+deb10u1_all.deb ... Unpacking nginx (1.14.2-2+deb10u1) ... Setting up libftdi1:armhf (0.20-4) ... Setting up nginx-common (1.14.2-2+deb10u1) ... Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service. Setting up libjemalloc2:armhf (5.1.0-3) ... Setting up libnginx-mod-http-xslt-filter (1.14.2-2+deb10u1) ... Setting up lua-cjson:armhf (2.1.0+dfsg-2.1) ... Setting up libnginx-mod-http-auth-pam (1.14.2-2+deb10u1) ... Setting up libnginx-mod-http-geoip (1.14.2-2+deb10u1) ... Setting up libhidapi-libusb0:armhf (0.8.0~rc1+git20140818.d17db57+dfsg-2) ... Setting up lua-bitop:armhf (1.0.2-5) ... Setting up libnginx-mod-http-echo (1.14.2-2+deb10u1) ... Setting up libnginx-mod-http-subs-filter (1.14.2-2+deb10u1) ... Setting up liblua5.1-0:armhf (5.1.5-8.1+b1) ... Setting up libhiredis0.14:armhf (0.14.0-3) ... Setting up libnginx-mod-http-dav-ext (1.14.2-2+deb10u1) ... Setting up libnginx-mod-mail (1.14.2-2+deb10u1) ... Setting up avrdude (6.3-20171130+svn1429-2+rpt1) ... Setting up libnginx-mod-http-image-filter (1.14.2-2+deb10u1) ... Setting up libnginx-mod-stream (1.14.2-2+deb10u1) ... Setting up libnginx-mod-http-upstream-fair (1.14.2-2+deb10u1) ... Setting up nginx-full (1.14.2-2+deb10u1) ... Setting up redis-tools (5:5.0.3-4+deb10u1) ... Setting up nginx (1.14.2-2+deb10u1) ... Setting up redis-server (5:5.0.3-4+deb10u1) ... Created symlink /etc/systemd/system/redis.service → /lib/systemd/system/redis-server.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service → /lib/systemd/system/redis-server.service. Processing triggers for systemd (241-7~deb10u4+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Reading package lists... Building dependency tree... Reading state information... libcap2-bin is already the newest version (1:2.25-2). bluez is already the newest version (5.50-1.2~deb10u1+rpt1). bluez set to manually installed. libbluetooth3 is already the newest version (5.50-1.2~deb10u1+rpt1). libbluetooth3 set to manually installed. The following package was automatically installed and is no longer required: libmicrodns0 Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: libbluetooth-dev 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 190 kB of archives. After this operation, 524 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian buster/main armhf libbluetooth-dev armhf 5.50-1.2~deb10u1+rpt1 [190 kB] Fetched 190 kB in 0s (1,101 kB/s) Selecting previously unselected package libbluetooth-dev:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 93800 files and directories currently installed.) Preparing to unpack .../libbluetooth-dev_5.50-1.2~deb10u1+rpt1_armhf.deb ... Unpacking libbluetooth-dev:armhf (5.50-1.2~deb10u1+rpt1) ... Setting up libbluetooth-dev:armhf (5.50-1.2~deb10u1+rpt1) ... Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). python3-dev set to manually installed. python3-venv is already the newest version (3.7.3-1). python3-venv set to manually installed. python3-pip is already the newest version (18.1-5+rpt1). The following package was automatically installed and is no longer required: libmicrodns0 Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: python3-zmq 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 242 kB of archives. After this operation, 1,261 kB of additional disk space will be used. Get:1 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf python3-zmq armhf 17.1.2-2 [242 kB] Fetched 242 kB in 1s (301 kB/s) Selecting previously unselected package python3-zmq. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 93849 files and directories currently installed.) Preparing to unpack .../python3-zmq_17.1.2-2_armhf.deb ... Unpacking python3-zmq (17.1.2-2) ... Setting up python3-zmq (17.1.2-2) ... ::: All packages installed successfully.(B ::: Verifying free disk space...(B ::: Creating and configuring user accounts.(B passwd: password expiry information changed. ::: Checking install directories(B ::: Script install directory is NOT empty, backing up to this users home dir and then deleting contents...(B ::: Making sure everything is owned by fermentrack(B ::: Downloading most recent Fermentrack codebase...(B Cloning into '/home/fermentrack/fermentrack'... ::: Making sure everything is owned by fermentrack(B ::: Creating virtualenv directory...(B ::: Python 3.7 is installed. Using Python 3.7 to create the venv.(B Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting circus Downloading https://files.pythonhosted.org/packages/e3/be/376ccf89ca4e6dcaa3521dbbdb13989c0047f0a25110c6d7feb5e3f2b3ac/circus-0.16.1-py3-none-any.whl (182kB) Collecting six (from circus) Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting tornado<5.0,>=3.0 (from circus) Downloading https://www.piwheels.org/simple/tornado/tornado-4.5.3-cp37-cp37m-linux_armv7l.whl (434kB) Collecting pyzmq>=17.0 (from circus) Downloading https://www.piwheels.org/simple/pyzmq/pyzmq-19.0.1-cp37-cp37m-linux_armv7l.whl (6.3MB) Collecting psutil (from circus) Downloading https://www.piwheels.org/simple/psutil/psutil-5.7.0-cp37-cp37m-linux_armv7l.whl (281kB) Installing collected packages: six, tornado, pyzmq, psutil, circus Successfully installed circus-0.16.1 psutil-5.7.0 pyzmq-19.0.1 six-1.14.0 tornado-4.5.3 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting numpy Downloading https://www.piwheels.org/simple/numpy/numpy-1.18.4-cp37-cp37m-linux_armv7l.whl (10.4MB) Installing collected packages: numpy Successfully installed numpy-1.18.4 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting scipy Downloading https://www.piwheels.org/simple/scipy/scipy-1.4.1-cp37-cp37m-linux_armv7l.whl (50.7MB) Requirement already satisfied: numpy>=1.13.3 in ./venv/lib/python3.7/site-packages (from scipy) (1.18.4) Installing collected packages: scipy Successfully installed scipy-1.4.1 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pandas Downloading https://www.piwheels.org/simple/pandas/pandas-1.0.3-cp37-cp37m-linux_armv7l.whl (31.2MB) Collecting python-dateutil>=2.6.1 (from pandas) Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB) Collecting pytz>=2017.2 (from pandas) Downloading https://files.pythonhosted.org/packages/4f/a4/879454d49688e2fad93e59d7d4efda580b783c745fd2ec2a3adf87b0808d/pytz-2020.1-py2.py3-none-any.whl (510kB) Requirement already satisfied: numpy>=1.13.3 in ./venv/lib/python3.7/site-packages (from pandas) (1.18.4) Requirement already satisfied: six>=1.5 in ./venv/lib/python3.7/site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0) Installing collected packages: python-dateutil, pytz, pandas Successfully installed pandas-1.0.3 python-dateutil-2.8.1 pytz-2020.1 ::: Enabling python to query bluetooth without being root(B ::: Forcing reinstallation of pip within the virtualenv(B Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pip Downloading https://files.pythonhosted.org/packages/54/2e/df11ea7e23e7e761d484ed3740285a34e38548cf2bad2bed3dd5768ec8b9/pip-20.1-py2.py3-none-any.whl (1.5MB) Installing collected packages: pip Found existing installation: pip 18.1 Uninstalling pip-18.1: Successfully uninstalled pip-18.1 Successfully installed pip-20.1 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already up-to-date: pip in ./venv/lib/python3.7/site-packages (20.1) Could not build wheels for pip, since package 'wheel' is not installed. ::: Running make_secretsettings.sh from the script repo(B Generating SECRET_KEY and writing to fermentrack_django/secretsettings.py secretsettings.py created! ::: Running upgrade.sh from the script repo to finalize the install.(B ::: This may take up to an hour during which everything will be silent...(B ::: Copying nginx configuration to /etc/nginx and activating.(B ::: Making sure everything is owned by fermentrack(B ::: Running updateCronCircus.sh from the script repo(B Checking and fixing cron entries for Fermentrack no crontab for fermentrack no crontab for fermentrack - Adding @reboot cron entry for fermentrack to cron - Adding periodic checks for fermentrack to cron ::: Starting circus process monitor.(B Starting Fermentrack supervisor: circusd: done Done installing Fermentrack! ===================================================================================================== Review the log above for any errors, otherwise, your initial environment install is complete! The fermentrack user has been set up with no password. Use 'sudo -u fermentrack -i' from this user to access the fermentrack user To view Fermentrack, enter http://192.168.1.13 into your web browser - Fermentrack frontend : http://192.168.1.13 - Fermentrack user : fermentrack - Installation path : /home/fermentrack/fermentrack - Fermentrack version : b8fd21a Add warning about upcoming Python 3.7 requirement - Install script version : b45b54f Update installation scripts to require Python 3.7 for new installs - Install tools path : /home/pi/fermentrack-tools Happy Brewing!