Closed dyerc closed 9 years ago
I deleted failing migration (GenerateChecksumForThemeAssets) to see if the other ones would correctly work, which they did.
However after the upgrade all of my editable_text regions are gone. I have a backup from before the upgrade and when I compare the dumps exported as json (from before the upgrade and migration) to after, the dates have changed.
Before:
"created_at" : { "$date" : "2014-08-15T12:06:50.855+0100" }
After:
"created_at" : { "$date" : 1408100810855 }
Is this more of a MongoDB issue, which version is correct? Why the change?
All issues with running migrations and saving any of the account screens was related to running 2.5.6 with Ruby 2.2.0. Everything works perfectly with 2.1.5.
Yesterday I upgraded my version of the Locomotive gem to 2.5.6. I didn't rerun the migrations at the time, but everything worked perfectly. Today I setup a new site and attempted to add a new domain to that particular site. Every time this would generate a 500 error.
So I thought since I hadn't run the migrations (as the guide on the site states) that should be my next step.
After running
bundle exec rake db:mongoid:migration:install RAILS_ENV=production
Then
bundle exec rake db:mongoid:migrate RAILS_ENV=production
It fails with the following stack trace:
Any support you can offer would be greatly appreciated.