Recipe Version upgrade not working (4.0.2+v2.25.4 to 5.0.0+v3.0.0) #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to upgrade my instance but ran into a strange behaviour: The two organizations I had before were not displayed anymore, but some discussions/decisions showed up on my dashboard. Same for the admin user.
Anyone else ran into this? Not sure if this is a recipe problem or a loomio problem.
I'm also running into the same issue. When i upgrade from 4.0.2+v2.25.4 to 5.0.0+v3.0.0, my loomio dashboard is completely empty. I do see some notifications when i click on the bell icon but when I try to click on them I get a server error.
Adding some more of my findings here:
I created a test loomio instance and deployed it with version 4.0.2+v2.25.4, populated some test data in it, then upgraded to 5.0.0+v3.0.0. The group that was created in version 4.0.2+v2.25.4 disappeared after the version upgrade and when I tried creating a new group after the upgrade it also failed (attached the logs starting from when i hit "create group"). Based on the logs it does appear to be a database schema issue.
I was able to resolve this issue for my test loomio instance by running a database migration with rake db:migrate command. After the migration I was able to see the group created when 4.0.2+v2.25.4 was deployed in the 5.0.0 version.
Adding the detailed steps I took to run the migration since there were a few missing pieces (it's probably smart to backup the db before doing this but i did not since I was just using a test instance):
rake db:migrate, which resulted in an errordb:migratecommand but run into another credential issueNote: I believe an alternative method could be to create a new recipe secret 'secret_key_base' and use abra to insert it (any input or confirmation on this would be appreciated)