-- Logs begin at Thu 2019-02-14 05:11:59 EST, end at Tue 2021-07-06 16:44:40 EDT. -- Jul 06 16:32:38 tinypilot systemd[1]: Starting TinyPilot updater... Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: 2021-07-06 16:32:38 __main__ INFO Starting TinyPilot update Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: 2021-07-06 16:32:38 __main__ INFO Launching update script: /opt/tinypilot-privileged/update Jul 06 16:32:38 tinypilot sudo[24929]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/update Jul 06 16:32:38 tinypilot sudo[24929]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: + set -u Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: + set -e Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: ++ mktemp -d Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: + cd /tmp/tmp.rRoVKeVMNv Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: + git clone https://dev.azure.com/tinypilot/tinypilot-pro/_git/tinypilot-pro . Jul 06 16:32:38 tinypilot tinypilot-update-svc[24928]: Cloning into '.'... Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + ./quick-install Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + readonly DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + [[ -n '' ]] Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + set -u Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ++ mktemp --tmpdir=/var/tmp --suffix .yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + readonly TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + [[ -f /home/tinypilot/settings.yml ]] Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + echo 'Using settings file at: /home/tinypilot/settings.yml' Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: Using settings file at: /home/tinypilot/settings.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + sudo cp /home/tinypilot/settings.yml /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot sudo[24963]: root : TTY=unknown ; PWD=/tmp/tmp.rRoVKeVMNv ; USER=root ; COMMAND=/usr/bin/cp /home/tinypilot/settings.yml /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot sudo[24963]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:32:47 tinypilot sudo[24963]: pam_unix(sudo:session): session closed for user root Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + readonly EXTRA_VARS_PATH=@/var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + EXTRA_VARS_PATH=@/var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_port 8001 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_port Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=8001 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_port:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_persistent true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_persistent Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_persistent:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + USE_TC358743_DEFAULTS= Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + '[' -f /home/ustreamer/config.yml ']' Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent 'capture_device: "tc358743"' /home/ustreamer/config.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + USE_TC358743_DEFAULTS=y Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + [[ y == \y ]] Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_encoder omx Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_encoder Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=omx Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_encoder:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_format uyvy Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_format Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=uyvy Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_format:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_workers 3 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_workers Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=3 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_workers:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_use_dv_timings true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_use_dv_timings Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_use_dv_timings:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + add_setting_if_undefined ustreamer_drop_same_frames 30 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local key=ustreamer_drop_same_frames Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + local value=30 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + grep --silent '^ustreamer_drop_same_frames:' /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + echo 'Final install settings:' Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: Final install settings: Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + cat /var/tmp/tmp.4JlNbe9oVn.yml Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_drop_same_frames: 30 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_encoder: omx Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_format: uyvy Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_persistent: true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_port: 8001 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_use_dv_timings: true Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: ustreamer_workers: 3 Jul 06 16:32:47 tinypilot tinypilot-update-svc[24928]: + sudo apt-get update Jul 06 16:32:47 tinypilot sudo[24975]: root : TTY=unknown ; PWD=/tmp/tmp.rRoVKeVMNv ; USER=root ; COMMAND=/usr/bin/apt-get update Jul 06 16:32:47 tinypilot sudo[24975]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:32:58 tinypilot tinypilot-update-svc[24928]: Hit:1 http://archive.raspberrypi.org/debian buster InRelease Jul 06 16:32:58 tinypilot tinypilot-update-svc[24928]: Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Jul 06 16:33:01 tinypilot tinypilot-update-svc[24928]: Reading package lists... Jul 06 16:33:02 tinypilot tinypilot-update-svc[24928]: + sudo apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv Jul 06 16:33:01 tinypilot sudo[25087]: root : TTY=unknown ; PWD=/tmp/tmp.rRoVKeVMNv ; USER=root ; COMMAND=/usr/bin/apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv Jul 06 16:33:01 tinypilot sudo[25087]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:33:02 tinypilot tinypilot-update-svc[24928]: Reading package lists... Jul 06 16:33:03 tinypilot tinypilot-update-svc[24928]: Building dependency tree... Jul 06 16:33:03 tinypilot tinypilot-update-svc[24928]: Reading state information... Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: git is already the newest version (1:2.20.1-2+deb10u3). Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: libffi-dev is already the newest version (3.2.1-9). Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: python3-dev is already the newest version (3.7.3-1). Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: python3-venv is already the newest version (3.7.3-1). Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: libssl-dev is already the newest version (1.1.1d-0+deb10u6+rpt1). Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: 0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded. Jul 06 16:33:04 tinypilot sudo[25087]: pam_unix(sudo:session): session closed for user root Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: + INSTALLER_DIR=/opt/tinypilot-updater Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: + sudo mkdir -p /opt/tinypilot-updater Jul 06 16:33:04 tinypilot sudo[25099]: root : TTY=unknown ; PWD=/tmp/tmp.rRoVKeVMNv ; USER=root ; COMMAND=/usr/bin/mkdir -p /opt/tinypilot-updater Jul 06 16:33:04 tinypilot sudo[25099]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:33:04 tinypilot sudo[25099]: pam_unix(sudo:session): session closed for user root Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: ++ whoami Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: ++ whoami Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: + sudo chown root:root --recursive /opt/tinypilot-updater Jul 06 16:33:04 tinypilot sudo[25103]: root : TTY=unknown ; PWD=/tmp/tmp.rRoVKeVMNv ; USER=root ; COMMAND=/usr/bin/chown root:root --recursive /opt/tinypilot-updater Jul 06 16:33:04 tinypilot sudo[25103]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:33:04 tinypilot sudo[25103]: pam_unix(sudo:session): session closed for user root Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: + pushd /opt/tinypilot-updater Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: /opt/tinypilot-updater /tmp/tmp.rRoVKeVMNv Jul 06 16:33:04 tinypilot tinypilot-update-svc[24928]: + python3 -m venv venv Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: + . venv/bin/activate Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ deactivate nondestructive Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -n '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -n /bin/bash -o -n '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ hash -r Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -n '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ unset VIRTUAL_ENV Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' '!' nondestructive = nondestructive ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ VIRTUAL_ENV=/opt/tinypilot-updater/venv Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ export VIRTUAL_ENV Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ PATH=/opt/tinypilot-updater/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ export PATH Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -n '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -z '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ _OLD_VIRTUAL_PS1= Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' 'x(venv) ' '!=' x ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ PS1='(venv) ' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ export PS1 Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ '[' -n /bin/bash -o -n '' ']' Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: ++ hash -r Jul 06 16:33:08 tinypilot tinypilot-update-svc[24928]: + pip install wheel==0.34.2 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: wheel==0.34.2 in ./venv/lib/python3.7/site-packages (0.34.2) Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: + echo 'ansible==2.9.10 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: cffi==1.14.4 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: cryptography==3.3.2 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: Jinja2==2.11.2 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: MarkupSafe==1.1.1 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: pkg-resources==0.0.0 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: pycparser==2.20 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: pyOpenSSL==20.0.1 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: PyYAML==5.3.1 Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: six==1.15.0' Jul 06 16:33:11 tinypilot tinypilot-update-svc[24928]: + pip install -r requirements.txt Jul 06 16:33:14 tinypilot tinypilot-update-svc[24928]: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Jul 06 16:33:14 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: ansible==2.9.10 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (2.9.10) Jul 06 16:33:14 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: cffi==1.14.4 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (1.14.4) Jul 06 16:33:14 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: cryptography==3.3.2 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (3.3.2) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: Jinja2==2.11.2 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (2.11.2) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: MarkupSafe==1.1.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (1.1.1) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: pkg-resources==0.0.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 6)) (0.0.0) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: pycparser==2.20 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 7)) (2.20) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: pyOpenSSL==20.0.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 8)) (20.0.1) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: PyYAML==5.3.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 9)) (5.3.1) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: Requirement already satisfied: six==1.15.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 10)) (1.15.0) Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + echo '[defaults] Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: roles_path = /opt/tinypilot-updater Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: interpreter_python = /usr/bin/python3 Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: ' Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + readonly TINYPILOT_ROLE_NAME=tinypilot.tinypilot-pro Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + TINYPILOT_ROLE_NAME=tinypilot.tinypilot-pro Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + readonly TINYPILOT_ROLE_VERSION=1.1.3 Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + TINYPILOT_ROLE_VERSION=1.1.3 Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + [[ ! -d tinypilot.tinypilot-pro ]] Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + pushd tinypilot.tinypilot-pro Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: /opt/tinypilot-updater/tinypilot.tinypilot-pro /opt/tinypilot-updater /tmp/tmp.rRoVKeVMNv Jul 06 16:33:15 tinypilot tinypilot-update-svc[24928]: + git fetch --tags --force Jul 06 16:33:20 tinypilot tinypilot-update-svc[24928]: + git checkout 1.1.3 Jul 06 16:33:20 tinypilot tinypilot-update-svc[24928]: HEAD is now at a354135 Merge pull request #55 from tiny-pilot/upstream-6-11 Jul 06 16:33:20 tinypilot tinypilot-update-svc[24928]: + popd Jul 06 16:33:20 tinypilot tinypilot-update-svc[24928]: /opt/tinypilot-updater /tmp/tmp.rRoVKeVMNv Jul 06 16:33:20 tinypilot tinypilot-update-svc[24928]: + ansible-galaxy install --force --role-file tinypilot.tinypilot-pro/requirements.yml Jul 06 16:33:22 tinypilot tinypilot-update-svc[24928]: - changing role ansible-role-ustreamer from 1.0.2 to 1.0.2 Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 24928 (python) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 24929 (sudo) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 24930 (bash) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 24961 (quick-install) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 25172 (ansible-galaxy) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 25181 (git) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Killing process 25182 (git-remote-http) with signal SIGKILL. Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Main process exited, code=killed, status=9/KILL Jul 06 16:33:26 tinypilot systemd[1]: tinypilot-updater.service: Failed with result 'signal'. Jul 06 16:33:26 tinypilot systemd[1]: Stopped TinyPilot updater. -- Reboot -- Jul 06 16:35:17 tinypilot systemd[1]: Starting TinyPilot updater... Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: 2021-07-06 16:35:17 __main__ INFO Starting TinyPilot update Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: 2021-07-06 16:35:17 __main__ INFO Launching update script: /opt/tinypilot-privileged/update Jul 06 16:35:17 tinypilot sudo[753]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/update Jul 06 16:35:17 tinypilot sudo[753]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: + set -u Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: + set -e Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: ++ mktemp -d Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: + cd /tmp/tmp.uUOUfUsFn9 Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: + git clone https://dev.azure.com/tinypilot/tinypilot-pro/_git/tinypilot-pro . Jul 06 16:35:17 tinypilot tinypilot-update-svc[752]: Cloning into '.'... Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + ./quick-install Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + readonly DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + [[ -n '' ]] Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + set -u Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ++ mktemp --tmpdir=/var/tmp --suffix .yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + readonly TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + [[ -f /home/tinypilot/settings.yml ]] Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + echo 'Using settings file at: /home/tinypilot/settings.yml' Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: Using settings file at: /home/tinypilot/settings.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + sudo cp /home/tinypilot/settings.yml /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot sudo[784]: root : TTY=unknown ; PWD=/tmp/tmp.uUOUfUsFn9 ; USER=root ; COMMAND=/usr/bin/cp /home/tinypilot/settings.yml /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot sudo[784]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:28 tinypilot sudo[784]: pam_unix(sudo:session): session closed for user root Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + readonly EXTRA_VARS_PATH=@/var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + EXTRA_VARS_PATH=@/var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_port 8001 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_port Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=8001 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_port:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_persistent true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_persistent Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_persistent:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + USE_TC358743_DEFAULTS= Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + '[' -f /home/ustreamer/config.yml ']' Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent 'capture_device: "tc358743"' /home/ustreamer/config.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + USE_TC358743_DEFAULTS=y Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + [[ y == \y ]] Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_encoder omx Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_encoder Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=omx Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_encoder:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_format uyvy Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_format Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=uyvy Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_format:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_workers 3 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_workers Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=3 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_workers:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_use_dv_timings true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_use_dv_timings Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_use_dv_timings:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + add_setting_if_undefined ustreamer_drop_same_frames 30 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local key=ustreamer_drop_same_frames Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + local value=30 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + grep --silent '^ustreamer_drop_same_frames:' /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + echo 'Final install settings:' Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: Final install settings: Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + cat /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_drop_same_frames: 30 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_encoder: omx Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_format: uyvy Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_persistent: true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_port: 8001 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_use_dv_timings: true Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: ustreamer_workers: 3 Jul 06 16:35:28 tinypilot tinypilot-update-svc[752]: + sudo apt-get update Jul 06 16:35:28 tinypilot sudo[796]: root : TTY=unknown ; PWD=/tmp/tmp.uUOUfUsFn9 ; USER=root ; COMMAND=/usr/bin/apt-get update Jul 06 16:35:28 tinypilot sudo[796]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:39 tinypilot tinypilot-update-svc[752]: Hit:1 http://archive.raspberrypi.org/debian buster InRelease Jul 06 16:35:39 tinypilot tinypilot-update-svc[752]: Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Jul 06 16:35:43 tinypilot tinypilot-update-svc[752]: Reading package lists... Jul 06 16:35:43 tinypilot sudo[796]: pam_unix(sudo:session): session closed for user root Jul 06 16:35:43 tinypilot tinypilot-update-svc[752]: + sudo apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv Jul 06 16:35:43 tinypilot sudo[916]: root : TTY=unknown ; PWD=/tmp/tmp.uUOUfUsFn9 ; USER=root ; COMMAND=/usr/bin/apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv Jul 06 16:35:43 tinypilot sudo[916]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:43 tinypilot tinypilot-update-svc[752]: Reading package lists... Jul 06 16:35:44 tinypilot tinypilot-update-svc[752]: Building dependency tree... Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: Reading state information... Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: git is already the newest version (1:2.20.1-2+deb10u3). Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: libffi-dev is already the newest version (3.2.1-9). Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: python3-dev is already the newest version (3.7.3-1). Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: python3-venv is already the newest version (3.7.3-1). Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: libssl-dev is already the newest version (1.1.1d-0+deb10u6+rpt1). Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: 0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded. Jul 06 16:35:45 tinypilot sudo[916]: pam_unix(sudo:session): session closed for user root Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: + INSTALLER_DIR=/opt/tinypilot-updater Jul 06 16:35:45 tinypilot tinypilot-update-svc[752]: + sudo mkdir -p /opt/tinypilot-updater Jul 06 16:35:45 tinypilot sudo[920]: root : TTY=unknown ; PWD=/tmp/tmp.uUOUfUsFn9 ; USER=root ; COMMAND=/usr/bin/mkdir -p /opt/tinypilot-updater Jul 06 16:35:45 tinypilot sudo[920]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:46 tinypilot sudo[920]: pam_unix(sudo:session): session closed for user root Jul 06 16:35:46 tinypilot tinypilot-update-svc[752]: ++ whoami Jul 06 16:35:46 tinypilot tinypilot-update-svc[752]: ++ whoami Jul 06 16:35:46 tinypilot tinypilot-update-svc[752]: + sudo chown root:root --recursive /opt/tinypilot-updater Jul 06 16:35:46 tinypilot sudo[924]: root : TTY=unknown ; PWD=/tmp/tmp.uUOUfUsFn9 ; USER=root ; COMMAND=/usr/bin/chown root:root --recursive /opt/tinypilot-updater Jul 06 16:35:46 tinypilot sudo[924]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:35:47 tinypilot sudo[924]: pam_unix(sudo:session): session closed for user root Jul 06 16:35:47 tinypilot tinypilot-update-svc[752]: + pushd /opt/tinypilot-updater Jul 06 16:35:47 tinypilot tinypilot-update-svc[752]: /opt/tinypilot-updater /tmp/tmp.uUOUfUsFn9 Jul 06 16:35:47 tinypilot tinypilot-update-svc[752]: + python3 -m venv venv Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: + . venv/bin/activate Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ deactivate nondestructive Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -n '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -n /bin/bash -o -n '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ hash -r Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -n '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ unset VIRTUAL_ENV Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' '!' nondestructive = nondestructive ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ VIRTUAL_ENV=/opt/tinypilot-updater/venv Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ export VIRTUAL_ENV Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ PATH=/opt/tinypilot-updater/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ export PATH Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -n '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -z '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ _OLD_VIRTUAL_PS1= Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' 'x(venv) ' '!=' x ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ PS1='(venv) ' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ export PS1 Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ '[' -n /bin/bash -o -n '' ']' Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: ++ hash -r Jul 06 16:35:54 tinypilot tinypilot-update-svc[752]: + pip install wheel==0.34.2 Jul 06 16:35:57 tinypilot tinypilot-update-svc[752]: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Jul 06 16:35:57 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: wheel==0.34.2 in ./venv/lib/python3.7/site-packages (0.34.2) Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: + echo 'ansible==2.9.10 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: cffi==1.14.4 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: cryptography==3.3.2 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: Jinja2==2.11.2 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: MarkupSafe==1.1.1 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: pkg-resources==0.0.0 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: pycparser==2.20 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: pyOpenSSL==20.0.1 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: PyYAML==5.3.1 Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: six==1.15.0' Jul 06 16:35:58 tinypilot tinypilot-update-svc[752]: + pip install -r requirements.txt Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: ansible==2.9.10 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (2.9.10) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: cffi==1.14.4 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (1.14.4) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: cryptography==3.3.2 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (3.3.2) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: Jinja2==2.11.2 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (2.11.2) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: MarkupSafe==1.1.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (1.1.1) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: pkg-resources==0.0.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 6)) (0.0.0) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: pycparser==2.20 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 7)) (2.20) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: pyOpenSSL==20.0.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 8)) (20.0.1) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: PyYAML==5.3.1 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 9)) (5.3.1) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: Requirement already satisfied: six==1.15.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 10)) (1.15.0) Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + echo '[defaults] Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: roles_path = /opt/tinypilot-updater Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: interpreter_python = /usr/bin/python3 Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: ' Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + readonly TINYPILOT_ROLE_NAME=tinypilot.tinypilot-pro Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + TINYPILOT_ROLE_NAME=tinypilot.tinypilot-pro Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + readonly TINYPILOT_ROLE_VERSION=1.1.3 Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + TINYPILOT_ROLE_VERSION=1.1.3 Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + [[ ! -d tinypilot.tinypilot-pro ]] Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + pushd tinypilot.tinypilot-pro Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: /opt/tinypilot-updater/tinypilot.tinypilot-pro /opt/tinypilot-updater /tmp/tmp.uUOUfUsFn9 Jul 06 16:36:01 tinypilot tinypilot-update-svc[752]: + git fetch --tags --force Jul 06 16:36:07 tinypilot tinypilot-update-svc[752]: + git checkout 1.1.3 Jul 06 16:36:07 tinypilot tinypilot-update-svc[752]: HEAD is now at a354135 Merge pull request #55 from tiny-pilot/upstream-6-11 Jul 06 16:36:07 tinypilot tinypilot-update-svc[752]: + popd Jul 06 16:36:07 tinypilot tinypilot-update-svc[752]: /opt/tinypilot-updater /tmp/tmp.uUOUfUsFn9 Jul 06 16:36:07 tinypilot tinypilot-update-svc[752]: + ansible-galaxy install --force --role-file tinypilot.tinypilot-pro/requirements.yml Jul 06 16:36:15 tinypilot tinypilot-update-svc[752]: - extracting ansible-role-ustreamer to /opt/tinypilot-updater/ansible-role-ustreamer Jul 06 16:36:15 tinypilot tinypilot-update-svc[752]: - ansible-role-ustreamer (1.0.2) was installed successfully Jul 06 16:36:15 tinypilot tinypilot-update-svc[752]: - changing role ansible-role-nginx from 2.8.2 to 2.8.2 Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: - extracting ansible-role-nginx to /opt/tinypilot-updater/ansible-role-nginx Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: - ansible-role-nginx (2.8.2) was installed successfully Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: + echo '- hosts: localhost Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: connection: local Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: become: true Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: become_method: sudo Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: roles: Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: - role: tinypilot.tinypilot-pro' Jul 06 16:36:20 tinypilot tinypilot-update-svc[752]: + ansible-playbook -i localhost, install.yml --extra-vars @/var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:36:26 tinypilot tinypilot-update-svc[752]: PLAY [localhost] *************************************************************** Jul 06 16:36:26 tinypilot tinypilot-update-svc[752]: TASK [Gathering Facts] ********************************************************* Jul 06 16:36:28 tinypilot ansible-setup[1037]: Invoked with gather_subset=['all'] gather_timeout=10 filter=* fact_path=/etc/ansible/facts.d Jul 06 16:36:29 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:29 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : create ustreamer group] ************************* Jul 06 16:36:30 tinypilot ansible-group[1112]: Invoked with name=ustreamer state=present system=False local=False non_unique=False gid=None Jul 06 16:36:30 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:30 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : create ustreamer user] ************************** Jul 06 16:36:32 tinypilot ansible-user[1139]: Invoked with name=ustreamer group=ustreamer groups=['video'] system=True create_home=True state=present non_unique=False force=False remove=False move_home=False append=False ssh_key_bits=0 ssh_key_type=rsa ssh_key_comment=ansible-generated on tinypilot update_password=always uid=None comment=None home=None shell=None password=NOT_LOGGING_PARAMETER login_class=None hidden=None seuser=None skeleton=None generate_ssh_key=None ssh_key_file=None ssh_key_passphrase=NOT_LOGGING_PARAMETER expires=None password_lock=None local=None profile=None authorization=None role=None Jul 06 16:36:32 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:32 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : check for a boot config file] ******************* Jul 06 16:36:33 tinypilot ansible-stat[1167]: Invoked with path=/boot/config.txt follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:36:33 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:33 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : save whether boot config file exists] *********** Jul 06 16:36:33 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:33 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : check whether this machine has a uStreamer settings file] *** Jul 06 16:36:34 tinypilot ansible-stat[1196]: Invoked with path=/home/ustreamer/config.yml follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:36:34 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:34 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : read uStreamer settings file] ******************* Jul 06 16:36:35 tinypilot ansible-slurp[1223]: Invoked with src=/home/ustreamer/config.yml Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : decode settings file] *************************** Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : read ustreamer_capture_device from config file if it's not already defined] *** Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:35 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : enable TC358743 overlay in /boot/config.txt] **** Jul 06 16:36:36 tinypilot ansible-lineinfile[1260]: Invoked with path=/boot/config.txt line=dtoverlay=tc358743 insertafter=EOF state=present backrefs=False create=False backup=False firstmatch=False follow=False regexp=None insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:36 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:36 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : set GPU memory to 256MB in /boot/config.txt] **** Jul 06 16:36:37 tinypilot ansible-lineinfile[1285]: Invoked with path=/boot/config.txt line=gpu_mem=256 regexp=gpu_mem= insertafter=EOF state=present backrefs=False create=False backup=False firstmatch=False follow=False insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:37 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:37 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : check for a boot cmdline file] ****************** Jul 06 16:36:37 tinypilot ansible-stat[1310]: Invoked with path=/boot/cmdline.txt follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:36:37 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:37 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : read /boot/cmdline.txt] ************************* Jul 06 16:36:38 tinypilot ansible-slurp[1337]: Invoked with src=/boot/cmdline.txt Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : decode command-line string] ********************* Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : change cma to 128M if it's set to a different value] *** Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:38 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : add cma=128M to cmdline.txt if it's missing] **** Jul 06 16:36:39 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:39 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : create EDIDs folder] **************************** Jul 06 16:36:39 tinypilot ansible-file[1368]: Invoked with path=/home/ustreamer/edids state=directory owner=root group=root recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:40 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:40 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : copy TC358743 EDID file] ************************ Jul 06 16:36:40 tinypilot ansible-stat[1393]: Invoked with path=/home/ustreamer/edids/tc358743-edid.hex follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:36:41 tinypilot ansible-file[1403]: Invoked with owner=ustreamer group=ustreamer mode=0644 dest=/home/ustreamer/edids/tc358743-edid.hex _original_basename=tmpq87d_hrk recurse=False state=file path=/home/ustreamer/edids/tc358743-edid.hex force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:41 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:41 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : install TC358743 initializer service] *********** Jul 06 16:36:41 tinypilot ansible-stat[1428]: Invoked with path=/lib/systemd/system/load-tc358743-edid.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:36:42 tinypilot ansible-file[1438]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/load-tc358743-edid.service _original_basename=load-tc358743-edid.systemd.j2 recurse=False state=file path=/lib/systemd/system/load-tc358743-edid.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : use custom settings for TC358743 chip for any facts not already defined] *** Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : remove TC358743 initializer service file] ******* Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : disable TC358743 overlay in /boot/config.txt] *** Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : save whether boot config file exists] *********** Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:42 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : enable OpenMax IL acceleration on Pi OS] ******** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : collect universal required apt packages] ******** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : collect Raspberry Pi OS specific required apt packages] *** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : install libraspberrypi-dev if we're using OpenMax IL acceleration] *** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : collect Debian-specific required apt packages] *** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : collect Ubuntu-specific required apt packages] *** Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:36:43 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : install uStreamer pre-requisite packages] ******* Jul 06 16:36:45 tinypilot ansible-apt[1491]: Invoked with name=['build-essential', 'git', 'libevent-dev', 'libbsd-dev', 'uuid-dev', 'libjpeg8-dev', 'libraspberrypi-dev'] state=present package=['build-essential', 'git', 'libevent-dev', 'libbsd-dev', 'uuid-dev', 'libjpeg8-dev', 'libraspberrypi-dev'] cache_valid_time=0 purge=False force=False dpkg_options=force-confdef,force-confold autoremove=False autoclean=False only_upgrade=False force_apt_get=False allow_unauthenticated=False update_cache=None deb=None default_release=None install_recommends=None upgrade=None policy_rc_d=None Jul 06 16:36:46 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:46 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : create uStreamer folder] ************************ Jul 06 16:36:47 tinypilot ansible-file[1521]: Invoked with path=/opt/ustreamer state=directory owner=ustreamer group=ustreamer recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:36:47 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:47 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : get uStreamer repo] ***************************** Jul 06 16:36:48 tinypilot ansible-git[1546]: Invoked with repo=https://github.com/tiny-pilot/ustreamer.git dest=/opt/ustreamer version=v3.26 remote=origin force=False clone=True update=True verify_commit=False gpg_whitelist=[] accept_hostkey=False bare=False recursive=True track_submodules=False refspec=None reference=None depth=None key_file=None ssh_opts=None executable=None umask=None archive=None separate_git_dir=None Jul 06 16:36:59 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:36:59 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : cache build settings] *************************** Jul 06 16:37:00 tinypilot ansible-stat[1604]: Invoked with path=/home/ustreamer/build-settings.cache follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:00 tinypilot ansible-file[1614]: Invoked with owner=ustreamer group=ustreamer mode=0644 follow=False dest=/home/ustreamer/build-settings.cache _original_basename=build-settings.j2 recurse=False state=file path=/home/ustreamer/build-settings.cache force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:00 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:00 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : clean repository if needed] ********************* Jul 06 16:37:00 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:00 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : build uStreamer] ******************************** Jul 06 16:37:01 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:01 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : fix uStreamer folder permissions] *************** Jul 06 16:37:01 tinypilot ansible-file[1651]: Invoked with path=/opt/ustreamer state=directory owner=ustreamer group=ustreamer recurse=True force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:01 tinypilot tinypilot-update-svc[752]: changed: [localhost] Jul 06 16:37:01 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : install uStreamer as a service] ***************** Jul 06 16:37:02 tinypilot ansible-stat[1676]: Invoked with path=/lib/systemd/system/ustreamer.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:03 tinypilot ansible-file[1686]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/ustreamer.service _original_basename=ustreamer.systemd.j2 recurse=False state=file path=/lib/systemd/system/ustreamer.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:03 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:03 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : enable systemd uStreamer service file] ********** Jul 06 16:37:04 tinypilot ansible-systemd[1711]: Invoked with name=ustreamer enabled=True daemon_reload=False daemon_reexec=False no_block=False state=None force=None masked=None user=None scope=None Jul 06 16:37:04 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:04 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-ustreamer : save uStreamer settings file] ******************* Jul 06 16:37:05 tinypilot ansible-stat[1740]: Invoked with path=/home/ustreamer/config.yml follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:06 tinypilot ansible-file[1750]: Invoked with owner=ustreamer group=ustreamer mode=0644 follow=False dest=/home/ustreamer/config.yml _original_basename=config.yml.j2 recurse=False state=file path=/home/ustreamer/config.yml force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : (legacy cleanup) check for broken cycle-tls-keys script] *** Jul 06 16:37:06 tinypilot ansible-stat[1775]: Invoked with path=/opt/cycle-tls-keys follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : (legacy cleanup) disable cycle-tls-keys systemd task] *** Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:06 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove cycle-tls-keys systemd task] *** Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove stale key material] **** Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/certs/tinypilot-ca.crt) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/private/tinypilot-ca.key) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/csr/tinypilot-ca.csr) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/certs/tinypilot-nginx.crt) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/private/tinypilot-nginx.key) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item=/etc/ssl/csr/tinypilot-nginx.csr) Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove broken cycle-tls-keys script] *** Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:07 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install pip3] ********************************** Jul 06 16:37:08 tinypilot ansible-apt[1808]: Invoked with name=python3-pip state=present package=['python3-pip'] cache_valid_time=0 purge=False force=False dpkg_options=force-confdef,force-confold autoremove=False autoclean=False only_upgrade=False force_apt_get=False allow_unauthenticated=False update_cache=None deb=None default_release=None install_recommends=None upgrade=None policy_rc_d=None Jul 06 16:37:09 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:09 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install PyOpenSSL] ***************************** Jul 06 16:37:10 tinypilot ansible-pip[1838]: Invoked with name=['cryptography==3.3.2', 'pyopenssl==20.0.1'] state=present virtualenv_site_packages=False virtualenv_command=virtualenv editable=False version=None requirements=None virtualenv=None virtualenv_python=None extra_args=None chdir=None executable=None umask=None Jul 06 16:37:14 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:14 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : ensure CSR directory exists] ******************* Jul 06 16:37:15 tinypilot ansible-file[1876]: Invoked with path=/etc/ssl/csr state=directory owner=root group=root mode=0700 recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:15 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:15 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create CA private key] ************************* Jul 06 16:37:16 tinypilot ansible-openssl_privatekey[1901]: Invoked with path=/etc/ssl/private/tinypilot-ca.key force=False state=present size=4096 type=RSA backup=False select_crypto_backend=auto follow=False curve=None passphrase=NOT_LOGGING_PARAMETER cipher=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:17 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:17 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create the CA CSR] ***************************** Jul 06 16:37:18 tinypilot ansible-openssl_csr[1934]: Invoked with path=/etc/ssl/csr/tinypilot-ca.csr privatekey_path=/etc/ssl/private/tinypilot-ca.key common_name=tinypilot-ca force=False state=present digest=sha256 version=1 subject_alt_name_critical=False use_common_name_for_san=True key_usage_critical=False extended_key_usage_critical=False basic_constraints_critical=False ocsp_must_staple=False ocsp_must_staple_critical=False backup=False create_subject_key_identifier=False select_crypto_backend=auto follow=False privatekey_passphrase=NOT_LOGGING_PARAMETER subject=None country_name=None state_or_province_name=None locality_name=None organization_name=None organizational_unit_name=None email_address=None subject_alt_name=None key_usage=None extended_key_usage=None basic_constraints=None subject_key_identifier=None authority_key_identifier=None authority_cert_issuer=None authority_cert_serial_number=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:18 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:19 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : sign the CA CSR] ******************************* Jul 06 16:37:20 tinypilot ansible-openssl_certificate[1959]: Invoked with path=/etc/ssl/certs/tinypilot-ca.crt csr_path=/etc/ssl/csr/tinypilot-ca.csr privatekey_path=/etc/ssl/private/tinypilot-ca.key provider=selfsigned force=False state=present backup=False select_crypto_backend=auto subject_strict=False issuer_strict=False has_expired=False key_usage_strict=False extended_key_usage_strict=False subject_alt_name_strict=False selfsigned_version=3 selfsigned_digest=sha256 selfsigned_not_before=+0s selfsigned_not_after=+3650d selfsigned_create_subject_key_identifier=create_if_not_provided ownca_digest=sha256 ownca_version=3 ownca_not_before=+0s ownca_not_after=+3650d ownca_create_subject_key_identifier=create_if_not_provided ownca_create_authority_key_identifier=True acme_chain=False entrust_cert_type=STANDARD_SSL entrust_api_specification_path=https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml entrust_not_after=+365d follow=False privatekey_passphrase=NOT_LOGGING_PARAMETER signature_algorithms=None subject=None issuer=None version=None key_usage=None extended_key_usage=None subject_alt_name=None not_before=None not_after=None valid_at=None invalid_at=None valid_in=None ownca_path=None ownca_privatekey_path=None ownca_privatekey_passphrase=NOT_LOGGING_PARAMETER acme_accountkey_path=None acme_challenge_path=None entrust_requester_email=None entrust_requester_name=None entrust_requester_phone=None entrust_api_user=None entrust_api_key=NOT_LOGGING_PARAMETER entrust_api_client_cert_path=None entrust_api_client_cert_key_path=NOT_LOGGING_PARAMETER mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:21 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:21 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create host CSR signing key] ******************* Jul 06 16:37:22 tinypilot ansible-openssl_privatekey[1984]: Invoked with path=/etc/ssl/private/tinypilot-nginx.key force=False state=present size=4096 type=RSA backup=False select_crypto_backend=auto follow=False curve=None passphrase=NOT_LOGGING_PARAMETER cipher=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:22 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:22 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create CSR for nginx] ************************** Jul 06 16:37:23 tinypilot ansible-openssl_csr[2017]: Invoked with path=/etc/ssl/csr/tinypilot-nginx.csr privatekey_path=/etc/ssl/private/tinypilot-nginx.key common_name=tinypilot subject_alt_name=['DNS:tinypilot', 'DNS:tinypilot.local', 'DNS:tinypilot.localdomain'] force=False state=present digest=sha256 version=1 subject_alt_name_critical=False use_common_name_for_san=True key_usage_critical=False extended_key_usage_critical=False basic_constraints_critical=False ocsp_must_staple=False ocsp_must_staple_critical=False backup=False create_subject_key_identifier=False select_crypto_backend=auto follow=False privatekey_passphrase=NOT_LOGGING_PARAMETER subject=None country_name=None state_or_province_name=None locality_name=None organization_name=None organizational_unit_name=None email_address=None key_usage=None extended_key_usage=None basic_constraints=None subject_key_identifier=None authority_key_identifier=None authority_cert_issuer=None authority_cert_serial_number=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:23 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:23 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : generate a CA-signed TLS certificate] ********** Jul 06 16:37:24 tinypilot ansible-openssl_certificate[2042]: Invoked with path=/etc/ssl/certs/tinypilot-nginx.crt csr_path=/etc/ssl/csr/tinypilot-nginx.csr provider=ownca ownca_path=/etc/ssl/certs/tinypilot-ca.crt ownca_privatekey_path=/etc/ssl/private/tinypilot-ca.key force=False state=present backup=False select_crypto_backend=auto subject_strict=False issuer_strict=False has_expired=False key_usage_strict=False extended_key_usage_strict=False subject_alt_name_strict=False selfsigned_version=3 selfsigned_digest=sha256 selfsigned_not_before=+0s selfsigned_not_after=+3650d selfsigned_create_subject_key_identifier=create_if_not_provided ownca_digest=sha256 ownca_version=3 ownca_not_before=+0s ownca_not_after=+3650d ownca_create_subject_key_identifier=create_if_not_provided ownca_create_authority_key_identifier=True acme_chain=False entrust_cert_type=STANDARD_SSL entrust_api_specification_path=https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml entrust_not_after=+365d follow=False privatekey_path=None privatekey_passphrase=NOT_LOGGING_PARAMETER signature_algorithms=None subject=None issuer=None version=None key_usage=None extended_key_usage=None subject_alt_name=None not_before=None not_after=None valid_at=None invalid_at=None valid_in=None ownca_privatekey_passphrase=NOT_LOGGING_PARAMETER acme_accountkey_path=None acme_challenge_path=None entrust_requester_email=None entrust_requester_name=None entrust_requester_phone=None entrust_api_user=None entrust_api_key=NOT_LOGGING_PARAMETER entrust_api_client_cert_path=None entrust_api_client_cert_key_path=NOT_LOGGING_PARAMETER mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None content=NOT_LOGGING_PARAMETER remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:25 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:25 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install update-tls-cert-common-name as a service] *** Jul 06 16:37:25 tinypilot ansible-stat[2067]: Invoked with path=/lib/systemd/system/update-tls-cert-common-name.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:26 tinypilot ansible-file[2077]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/update-tls-cert-common-name.service _original_basename=update-tls-cert-common-name.systemd.j2 recurse=False state=file path=/lib/systemd/system/update-tls-cert-common-name.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Include OS-specific variables.] ********************* Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Define nginx_user.] ********************************* Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:26 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:27 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:27 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:27 tinypilot tinypilot-update-svc[752]: included: /opt/tinypilot-updater/ansible-role-nginx/tasks/setup-Debian.yml for localhost Jul 06 16:37:27 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Update apt cache.] ********************************** Jul 06 16:37:28 tinypilot ansible-apt[2112]: Invoked with update_cache=True cache_valid_time=86400 state=present purge=False force=False dpkg_options=force-confdef,force-confold autoremove=False autoclean=False only_upgrade=False force_apt_get=False allow_unauthenticated=False package=None deb=None default_release=None install_recommends=None upgrade=None policy_rc_d=None Jul 06 16:37:28 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:28 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Ensure nginx is installed.] ************************* Jul 06 16:37:29 tinypilot ansible-apt[2147]: Invoked with name=nginx state=present default_release= package=['nginx'] cache_valid_time=0 purge=False force=False dpkg_options=force-confdef,force-confold autoremove=False autoclean=False only_upgrade=False force_apt_get=False allow_unauthenticated=False update_cache=None deb=None install_recommends=None upgrade=None policy_rc_d=None Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : include_tasks] ************************************** Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:31 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Remove default nginx vhost config file (if configured).] *** Jul 06 16:37:32 tinypilot ansible-file[2183]: Invoked with path=/etc/nginx/sites-enabled/default state=absent recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:32 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:32 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Ensure nginx_vhost_path exists.] ******************** Jul 06 16:37:32 tinypilot ansible-file[2208]: Invoked with path=/etc/nginx/sites-enabled state=directory mode=493 recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:32 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:32 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Add managed vhost config files.] ******************** Jul 06 16:37:33 tinypilot ansible-stat[2233]: Invoked with path=/etc/nginx/sites-enabled/tinypilot.http.conf follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:34 tinypilot ansible-file[2243]: Invoked with force=True owner=root group=root mode=420 follow=False dest=/etc/nginx/sites-enabled/tinypilot.http.conf _original_basename=vhost.j2 recurse=False state=file path=/etc/nginx/sites-enabled/tinypilot.http.conf modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:34 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item={'listen': '80 default_server', 'server_name': 'tinypilot', 'filename': 'tinypilot.http.conf', 'return': '307 https://$http_host$request_uri'}) Jul 06 16:37:34 tinypilot ansible-stat[2267]: Invoked with path=/etc/nginx/sites-enabled/tinypilot.conf follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:35 tinypilot ansible-file[2277]: Invoked with force=True owner=root group=root mode=420 follow=False dest=/etc/nginx/sites-enabled/tinypilot.conf _original_basename=vhost.j2 recurse=False state=file path=/etc/nginx/sites-enabled/tinypilot.conf modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:35 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item={'listen': '443 ssl http2', 'server_name': 'tinypilot', 'filename': 'tinypilot.conf', 'root': '/opt/tinypilot', 'index': 'index.html', 'error_page': '497 =307 https://$http_host$request_uri', 'extra_parameters': 'ssl_certificate "/etc/ssl/certs/tinypilot-nginx.crt";\nssl_certificate_key "/etc/ssl/private/tinypilot-nginx.key";\nssl_protocols TLSv1.2;\nssl_prefer_server_ciphers on;\nssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;\nssl_ecdh_curve secp384r1;\nssl_session_timeout 10m;\nssl_session_cache shared:SSL:10m;\nssl_session_tickets off;\nproxy_buffers 16 16k;\nproxy_buffer_size 16k;\nproxy_set_header Host $http_host;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\nproxy_http_version 1.1;\nlocation /socket.io {\n proxy_pass http://tinypilot;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n # Since this is a connection upgrade, we don\'t inherit the settings from\n # above. We need these so that nginx forwards requests properly to\n # Flask-SocketIO.\n # See: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1501#issuecomment-802082048\n proxy_set_header Host $http_host;\n proxy_set_header X-Forwarded-Host $http_host;\n proxy_set_header X-Forwarded-Proto $scheme;\n}\nlocation /state {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /stream {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /snapshot {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /ca.crt {\n alias "/etc/ssl/certs/tinypilot-ca.crt";\n}\nlocation / {\n proxy_pass http://tinypilot;\n}\nlocation /api/massStorage/backingFiles {\n # Allow large file transfers without buffering them.\n client_max_body_size 0;\n proxy_request_buffering off;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css)$ {\n root "/opt/tinypilot/app/static";\n # Disable caching\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0\';\n if_modified_since off;\n expires off;\n etag off;\n}\nlocation ~* ^/.+\\.(jpg|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n# Authenticate any protected routes that are outside of the core\n# TinyPilot web app.\nlocation = /auth {\n internal;\n proxy_pass http://tinypilot/api/auth;\n proxy_pass_request_body off;\n proxy_set_header Content-Length "";\n proxy_set_header X-Original-URI $request_uri;\n}\n'}) Jul 06 16:37:35 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Remove managed vhost config files.] ***************** Jul 06 16:37:35 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item={'listen': '80 default_server', 'server_name': 'tinypilot', 'filename': 'tinypilot.http.conf', 'return': '307 https://$http_host$request_uri'}) Jul 06 16:37:35 tinypilot tinypilot-update-svc[752]: skipping: [localhost] => (item={'listen': '443 ssl http2', 'server_name': 'tinypilot', 'filename': 'tinypilot.conf', 'root': '/opt/tinypilot', 'index': 'index.html', 'error_page': '497 =307 https://$http_host$request_uri', 'extra_parameters': 'ssl_certificate "/etc/ssl/certs/tinypilot-nginx.crt";\nssl_certificate_key "/etc/ssl/private/tinypilot-nginx.key";\nssl_protocols TLSv1.2;\nssl_prefer_server_ciphers on;\nssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;\nssl_ecdh_curve secp384r1;\nssl_session_timeout 10m;\nssl_session_cache shared:SSL:10m;\nssl_session_tickets off;\nproxy_buffers 16 16k;\nproxy_buffer_size 16k;\nproxy_set_header Host $http_host;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\nproxy_http_version 1.1;\nlocation /socket.io {\n proxy_pass http://tinypilot;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n # Since this is a connection upgrade, we don\'t inherit the settings from\n # above. We need these so that nginx forwards requests properly to\n # Flask-SocketIO.\n # See: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1501#issuecomment-802082048\n proxy_set_header Host $http_host;\n proxy_set_header X-Forwarded-Host $http_host;\n proxy_set_header X-Forwarded-Proto $scheme;\n}\nlocation /state {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /stream {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /snapshot {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /ca.crt {\n alias "/etc/ssl/certs/tinypilot-ca.crt";\n}\nlocation / {\n proxy_pass http://tinypilot;\n}\nlocation /api/massStorage/backingFiles {\n # Allow large file transfers without buffering them.\n client_max_body_size 0;\n proxy_request_buffering off;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css)$ {\n root "/opt/tinypilot/app/static";\n # Disable caching\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0\';\n if_modified_since off;\n expires off;\n etag off;\n}\nlocation ~* ^/.+\\.(jpg|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n# Authenticate any protected routes that are outside of the core\n# TinyPilot web app.\nlocation = /auth {\n internal;\n proxy_pass http://tinypilot/api/auth;\n proxy_pass_request_body off;\n proxy_set_header Content-Length "";\n proxy_set_header X-Original-URI $request_uri;\n}\n'}) Jul 06 16:37:35 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Remove legacy vhosts.conf file.] ******************** Jul 06 16:37:36 tinypilot ansible-file[2303]: Invoked with path=/etc/nginx/sites-enabled/vhosts.conf state=absent recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:36 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:36 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Copy nginx configuration in place.] ***************** Jul 06 16:37:36 tinypilot ansible-stat[2336]: Invoked with path=/etc/nginx/nginx.conf follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:37 tinypilot ansible-file[2346]: Invoked with owner=root group=root mode=420 follow=False dest=/etc/nginx/nginx.conf _original_basename=nginx.conf.j2 recurse=False state=file path=/etc/nginx/nginx.conf force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:37 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:37 tinypilot tinypilot-update-svc[752]: TASK [ansible-role-nginx : Ensure nginx service is running as configured.] ***** Jul 06 16:37:38 tinypilot ansible-systemd[2371]: Invoked with name=nginx state=started enabled=True daemon_reload=False daemon_reexec=False no_block=False force=None masked=None user=None scope=None Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : set the path to config.txt on non-Ubuntu systems] *** Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : set the path to config.txt for Ubuntu] ********* Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:38 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : check for a boot config file] ****************** Jul 06 16:37:39 tinypilot ansible-stat[2404]: Invoked with path=/boot/config.txt follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:37:39 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:39 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : enable dwc2 driver in boot config] ************* Jul 06 16:37:39 tinypilot ansible-lineinfile[2431]: Invoked with path=/boot/config.txt create=False line=dtoverlay=dwc2 state=present backrefs=False backup=False firstmatch=False follow=False regexp=None insertafter=None insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:39 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:40 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : check for an /etc/modules file] **************** Jul 06 16:37:40 tinypilot ansible-stat[2456]: Invoked with path=/etc/modules follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jul 06 16:37:40 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:40 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : enable dwc2 driver in modules] ***************** Jul 06 16:37:41 tinypilot ansible-lineinfile[2483]: Invoked with path=/etc/modules create=False line=dwc2 state=present backrefs=False backup=False firstmatch=False follow=False regexp=None insertafter=None insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:41 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:41 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create TinyPilot privileged folder] ************ Jul 06 16:37:41 tinypilot ansible-file[2508]: Invoked with path=/opt/tinypilot-privileged state=directory owner=root group=root recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:41 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:41 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : copy usb-gadget initializer] ******************* Jul 06 16:37:42 tinypilot ansible-stat[2533]: Invoked with path=/opt/tinypilot-privileged/init-usb-gadget follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:43 tinypilot ansible-file[2543]: Invoked with owner=root group=root mode=0700 dest=/opt/tinypilot-privileged/init-usb-gadget _original_basename=init-usb-gadget recurse=False state=file path=/opt/tinypilot-privileged/init-usb-gadget force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:43 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:43 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : copy usb-gadget de-initializer] **************** Jul 06 16:37:43 tinypilot ansible-stat[2568]: Invoked with path=/opt/tinypilot-privileged/remove-usb-gadget follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:44 tinypilot ansible-file[2578]: Invoked with owner=root group=root mode=0700 dest=/opt/tinypilot-privileged/remove-usb-gadget _original_basename=remove-usb-gadget recurse=False state=file path=/opt/tinypilot-privileged/remove-usb-gadget force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:44 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:44 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install usb-gadget initializer as a service] *** Jul 06 16:37:44 tinypilot ansible-stat[2611]: Invoked with path=/lib/systemd/system/usb-gadget.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:45 tinypilot ansible-file[2621]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/usb-gadget.service _original_basename=usb-gadget.systemd.j2 recurse=False state=file path=/lib/systemd/system/usb-gadget.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:45 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:45 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : enable systemd usb-gadget initializer service file] *** Jul 06 16:37:46 tinypilot ansible-systemd[2646]: Invoked with name=usb-gadget enabled=True daemon_reload=False daemon_reexec=False no_block=False state=None force=None masked=None user=None scope=None Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : collect TinyPilot required apt packages on all systems] *** Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : collect Debian and Ubuntu specific TinyPilot required apt packages] *** Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:46 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : collect Ubuntu 20.04 specific TinyPilot required apt packages] *** Jul 06 16:37:47 tinypilot tinypilot-update-svc[752]: skipping: [localhost] Jul 06 16:37:47 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install TinyPilot pre-requisite packages] ****** Jul 06 16:37:48 tinypilot ansible-apt[2681]: Invoked with name=['git', 'python3-venv', 'sudo', 'python-pip'] state=present package=['git', 'python3-venv', 'sudo', 'python-pip'] cache_valid_time=0 purge=False force=False dpkg_options=force-confdef,force-confold autoremove=False autoclean=False only_upgrade=False force_apt_get=False allow_unauthenticated=False update_cache=None deb=None default_release=None install_recommends=None upgrade=None policy_rc_d=None Jul 06 16:37:49 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:49 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create tinypilot group] ************************ Jul 06 16:37:49 tinypilot ansible-group[2711]: Invoked with name=tinypilot state=present system=False local=False non_unique=False gid=None Jul 06 16:37:50 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:50 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create tinypilot user] ************************* Jul 06 16:37:50 tinypilot ansible-user[2738]: Invoked with name=tinypilot group=tinypilot system=True create_home=True state=present non_unique=False force=False remove=False move_home=False append=False ssh_key_bits=0 ssh_key_type=rsa ssh_key_comment=ansible-generated on tinypilot update_password=always uid=None groups=None comment=None home=None shell=None password=NOT_LOGGING_PARAMETER login_class=None hidden=None seuser=None skeleton=None generate_ssh_key=None ssh_key_file=None ssh_key_passphrase=NOT_LOGGING_PARAMETER expires=None password_lock=None local=None profile=None authorization=None role=None Jul 06 16:37:50 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:50 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : copy admin scripts] **************************** Jul 06 16:37:51 tinypilot ansible-stat[2766]: Invoked with path=/opt/tinypilot-privileged/change-hostname follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:51 tinypilot ansible-file[2776]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/change-hostname _original_basename=change-hostname recurse=False state=file path=/opt/tinypilot-privileged/change-hostname force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:51 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=change-hostname) Jul 06 16:37:52 tinypilot ansible-stat[2800]: Invoked with path=/opt/tinypilot-privileged/collect-debug-logs follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:52 tinypilot ansible-file[2810]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/collect-debug-logs _original_basename=collect-debug-logs recurse=False state=file path=/opt/tinypilot-privileged/collect-debug-logs force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:52 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=collect-debug-logs) Jul 06 16:37:53 tinypilot ansible-stat[2833]: Invoked with path=/opt/tinypilot-privileged/eject-mass-storage follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:53 tinypilot ansible-file[2851]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/eject-mass-storage _original_basename=eject-mass-storage recurse=False state=file path=/opt/tinypilot-privileged/eject-mass-storage force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:54 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=eject-mass-storage) Jul 06 16:37:54 tinypilot ansible-stat[2874]: Invoked with path=/opt/tinypilot-privileged/mount-mass-storage follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:55 tinypilot ansible-file[2884]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/mount-mass-storage _original_basename=mount-mass-storage recurse=False state=file path=/opt/tinypilot-privileged/mount-mass-storage force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:55 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=mount-mass-storage) Jul 06 16:37:55 tinypilot ansible-stat[2907]: Invoked with path=/opt/tinypilot-privileged/read-update-log follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:56 tinypilot ansible-file[2917]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/read-update-log _original_basename=read-update-log recurse=False state=file path=/opt/tinypilot-privileged/read-update-log force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:56 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=read-update-log) Jul 06 16:37:56 tinypilot ansible-stat[2940]: Invoked with path=/opt/tinypilot-privileged/update follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:57 tinypilot ansible-file[2950]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/update _original_basename=update recurse=False state=file path=/opt/tinypilot-privileged/update force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:57 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=update) Jul 06 16:37:57 tinypilot ansible-stat[2973]: Invoked with path=/opt/tinypilot-privileged/update-tls-cert-common-name follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:58 tinypilot ansible-file[2983]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/update-tls-cert-common-name _original_basename=update-tls-cert-common-name recurse=False state=file path=/opt/tinypilot-privileged/update-tls-cert-common-name force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:58 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=update-tls-cert-common-name) Jul 06 16:37:58 tinypilot ansible-stat[3006]: Invoked with path=/opt/tinypilot-privileged/update-video-settings follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:37:59 tinypilot ansible-file[3016]: Invoked with owner=root group=root mode=0755 dest=/opt/tinypilot-privileged/update-video-settings _original_basename=update-video-settings recurse=False state=file path=/opt/tinypilot-privileged/update-video-settings force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:37:59 tinypilot tinypilot-update-svc[752]: ok: [localhost] => (item=update-video-settings) Jul 06 16:37:59 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : store passwordless sudo paths] ***************** Jul 06 16:37:59 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:37:59 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : enable tinypilot to execute a whitelist of commands as sudo] *** Jul 06 16:37:59 tinypilot ansible-lineinfile[3042]: Invoked with dest=/etc/sudoers state=present line=tinypilot ALL=(ALL) NOPASSWD: /sbin/shutdown, /usr/sbin/service tinypilot-updater start, /opt/tinypilot-privileged/change-hostname, /opt/tinypilot-privileged/collect-debug-logs, /opt/tinypilot-privileged/eject-mass-storage, /opt/tinypilot-privileged/mount-mass-storage, /opt/tinypilot-privileged/read-update-log, /opt/tinypilot-privileged/update, /opt/tinypilot-privileged/update-tls-cert-common-name, /opt/tinypilot-privileged/update-video-settings regexp=^tinypilot validate=sudo /usr/sbin/visudo -cf %s path=/etc/sudoers backrefs=False create=False backup=False firstmatch=False follow=False insertafter=None insertbefore=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:38:00 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:00 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create TinyPilot folder] *********************** Jul 06 16:38:00 tinypilot ansible-file[3067]: Invoked with path=/opt/tinypilot state=directory owner=tinypilot group=tinypilot recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:38:00 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:00 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : get TinyPilot repo] **************************** Jul 06 16:38:01 tinypilot ansible-git[3092]: Invoked with repo=https://dev.azure.com/tinypilot/tinypilot-pro/_git/tinypilot-pro dest=/opt/tinypilot version=master accept_hostkey=True remote=origin force=False clone=True update=True verify_commit=False gpg_whitelist=[] bare=False recursive=True track_submodules=False refspec=None reference=None depth=None key_file=None ssh_opts=None executable=None umask=None archive=None separate_git_dir=None Jul 06 16:38:12 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:12 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : find absolute path to python3] ***************** Jul 06 16:38:13 tinypilot ansible-command[3152]: Invoked with _raw_params=realpath $(which python3) _uses_shell=True warn=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Jul 06 16:38:13 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:13 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : save absolute path to python3] ***************** Jul 06 16:38:13 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:13 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : create TinyPilot virtualenv] ******************* Jul 06 16:38:14 tinypilot ansible-pip[3182]: Invoked with virtualenv=/opt/tinypilot/venv virtualenv_command=/usr/bin/python3.7 -m venv venv requirements=/opt/tinypilot/requirements.txt extra_args= state=present virtualenv_site_packages=False editable=False name=None version=None virtualenv_python=None chdir=None executable=None umask=None Jul 06 16:38:24 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:24 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : fix TinyPilot folder permissions] ************** Jul 06 16:38:24 tinypilot ansible-file[3222]: Invoked with path=/opt/tinypilot state=directory owner=tinypilot group=tinypilot recurse=True force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:38:25 tinypilot tinypilot-update-svc[752]: changed: [localhost] Jul 06 16:38:25 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install TinyPilot as a service] **************** Jul 06 16:38:26 tinypilot ansible-stat[3247]: Invoked with path=/lib/systemd/system/tinypilot.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:38:26 tinypilot ansible-file[3265]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/tinypilot.service _original_basename=tinypilot.systemd.j2 recurse=False state=file path=/lib/systemd/system/tinypilot.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:38:26 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:26 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : enable systemd TinyPilot service file] ********* Jul 06 16:38:27 tinypilot ansible-systemd[3290]: Invoked with name=tinypilot enabled=True daemon_reload=False daemon_reexec=False no_block=False state=None force=None masked=None user=None scope=None Jul 06 16:38:27 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:27 tinypilot tinypilot-update-svc[752]: TASK [tinypilot.tinypilot-pro : install tinypilot-updater as a service] ******** Jul 06 16:38:28 tinypilot ansible-stat[3319]: Invoked with path=/lib/systemd/system/tinypilot-updater.service follow=False get_checksum=True checksum_algorithm=sha1 get_md5=False get_mime=True get_attributes=True Jul 06 16:38:29 tinypilot ansible-file[3329]: Invoked with owner=root group=root mode=0644 follow=False dest=/lib/systemd/system/tinypilot-updater.service _original_basename=tinypilot-updater.systemd.j2 recurse=False state=file path=/lib/systemd/system/tinypilot-updater.service force=False modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S _diff_peek=None src=None modification_time=None access_time=None seuser=None serole=None selevel=None setype=None attributes=None content=NOT_LOGGING_PARAMETER backup=None remote_src=None regexp=None delimiter=None directory_mode=None unsafe_writes=None Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: ok: [localhost] Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: PLAY RECAP ********************************************************************* Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: localhost : ok=80 changed=2 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: + chmod +r /var/tmp/tmp.yLr33HgF9X.yml Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: + sudo cp /var/tmp/tmp.yLr33HgF9X.yml /home/tinypilot/settings.yml Jul 06 16:38:29 tinypilot sudo[3338]: root : TTY=unknown ; PWD=/opt/tinypilot-updater ; USER=root ; COMMAND=/usr/bin/cp /var/tmp/tmp.yLr33HgF9X.yml /home/tinypilot/settings.yml Jul 06 16:38:29 tinypilot sudo[3338]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:38:29 tinypilot sudo[3338]: pam_unix(sudo:session): session closed for user root Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: + sudo chown tinypilot:tinypilot /home/tinypilot/settings.yml Jul 06 16:38:29 tinypilot sudo[3340]: root : TTY=unknown ; PWD=/opt/tinypilot-updater ; USER=root ; COMMAND=/usr/bin/chown tinypilot:tinypilot /home/tinypilot/settings.yml Jul 06 16:38:29 tinypilot sudo[3340]: pam_unix(sudo:session): session opened for user root by (uid=0) Jul 06 16:38:29 tinypilot sudo[3340]: pam_unix(sudo:session): session closed for user root Jul 06 16:38:29 tinypilot sudo[753]: pam_unix(sudo:session): session closed for user root Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: 2021-07-06 16:38:29 __main__ INFO Update completed successfully Jul 06 16:38:29 tinypilot tinypilot-update-svc[752]: 2021-07-06 16:38:29 update.result_store INFO Writing result file to /home/tinypilot/logs/latest-update-result.json Jul 06 16:38:29 tinypilot systemd[1]: tinypilot-updater.service: Succeeded. Jul 06 16:38:29 tinypilot systemd[1]: Started TinyPilot updater.