we just released a small fixup release. It contains the following changes:
Updates
• knot-resolver: Update to 5.7.4 and 6.0.8 - security updates
Bug Fixes
• tvheadend: Fix init script and websockets
We don’t expect any issues given the size of the update, but if you encounter some, please let us know! This release was released using staged updates as a fixup, so you might get it with slight delay depending on your luck up to three days after the initial release.
This actually seems to have failed on my router. The device restarted a few times after the update and finally settled with an long notification:
update execution failed
Updater execution failed:
INFO:Detected existing journal. Trying to recover it.
INFO:Removing packages and leftover files
INFO:Running post-install and post-rm scripts
INFO:Running postinst of knot-resolver
Called /etc/init.d/kresd stop
remove dhcp script
job 6 at Wed Aug 7 15:36:00 2024
Called /etc/init.d/kresd start
remove dhcp script
resolver.kresd.hostname_config was already converted to list
+ '[' -z ]
+ /etc/init.d/dnsmasq restart
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: no lease, failing
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: no lease, failing
+ sleep 2
+ uci -q get resolver.kresd.static_domains
+ stat_dom=
+ '[' '!' -z ]
+ /etc/init.d/resolver restart
+ uci show resolver.kresd.hostname_config
uci: Entry not found
+ hostnames=
+ echo
+ + wc -c
tr -cd ''"'"
+ item_count=0
+ '[' 0 -gt 2 ]
+ '[' 0 '==' 0 ]
+ echo 'resolver.kresd.hostname_config was already converted to list'
+ uci -q get resolver.common.prefered_resolver
+ '[' kresd '=' kresd ]
+ uci -q get resolver.common.forward_upstream
+ egrep -q '(1|yes|true|enabled|on)'
+ ping -c 1 repo.turris.cz
INFO:Running postinst of kernel
INFO:Running postinst of kmod-nls-base
INFO:Running postinst of kmod-usb-core
INFO:Running postinst of kmod-usb-serial
INFO:Running postinst of kmod-usb-serial-wwan
INFO:Running postinst of kmod-usb-serial-qualcomm
INFO:Running postinst of kmod-ikconfig
INFO:Running postinst of hostapd-common
INFO:Running postinst of kmod-crypto-hash
INFO:Running postinst of kmod-crypto-null
INFO:Running postinst of kmod-crypto-gf128
INFO:Running postinst of kmod-crypto-ghash
INFO:Running postinst of kmod-crypto-sha256
INFO:Running postinst of kmod-crypto-aead
INFO:Running postinst of kmod-crypto-manager
INFO:Running postinst of kmod-crypto-hmac
INFO:Running postinst of kmod-crypto-rng
INFO:Running postinst of kmod-crypto-seqiv
INFO:Running postinst of kmod-crypto-ctr
INFO:Running postinst of kmod-crypto-gcm
INFO:Running postinst of kmod-crypto-ccm
INFO:Running postinst of kmod-crypto-cmac
INFO:Running postinst of wireless-regdb
INFO:Running postinst of kmod-cfg80211
INFO:Running postinst of kmod-mac80211
INFO:Running postinst of kmod-ath
INFO:Running postinst of kmod-ath9k-common
INFO:Running postinst of kmod-ath9k
INFO:Running postinst of kmod-i2c-core
INFO:Running postinst of kmod-regmap-core
INFO:Running postinst of kmod-regmap-i2c
INFO:Running postinst of kmod-gpio-pca953x
INFO:Running postinst of kmod-eeprom-at24
INFO:Running postinst of kmod-i2c-mux
INFO:Running postinst of kmod-i2c-mux-pca954x
INFO:Running postinst of liblua
INFO:Running postinst of lua
INFO:Running postinst of kmod-ath10k
INFO:Running postinst of kmod-nf-conntrack
INFO:Running postinst of kmod-nf-flow
INFO:Running postinst of kmod-nf-log
INFO:Running postinst of kmod-nf-ipt
INFO:Running postinst of kmod-nf-reject
INFO:Running postinst of kmod-ipt-core
INFO:Running postinst of kmod-ipt-offload
INFO:Running postinst of kmod-usb-ehci
INFO:Running postinst of kmod-usb2
INFO:Running postinst of kmod-scsi-core
INFO:Running postinst of kmod-usb-storage
INFO:Running postinst of kmod-hwmon-core
INFO:Running postinst of kmod-thermal
INFO:Running postinst of kmod-mt76-core
INFO:Running postinst of kmod-mt76-connac
INFO:Running postinst of kmod-mt7615-common
INFO:Running postinst of kmod-mt7915e
INFO:Running postinst of kmod-br-netfilter
INFO:Running postinst of kmod-nf-nat
INFO:Running postinst of kmod-nf-nathelper
INFO:Running postinst of kmod-usb-storage-uas
INFO:Running postinst of kmod-ledtrig-gpio
INFO:Running postinst of kmod-turris-omnia-mcu
INFO:Running postinst of kmod-leds-turris-omnia
INFO:Running postinst of kmod-nf-log6
INFO:Running postinst of kmod-nf-ipt6
INFO:Running postinst of kmod-nf-reject6
INFO:Running postinst of kmod-ip6tables
INFO:Running postinst of kmod-ipt-nat
INFO:Running postinst of kmod-nf-conntrack6
INFO:Running postinst of kmod-ipt-conntrack
INFO:Running postinst of kmod-crypto-acompress
INFO:Running postinst of kmod-lib-zstd
INFO:Running postinst of kmod-lib-xor
INFO:Running postinst of kmod-lib-raid6
INFO:Running postinst of kmod-lib-zlib-deflate
INFO:Running postinst of kmod-lib-zlib-inflate
INFO:Running postinst of kmod-lib-lzo
INFO:Running postinst of kmod-crypto-crc32c
INFO:Running postinst of kmod-lib-crc32c
INFO:Running postinst of kmod-fs-btrfs
INFO:Running postinst of base-files
+ uci set 'updater.turris=turris'
+ uci set 'updater.turris.mode=branch'
+ uci set 'updater.turris.branch=hbs'
+ sed -i 's|https://repo\.turris\.cz/.*/\([^/]*\)/packages/|https://repo\.turris\.cz/hbs/\1/packages/|' /etc/opkg/distfeeds.conf
+ uci commit updater.turris
+ set +x
INFO:Running postinst of kmod-ledtrig-oneshot
INFO:Running postinst of kmod-ledtrig-transient
INFO:Running postinst of omnia-generic-support
INFO:Running postinst of kmod-usb-storage-extras
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
setting up led wan
setting up led pci1
setting up led pci2
setting up led pci3
INFO:Running postinst of kmod-ipt-raw6
INFO:Running postinst of kmod-nf-nat6
INFO:Running postinst of kmod-ipt-nat6
INFO:Running postinst of kmod-iptunnel6
INFO:Running postinst of kmod-ip6-tunnel
INFO:Running postinst of luci-base
INFO:Running postinst of ddns-scripts-services
INFO:Running postinst of ddns-scripts
INFO:Running postinst of luci-mod-network
INFO:Running postinst of luci-mod-status
INFO:Running postinst of kmod-nfnetlink
INFO:Running postinst of kmod-ipt-ipset
INFO:Running postinst of luci-theme-bootstrap
INFO:Running postinst of wpad-openssl
INFO:Running postinst of kmod-nls-utf8
INFO:Running postinst of kmod-ata-core
INFO:Running postinst of kmod-ata-ahci
INFO:Running postinst of kmod-ipt-ipopt
INFO:Running postinst of kmod-ifb
INFO:Running postinst of kmod-sched-core
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
'radio0' is disabled
'radio1' is disabled
INFO:Running postinst of kmod-sched-cake
INFO:Running postinst of kmod-lib-crc-ccitt
INFO:Running postinst of kmod-slhc
INFO:Running postinst of kmod-ppp
INFO:Running postinst of kmod-netlink-diag
INFO:Running postinst of kmod-pppox
INFO:Running postinst of kmod-pppoe
INFO:Running postinst of kmod-iptunnel4
INFO:Running postinst of kmod-iptunnel
INFO:Running postinst of kmod-sit
INFO:Running postinst of kmod-nf-conntrack-netlink
INFO:Running postinst of kmod-nfnetlink-log
INFO:Running postinst of kmod-ipt-nflog
INFO:Running postinst of kmod-ebtables
INFO:Running postinst of kmod-udptunnel6
INFO:Running postinst of kmod-udptunnel4
INFO:Running postinst of kmod-crypto-kpp
INFO:Running postinst of kmod-crypto-lib-curve25519
INFO:Running postinst of kmod-crypto-lib-poly1305
INFO:Running postinst of kmod-crypto-lib-chacha20
INFO:Running postinst of kmod-crypto-lib-chacha20poly1305
INFO:Running postinst of kmod-wireguard
INFO:Running postinst of kmod-crypto-md5
INFO:Running postinst of turris-version
INFO:Running postinst of luci-i18n-base-en
/usr/lib/opkg/info//luci-i18n-base-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-base-en': No such file or directory
INFO:Running postinst of luci-i18n-bcp38-en
/usr/lib/opkg/info//luci-i18n-bcp38-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-bcp38-en': No such file or directory
INFO:Running postinst of luci-i18n-ahcp-en
/usr/lib/opkg/info//luci-i18n-ahcp-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-ahcp-en': No such file or directory
INFO:Running postinst of luci-i18n-commands-en
/usr/lib/opkg/info//luci-i18n-commands-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-commands-en': No such file or directory
INFO:Running postinst of luci-i18n-opkg-en
/usr/lib/opkg/info//luci-i18n-opkg-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-opkg-en': No such file or directory
INFO:Running postinst of luci-i18n-ddns-en
/usr/lib/opkg/info//luci-i18n-ddns-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-ddns-en': No such file or directory
INFO:Running postinst of luci-i18n-firewall-en
/usr/lib/opkg/info//luci-i18n-firewall-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-firewall-en': No such file or directory
INFO:Running postinst of luci-i18n-statistics-en
/usr/lib/opkg/info//luci-i18n-statistics-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-statistics-en': No such file or directory
INFO:Running postinst of luci-i18n-upnp-en
/usr/lib/opkg/info//luci-i18n-upnp-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-upnp-en': No such file or directory
INFO:Running postinst of luci-i18n-sqm-en
/usr/lib/opkg/info//luci-i18n-sqm-en.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-sqm-en': No such file or directory
INFO:Cleaning up control files
ERROR:
runtime: [string "requests"]:451: [string "utils"]:443: Unable to finish URI (https://repo.turris.cz/hbs/omnia/lists/pkglists/datacollect.lua): Download failed: Failed to connect to repo.turris.cz port 443 after 3 ms: Error
line not found
line not found
line not found
So I’m not sure if it updated or not. At least it’s not restarting anymore in the middle of a work day lol
Btw, how to stop those awesome updates and reboots during a day?
I have set (/reforis/package-management/update-settings) that automaticly install updates but restarts to be made at 5:30 (AM).
No matter if autoupdates or delay updates are there, the turris always reboots during the worst moment (meeting, multiplayers game, ssh seasson, …) gosh
Aug 7 16:15:45 xsoft-turris updater-supervisor: Running pkgupdate
Aug 7 16:15:49 xsoft-turris updater[8930]: repository.lua.lua:47 (Globals): Target Turris OS: 7.0.2
...
Omnia - I can’t get to reForis, Luci, SSH. No ping to router. No internet access from LAN. I restarted router couple of times. No luck. Previous snapshot situation doesn’t solved. Only helps factory reset, flash to 7.0.2 through USB, sets params…
I had the same issue. Turris rebooted during online meetings etc…
So I have enabled the “Update approval needed” feature of “Package Management - Update settings” of reForis user interface.
Now I receive a mail notification that an update is available and I can act accordingly. When convenient, I log to reForis and approve the update in the “Updates” section of “Package Management”.
Not as smooth as automatic update at 3:00, but works for me.
Was at my lab when I lost VPN to Omnia at home. It didn’t come back. No access to LAN, very inconvenient. At home, Turris said reboot needed. Rebooted twice, no joy, WAN didn’t come up. Deleted ancient snapshots, just in case I was running out of space. Switched back to update approval. Rolled back to 7.0.1.
Update was auto-installed 7.0.2 again (the snapshot had the old config I guess). Manual reboot. Now it works.
I would like to ask you what was/is your previous version of TOS? (7.0.1, 7.0.0?), seems as unfinished update process.
Previous version was 7.0.1
Try to run: “pkgupdate --reinstall-all”
I ran this and the device rebooted a lot of times from/during postinst hooks (I was watching with logread -f), but there’s no error message this time and AFAICT everything is fine. Thanks!
The device should definitely not restart without warning though.
I saw new installed version 7.0.2 on my Turris 1.x, only needed action was reboot. After reboot all inside networks(VLANs-wired/wireless) lost connectivity to outside. Another reboot didn’t helped. Reforis overview for IP connectivity and IP getaway connectivity were OK. I noticed missing pkg/sw firewall, so I ran “pkgupdate --reinstall-all” and then all returned to normal.
I noticed the same. And its just different hash but the exact same version number. I skipped update for now on my main Omnia as I have to recompile kernel with one patch to have constant connectivity but good I noticed update mail and didnt allow the update. On the other Omnia acting as a AP I let it go and all seems ok.
We did not change anything related to the kernel, but some changes were made in OpenWrt. So this is most likely related to this. It is still considered a small fixup release for us, as we only changed a few things.
7.0.2 RC1 → 7.0.2 update okay (even kresd6 works again). No noticeable cable/wifi/internet interruption. Restart was needed.
Turris Omnia 2017, 1 GB RAM, dead eMMC, system running from mSATA SSD, original wifi cards, UBoot 2022.10. Storage plugin enabled, LXC containers, tor relay, USB HDD shared over samba4 and minidlna, Syncthing, SQM, Hardwario gateway + MQTT IoT bridge, OpenVPN, PPtP VPN, Strongswan IKEv2 VPN, morce, kresd6.