Upgraded my openWRT install that I run syncthing on and I’m now met with this error. I don’t believe that the version of syncthing was changed/upgraded at all during this process…
[I4HAF] 22:29:42 WARNING: Database schema: failed migrating to version 3: proto: wrong wireType = 2 for field Invalid
[monitor] 22:29:42 INFO: Syncthing exited: exit status 1
[monitor] 22:29:43 WARNING: 4 restarts in 12.817645676s; not retrying further
Not much info to go on here, but the version three schema it’s trying to upgrade to was introduced by v0.14.48 back in summer 2018. Either you were previously running a seriously ancient version, or something else is toast.
I think that it would be useful if you could provide more information on the previous version that had been used on the device (i.e. prior to trying to upgrade to v1.9.0, which itself is not the newest).
It would have been the same syncthing version – but I did a upgrade to the firmware of the device. I did move from a 32bit architecture to a 64bit – could that have changed anything?
The only version of syncthing I see in the opkg sources is 1.9.0-2 but I will post over on the OpenWRT forums to find out if there is a current maintainer that can upgrade it.
I don’t know what might have happened, but on the assumption that you’re not actually upgrading from an ancient version then I think your database is toast. Delete it and it should get somewhat up and running.