Upgrade from 19.07.4 to 19.07.5 fails after restoring archive

Device WRT3200ACM Rango
Current version OpenWrt 19.07.4 r11208-ce6496d796

  • When I update to 19.07.5 (openwrt-19.07.5-mvebu-cortexa9-linksys_wrt3200acm-squashfs-sysupgrade.bin) it fails after restoring the generated archive I made in version 19.07.4.

  • (I can’t reach the router and have to push the reset button to gain access again, so without the restored archive I do can get in)
    I tried the default ip addresses and the ones in my archive backup, so both dhcp and manual does not get me access.

  • But when I install version 19.07.4 again and restore the archive, it works flawlessly

I did try to make a list of installed packages with
/bin/opkg list-installed > /etc/config/my_installed_packages
so the same packages are installed.

Maybe I have to this before the archive restore instead of after? (just thinking out loud)

/bin/opkg list-installed > /etc/config/my_installed_packages

And make them work in the new build 19.07.5 with

opkg update && opkg list-installed | cut -f 1 -d ' ' | sort -u > /tmp/currentpkg && cat /etc/config/my_installed_packages | cut -f 1 -d ' ' | sort -u > /tmp/oldpkg && grep -v -F -x -f /tmp/currentpkg /tmp/oldpkg > /tmp/inst && opkg install $(cat /tmp/inst | sort -u) && rm /tmp/currentpkg /tmp/oldpkg /tmp/inst

Is it because my archive settings are trying to make a vpn connection and tries to start vpn-policy-routing?
So wil it help to try again, but after I edit the config files, so the are disabled after restore?

Because I cannot get into my router after upgrade and restoring my archive, I cannot figure out what is wrong.

My packages:

Summary
adblock - 4.0.7-3
banip - 0.3.11-1
base-files - 204.2-r11208-ce6496d796
busybox - 1.30.1-6
ca-bundle - 20200601-1
cgi-io - 19
collectd - 5.12.0-1
collectd-mod-cpu - 5.12.0-1
collectd-mod-dns - 5.12.0-1
collectd-mod-interface - 5.12.0-1
collectd-mod-iwinfo - 5.12.0-1
collectd-mod-load - 5.12.0-1
collectd-mod-memory - 5.12.0-1
collectd-mod-network - 5.12.0-1
collectd-mod-ping - 5.12.0-1
collectd-mod-rrdtool - 5.12.0-1
collectd-mod-sensors - 5.12.0-1
collectd-mod-thermal - 5.12.0-1
coreutils - 8.30-2
coreutils-sort - 8.30-2
dnsmasq-full - 2.80-16.1
dropbear - 2019.78-2
firewall - 2019-11-22-8174814a-3
fstools - 2020-05-12-84269037-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-4
ip-full - 5.0.0-2.1
ip6tables - 1.8.3-1
ipset - 7.3-1
iptables - 1.8.3-1
iptables-mod-conntrack-extra - 1.8.3-1
iptables-mod-ipopt - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-05-25-66195aee-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.195-1-a92a3f5c5bed2671533484c7ace9d5b5
kmod-bluetooth - 4.14.195-1
kmod-btmrvl - 4.14.195-1
kmod-cfg80211 - 4.14.195+4.19.137-1-2
kmod-crypto-aead - 4.14.195-1
kmod-crypto-cmac - 4.14.195-1
kmod-crypto-ecb - 4.14.195-1
kmod-crypto-ecdh - 4.14.195-1
kmod-crypto-hash - 4.14.195-1
kmod-crypto-kpp - 4.14.195-1
kmod-crypto-manager - 4.14.195-1
kmod-crypto-null - 4.14.195-1
kmod-crypto-pcompress - 4.14.195-1
kmod-gpio-button-hotplug - 4.14.195-3
kmod-hid - 4.14.195-1
kmod-ifb - 4.14.195-1
kmod-input-core - 4.14.195-1
kmod-input-evdev - 4.14.195-1
kmod-ip6tables - 4.14.195-1
kmod-ipt-conntrack - 4.14.195-1
kmod-ipt-conntrack-extra - 4.14.195-1
kmod-ipt-core - 4.14.195-1
kmod-ipt-ipopt - 4.14.195-1
kmod-ipt-ipset - 4.14.195-1
kmod-ipt-nat - 4.14.195-1
kmod-ipt-offload - 4.14.195-1
kmod-ipt-raw - 4.14.195-1
kmod-lib-crc-ccitt - 4.14.195-1
kmod-lib-crc16 - 4.14.195-1
kmod-mac80211 - 4.14.195+4.19.137-1-2
kmod-mmc - 4.14.195-1
kmod-mwifiex-sdio - 4.14.195+4.19.137-1-2
kmod-mwlwifi - 4.14.195+2019-03-02-31d93860-1
kmod-nf-conntrack - 4.14.195-1
kmod-nf-conntrack-netlink - 4.14.195-1
kmod-nf-conntrack6 - 4.14.195-1
kmod-nf-flow - 4.14.195-1
kmod-nf-ipt - 4.14.195-1
kmod-nf-ipt6 - 4.14.195-1
kmod-nf-nat - 4.14.195-1
kmod-nf-reject - 4.14.195-1
kmod-nf-reject6 - 4.14.195-1
kmod-nfnetlink - 4.14.195-1
kmod-nls-base - 4.14.195-1
kmod-ppp - 4.14.195-1
kmod-pppoe - 4.14.195-1
kmod-pppox - 4.14.195-1
kmod-regmap-core - 4.14.195-1
kmod-sched-cake - 4.14.195+2019-03-12-057c7388-1
kmod-sched-core - 4.14.195-1
kmod-slhc - 4.14.195-1
kmod-tun - 4.14.195-1
kmod-usb-core - 4.14.195-1
libblobmsg-json - 2020-05-25-66195aee-1
libc - 1.1.24-2
libcap - 2.27-1
libelf1 - 0.177-1
libgcc1 - 7.5.0-2
libgmp10 - 6.1.2-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libipset13 - 7.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3.1
libjson-script - 2020-05-25-66195aee-1
libltdl7 - 2.4.6-2
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-2
libmbedtls12 - 2.16.8-1
libmnl0 - 1.0.4-2
libncurses6 - 6.1-5
libnetfilter-conntrack3 - 2018-05-01-3ccae9f5-2
libnettle7 - 3.5.1-1
libnfnetlink0 - 1.0.1-3
libnl-tiny - 0.1-5
libopenssl1.1 - 1.1.1h-1
liboping - 1.10.0-2
libpcap1 - 1.9.1-2.1
libpthread - 1.1.24-2
librrd1 - 1.0.50-3
libsensors5 - 3.5.0-4
libsysfs2 - 2.1.0-3
libubox20191228 - 2020-05-25-66195aee-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-4
libuclient20160123 - 2020-06-17-51e16ebf-1
libustream-mbedtls20150806 - 2020-03-13-40b563b1-1
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.341.57626-51f55b5-1
luci-app-adblock - git-20.341.57626-51f55b5-1
luci-app-banip - git-20.341.57626-51f55b5-1
luci-app-firewall - git-20.341.57626-51f55b5-1
luci-app-openvpn - git-20.341.57626-51f55b5-1
luci-app-opkg - git-20.341.57626-51f55b5-1
luci-app-sqm - 1.4.0-2
luci-app-statistics - git-20.341.57626-51f55b5-1
luci-app-vpn-policy-routing - git-20.341.57626-51f55b5-74
luci-base - git-20.341.57626-51f55b5-1
luci-compat - git-20.341.57626-51f55b5-1
luci-lib-ip - git-20.341.57626-51f55b5-1
luci-lib-iptparser - git-20.341.57626-51f55b5-1
luci-lib-jsonc - git-20.341.57626-51f55b5-1
luci-lib-nixio - git-20.341.57626-51f55b5-1
luci-mod-admin-full - git-20.341.57626-51f55b5-1
luci-mod-network - git-20.341.57626-51f55b5-1
luci-mod-status - git-20.341.57626-51f55b5-1
luci-mod-system - git-20.341.57626-51f55b5-1
luci-proto-ipv6 - git-20.341.57626-51f55b5-1
luci-proto-ppp - git-20.341.57626-51f55b5-1
luci-ssl - git-20.341.57626-51f55b5-1
luci-theme-bootstrap - git-20.341.57626-51f55b5-1
mtd - 24
mwifiex-sdio-firmware - 20190416-1
mwlwifi-firmware-88w8964 - 2019-03-02-31d93860-1
nano - 5.4-1
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2020-05-03-49e4949c-3
openssh-sftp-server - 8.0p1-1
openvpn-openssl - 2.4.7-2
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
ppp - 2.4.7.git-2019-05-25-3
ppp-mod-pppoe - 2.4.7.git-2019-05-25-3
procd - 2020-03-07-09b9bd82-1
px5g-mbedtls - 9
resolveip - 2
rpcd - 2020-05-26-67c8a3fd-1
rpcd-mod-file - 2020-05-26-67c8a3fd-1
rpcd-mod-iwinfo - 2020-05-26-67c8a3fd-1
rpcd-mod-luci - 20201107
rpcd-mod-rrdns - 20170710
rrdtool1 - 1.0.50-3
sqm-scripts - 1.4.0-2
swconfig - 12
sysfsutils - 2.1.0-3
tc - 5.0.0-2.1
tcpdump-mini - 4.9.3-2
terminfo - 6.1-5
ubi-utils - 2.1.1-1
uboot-envtools - 2018.03-3
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-4
uclient-fetch - 2020-06-17-51e16ebf-1
uhttpd - 2020-10-01-3abcc891-1
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
vpn-policy-routing - 0.2.1-13
wireless-regdb - 2019.06.03-1
wpad-basic - 2019-08-08-ca8c2bd2-4
zlib - 1.2.11-3

If you can access the router by SSH (putty) when the web-gui is not reachable (error on main).
Please check the location of file ubus.sock.

I've seen that snapshot versions use a additional ubus directory in the /etc/config/rpcd file.
Adjust this last file to correspond the 'real' location of ubus.sock.

Also find here: http://dolfgeerdink.nl/phpbb/viewtopic.php?p=291#p291

DG.

1 Like

router is not accessable at all, even by ssh. it's not a luci problem I think, I use mainly cli.

Could be due to default ip 192.168.1.1 (instead of what's in your config).
When i downgrade (with KEEP settings) it won't held the ip address.

Already tried that offcourse :wink: I think it is a bit more complex than that. (I compiled my own version as a test, but is giving the same result)

But without my packages it is working, so it is something with packages or settings in these packages.

Did a complete new firmware install. That did the trick for now.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.