NodeBB icon indicating copy to clipboard operation
NodeBB copied to clipboard

Schema out up date, upgrading from v0.6.x to v0.7.x

Open sadtaco opened this issue 11 years ago • 4 comments

I just installed the latest nodebb 3 days ago and saw the 0.7 update.

I tried git checkout v0.6.x node app --upgrade git checkout master ./nodebb upgrade

But I still get 23/5 23:20 [16769] - error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date. 23/5 23:20 [16769] - error: [upgrade] Please ensure that you did not skip any minor version upgrades. 23/5 23:20 [16769] - error: [upgrade](e.g. v0.1.x directly to v0.3.x)

sadtaco avatar May 23 '15 23:05 sadtaco

@sadtaco Hm. Are you using mongo or redis?

If redis, can you report the schemaDate value? From redis-cli: get schemaDate

julianlam avatar May 23 '15 23:05 julianlam

Nevermind, we fixed it. Can you please pull the latest commit from v0.7.x again?

julianlam avatar May 23 '15 23:05 julianlam

I was using redis.

And yes either you fixed it, or me using "./nodebb upgrade" after "git checkout v0.6.x" instead of just "node app --upgrade" fixed it. Works now!

Great work on this software, btw. It's already great and has tons more potential.

sadtaco avatar May 23 '15 23:05 sadtaco

Great, thanks for the update :smile:

julianlam avatar May 24 '15 01:05 julianlam