I ran into trouble upgrading my dev forum from v0.9.4
to v1.0.0
. Specifically:
$ ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Updating NodeBB data store schema.
3/3 14:25 [4439] - info: Beginning database schema update
3/3 14:25 [4439] - info: [2015/09/30] Converting default Gravatar image to default User Avatar skipped
3/3 14:25 [4439] - info: [2015/11/06] Gravatar removal skipped
3/3 14:25 [4439] - info: [2015/12/15] Upgrading chats
3/3 14:25 [4439] - info: adding message 1 to new roomID 3
3/3 14:25 [4439] - info: adding message 2 to existing roomID 4
3/3 14:25 [4439] - info: adding message 3 to existing roomID 4
3/3 14:25 [4439] - info: adding message 4 to new roomID 4
3/3 14:25 [4439] - info: adding message 5 to new roomID 5
3/3 14:25 [4439] - error: [upgrade] Errors were encountered while updating the NodeBB schema: ERR value is not a valid float
OK
NodeBB Upgrade Complete!
This is:
$ git rev-parse --abrev-ref HEAD
--abrev-ref
0b35c81586d85bb916e9336daf52694f51b182c9
Which is odd because I think v1.0.0
is fb4f1e1315bed7b425756ad25a396c42b2ba3891
Node.js based forum software built for the modern web - 1.0.0 · NodeBB/NodeBB@fb4f1e1
GitHub (github.com)
I got here by doing these steps:
$ ./nodebb stop
Stopping NodeBB. Goodbye!
$ git rev-parse --abrev-ref HEAD --abrev-ref
fde31d51125e69056c8d90fb1dc56bc50a8e0437
$ git fetch
remote: Counting objects: 741, done.
remote: Compressing objects: 100% (740/740), done.
remote: Total 741 (delta 330), reused 1 (delta 0), pack-reused 0
Receiving objects: 100% (741/741), 549.67 KiB | 0 bytes/s, done.
Resolving deltas: 100% (330/330), done.
From https://github.com/NodeBB/NodeBB
44aae7d..3f28729 fix-vendors -> origin/fix-vendors
5f7cc00..3abe19f master -> origin/master
* [new branch] v1.x.x -> origin/v1.x.x
From https://github.com/NodeBB/NodeBB
* [new tag] v1.0.0 -> v1.0.0
$ git checkout v1.x.x
Branch v1.x.x set up to track remote branch v1.x.x from origin.
Switched to a new branch 'v1.x.x'
$ git merge origin/v1.x.x
Already up-to-date.
$ git rev-parse --abrev-ref HEAD
--abrev-ref
0b35c81586d85bb916e9336daf52694f51b182c9
Any helpful thoughts on what to check or do next?
Thank you.