Upgrade error
Cannot upgrade pro form 2.5.0 to 2.5.3
First time. The upgrade procedure didn't go more.. the log is as blow
I tried once more, then I encountered the difference response "The update failed: Command '['sudo', '/opt/tinypilot-privileged/update']' returned non-zero exit status 100."
Retrieving update logs from TinyPilot device...
2023-04-12 03:53:56.002 __main__ INFO Starting TinyPilot update
2023-04-12 03:53:56.003 __main__ INFO Launching update script: /opt/tinypilot-privileged/update
+ set -u
+ set -e
+ readonly VERSION_FILE=/home/tinypilot/target-version
+ VERSION_FILE=/home/tinypilot/target-version
+ SCRIPT_ARGS=()
+ [[ -f /home/tinypilot/target-version ]]
++ cat /home/tinypilot/target-version
+ VERSION=2.5.3
+ SCRIPT_ARGS+=(--version "${VERSION}")
+ readonly SCRIPT_ARGS
+ curl --silent --show-error https://gk.tinypilotkvm.com/get-tinypilot-pro.sh
+ bash -s -- --version 2.5.3
+ TARGET_VERSION=
+ [[ 2 -gt 0 ]]
+ case "$1" in
+ TARGET_VERSION=2.5.3
+ shift
+ [[ 0 -gt 0 ]]
+ readonly TEMP_DIR=/var/tmp
+ TEMP_DIR=/var/tmp
++ mktemp --tmpdir=/var/tmp --suffix .json
+ TARGET_VERSION_FILENAME=/var/tmp/tmp.303L5ASD97.json
+ readonly TARGET_VERSION_FILENAME
++ mktemp --tmpdir=/var/tmp --suffix .tgz
+ BUNDLE_FILENAME=/var/tmp/tmp.ZtverDPS7u.tgz
+ readonly BUNDLE_FILENAME
+ readonly INSTALLER_DIR=/opt/tinypilot-updater
+ INSTALLER_DIR=/opt/tinypilot-updater
+ readonly TINYPILOT_VERSION_FILE=/opt/tinypilot/VERSION
+ TINYPILOT_VERSION_FILE=/opt/tinypilot/VERSION
+ CURRENT_VERSION=
+ [[ -f /opt/tinypilot/VERSION ]]
++ cat /opt/tinypilot/VERSION
+ CURRENT_VERSION=2.5.0
+ readonly CURRENT_VERSION
+ HAS_COMMUNITY_INSTALLED=0
+ readonly TINYPILOT_README_FILE=/opt/tinypilot/README.md
+ TINYPILOT_README_FILE=/opt/tinypilot/README.md
+ [[ -f /opt/tinypilot/README.md ]]
++ head -n 1 /opt/tinypilot/README.md
+ [[ # TinyPilot Pro == \#\ \T\i\n\y\P\i\l\o\t ]]
+ readonly HAS_COMMUNITY_INSTALLED
+ trap clean_up EXIT
+ [[ -z 2.5.3 ]]
+ readonly TARGET_VERSION
+ [[ 2.5.0 == \2\.\5\.\3 ]]
+ readonly TINYPILOT_LICENSE_KEY=UNSPECIFIED
+ TINYPILOT_LICENSE_KEY=UNSPECIFIED
++ tr --delete '\0'
+ DEVICE_SERIAL_NUMBER=10000000266d1534
+ readonly DEVICE_SERIAL_NUMBER
++ curl https://gk.tinypilotkvm.com/pro/download/2.5.3 --location --header 'TP-License: UNSPECIFIED' --header 'TP-Device-Serial-Number: 10000000266d1534' --output /var/tmp/tmp.ZtverDPS7u.tgz --write-out '%{http_code}' --silent
+ HTTP_CODE=200
+ readonly HTTP_CODE
+ [[ 200 != \2\0\0 ]]
+ sudo rm -rf /opt/tinypilot-updater
+ sudo mkdir -p /opt/tinypilot-updater
+ sudo tar --gunzip --extract --file /var/tmp/tmp.ZtverDPS7u.tgz --directory /opt/tinypilot-updater
+ sudo chown root:root --recursive /opt/tinypilot-updater
+ [[ 0 -eq 1 ]]
+ pushd /opt/tinypilot-updater
/opt/tinypilot-updater /opt/tinypilot
+ sudo ./install
+ . lib.sh
+ readonly TEMP_DIR=/var/tmp
+ TEMP_DIR=/var/tmp
++ mktemp --tmpdir=/var/tmp --suffix .yml
+ INSTALL_SETTINGS_FILE=/var/tmp/tmp.BEglucpH2N.yml
+ readonly INSTALL_SETTINGS_FILE
+ readonly TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
+ TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
+ readonly USTREAMER_SETTINGS_FILE=/home/ustreamer/config.yml
+ USTREAMER_SETTINGS_FILE=/home/ustreamer/config.yml
++ ls tinypilot_20230209212044_all.deb
+ TINYPILOT_DEBIAN_PACKAGE=tinypilot_20230209212044_all.deb
+ readonly TINYPILOT_DEBIAN_PACKAGE
+ trap clean_up EXIT
+ grep -q '^Model *: Raspberry Pi 3' /proc/cpuinfo
+ grep -q boot=overlay /proc/cmdline
+ [[ -f /home/tinypilot/settings.yml ]]
+ echo 'Using settings file at: /home/tinypilot/settings.yml'
Using settings file at: /home/tinypilot/settings.yml
+ cp /home/tinypilot/settings.yml /var/tmp/tmp.BEglucpH2N.yml
+ yaml_set_if_undefined /var/tmp/tmp.BEglucpH2N.yml ustreamer_port 8001
+ local file_path=/var/tmp/tmp.BEglucpH2N.yml
+ local key=ustreamer_port
+ local value=8001
+ grep --silent '^ustreamer_port:' /var/tmp/tmp.BEglucpH2N.yml
+ yaml_set_if_undefined /var/tmp/tmp.BEglucpH2N.yml ustreamer_persistent true
+ local file_path=/var/tmp/tmp.BEglucpH2N.yml
+ local key=ustreamer_persistent
+ local value=true
+ grep --silent '^ustreamer_persistent:' /var/tmp/tmp.BEglucpH2N.yml
+ USE_TC358743_DEFAULTS=false
+ grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.BEglucpH2N.yml
+ '[' -f /home/ustreamer/config.yml ']'
+ grep --silent 'capture_device: "tc358743"' /home/ustreamer/config.yml
+ USE_TC358743_DEFAULTS=true
+ true
+ echo 'Final install settings:'
Final install settings:
+ cat /var/tmp/tmp.BEglucpH2N.yml
tinypilot_repo_branch: 2.5.0
ustreamer_drop_same_frames: 30
ustreamer_encoder: omx
ustreamer_format: uyvy
ustreamer_persistent: true
ustreamer_port: 8001
ustreamer_quality: 50
ustreamer_use_dv_timings: true
ustreamer_workers: 3
+ apt-get update --allow-releaseinfo-change-suite
Get:1http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2https://pkgs.tailscale.com/stable/raspbian buster InRelease
Get:3http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:4https://pkgs.tailscale.com/stable/raspbian buster/main armhf Packages [7,664 B]
Get:5http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB]
Get:6http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:7http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [110 kB]
Fetched 13.6 MB in 14min 11s (16.0 kB/s)
Reading package lists...
+ apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv lsb-release
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
lsb-release is already the newest version (10.2019051400+rpi1).
lsb-release set to manually installed.
python3-dev is already the newest version (3.7.3-1).
python3-venv is already the newest version (3.7.3-1).
The following additional packages will be installed:
libssl1.1
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn libssl-doc
The following packages will be upgraded:
git libssl-dev libssl1.1
3 upgraded, 0 newly installed, 0 to remove and 138 not upgraded.
Need to get 7,043 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Get:1 https://ftp.lanet.kr/raspbian/raspbian buster/main armhf git armhf 1:2.20.1-2+deb10u8 [4,187 kB]
Get:2 https://ftp.lanet.kr/raspbian/raspbian buster/main armhf libssl-dev armhf 1.1.1n-0+deb10u4 [1,581 kB]
Get:3 https://ftp.lanet.kr/raspbian/raspbian buster/main armhf libssl1.1 armhf 1.1.1n-0+deb10u4 [1,275 kB]
BDB0196 Encrypted checksum: no encryption key specified
BDB0196 Encrypted checksum: no encryption key specified
BDB0196 Encrypted checksum: no encryption key specified
BDB0210 /var/lib/apt/listchanges.db: metadata page checksum error
apt-listchanges: Database /var/lib/apt/listchanges.db failed to load: [Errno 22] Invalid argument
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 7,043 kB in 3s (2,596 kB/s)
[614B blob data]
Preparing to unpack .../git_1%3a2.20.1-2+deb10u8_armhf.deb ...
Unpacking git (1:2.20.1-2+deb10u8) over (1:2.20.1-2+deb10u7) ...
- David @david2023-04-12 14:31:11.164Z
Hi @cchamchi, sorry that you're having problems updating to
2.5.3
.And thanks for sharing that update log. Unfortunately, it looks like the log is only a partial log from the update, so I can't see where exactly the update failed or what caused the failure.
In the past, 'exit status 100' has pointed towards filesystem corruption as the cause of failed updates.
If you're able to, could you try re-flashing your SD card?
- CDongwon LEE @cchamchi
OMG, My license was expired.. Should I purchase new license as a price of 79.99? every year for updating the new feature?
- David @david2023-04-13 11:12:08.023Z
You can purchase a new 1-year license from our website. The license gives you access to TinyPilot's latest features and bugfixes and priority support for 1 year.
As a small company, we rely on license renewals to help fund our software development, so thank you in advance if you choose to renew!
If you'd rather not renew, I can email you a link to the latest version of TinyPilot Pro that you qualify for. That way, we'll be able to get you back up and running with a re-flash.
Please let me know how you'd like to proceed.
- CDongwon LEE @cchamchi
Thank you for the awesome program. I will choose to renew the license. Thank you.
- David @david2023-04-14 11:00:52.418Z
Perfect, thanks for your support!
Please let me know if the re-flash fixes this for you.