Closed WerFra closed 3 days ago
To get vwsfriend running again, I manually set my DB version to the target version.
This is really odd. Did you make any changes to the database before?
I haven't previously done any changes to the database. I created the system in the beginning of August with 0.24.5. Looks like the the enum value already existed in weconnect-cli at that time. I never used SQL alchemy, so I don't know how it determines what it does during DB creation, but maybe it already added that value then. Looking through the migrations, I didn't see any added for a long time, may be it was missing for earlier versions?
Ah, yes! The enum was autocreated for you. I need to add a check that it is only added when missing. I did not come up with that corner case before.
Same here also without any changes in the db.
I hope I got this fixed with 0.24.7 that should be online soon
After resetting my database version to the old one and upgrading, I can confirm that 0.24.7 fixes this issue.
Great! Thanks for checking!
After updating to 0.24.6 vwsfriend no longer starts.