TinyPilot Pro log dump https://tinypilotkvm.com Timestamp: 2021-10-02T02:23:58-04:00 Software versions TinyPilot version: 2.3.0 be1bb42 uStreamer version: v3.26 a97f08e OS version: Linux tinypilot 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux TinyPilot state temp=40.4'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 Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-105: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-106: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-107: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-108: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-109: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:08:27 tinypilot python[701]: Process Process-110: Oct 02 01:08:27 tinypilot python[701]: Traceback (most recent call last): Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 02 01:08:27 tinypilot python[701]: self.run() Oct 02 01:08:27 tinypilot python[701]: File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run Oct 02 01:08:27 tinypilot python[701]: self._target(*self._args, **self._kwargs) Oct 02 01:08:27 tinypilot python[701]: File "/opt/tinypilot/app/hid/write.py", line 18, in _write_to_hid_interface_immediately Oct 02 01:08:27 tinypilot python[701]: hid_handle.write(bytearray(buffer)) Oct 02 01:08:27 tinypilot python[701]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 02 01:09:36 tinypilot python[701]: [2021-10-02 01:09:36,669] INFO in socket_api: Client disconnected Oct 02 01:10:08 tinypilot python[701]: [2021-10-02 01:10:08,746] INFO in socket_api: Client connected Oct 02 01:11:42 tinypilot python[701]: [2021-10-02 01:11:42,647] INFO in video_settings: Running update-video-settings Oct 02 01:11:42 tinypilot sudo[1803]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/update-video-settings Oct 02 01:11:42 tinypilot sudo[1803]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 01:11:48 tinypilot ansible-stat[1830]: 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 Oct 02 01:11:49 tinypilot ansible-copy[1844]: Invoked with src=/root/.ansible/tmp/ansible-tmp-1633151507.9338038-1812-246018638577407/source dest=/lib/systemd/system/ustreamer.service owner=root group=root mode=0644 follow=False _original_basename=ustreamer.systemd.j2 checksum=dbe5dd476bdf0a411448583aac18159985e9a4cd backup=False force=True content=NOT_LOGGING_PARAMETER validate=None directory_mode=None remote_src=None local_follow=None seuser=None serole=None selevel=None setype=None attributes=None regexp=None delimiter=None unsafe_writes=None Oct 02 01:11:51 tinypilot ansible-systemd[1871]: Invoked with daemon_reload=True daemon_reexec=False no_block=False name=None state=None enabled=None force=None masked=None user=None scope=None Oct 02 01:11:54 tinypilot ansible-setup[1912]: Invoked with gather_subset=['!all'] filter=ansible_service_mgr gather_timeout=10 fact_path=/etc/ansible/facts.d Oct 02 01:11:55 tinypilot ansible-systemd[1927]: Invoked with name=ustreamer state=restarted daemon_reload=False daemon_reexec=False no_block=False enabled=None force=None masked=None user=None scope=None Oct 02 01:11:55 tinypilot sudo[1803]: pam_unix(sudo:session): session closed for user root Oct 02 01:11:55 tinypilot python[701]: [2021-10-02 01:11:55,473] INFO in video_settings: update-video-settings completed successfully Oct 02 01:11:55 tinypilot python[701]: [2021-10-02 01:11:55,484] INFO in socket_api: Client disconnected Oct 02 01:11:56 tinypilot python[701]: [2021-10-02 01:11:56,292] INFO in socket_api: Client connected Oct 02 01:14:46 tinypilot python[701]: [2021-10-02 01:14:46,110] INFO in video_settings: Running update-video-settings Oct 02 01:14:46 tinypilot sudo[3085]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/update-video-settings Oct 02 01:14:46 tinypilot sudo[3085]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 01:14:52 tinypilot ansible-stat[3111]: 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 Oct 02 01:14:53 tinypilot ansible-copy[3125]: Invoked with src=/root/.ansible/tmp/ansible-tmp-1633151691.2109673-3093-67555819919640/source dest=/lib/systemd/system/ustreamer.service owner=root group=root mode=0644 follow=False _original_basename=ustreamer.systemd.j2 checksum=45913fa908843dcfb1053bbc39e89aea71f0a18c backup=False force=True content=NOT_LOGGING_PARAMETER validate=None directory_mode=None remote_src=None local_follow=None seuser=None serole=None selevel=None setype=None attributes=None regexp=None delimiter=None unsafe_writes=None Oct 02 01:14:54 tinypilot ansible-systemd[3152]: Invoked with daemon_reload=True daemon_reexec=False no_block=False name=None state=None enabled=None force=None masked=None user=None scope=None Oct 02 01:14:57 tinypilot ansible-setup[3195]: Invoked with gather_subset=['!all'] filter=ansible_service_mgr gather_timeout=10 fact_path=/etc/ansible/facts.d Oct 02 01:14:58 tinypilot ansible-systemd[3210]: Invoked with name=ustreamer state=restarted daemon_reload=False daemon_reexec=False no_block=False enabled=None force=None masked=None user=None scope=None Oct 02 01:14:58 tinypilot sudo[3085]: pam_unix(sudo:session): session closed for user root Oct 02 01:14:58 tinypilot python[701]: [2021-10-02 01:14:58,646] INFO in video_settings: update-video-settings completed successfully Oct 02 01:14:58 tinypilot python[701]: [2021-10-02 01:14:58,656] INFO in socket_api: Client disconnected Oct 02 01:14:59 tinypilot python[701]: [2021-10-02 01:14:59,401] INFO in socket_api: Client connected Oct 02 01:25:31 tinypilot python[701]: [2021-10-02 01:25:31,461] INFO in socket_api: Client disconnected Oct 02 01:25:34 tinypilot python[701]: [2021-10-02 01:25:34,428] INFO in socket_api: Client connected Oct 02 01:54:47 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 01:54:47 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 01:54:47 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 01:54:47 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Oct 02 01:54:47 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 01:54:48 tinypilot python[12935]: [2021-10-02 01:54:48,584] INFO in main: Starting app Oct 02 01:54:51 tinypilot python[12935]: [2021-10-02 01:54:51,064] INFO in socket_api: Client connected Oct 02 01:54:54 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 01:54:54 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 01:54:54 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 01:54:54 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. -- Reboot -- Oct 02 01:55:10 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 01:55:12 tinypilot python[607]: [2021-10-02 01:55:12,573] INFO in main: Starting app Oct 02 01:55:14 tinypilot python[607]: [2021-10-02 01:55:14,306] INFO in socket_api: Client connected Oct 02 01:57:26 tinypilot python[607]: [2021-10-02 01:57:26,263] INFO in socket_api: Client disconnected Oct 02 01:57:27 tinypilot python[607]: [2021-10-02 01:57:27,235] INFO in socket_api: Client connected Oct 02 02:00:50 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 02:00:50 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 02:00:50 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 02:00:50 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. -- Reboot -- Oct 02 02:01:05 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 02:01:06 tinypilot python[593]: [2021-10-02 02:01:06,997] INFO in main: Starting app Oct 02 02:01:13 tinypilot python[593]: [2021-10-02 02:01:13,045] INFO in socket_api: Client connected Oct 02 02:02:00 tinypilot python[593]: [2021-10-02 02:02:00,777] INFO in socket_api: Client disconnected Oct 02 02:02:02 tinypilot python[593]: [2021-10-02 02:02:02,643] INFO in socket_api: Client connected Oct 02 02:02:41 tinypilot python[593]: [2021-10-02 02:02:41,876] INFO in video_settings: Running update-video-settings Oct 02 02:02:41 tinypilot sudo[762]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/update-video-settings Oct 02 02:02:41 tinypilot sudo[762]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:02:48 tinypilot ansible-stat[788]: 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 Oct 02 02:02:50 tinypilot ansible-copy[802]: Invoked with src=/root/.ansible/tmp/ansible-tmp-1633154567.9186208-770-46821271949195/source dest=/lib/systemd/system/ustreamer.service owner=root group=root mode=0644 follow=False _original_basename=ustreamer.systemd.j2 checksum=2a1fa940bc80527b5ec477d8a0e7385541642d0d backup=False force=True content=NOT_LOGGING_PARAMETER validate=None directory_mode=None remote_src=None local_follow=None seuser=None serole=None selevel=None setype=None attributes=None regexp=None delimiter=None unsafe_writes=None Oct 02 02:02:51 tinypilot ansible-systemd[829]: Invoked with daemon_reload=True daemon_reexec=False no_block=False name=None state=None enabled=None force=None masked=None user=None scope=None Oct 02 02:02:53 tinypilot ansible-setup[870]: Invoked with gather_subset=['!all'] filter=ansible_service_mgr gather_timeout=10 fact_path=/etc/ansible/facts.d Oct 02 02:02:55 tinypilot ansible-systemd[885]: Invoked with name=ustreamer state=restarted daemon_reload=False daemon_reexec=False no_block=False enabled=None force=None masked=None user=None scope=None Oct 02 02:02:56 tinypilot sudo[762]: pam_unix(sudo:session): session closed for user root Oct 02 02:02:56 tinypilot python[593]: [2021-10-02 02:02:56,205] INFO in video_settings: update-video-settings completed successfully Oct 02 02:02:56 tinypilot python[593]: [2021-10-02 02:02:56,217] INFO in socket_api: Client disconnected Oct 02 02:02:58 tinypilot python[593]: [2021-10-02 02:02:58,084] INFO in socket_api: Client connected Oct 02 02:03:53 tinypilot sudo[975]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/collect-debug-logs -q Oct 02 02:03:53 tinypilot sudo[975]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:53 tinypilot sudo[988]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -xe Oct 02 02:03:53 tinypilot sudo[988]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:53 tinypilot sudo[988]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:53 tinypilot sudo[992]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -u tinypilot Oct 02 02:03:53 tinypilot sudo[992]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:53 tinypilot sudo[992]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:53 tinypilot sudo[998]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -u tinypilot-updater Oct 02 02:03:53 tinypilot sudo[998]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:53 tinypilot sudo[998]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:53 tinypilot sudo[1003]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -u ustreamer Oct 02 02:03:53 tinypilot sudo[1003]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:54 tinypilot sudo[1003]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:54 tinypilot sudo[1006]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -u nginx Oct 02 02:03:54 tinypilot sudo[1006]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:54 tinypilot sudo[1006]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:54 tinypilot sudo[1008]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/tail -n 100 /var/log/nginx/error.log Oct 02 02:03:54 tinypilot sudo[1008]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:54 tinypilot sudo[1008]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:54 tinypilot sudo[1010]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/tail -n 30 /var/log/nginx/access.log Oct 02 02:03:54 tinypilot sudo[1010]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:03:54 tinypilot sudo[1010]: pam_unix(sudo:session): session closed for user root Oct 02 02:03:54 tinypilot sudo[975]: pam_unix(sudo:session): session closed for user root Oct 02 02:06:36 tinypilot python[593]: [2021-10-02 02:06:36,810] INFO in git: Getting tag for current HEAD commit Oct 02 02:06:36 tinypilot python[593]: [2021-10-02 02:06:36,834] INFO in git: Local HEAD commit tag: 2.2.2 Oct 02 02:06:36 tinypilot python[593]: [2021-10-02 02:06:36,850] INFO in git: Getting tag for remote HEAD commit ID Oct 02 02:06:37 tinypilot python[593]: [2021-10-02 02:06:37,635] INFO in git: Remote HEAD commit tag: 2.3.0 Oct 02 02:06:39 tinypilot python[593]: [2021-10-02 02:06:39,950] INFO in git: Getting tag for remote HEAD commit ID Oct 02 02:06:40 tinypilot python[593]: [2021-10-02 02:06:40,381] INFO in git: Remote HEAD commit tag: 2.3.0 Oct 02 02:06:40 tinypilot sudo[1029]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/usr/sbin/service tinypilot-updater start Oct 02 02:06:40 tinypilot sudo[1029]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:09:04 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 02:09:04 tinypilot sudo[1029]: pam_unix(sudo:session): session closed for user root Oct 02 02:09:04 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 02:09:04 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 02:09:04 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. Oct 02 02:09:04 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 02:09:05 tinypilot python[3573]: [2021-10-02 02:09:05,139] INFO in main: Starting app Oct 02 02:09:05 tinypilot python[3573]: [2021-10-02 02:09:05,734] INFO in socket_api: Client connected Oct 02 02:09:10 tinypilot python[3573]: [2021-10-02 02:09:10,922] INFO in local_system: Rebooting system Oct 02 02:09:10 tinypilot sudo[3664]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/sbin/shutdown --reboot now Oct 02 02:09:10 tinypilot sudo[3664]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:09:11 tinypilot sudo[3664]: pam_unix(sudo:session): session closed for user root Oct 02 02:09:11 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 02:09:11 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 02:09:11 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 02:09:11 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. -- Reboot -- Oct 02 02:09:26 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 02:09:28 tinypilot python[605]: [2021-10-02 02:09:28,040] INFO in main: Starting app Oct 02 02:09:30 tinypilot python[605]: [2021-10-02 02:09:30,790] INFO in socket_api: Client connected Oct 02 02:10:05 tinypilot python[605]: [2021-10-02 02:10:05,567] INFO in socket_api: Client disconnected Oct 02 02:10:06 tinypilot python[605]: [2021-10-02 02:10:06,637] INFO in socket_api: Client connected Oct 02 02:20:22 tinypilot systemd[1]: Stopping TinyPilot - RPi-based virtual KVM... Oct 02 02:20:22 tinypilot systemd[1]: tinypilot.service: Main process exited, code=killed, status=15/TERM Oct 02 02:20:22 tinypilot systemd[1]: tinypilot.service: Succeeded. Oct 02 02:20:22 tinypilot systemd[1]: Stopped TinyPilot - RPi-based virtual KVM. -- Reboot -- Oct 02 02:20:37 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 02 02:20:39 tinypilot python[604]: [2021-10-02 02:20:39,052] INFO in main: Starting app Oct 02 02:20:49 tinypilot python[604]: [2021-10-02 02:20:49,487] INFO in socket_api: Client connected Oct 02 02:21:20 tinypilot python[604]: [2021-10-02 02:21:20,184] INFO in socket_api: Client disconnected Oct 02 02:21:21 tinypilot python[604]: [2021-10-02 02:21:21,156] INFO in socket_api: Client connected Oct 02 02:23:58 tinypilot sudo[747]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/collect-debug-logs -q Oct 02 02:23:58 tinypilot sudo[747]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:23:58 tinypilot sudo[760]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -xe Oct 02 02:23:58 tinypilot sudo[760]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 02 02:23:58 tinypilot sudo[760]: pam_unix(sudo:session): session closed for user root Oct 02 02:23:58 tinypilot sudo[764]: root : TTY=unknown ; PWD=/opt/ustreamer ; USER=root ; COMMAND=/usr/bin/journalctl -u tinypilot Oct 02 02:23:58 tinypilot sudo[764]: pam_unix(sudo:session): session opened for user root by (uid=0) TinyPilot update logs ok: [localhost] TASK [ansible-role-ustreamer : copy TC358743 EDID file] ************************ ok: [localhost] TASK [ansible-role-ustreamer : install TC358743 initializer service] *********** ok: [localhost] TASK [ansible-role-ustreamer : use custom settings for TC358743 chip for any facts not already defined] *** ok: [localhost] TASK [ansible-role-ustreamer : remove TC358743 initializer service file] ******* skipping: [localhost] TASK [ansible-role-ustreamer : disable TC358743 overlay in /boot/config.txt] *** skipping: [localhost] TASK [ansible-role-ustreamer : save whether boot config file exists] *********** ok: [localhost] TASK [ansible-role-ustreamer : enable OpenMax IL acceleration on Pi OS] ******** ok: [localhost] TASK [ansible-role-ustreamer : collect universal required apt packages] ******** ok: [localhost] TASK [ansible-role-ustreamer : collect Raspberry Pi OS specific required apt packages] *** ok: [localhost] TASK [ansible-role-ustreamer : install libraspberrypi-dev if we're using OpenMax IL acceleration] *** skipping: [localhost] TASK [ansible-role-ustreamer : collect Debian-specific required apt packages] *** skipping: [localhost] TASK [ansible-role-ustreamer : collect Ubuntu-specific required apt packages] *** skipping: [localhost] TASK [ansible-role-ustreamer : install uStreamer pre-requisite packages] ******* ok: [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] ***************************** ok: [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] ************************** ok: [localhost] TASK [tinypilot.tinypilot-pro : generate a CA-signed TLS certificate] ********** ok: [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.] ******************** ok: [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 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)$ {\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 # 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 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)$ {\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 # 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 : 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 : create TinyPilot privileged folder] ************ ok: [localhost] TASK [tinypilot.tinypilot-pro : copy usb-gadget initializer] ******************* ok: [localhost] TASK [tinypilot.tinypilot-pro : copy usb-gadget de-initializer] **************** ok: [localhost] TASK [tinypilot.tinypilot-pro : install usb-gadget initializer as a service] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : enable systemd usb-gadget initializer service file] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : collect TinyPilot required apt packages on all systems] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : collect Debian and Ubuntu specific TinyPilot required apt packages] *** ok: [localhost] TASK [tinypilot.tinypilot-pro : collect Ubuntu 20.04 specific TinyPilot 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) ok: [localhost] => (item=collect-debug-logs) ok: [localhost] => (item=eject-mass-storage) ok: [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] *** ok: [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] ******************* changed: [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 [ansible-role-ustreamer : reload systemd config] *************** ok: [localhost] RUNNING HANDLER [ansible-role-ustreamer : restart uStreamer] ******************* changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=84 changed=7 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 + chmod +r /var/tmp/tmp.ms9EI5uLTR.yml + sudo cp /var/tmp/tmp.ms9EI5uLTR.yml /home/tinypilot/settings.yml + sudo chown tinypilot:tinypilot /home/tinypilot/settings.yml 2021-10-02 02:09:07 __main__ INFO Update completed successfully 2021-10-02 02:09:07 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 \ --host 127.0.0.1 \ --port 8001 \ --encoder hw \ --format jpeg \ --desired-fps 20 \ --resolution 1920x1080 \ --workers 3 \ --quality 100 \ --drop-same-frames 30 \ --persistent \ --dv-timings \ Restart=always [Install] WantedBy=multi-user.target uStreamer logs Oct 02 02:23:46 tinypilot ustreamer[603]: -- INFO [193.190 stream] -- Device fd=9 closed Oct 02 02:23:46 tinypilot ustreamer[603]: -- INFO [193.190 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:47 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:47 tinypilot ustreamer[603]: -- INFO [194.191 stream] -- Device fd=9 opened Oct 02 02:23:47 tinypilot ustreamer[603]: -- INFO [194.191 stream] -- Using input channel: 0 Oct 02 02:23:47 tinypilot ustreamer[603]: -- ERROR [194.191 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:47 tinypilot ustreamer[603]: -- INFO [194.191 stream] -- Device fd=9 closed Oct 02 02:23:47 tinypilot ustreamer[603]: -- INFO [194.191 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:48 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:48 tinypilot ustreamer[603]: -- INFO [195.192 stream] -- Device fd=9 opened Oct 02 02:23:48 tinypilot ustreamer[603]: -- INFO [195.192 stream] -- Using input channel: 0 Oct 02 02:23:48 tinypilot ustreamer[603]: -- ERROR [195.192 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:48 tinypilot ustreamer[603]: -- INFO [195.193 stream] -- Device fd=9 closed Oct 02 02:23:48 tinypilot ustreamer[603]: -- INFO [195.193 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:49 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:49 tinypilot ustreamer[603]: -- INFO [196.194 stream] -- Device fd=9 opened Oct 02 02:23:49 tinypilot ustreamer[603]: -- INFO [196.194 stream] -- Using input channel: 0 Oct 02 02:23:49 tinypilot ustreamer[603]: -- ERROR [196.194 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:49 tinypilot ustreamer[603]: -- INFO [196.194 stream] -- Device fd=9 closed Oct 02 02:23:49 tinypilot ustreamer[603]: -- INFO [196.194 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:50 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:50 tinypilot ustreamer[603]: -- INFO [197.195 stream] -- Device fd=9 opened Oct 02 02:23:50 tinypilot ustreamer[603]: -- INFO [197.195 stream] -- Using input channel: 0 Oct 02 02:23:50 tinypilot ustreamer[603]: -- ERROR [197.195 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:50 tinypilot ustreamer[603]: -- INFO [197.196 stream] -- Device fd=9 closed Oct 02 02:23:50 tinypilot ustreamer[603]: -- INFO [197.196 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:51 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:51 tinypilot ustreamer[603]: -- INFO [198.197 stream] -- Device fd=9 opened Oct 02 02:23:51 tinypilot ustreamer[603]: -- INFO [198.197 stream] -- Using input channel: 0 Oct 02 02:23:51 tinypilot ustreamer[603]: -- ERROR [198.197 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:51 tinypilot ustreamer[603]: -- INFO [198.197 stream] -- Device fd=9 closed Oct 02 02:23:51 tinypilot ustreamer[603]: -- INFO [198.197 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:52 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:52 tinypilot ustreamer[603]: -- INFO [199.198 stream] -- Device fd=9 opened Oct 02 02:23:52 tinypilot ustreamer[603]: -- INFO [199.198 stream] -- Using input channel: 0 Oct 02 02:23:52 tinypilot ustreamer[603]: -- ERROR [199.198 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:52 tinypilot ustreamer[603]: -- INFO [199.198 stream] -- Device fd=9 closed Oct 02 02:23:52 tinypilot ustreamer[603]: -- INFO [199.199 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:53 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:53 tinypilot ustreamer[603]: -- INFO [200.200 stream] -- Device fd=9 opened Oct 02 02:23:53 tinypilot ustreamer[603]: -- INFO [200.200 stream] -- Using input channel: 0 Oct 02 02:23:53 tinypilot ustreamer[603]: -- ERROR [200.200 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:53 tinypilot ustreamer[603]: -- INFO [200.200 stream] -- Device fd=9 closed Oct 02 02:23:53 tinypilot ustreamer[603]: -- INFO [200.200 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:54 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:54 tinypilot ustreamer[603]: -- INFO [201.201 stream] -- Device fd=9 opened Oct 02 02:23:54 tinypilot ustreamer[603]: -- INFO [201.201 stream] -- Using input channel: 0 Oct 02 02:23:54 tinypilot ustreamer[603]: -- ERROR [201.201 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:54 tinypilot ustreamer[603]: -- INFO [201.202 stream] -- Device fd=9 closed Oct 02 02:23:54 tinypilot ustreamer[603]: -- INFO [201.202 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:55 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:55 tinypilot ustreamer[603]: -- INFO [202.203 stream] -- Device fd=9 opened Oct 02 02:23:55 tinypilot ustreamer[603]: -- INFO [202.203 stream] -- Using input channel: 0 Oct 02 02:23:55 tinypilot ustreamer[603]: -- ERROR [202.203 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:55 tinypilot ustreamer[603]: -- INFO [202.203 stream] -- Device fd=9 closed Oct 02 02:23:55 tinypilot ustreamer[603]: -- INFO [202.203 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:56 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:56 tinypilot ustreamer[603]: -- INFO [203.204 stream] -- Device fd=9 opened Oct 02 02:23:56 tinypilot ustreamer[603]: -- INFO [203.204 stream] -- Using input channel: 0 Oct 02 02:23:56 tinypilot ustreamer[603]: -- ERROR [203.204 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:56 tinypilot ustreamer[603]: -- INFO [203.205 stream] -- Device fd=9 closed Oct 02 02:23:56 tinypilot ustreamer[603]: -- INFO [203.205 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:57 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:57 tinypilot ustreamer[603]: -- INFO [204.206 stream] -- Device fd=9 opened Oct 02 02:23:57 tinypilot ustreamer[603]: -- INFO [204.206 stream] -- Using input channel: 0 Oct 02 02:23:57 tinypilot ustreamer[603]: -- ERROR [204.206 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:57 tinypilot ustreamer[603]: -- INFO [204.206 stream] -- Device fd=9 closed Oct 02 02:23:57 tinypilot ustreamer[603]: -- INFO [204.206 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:58 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:58 tinypilot ustreamer[603]: -- INFO [205.207 stream] -- Device fd=9 opened Oct 02 02:23:58 tinypilot ustreamer[603]: -- INFO [205.207 stream] -- Using input channel: 0 Oct 02 02:23:58 tinypilot ustreamer[603]: -- ERROR [205.207 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:58 tinypilot ustreamer[603]: -- INFO [205.207 stream] -- Device fd=9 closed Oct 02 02:23:58 tinypilot ustreamer[603]: -- INFO [205.207 stream] -- Sleeping 1 seconds before new stream init ... Oct 02 02:23:59 tinypilot ustreamer[603]: ================================================================================ Oct 02 02:23:59 tinypilot ustreamer[603]: -- INFO [206.208 stream] -- Device fd=9 opened Oct 02 02:23:59 tinypilot ustreamer[603]: -- INFO [206.208 stream] -- Using input channel: 0 Oct 02 02:23:59 tinypilot ustreamer[603]: -- ERROR [206.208 stream] -- Can't subscribe to V4L2_EVENT_SOURCE_CHANGE: Invalid argument Oct 02 02:23:59 tinypilot ustreamer[603]: -- INFO [206.208 stream] -- Device fd=9 closed Oct 02 02:23:59 tinypilot ustreamer[603]: -- INFO [206.208 stream] -- Sleeping 1 seconds before new stream init ... nginx logs -- Logs begin at Mon 2021-06-14 08:52:53 EDT, end at Sat 2021-10-02 02:23:59 EDT. -- Oct 02 01:06:56 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 02 01:06:56 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. Oct 02 01:54:53 tinypilot systemd[1]: Reloading A high performance web server and a reverse proxy server. Oct 02 01:54:53 tinypilot systemd[1]: Reloaded A high performance web server and a reverse proxy server. Oct 02 01:54:54 tinypilot systemd[1]: Stopping A high performance web server and a reverse proxy server... Oct 02 01:54:54 tinypilot systemd[1]: nginx.service: Succeeded. Oct 02 01:54:54 tinypilot systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Oct 02 01:55:10 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 02 01:55:10 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. Oct 02 02:00:50 tinypilot systemd[1]: Stopping A high performance web server and a reverse proxy server... Oct 02 02:00:51 tinypilot systemd[1]: nginx.service: Succeeded. Oct 02 02:00:51 tinypilot systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Oct 02 02:01:05 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 02 02:01:05 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. Oct 02 02:09:11 tinypilot systemd[1]: Stopping A high performance web server and a reverse proxy server... Oct 02 02:09:11 tinypilot systemd[1]: nginx.service: Succeeded. Oct 02 02:09:11 tinypilot systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Oct 02 02:09:26 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 02 02:09:26 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. Oct 02 02:20:22 tinypilot systemd[1]: Stopping A high performance web server and a reverse proxy server... Oct 02 02:20:23 tinypilot systemd[1]: nginx.service: Succeeded. Oct 02 02:20:23 tinypilot systemd[1]: Stopped A high performance web server and a reverse proxy server. -- Reboot -- Oct 02 02:20:37 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 02 02:20:37 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. 2021/06/14 08:52:49 [notice] 6686#6686: signal process started 2021/10/02 01:40:45 [warn] 1204#1204: *30 an upstream response is buffered to a temporary file /var/lib/nginx/proxy/1/00/0000000001 while reading upstream, client: 192.168.42.147, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", upstream: "http://127.0.0.1:8001/stream?advance_headers=1", host: "tinypilot.local", referrer: "https://tinypilot.local/" 2021/10/02 01:54:48 [error] 1204#1204: *30 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.42.147, server: tinypilot, request: "GET /socket.io/?EIO=4&transport=polling&t=Nm_aRm5 HTTP/2.0", upstream: "http://127.0.0.1:8000/socket.io/?EIO=4&transport=polling&t=Nm_aRm5", host: "tinypilot.local", referrer: "https://tinypilot.local/" 2021/10/02 01:54:53 [notice] 13110#13110: signal process started 2021/10/02 02:09:04 [error] 606#606: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.42.147, server: tinypilot, request: "GET /api/update HTTP/2.0", upstream: "http://127.0.0.1:8000/api/update", host: "tinypilot.local", referrer: "https://tinypilot.local/" 2021/10/02 02:09:11 [error] 606#606: *2 upstream prematurely closed connection while reading response header from upstream, client: 192.168.42.147, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot.local", referrer: "https://tinypilot.local/" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/style.css HTTP/2.0" 200 3188 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /third-party/socket.io/3.1.3/socket.io.min.js HTTP/2.0" 200 61701 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/paste.js HTTP/2.0" 200 2076 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/app.js HTTP/2.0" 200 12394 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/poll.js HTTP/2.0" 200 1950 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/updatelogs.js HTTP/2.0" 200 696 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/settings.js HTTP/2.0" 200 1877 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/clipboard.js HTTP/2.0" 200 633 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /third-party/fonts/fonts.css HTTP/2.0" 200 1812 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/button.css HTTP/2.0" 200 1690 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/cursors.css HTTP/2.0" 200 671 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/style.css HTTP/2.0" 200 3188 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/button.css HTTP/2.0" 200 1690 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/icons.css HTTP/2.0" 200 841 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/cursors.css HTTP/2.0" 200 671 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /third-party/underscore.js/1.11.0/underscore-min.js HTTP/2.0" 200 18618 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /css/toggle.css HTTP/2.0" 200 1005 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/keycodes.js HTTP/2.0" 200 3190 "https://tinypilot.local/js/app.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/keyboardstate.js HTTP/2.0" 200 2823 "https://tinypilot.local/js/app.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/keystrokes.js HTTP/2.0" 200 362 "https://tinypilot.local/js/app.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /js/overlays.js HTTP/2.0" 200 495 "https://tinypilot.local/js/app.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:20 -0400] "GET /third-party/fonts/fonts.css HTTP/2.0" 200 1812 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /css/style.css HTTP/2.0" 200 3188 "https://tinypilot.local/css/button.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /third-party/fonts/fonts.css HTTP/2.0" 200 1812 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /css/cursors.css HTTP/2.0" 200 671 "https://tinypilot.local/css/style.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /socket.io/?EIO=4&transport=polling&t=Nm_gWi3 HTTP/2.0" 200 96 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "POST /socket.io/?EIO=4&transport=polling&t=Nm_gWiY&sid=donzcGGQgPRw-lWhAAAC HTTP/2.0" 200 2 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /socket.io/?EIO=4&transport=polling&t=Nm_gWia&sid=donzcGGQgPRw-lWhAAAC HTTP/2.0" 200 32 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /socket.io/?EIO=4&transport=polling&t=Nm_gWiz&sid=donzcGGQgPRw-lWhAAAC HTTP/2.0" 200 1 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-" 192.168.42.147 - - [02/Oct/2021:02:21:21 -0400] "GET /favicon.ico HTTP/2.0" 200 15406 "https://tinypilot.local/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" "-"