Hi,
I updated a unifi AC mesh from 19.07 to 21.02rc4 like this:
sysupgrade -f /tmp/mybackup.tar.gz -n -p openwrt.image
Basically the update went well. After reboot, my config was still there and all the stuff with the interface updated also seem to have worked.
Yet opkg is broken now. When I run opkg update I get this:
root@unifiac:~# opkg update
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ath79/generic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ath79/generic/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/routing/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/telephony/Packages.gz
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ath79/generic/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/base/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/luci/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/routing/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0-rc4/packages/mips_24kc/telephony/Packages.gz, wget returned 5.
At first I thought it was a problem with my upstream interface only having IPv6 but that was not the case.
Then I tried to wget one of the URLs and I get presented a certificate error.
root@unifiac:~# wget https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ath79/generic/packages/Packages.gz
Downloading 'https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ath79/generic/packages/Packages.gz'
Connecting to 2a01:4f8:251:321::2:443
Connection error: Invalid SSL certificate
I ran opkg update --no-check-certificate and then it works.
I reinstalled ca-bundle, but doesn't change a thing.
Is it possible that somehow the CA cert for letsencrypt is missing or something?