Hehe -- glad you figured it out 🙂
No clue why npm is sometimes serving old versions of our themes...
I have just tried to upgrade from the 0.3.x branch to the 0.4.x branch but I get database schema out of date errors
error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date.
error: [upgrade] Please ensure that you did not skip any minor version upgrades.
error: [upgrade] (e.g. v0.1.x directly to v0.3.x)
All i am doing is going from one branch to another which should be compatible, right?
I had a hard time upgrading from 0.3.2 to 0.4.0, but mine was a different error. Perhaps reading the posts on that will help you figure something out, before somebody provides a specific answer to your problem. See [Upgrade issues](https://community.nodebb.org/topic/1174/upgrade-issues#8443}.
I am on the correct branch, this is a database error.
Seems to be because I am on 0.3.1, how do I update to 0.3.2?
Seems like the v0.3.x branch is only at 0.3.1 and we need to be on 0.3.2 to upgrade?
@scuzz The latest commits from the
v0.3.x branch should get your database to a state where you can update to
v0.4.x. Can you switch back to
v0.3.x and run
node app --upgrade again?
same error now and switching back doesn't work
@julian I've switched branches, I've upgraded and downgraded and nothing works.
Did you manage to figure it out?
Yes: @scuzz I pushed a commit to the v0.3.x branch that should help. Downgrade to
v0.3.x, run the upgrade script, and it should then resolve the "unable to upgrade" error in
@julian Thanks for that update! We have everything working and all up to date!
What a relief