Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
sadtaco opened this issue May 23, 2015 · 4 comments
Closed

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

sadtaco opened this issue May 23, 2015 · 4 comments
Assignees
Labels

Comments

@sadtaco
Copy link

sadtaco commented May 23, 2015

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)

@julianlam
Copy link
Member

@sadtaco Hm. Are you using mongo or redis?

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

@julianlam
Copy link
Member

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

@julianlam julianlam modified the milestone: 1.0.0 May 23, 2015
@julianlam julianlam added the bug label May 23, 2015
@sadtaco
Copy link
Author

sadtaco commented May 23, 2015

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.

@julianlam
Copy link
Member

Great, thanks for the update 😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants