Cannot update Turris 1.1 after factory reset to 3.8.5 – updater.sh fails

Hi, I have Turris 1.1 and due to a misconfiguration I had to factory reset it (well maybe I could’ve fixed it via serial port but what’s done is done).

The initial setup fails at the auto-update step but at least I have internet access. WAN works and LAN as well, Wi-Fi can’t be enabled at all.

Now I’m stuck on broken 3.8.5 without SSH. I can access the serial console but the updater.sh fails:

ERROR:Index turris/https://api.turris.cz/openwrt-repo/turris/packages/sidn/Packages.gz is broken (missing): Signature validation failed

I tried to update the repository by editing /etc/updater/user.lua but to no awail, I get SSL errors now:

unreachable: https://repo.turris.cz/archive/turris/3.8.5/packages/turrispackages/Packages.gz: SSL certificate problem: unable to get local issuer certificate

I’m not sure if I can fix the SSL issue some how because I’m unable to install anything (like newer ca-certs) at this point.

So what would be the best approach to fix this? Thanks

Im not sure about Turris, but if it works similar to Omnia, you will need to flash latest image, since v.3 is too old and upgrade path not supported any longer.
Omnia - Turris Documentation - 4 LEDs: Re-flash router from flash drive.
Also try search this forum for Turris related path.

Progress!

I’ve figured out how to download and install the latest updater-ng and ca-certificates from the latest 3.x. This post helped me to understand how to install packages in the factory state using the opkg-trans command: Návod: Jak na Turrisu 1.x správně provést aktualizaci NOR a přechod na btrfs

So basically I downloaded the ca-certificates from here: Index of /turris/packages/base/ and the updater-ng from here: Index of /turris/packages/turrispackages/. I had to use curl -k, obviously, since the wget form the factory install doesn’t talk to that domain at all.

I used the steps in the above mentioned post to install the new updater and the certs and then ran pkgupdate --batch which managed to download the updates.

So now I’m back on 3.11.23!

I already got a microSD card so I’ll try to upgrade to a newer version of Turris OS.

I’ve read through the recovery options of the other models and afaik the old Turris 1.x works differently in that regard. You can reflash the recovery system but the latest seems to be 3.8.5 - at least the sdcard.img file is the same in both that and the latest 3.11 version.

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