Trying my best to update to Ghost 3.0 but I get the following error message. I can’t quite parse it — or what I should do.
Message: Cannot read property ‘type’ of undefined
Help: Error occurred while executing the following migration: 1-add-post-page-column.js
Suggestion: journalctl -u ghost_example-com -n 50
Running jounalctl only serves a second set of error messages:
ghost_example-com.service: Main process exited, code=exited, statu
ghost_example-com.service: Unit entered failed state.
systemd[1]: ghost_example-com.service: Failed with result ‘exit-code’.
Everything else is up-to-date on the install. Weird. Any and all thoughts are hugely appreciated as I’m far past any of my own brainy ideas.
Hey @gmansf - can you post the rest of the debug output?
As in, what Ghost-CLI version you’re using, what OS you’re on, and what Ghost version you were upgrading from? That will help with trying to reproduce the issue
Hi yall! Was able to reproduce this bug locally. The sad news it’s a legit bug. A bit better news there’s a workaround if you haven’t run the migration yet - update to the latest 2.x.x version first (atm it’s 2.37.0) and then update to 3.0.0. I realize people reading this would probably be looking for a solution to existing problem, but still heads up if you haven’t pressed the update button yet.
A proper bug fix is in progress will update once there’s more details
Hey @gmansf This only affects people who are migrating from 2 specific versions of Ghost 2.28.0 and 2.28.1, unfortunately :/ Have prepared a fix for this migration here:
Would appreciate if you could give it a spin locally if possible. The fix should be out with the next release.