TinyPilot Pro log dump https://tinypilotkvm.com Timestamp: 2021-12-10T16:30:46+00:00 Software versions TinyPilot version: 2.3.1 bda084d uStreamer version: v3.26 a97f08e OS version: Linux tinypilot1 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux TinyPilot state temp=41.3'C throttled=0x0 voltage logs TinyPilot configuration [Unit] Description=TinyPilot - RPi-based virtual KVM After=syslog.target network.target StartLimitIntervalSec=0 [Service] Type=simple User=tinypilot WorkingDirectory=/opt/tinypilot ExecStart=/opt/tinypilot/venv/bin/python app/main.py Environment=HOST=127.0.0.1 Environment=PORT=8000 Environment=APP_SETTINGS_FILE=/opt/tinypilot/app_settings.cfg Restart=always [Install] WantedBy=multi-user.target TinyPilot logs Dec 10 16:30:35 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:35 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:35 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 172. Dec 10 16:30:35 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:35 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:36 tinypilot1 python[908]: [2021-12-10 16:30:36,190] INFO in main: Starting app Dec 10 16:30:36 tinypilot1 python[908]: Traceback (most recent call last): Dec 10 16:30:36 tinypilot1 python[908]: File "app/main.py", line 46, in Dec 10 16:30:36 tinypilot1 python[908]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:36 tinypilot1 python[908]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:36 tinypilot1 python[908]: return _get() Dec 10 16:30:36 tinypilot1 python[908]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:36 tinypilot1 python[908]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:36 tinypilot1 python[908]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:36 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:36 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:36 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:36 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 173. Dec 10 16:30:36 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:36 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:37 tinypilot1 python[909]: [2021-12-10 16:30:37,445] INFO in main: Starting app Dec 10 16:30:37 tinypilot1 python[909]: Traceback (most recent call last): Dec 10 16:30:37 tinypilot1 python[909]: File "app/main.py", line 46, in Dec 10 16:30:37 tinypilot1 python[909]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:37 tinypilot1 python[909]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:37 tinypilot1 python[909]: return _get() Dec 10 16:30:37 tinypilot1 python[909]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:37 tinypilot1 python[909]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:37 tinypilot1 python[909]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:37 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:37 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:37 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:37 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 174. Dec 10 16:30:37 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:37 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:38 tinypilot1 python[912]: [2021-12-10 16:30:38,777] INFO in main: Starting app Dec 10 16:30:38 tinypilot1 python[912]: Traceback (most recent call last): Dec 10 16:30:38 tinypilot1 python[912]: File "app/main.py", line 46, in Dec 10 16:30:38 tinypilot1 python[912]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:38 tinypilot1 python[912]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:38 tinypilot1 python[912]: return _get() Dec 10 16:30:38 tinypilot1 python[912]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:38 tinypilot1 python[912]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:38 tinypilot1 python[912]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:38 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:38 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:39 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:39 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 175. Dec 10 16:30:39 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:39 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:39 tinypilot1 python[942]: [2021-12-10 16:30:39,940] INFO in main: Starting app Dec 10 16:30:39 tinypilot1 python[942]: Traceback (most recent call last): Dec 10 16:30:39 tinypilot1 python[942]: File "app/main.py", line 46, in Dec 10 16:30:39 tinypilot1 python[942]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:39 tinypilot1 python[942]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:39 tinypilot1 python[942]: return _get() Dec 10 16:30:39 tinypilot1 python[942]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:39 tinypilot1 python[942]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:39 tinypilot1 python[942]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:40 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:40 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:40 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:40 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 176. Dec 10 16:30:40 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:40 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:41 tinypilot1 python[956]: [2021-12-10 16:30:41,194] INFO in main: Starting app Dec 10 16:30:41 tinypilot1 python[956]: Traceback (most recent call last): Dec 10 16:30:41 tinypilot1 python[956]: File "app/main.py", line 46, in Dec 10 16:30:41 tinypilot1 python[956]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:41 tinypilot1 python[956]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:41 tinypilot1 python[956]: return _get() Dec 10 16:30:41 tinypilot1 python[956]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:41 tinypilot1 python[956]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:41 tinypilot1 python[956]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:41 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:41 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:41 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:41 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 177. Dec 10 16:30:41 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:41 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:42 tinypilot1 python[957]: [2021-12-10 16:30:42,443] INFO in main: Starting app Dec 10 16:30:42 tinypilot1 python[957]: Traceback (most recent call last): Dec 10 16:30:42 tinypilot1 python[957]: File "app/main.py", line 46, in Dec 10 16:30:42 tinypilot1 python[957]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:42 tinypilot1 python[957]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:42 tinypilot1 python[957]: return _get() Dec 10 16:30:42 tinypilot1 python[957]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:42 tinypilot1 python[957]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:42 tinypilot1 python[957]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:42 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:42 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:42 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:42 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 178. Dec 10 16:30:42 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:42 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:43 tinypilot1 python[958]: [2021-12-10 16:30:43,693] INFO in main: Starting app Dec 10 16:30:43 tinypilot1 python[958]: Traceback (most recent call last): Dec 10 16:30:43 tinypilot1 python[958]: File "app/main.py", line 46, in Dec 10 16:30:43 tinypilot1 python[958]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:43 tinypilot1 python[958]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:43 tinypilot1 python[958]: return _get() Dec 10 16:30:43 tinypilot1 python[958]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:43 tinypilot1 python[958]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:43 tinypilot1 python[958]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:43 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:43 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:44 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:44 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 179. Dec 10 16:30:44 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:44 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:44 tinypilot1 python[959]: [2021-12-10 16:30:44,944] INFO in main: Starting app Dec 10 16:30:44 tinypilot1 python[959]: Traceback (most recent call last): Dec 10 16:30:44 tinypilot1 python[959]: File "app/main.py", line 46, in Dec 10 16:30:44 tinypilot1 python[959]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:44 tinypilot1 python[959]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:44 tinypilot1 python[959]: return _get() Dec 10 16:30:44 tinypilot1 python[959]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:44 tinypilot1 python[959]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:44 tinypilot1 python[959]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:45 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:45 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:45 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:45 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 180. Dec 10 16:30:45 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:45 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:46 tinypilot1 python[960]: [2021-12-10 16:30:46,201] INFO in main: Starting app Dec 10 16:30:46 tinypilot1 python[960]: Traceback (most recent call last): Dec 10 16:30:46 tinypilot1 python[960]: File "app/main.py", line 46, in Dec 10 16:30:46 tinypilot1 python[960]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:46 tinypilot1 python[960]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:46 tinypilot1 python[960]: return _get() Dec 10 16:30:46 tinypilot1 python[960]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:46 tinypilot1 python[960]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:46 tinypilot1 python[960]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:46 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:46 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:46 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:46 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 181. Dec 10 16:30:46 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:46 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:47 tinypilot1 python[976]: [2021-12-10 16:30:47,453] INFO in main: Starting app Dec 10 16:30:47 tinypilot1 python[976]: Traceback (most recent call last): Dec 10 16:30:47 tinypilot1 python[976]: File "app/main.py", line 46, in Dec 10 16:30:47 tinypilot1 python[976]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:47 tinypilot1 python[976]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:47 tinypilot1 python[976]: return _get() Dec 10 16:30:47 tinypilot1 python[976]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:47 tinypilot1 python[976]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:47 tinypilot1 python[976]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:47 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:47 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:47 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:47 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 182. Dec 10 16:30:47 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:47 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:48 tinypilot1 python[977]: [2021-12-10 16:30:48,762] INFO in main: Starting app Dec 10 16:30:48 tinypilot1 python[977]: Traceback (most recent call last): Dec 10 16:30:48 tinypilot1 python[977]: File "app/main.py", line 46, in Dec 10 16:30:48 tinypilot1 python[977]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:48 tinypilot1 python[977]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:48 tinypilot1 python[977]: return _get() Dec 10 16:30:48 tinypilot1 python[977]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:48 tinypilot1 python[977]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:48 tinypilot1 python[977]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:48 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:48 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:49 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:49 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 183. Dec 10 16:30:49 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:49 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:49 tinypilot1 python[982]: [2021-12-10 16:30:49,994] INFO in main: Starting app Dec 10 16:30:49 tinypilot1 python[982]: Traceback (most recent call last): Dec 10 16:30:49 tinypilot1 python[982]: File "app/main.py", line 46, in Dec 10 16:30:49 tinypilot1 python[982]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:49 tinypilot1 python[982]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:49 tinypilot1 python[982]: return _get() Dec 10 16:30:49 tinypilot1 python[982]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:49 tinypilot1 python[982]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:49 tinypilot1 python[982]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:50 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:50 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:50 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:50 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 184. Dec 10 16:30:50 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:50 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. Dec 10 16:30:51 tinypilot1 python[983]: [2021-12-10 16:30:51,268] INFO in main: Starting app Dec 10 16:30:51 tinypilot1 python[983]: Traceback (most recent call last): Dec 10 16:30:51 tinypilot1 python[983]: File "app/main.py", line 46, in Dec 10 16:30:51 tinypilot1 python[983]: SECRET_KEY=secret_key.get_or_create(), Dec 10 16:30:51 tinypilot1 python[983]: File "/opt/tinypilot/app/secret_key.py", line 101, in get_or_create Dec 10 16:30:51 tinypilot1 python[983]: return _get() Dec 10 16:30:51 tinypilot1 python[983]: File "/opt/tinypilot/app/secret_key.py", line 54, in _get Dec 10 16:30:51 tinypilot1 python[983]: 'The secret key file must have a file permission of 600.') Dec 10 16:30:51 tinypilot1 python[983]: secret_key.InvalidSecretKeyError: The secret key file must have a file permission of 600. Dec 10 16:30:51 tinypilot1 systemd[1]: tinypilot.service: Main process exited, code=exited, status=1/FAILURE Dec 10 16:30:51 tinypilot1 systemd[1]: tinypilot.service: Failed with result 'exit-code'. Dec 10 16:30:51 tinypilot1 systemd[1]: tinypilot.service: Service RestartSec=100ms expired, scheduling restart. Dec 10 16:30:51 tinypilot1 systemd[1]: tinypilot.service: Scheduled restart job, restart counter is at 185. Dec 10 16:30:51 tinypilot1 systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Dec 10 16:30:51 tinypilot1 systemd[1]: Started TinyPilot - RPi-based virtual KVM. TinyPilot update logs TASK [ansible-role-ustreamer : install uStreamer pre-requisite packages] ******* changed: [localhost] TASK [ansible-role-ustreamer : create uStreamer folder] ************************ ok: [localhost] TASK [ansible-role-ustreamer : get uStreamer repo] ***************************** ok: [localhost] TASK [ansible-role-ustreamer : cache build settings] *************************** ok: [localhost] TASK [ansible-role-ustreamer : clean repository if needed] ********************* skipping: [localhost] TASK [ansible-role-ustreamer : build uStreamer] ******************************** skipping: [localhost] TASK [ansible-role-ustreamer : fix uStreamer folder permissions] *************** changed: [localhost] TASK [ansible-role-ustreamer : install uStreamer as a service] ***************** changed: [localhost] TASK [ansible-role-ustreamer : enable systemd uStreamer service file] ********** ok: [localhost] TASK [ansible-role-ustreamer : save uStreamer settings file] ******************* ok: [localhost] TASK [tinypilot.tinypilot-pro : (legacy cleanup) check for broken cycle-tls-keys script] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : (legacy cleanup) disable cycle-tls-keys systemd task] *** skipping: [localhost] TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove cycle-tls-keys systemd task] *** skipping: [localhost] TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove stale key material] **** skipping: [localhost] => (item=/etc/ssl/certs/tinypilot-ca.crt) skipping: [localhost] => (item=/etc/ssl/private/tinypilot-ca.key) skipping: [localhost] => (item=/etc/ssl/csr/tinypilot-ca.csr) skipping: [localhost] => (item=/etc/ssl/certs/tinypilot-nginx.crt) skipping: [localhost] => (item=/etc/ssl/private/tinypilot-nginx.key) skipping: [localhost] => (item=/etc/ssl/csr/tinypilot-nginx.csr) TASK [tinypilot.tinypilot-pro : (legacy cleanup) remove broken cycle-tls-keys script] *** skipping: [localhost] TASK [tinypilot.tinypilot-pro : install pip3] ********************************** ok: [localhost] TASK [tinypilot.tinypilot-pro : install PyOpenSSL] ***************************** changed: [localhost] TASK [tinypilot.tinypilot-pro : ensure CSR directory exists] ******************* ok: [localhost] TASK [tinypilot.tinypilot-pro : create CA private key] ************************* ok: [localhost] TASK [tinypilot.tinypilot-pro : check for a CA CSR file] *********************** ok: [localhost] TASK [tinypilot.tinypilot-pro : create the CA CSR] ***************************** skipping: [localhost] TASK [tinypilot.tinypilot-pro : check for a CA certificate file] *************** ok: [localhost] TASK [tinypilot.tinypilot-pro : sign the CA CSR] ******************************* skipping: [localhost] TASK [tinypilot.tinypilot-pro : create host CSR signing key] ******************* ok: [localhost] TASK [tinypilot.tinypilot-pro : create CSR for nginx] ************************** changed: [localhost] TASK [tinypilot.tinypilot-pro : generate a CA-signed TLS certificate] ********** changed: [localhost] TASK [tinypilot.tinypilot-pro : install update-tls-cert-common-name as a service] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : Remove legacy config file.] ******************** ok: [localhost] TASK [ansible-role-nginx : Include OS-specific variables.] ********************* ok: [localhost] TASK [ansible-role-nginx : Define nginx_user.] ********************************* ok: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** included: /opt/tinypilot-updater/ansible-role-nginx/tasks/setup-Debian.yml for localhost TASK [ansible-role-nginx : Update apt cache.] ********************************** ok: [localhost] TASK [ansible-role-nginx : Ensure nginx is installed.] ************************* ok: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : Remove default nginx vhost config file (if configured).] *** ok: [localhost] TASK [ansible-role-nginx : Ensure nginx_vhost_path exists.] ******************** ok: [localhost] TASK [ansible-role-nginx : Add managed vhost config files.] ******************** changed: [localhost] => (item={'listen': [80, '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_set_header X-Forwarded-Proto $scheme;\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 postpone_output 0;\n proxy_buffering off;\n proxy_ignore_headers X-Accel-Buffering;\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_read_timeout 1d;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|woff|woff2)$ {\n root "/opt/tinypilot/app/static";\n\n # We cache assets to prevent the browser from making redundant\n # requests to the same files while loading the page. (Observed on\n # Chrome 91.) We don’t want caching otherwise, though, in order to\n # avoid stale files after users update their device. Note, that in\n # addition to `max-age`, the browser’s caching behaviour is relative\n # to the `Last-Modified` header, so we make that seem recent.\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'public, max-age=10s\';\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 # Redefine header directives, as they are not inherited here:\n # See http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header\n proxy_set_header X-Forwarded-Proto $scheme;\n}\n'}) TASK [ansible-role-nginx : Remove managed vhost config files.] ***************** skipping: [localhost] => (item={'listen': [80, '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_set_header X-Forwarded-Proto $scheme;\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 postpone_output 0;\n proxy_buffering off;\n proxy_ignore_headers X-Accel-Buffering;\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_read_timeout 1d;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|woff|woff2)$ {\n root "/opt/tinypilot/app/static";\n\n # We cache assets to prevent the browser from making redundant\n # requests to the same files while loading the page. (Observed on\n # Chrome 91.) We don’t want caching otherwise, though, in order to\n # avoid stale files after users update their device. Note, that in\n # addition to `max-age`, the browser’s caching behaviour is relative\n # to the `Last-Modified` header, so we make that seem recent.\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'public, max-age=10s\';\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 # Redefine header directives, as they are not inherited here:\n # See http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header\n proxy_set_header X-Forwarded-Proto $scheme;\n}\n'}) TASK [ansible-role-nginx : Remove legacy vhosts.conf file.] ******************** ok: [localhost] TASK [ansible-role-nginx : Copy nginx configuration in place.] ***************** ok: [localhost] TASK [ansible-role-nginx : Ensure nginx service is running as configured.] ***** ok: [localhost] TASK [tinypilot.tinypilot-pro : create the `lib` directory if it does not exist] *** changed: [localhost] TASK [tinypilot.tinypilot-pro : copy `lib` scripts] **************************** changed: [localhost] => (item=/opt/tinypilot-updater/tinypilot.tinypilot-pro/files/lib/usb-gadget.sh) TASK [tinypilot.tinypilot-pro : set the path to config.txt on non-Ubuntu systems] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : set the path to config.txt for Ubuntu] ********* skipping: [localhost] TASK [tinypilot.tinypilot-pro : check for a boot config file] ****************** ok: [localhost] TASK [tinypilot.tinypilot-pro : enable dwc2 driver in boot config] ************* ok: [localhost] TASK [tinypilot.tinypilot-pro : check for an /etc/modules file] **************** ok: [localhost] TASK [tinypilot.tinypilot-pro : enable dwc2 driver in modules] ***************** ok: [localhost] TASK [tinypilot.tinypilot-pro : determine if a reboot is required] ************* ok: [localhost] TASK [tinypilot.tinypilot-pro : create TinyPilot privileged folder] ************ ok: [localhost] TASK [tinypilot.tinypilot-pro : copy usb-gadget initializer] ******************* changed: [localhost] TASK [tinypilot.tinypilot-pro : copy usb-gadget de-initializer] **************** changed: [localhost] TASK [tinypilot.tinypilot-pro : install usb-gadget initializer as a service] *** changed: [localhost] TASK [tinypilot.tinypilot-pro : enable systemd usb-gadget initializer service file] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : check the HID module file] ********************* ok: [localhost] TASK [tinypilot.tinypilot-pro : save whether the HID module should be patched] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : ensure HID module is not in use] *************** changed: [localhost] TASK [tinypilot.tinypilot-pro : unload HID module] ***************************** changed: [localhost] TASK [tinypilot.tinypilot-pro : patch HID module] ****************************** changed: [localhost] TASK [tinypilot.tinypilot-pro : load HID module] ******************************* changed: [localhost] TASK [tinypilot.tinypilot-pro : collect TinyPilot required apt packages on all systems] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : add pip to required apt packages] ************** ok: [localhost] TASK [tinypilot.tinypilot-pro : add pip3 to required apt packages] ************* skipping: [localhost] TASK [tinypilot.tinypilot-pro : install TinyPilot pre-requisite packages] ****** ok: [localhost] TASK [tinypilot.tinypilot-pro : create tinypilot group] ************************ ok: [localhost] TASK [tinypilot.tinypilot-pro : create tinypilot user] ************************* ok: [localhost] TASK [tinypilot.tinypilot-pro : copy admin scripts] **************************** ok: [localhost] => (item=change-hostname) changed: [localhost] => (item=check-default-credentials) ok: [localhost] => (item=collect-debug-logs) changed: [localhost] => (item=eject-mass-storage) changed: [localhost] => (item=mount-mass-storage) ok: [localhost] => (item=read-update-log) ok: [localhost] => (item=update) ok: [localhost] => (item=update-tls-cert-common-name) ok: [localhost] => (item=update-video-settings) TASK [tinypilot.tinypilot-pro : store passwordless sudo paths] ***************** ok: [localhost] TASK [tinypilot.tinypilot-pro : enable tinypilot to execute a whitelist of commands as sudo] *** changed: [localhost] TASK [tinypilot.tinypilot-pro : create TinyPilot folder] *********************** ok: [localhost] TASK [tinypilot.tinypilot-pro : get TinyPilot repo] **************************** changed: [localhost] TASK [tinypilot.tinypilot-pro : find absolute path to python3] ***************** ok: [localhost] TASK [tinypilot.tinypilot-pro : save absolute path to python3] ***************** ok: [localhost] TASK [tinypilot.tinypilot-pro : create TinyPilot virtualenv] ******************* ok: [localhost] TASK [tinypilot.tinypilot-pro : create TinyPilot app settings] ***************** ok: [localhost] TASK [tinypilot.tinypilot-pro : fix TinyPilot folder permissions] ************** changed: [localhost] TASK [tinypilot.tinypilot-pro : install TinyPilot as a service] **************** ok: [localhost] TASK [tinypilot.tinypilot-pro : enable systemd TinyPilot service file] ********* ok: [localhost] TASK [tinypilot.tinypilot-pro : install tinypilot-updater as a service] ******** ok: [localhost] RUNNING HANDLER [tinypilot.tinypilot-pro : restart TinyPilot service] ********** changed: [localhost] RUNNING HANDLER [tinypilot.tinypilot-pro : start usb-gadget service] *********** changed: [localhost] RUNNING HANDLER [ansible-role-ustreamer : reload systemd config] *************** ok: [localhost] RUNNING HANDLER [ansible-role-ustreamer : restart uStreamer] ******************* changed: [localhost] RUNNING HANDLER [ansible-role-nginx : restart nginx] *************************** changed: [localhost] RUNNING HANDLER [ansible-role-nginx : reload nginx] **************************** changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=97 changed=25 unreachable=0 failed=0 skipped=22 rescued=0 ignored=0 + chmod +r /var/tmp/tmp.nStAlPFqbg.yml + sudo cp /var/tmp/tmp.nStAlPFqbg.yml /home/tinypilot/settings.yml + sudo chown tinypilot:tinypilot /home/tinypilot/settings.yml 2021-11-22 10:29:02 __main__ INFO Update completed successfully 2021-11-22 10:29:02 update.result_store INFO Writing result file to /home/tinypilot/logs/latest-update-result.json uStreamer configuration [Unit] Description=uStreamer - Lightweight, optimized video encoder After=syslog.target network.target [Service] Type=simple User=ustreamer WorkingDirectory=/opt/ustreamer ExecStart=/opt/ustreamer/ustreamer \ --port 8001 \ --encoder omx \ --format uyvy \ --workers 3 \ --drop-same-frames 30 \ --persistent \ --dv-timings \ && : # This last line is just to end the multi-line command because the line # before is ending with backslash and so expects to be continued. Restart=always [Install] WantedBy=multi-user.target uStreamer logs Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.502 stream] -- Querying HW FPS changing is not supported Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.502 stream] -- Using IO method: MMAP Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.515 stream] -- Requested 5 device buffers, got 5 Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.522 stream] -- Capturing started Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.522 stream] -- Initializing OMX encoder ... Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.523 stream] -- Initializing OMX encoder ... Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.525 stream] -- Initializing OMX encoder ... Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.531 stream] -- Using JPEG quality: 80% Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.531 stream] -- Creating pool JPEG with 3 workers ... Dec 09 12:17:50 tinypilot1 ustreamer[593]: -- INFO [18.531 stream] -- Capturing ... Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.456 main] -- ===== Stopping by SIGTERM ===== Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.456 http] -- HTTP eventloop stopped Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.473 stream] -- Destroying workers pool JPEG ... Dec 09 12:32:46 tinypilot1 systemd[1]: Stopping uStreamer - Lightweight, optimized video encoder... Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.518 stream] -- Capturing stopped Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.521 stream] -- Device fd=9 closed Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.522 main] -- Destroying OMX encoder ... Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.524 main] -- Destroying OMX encoder ... Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.526 main] -- Destroying OMX encoder ... Dec 09 12:32:46 tinypilot1 ustreamer[593]: -- INFO [903.528 main] -- Bye-bye Dec 09 12:32:47 tinypilot1 systemd[1]: ustreamer.service: Succeeded. Dec 09 12:32:47 tinypilot1 systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder. -- Reboot -- Dec 09 12:33:01 tinypilot1 systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.474 main] -- Using internal blank placeholder Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.477 main] -- Listening HTTP on [127.0.0.1]:8001 Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.478 stream] -- Using V4L2 device: /dev/video0 Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.478 stream] -- Using desired FPS: 0 Dec 09 12:33:02 tinypilot1 ustreamer[590]: ================================================================================ Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.479 stream] -- Device fd=9 opened Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.479 stream] -- Using input channel: 0 Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.480 http] -- Starting HTTP eventloop ... Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.501 stream] -- Using resolution: 640x480 Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.501 stream] -- Using pixelformat: UYVY Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.501 stream] -- Querying HW FPS changing is not supported Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.501 stream] -- Using IO method: MMAP Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.505 stream] -- Requested 5 device buffers, got 5 Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.512 stream] -- Capturing started Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.512 stream] -- Initializing OMX encoder ... Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.515 stream] -- Initializing OMX encoder ... Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.518 stream] -- Initializing OMX encoder ... Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.531 stream] -- Using JPEG quality: 80% Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.531 stream] -- Creating pool JPEG with 3 workers ... Dec 09 12:33:02 tinypilot1 ustreamer[590]: -- INFO [18.532 stream] -- Capturing ... Dec 09 12:33:03 tinypilot1 ustreamer[590]: -- ERROR [19.533 stream] -- Persistent device timeout (unplugged) Dec 09 12:49:38 tinypilot1 ustreamer[590]: -- INFO [210.939 main] -- ===== Stopping by SIGTERM ===== Dec 09 12:49:38 tinypilot1 ustreamer[590]: -- INFO [210.940 http] -- HTTP eventloop stopped Dec 09 12:49:38 tinypilot1 systemd[1]: Stopping uStreamer - Lightweight, optimized video encoder... Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.727 stream] -- Destroying workers pool JPEG ... Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.761 stream] -- Capturing stopped Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.763 stream] -- Device fd=9 closed Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.764 main] -- Destroying OMX encoder ... Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.766 main] -- Destroying OMX encoder ... Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.768 main] -- Destroying OMX encoder ... Dec 09 12:49:39 tinypilot1 ustreamer[590]: -- INFO [211.771 main] -- Bye-bye Dec 09 12:49:39 tinypilot1 systemd[1]: ustreamer.service: Succeeded. Dec 09 12:49:39 tinypilot1 systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder. -- Reboot -- Dec 09 12:50:14 tinypilot1 systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.669 main] -- Using internal blank placeholder Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.673 main] -- Listening HTTP on [127.0.0.1]:8001 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.673 stream] -- Using V4L2 device: /dev/video0 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.673 stream] -- Using desired FPS: 0 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.673 http] -- Starting HTTP eventloop ... Dec 09 12:50:15 tinypilot1 ustreamer[537]: ================================================================================ Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.675 stream] -- Device fd=9 opened Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.675 stream] -- Using input channel: 0 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.720 stream] -- Using resolution: 640x480 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.720 stream] -- Using pixelformat: UYVY Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.720 stream] -- Querying HW FPS changing is not supported Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.720 stream] -- Using IO method: MMAP Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.729 stream] -- Requested 5 device buffers, got 5 Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.739 stream] -- Capturing started Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.740 stream] -- Initializing OMX encoder ... Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.742 stream] -- Initializing OMX encoder ... Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.744 stream] -- Initializing OMX encoder ... Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.754 stream] -- Using JPEG quality: 80% Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.754 stream] -- Creating pool JPEG with 3 workers ... Dec 09 12:50:15 tinypilot1 ustreamer[537]: -- INFO [39.755 stream] -- Capturing ... Dec 09 12:50:16 tinypilot1 ustreamer[537]: -- ERROR [40.756 stream] -- Persistent device timeout (unplugged) nginx logs -- Logs begin at Thu 2019-02-14 10:11:59 GMT, end at Fri 2021-12-10 16:30:56 GMT. -- Nov 08 09:42:43 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 09:42:43 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. -- Reboot -- Nov 08 09:44:26 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 09:44:27 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. Nov 08 09:50:10 tinypilot systemd[1]: Stopping A high performance web server and a reverse proxy server... Nov 08 09:50:11 tinypilot systemd[1]: nginx.service: Succeeded. Nov 08 09:50:11 tinypilot systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Nov 08 09:50:26 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 09:50:26 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Nov 08 09:54:37 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Nov 08 09:54:37 tinypilot1 systemd[1]: nginx.service: Succeeded. Nov 08 09:54:37 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Nov 08 09:54:52 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 09:54:53 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. -- Reboot -- Nov 08 09:55:13 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 09:55:14 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Nov 08 11:25:28 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Nov 08 11:25:29 tinypilot1 systemd[1]: nginx.service: Succeeded. Nov 08 11:25:29 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Nov 08 11:25:50 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 08 11:25:50 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Nov 22 10:28:55 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Nov 22 10:29:00 tinypilot1 systemd[1]: nginx.service: Succeeded. Nov 22 10:29:00 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. Nov 22 10:29:00 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 22 10:29:00 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Nov 22 10:29:01 tinypilot1 systemd[1]: Reloading A high performance web server and a reverse proxy server. Nov 22 10:29:01 tinypilot1 systemd[1]: Reloaded A high performance web server and a reverse proxy server. Nov 22 14:19:26 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Nov 22 14:19:26 tinypilot1 systemd[1]: nginx.service: Succeeded. Nov 22 14:19:26 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Nov 22 14:19:44 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Nov 22 14:19:44 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. -- Reboot -- Dec 09 08:44:44 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Dec 09 08:44:44 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Dec 09 12:16:24 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Dec 09 12:16:24 tinypilot1 systemd[1]: nginx.service: Succeeded. Dec 09 12:16:24 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. Dec 09 12:16:24 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Dec 09 12:16:24 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Dec 09 12:17:33 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Dec 09 12:17:33 tinypilot1 systemd[1]: nginx.service: Succeeded. Dec 09 12:17:33 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Dec 09 12:17:49 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Dec 09 12:17:50 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Dec 09 12:32:46 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Dec 09 12:32:47 tinypilot1 systemd[1]: nginx.service: Succeeded. Dec 09 12:32:47 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Dec 09 12:33:01 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Dec 09 12:33:02 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. Dec 09 12:49:38 tinypilot1 systemd[1]: Stopping A high performance web server and a reverse proxy server... Dec 09 12:49:38 tinypilot1 systemd[1]: nginx.service: Succeeded. Dec 09 12:49:38 tinypilot1 systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Dec 09 12:50:14 tinypilot1 systemd[1]: Starting A high performance web server and a reverse proxy server... Dec 09 12:50:14 tinypilot1 systemd[1]: Started A high performance web server and a reverse proxy server. 2021/12/10 16:29:44 [error] 543#543: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.192.36.31, server: tinypilot, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:8000/", host: "tinypilot1.dialogika.de" 2021/12/10 16:29:48 [error] 543#543: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.192.36.31, server: tinypilot, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:8000/", host: "tinypilot1.dialogika.de" 2021/12/10 16:29:49 [error] 543#543: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.192.36.31, server: tinypilot, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:8000/", host: "tinypilot1.dialogika.de" 2021/12/10 16:29:50 [error] 543#543: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.192.36.31, server: tinypilot, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:8000/", host: "tinypilot1.dialogika.de"