Solution for me was - click "Mark unread" button inside topic - and then in /unread after clicking on issue topic everything was great) but I can not understand how it can be and why it was happened(
v1.0.1: Upgrade fails during 'adding message to chat room'
rod last edited by
I had this problem going from
v0.9.4 -> v1.0.0and now still have it going from
v0.9.4 -> v1.0.1but now I have additional information about it. See here for my original post.
The tl;dr is
$ ./nodebb upgrade 1. Bringing base dependencies up to date... OK 2. Checking installed plugins for updates... OK 3. Updating NodeBB data store schema... 18/3 15:15  - info: Beginning database schema update 18/3 15:15  - info: [2015/09/30] Converting default Gravatar image to default User Avatar skipped 18/3 15:15  - info: [2015/11/06] Gravatar removal skipped 18/3 15:15  - info: [2015/12/15] Upgrading chats 18/3 15:15  - info: adding message 1 to new roomID 1 18/3 15:15  - info: adding message 2 to existing roomID 2 18/3 15:15  - info: adding message 3 to existing roomID 2 18/3 15:15  - info: adding message 4 to new roomID 2 18/3 15:15  - info: adding message 5 to new roomID 3 18/3 15:15  - error: [upgrade] Errors were encountered while updating the NodeBB schema: ERR value is not a valid float OK NodeBB Upgrade Complete!
Before deleting the "message:x" keys from my redis database (to attempt the upgrade again) I noticed that
message:5was different than the other message keys. Specifically it seems the upgrader is choking on message:5
"Bad" Message 5 key:
"Good" message key:
So it appears that the NodeBB upgrader does not like messages that do not have a
timestampinformation. Should this be reported as a bug?