Hey all, thank you for all the work!
Yesterday I returned from vacation and I upgraded some of my devices from 23.05.4 to 23.05.5 - at least I tried. First, I successfully upgraded my two main road warriors (GL-AR750s). As this went smoothly and fine, I smiled and got some good mood. I decided to upgrade two other devices (GL-AR150) and run into some trouble.
I alway flash the plain sysupgrade binary without any customization from ASU, keep settings and use /etc/rc.local for reinstallation of all packages I need. So for, the flashing worked. What did not work was the reinstallation of additional packages. I tried to debug this, but I not sure if I found the error. It turned out, both devices got a network address. Both failed to do opkg update
.
System log for opkg update
Mon Sep 23 14:41:20 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/targets/ath79/generic/packages/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/targets/ath79/generic/packages/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/base/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/base/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/luci/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/luci/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/packages/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/packages/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/routing/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/routing/Packages.gzCollected errors:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/targets/ath79/generic/packages/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/base/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/luci/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/packages/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/routing/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/telephony/Packages.gz, wget returned 5.
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done:
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/telephony/Packages.gz
Mon Sep 23 14:41:23 2024 daemon.notice procd: /etc/rc.d/S95done: *** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.5/packages/mips_24kc/telephony/Packages.gz
According to the system log ( opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.5/targets/ath79/generic/packages/Packages.gz, wget returned 5.
), I tried to figure out what that means. If I read the source of uclient-fetch correctly, error code 5 means some problems with https certificates. That matches the fact, I was not able to do opkg update
via luci in the software tab. The same error occured.
In contrast I was able to ssh to both devices and run
/bin/sh -x /etc/rc.local
to debug even more. This run through without any error. HOW? WHY? opkg update
runs clean, all additional software got installed, now both devices are working fine. Even a reflashing did not cause any error. Did I do a certificate update by accident? Why does a re-flash run clean now?
I am afraid to upgrade my main devices now (3x GL-AR300m and 1x GL-MT300n-v2), I would like to avoid this scenario. Does anyone see a failure?
EDIT:
Only one device is ok with re-flashing. The oher one has the same problems again.