I tried to upgrade through the web GUI and can no longer access the tiny pilot from my browser. I am able to ssh in and rebooted the system from there, but it still doesn't work. The last message in the browser from the upgrade attempt was "Failed to Restart" // Details: "TypeError: NetworkError when attempting to fetch resource."
- Michael Lynch @michael2022-10-07 19:51:30.870Z
Thanks for reporting this! Do you recall which version you were upgrading from?
Can you share your logs by running this command through SSH?
sudo /opt/tinypilot-privileged/collect-debug-logs
- SSteve @strategus
http://logs.tinypilotkvm.com/VhfhGkAz
Sorry. I don't know what version it was previously.
- Michael Lynch @michael2022-10-07 20:27:14.267Z
That's weird:
Oct 07 18:53:18 tinypilot nginx[592]: nginx: [emerg] open() "/var/log/nginx/access.log" failed (21: Is a directory)
It looks like everything is working except that nginx's log file is somehow a directory, so it can't start. Can you share the output from this command?
sudo ls -l /var/log/nginx/access.log \ && sudo rm -rf /var/log/nginx/access.log \ && sudo service nginx restart
- SSteve @strategus
quoted text
pilot@tinypilot:~ $ script d1
Script started, file is d1
pilot@tinypilot:~ $ sudo ls -l /var/log/nginx/access.log \&& sudo rm -rf /var/log/nginx/access.log
&& sudo service nginx restart
total 30316
-rw-r--r-- 1 root root 434460 Nov 10 2018 autopoint_0.19.8.1-9_all.deb
-rw-r--r-- 1 root root 2499624 Mar 11 2021 cmake_3.16.3-3~bpo10+1_armhf.deb
-rw-r--r-- 1 root root 1009300 Dec 14 2020 debhelper_13.2~bpo10+1_all.deb
-rw-r--r-- 1 root root 13204 Aug 1 2020 glib-networking-services_2.58.0-2+deb10u2_armhf.deb
-rw-r--r-- 1 root root 1635140 Oct 3 2018 gstreamer1.0-doc_1.14.4-1_all.deb
-rw-r--r-- 1 root root 752268 Oct 7 2018 libaom0_1.0.0-3_armhf.deb
-rw-r--r-- 1 root root 10286 May 6 2017 libarchive-cpio-perl_0.10-1_all.deb
-rw-r--r-- 1 root root 87048 Jan 27 2019 libarmadillo9_1%3a9.200.7+dfsg-1_armhf.deb
-rw-r--r-- 1 root root 51108 Mar 5 2019 libatk-bridge2.0-0_2.30.0-5_armhf.deb
-rw-r--r-- 1 root root 54324 Feb 20 2019 libatspi2.0-0_2.30.0-7_armhf.deb
-rw-r--r-- 1 root root 110772 May 4 20:30 libavresample4_7%3a4.1.9-0+deb10u1+rpt1_armhf.deb
-rw-r--r-- 1 root root 120764 May 4 20:30 libavresample-dev_7%3a4.1.9-0+deb10u1+rpt1_armhf.deb
-rw-r--r-- 1 root root 210188 Jan 12 2019 libblkid-dev_2.33.1-0.1_armhf.deb
-rw-r--r-- 1 root root 29164 Jan 16 2019 libcoarrays-openmpi-dev_2.4.0-2_armhf.deb
-rw-r--r-- 1 root root 127352 Mar 8 2019 libdapserver7v5_3.20.3-1_armhf.deb
-rw-r--r-- 1 root root 97588 Jan 26 2017 libdc1394-22_2.2.5-1_armhf.deb
-rw-r--r-- 1 root root 36320 Dec 26 2018 libdconf1_0.30.1-2_armhf.deb
-rw-r--r-- 1 root root 103612 Nov 8 2020 libexif-dev_0.6.21-5.1+deb10u5_armhf.deb
-rw-r--r-- 1 root root 67180 Jun 22 2021 libgbm1_19.3.2-1~bpo10+1~rpt4_armhf.deb
-rw-r--r-- 1 root root 206244 Apr 16 2019 libgfortran5_8.3.0-6+rpi1_armhf.deb
-rw-r--r-- 1 root root 20076 Jan 28 2020 libgles2_1.3.0-7~bpo10+1_armhf.deb
-rw-r--r-- 1 root root 130062 Sep 20 2015 libglu1-mesa_9.0.0-2.1_armhf.deb
-rw-r--r-- 1 root root 315240 Jun 19 2021 libgnutls-openssl27_3.6.7-4+deb10u7_armhf.deb
-rw-r--r-- 1 root root 26668 Apr 7 2019 libgsm1_1.0.18-2_armhf.deb
-rw-r--r-- 1 root root 22840 Sep 26 2020 libgssdp-1.0-3_1.0.5-0+deb10u1_armhf.deb
-rw-r--r-- 1 root root 3680080 Jun 17 2019 libgtk-3-common_3.24.5-1+rpt2_all.deb
-rw-r--r-- 1 root root 24044 Jan 2 2019 libgupnp-igd-1.0-4_0.2.5-3_armhf.deb
-rw-r--r-- 1 root root 1259428 Feb 9 2019 libhdf5-103_1.10.4+repack-10_armhf.deb
-rw-r--r-- 1 root root 43536 Feb 12 2019 libibverbs1_22.1-1_armhf.deb
-rw-r--r-- 1 root root 207922 Feb 3 2016 libjpeg9-dev_1%3a9b-1_armhf.deb
-rw-r--r-- 1 root root 66210 Aug 29 2016 libjsoncpp1_1.7.4-3_armhf.deb
-rw-r--r-- 1 root root 36800 Jul 30 2018 liblilv-0-0_0.24.2~dfsg0-2_armhf.deb
-rw-r--r-- 1 root root 386984 Feb 3 2019 libltdl7_2.4.6-9_armhf.deb
-rw-r--r-- 1 root root 144148 Apr 19 05:08 liblzma5_5.2.4-1+deb10u1_armhf.deb
-rw-r--r-- 1 root root 250064 Dec 16 2018 libmicrohttpd-dev_0.9.62-1_armhf.deb
-rw-r--r-- 1 root root 942700 Jan 26 2022 libnss3_2%3a3.42.1-1+deb10u5_armhf.deb
-rw-r--r-- 1 root root 194480 Oct 10 2019 libogg-dev_1.3.2-1+b2_armhf.deb
-rw-r--r-- 1 root root 1093556 Feb 22 2019 libopencv-core-dev_3.2.0+dfsg-6_armhf.deb
-rw-r--r-- 1 root root 260996 Feb 22 2019 libopencv-features2d-dev_3.2.0+dfsg-6_armhf.deb
-rw-r--r-- 1 root root 1812504 May 9 2019 libopenmpi3_3.1.3-11+rpi1_armhf.deb
-rw-r--r-- 1 root root 134328 Jan 12 2019 liborc-0.4-dev-bin_1%3a0.4.28-3.1_armhf.deb
-rw-r--r-- 1 root root 234196 Mar 20 2019 libpcre16-3_2%3a8.39-12_armhf.deb
-rw-r--r-- 1 root root 227452 Mar 20 2019 libpcre32-3_2%3a8.39-12_armhf.deb
-rw-r--r-- 1 root root 564128 Mar 20 2019 libpcre3-dev_2%3a8.39-12_armhf.deb
-rw-r--r-- 1 root root 475928 Jun 17 2019 libpixman-1-0_0.36.0-1+rpt1_armhf.deb
-rw-r--r-- 1 root root 184664 Sep 21 2018 libproj13_5.2.0-1_armhf.deb
-rw-r--r-- 1 root root 309092 Jun 2 2018 libsepol1-dev_2.8-1_armhf.deb
-rw-r--r-- 1 root root 139240 Jan 30 2019 libsodium23_1.0.17-1_armhf.deb
-rw-r--r-- 1 root root 216360 Jan 2 2019 libsoup2.4-1_2.64.2-2_armhf.deb
-rw-r--r-- 1 root root 49380 Nov 10 2017 libsoxr0_0.1.2-3_armhf.deb
-rw-r--r-- 1 root root 237088 Jan 17 2019 libspandsp2_0.0.6+dfsg-2_armhf.deb
-rw-r--r-- 1 root root 14948 Sep 28 2016 libsratom-0-0_0.6.0~dfsg0-1_armhf.deb
-rw-r--r-- 1 root root 1273636 Mar 26 2022 libssl1.1_1.1.1n-0+deb10u1_armhf.deb
-rw-r--r-- 1 root root 260056 May 4 20:30 libswscale5_7%3a4.1.9-0+deb10u1+rpt1_armhf.deb
-rw-r--r-- 1 root root 361620 Mar 24 2022 libtiff-dev_4.1.0+git191117-2~deb10u4_armhf.deb
-rw-r--r-- 1 root root 16008 Feb 3 2019 libva-drm2_2.4.0-1_armhf.deb
-rw-r--r-- 1 root root 12992 Sep 11 2018 libwayland-cursor0_1.16.0-1_armhf.deb
-rw-r--r-- 1 root root 100364 Dec 16 2018 libxcb-dri2-0_1.13.1-2_armhf.deb
-rw-r--r-- 1 root root 99264 Dec 16 2018 libxcb-shm0_1.13.1-2_armhf.deb
-rw-r--r-- 1 root root 20596 Dec 16 2016 libxfixes3_1%3a5.0.3-1_armhf.deb
-rw-r--r-- 1 root root 17252 Sep 11 2018 libxss1_1%3a1.2.3-1_armhf.deb
-rw-r--r-- 1 root root 237488 Jan 24 2019 libzvbi0_0.2.35-16_armhf.deb
-rw-r--r-- 1 root root 35720 Dec 23 2018 ocl-icd-libopencl1_2.2.12-2_armhf.deb
-rw-r--r-- 1 root root 6985552 Sep 15 2018 proj-data_5.2.0-1_all.deb
-rw-r--r-- 1 root root 21928 Sep 16 2013 xorg-sgml-doctools_1%3a1.11-1_all.deb
-rw-r--r-- 1 root root 100320 Nov 4 2014 xtrans-dev_1.3.5-1_all.deb
pilot@tinypilot:~ $ exitquoted text
- SIn reply tostrategus⬆:Steve @strategus
And the web interface is back! So problem solved I guess.
- Michael Lynch @michael2022-10-07 20:35:43.761Z
Glad to hear you're back up and running!
I can't figure out what happened to your
access.log
file. It appears to be a bunch of Debian packages, but I don't think they're part of anything TinyPilot imports or part of the stock OS. Do you have anything else running on the device besides TinyPilot?- SSteve @strategus
It's a strictly stock system.... unless I've been hacked. Let's hope not.