[SOLVED] Issues upgrading 7.0.3 -> 7.1

Hey all,

I ran into some issues upgrading from 7.0.3 to 7.1. Specifically I was getting this error message:

pdater execution failed:


Stack Traceback

===============

(1) Lua function '?' at line 57 of chunk '"logging"]'

	Local variables:

	 err = string: "[string \"transaction\"]:334: [string \"transaction\"]:142: Collisions:\

The full error code was the same as in this post but I was unable to resolve it after reading through that thread. What I had to do to fix it was update my factory image, and then do a factory reset. I had to do it through SSH, I didn’t see an option to do this through the web UI. Note that I lost all configuration settings doing this:

schnapps update-factory
schnapps rollback factory && reboot

Took me a while to figure this out. Before doing that, I had tried going to multiple different snapshots but nothing worked. I found a thread that mentioned that the issue was because of banip. Funnily enough I had installed that ages ago but I couldn’t find it in the installed packages and it was also gone from the LuCi services list. I even went to an old snapshot that had it, removed it and tried to update with no success.

I hope this helps those that run into the same issue.

1 Like

Thanks for sharing.

Updating from very old images is prone to fail - TurrisOS only officially supports updates to the immediately following versions.

My theory is that banip installed some dependencies that were left there and caused the problem.

So what IS the way to fix this? Since I have this error when updating. How to find those banip dependencies or what is the proper way to update after a rollback to factory?

Update factory image, rollback to factory.

See the original post for the required commands.

Hi,
you don’t have to Reset your Router!
in “/usr/lib/opkg/status” remove the entry banip where the "Depends: " has the logd entry!
And in the /etc/updater/conf.d/opkg-auto.lua you must remove the "Install(“banip”) entry.

Then the updater the router!

2 Likes