Skip to content

migration failed upgrading from 0.65.2 to 0.66.1 #11353

@himpierre

Description

@himpierre

Description:

Tried to upgrade a 0.65.2 installation this morning but did not succeed. Error in log:

Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m+#033[39m#033[31m-----------------------------------------------------------------------------------------------------------------#033
[39m#033[31m+#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m                                                                                                                 #033[31m|#03
3[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                              ERROR! SERVER STOPPED                                              #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                                                                                                 #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                         Your database migration failed:                                         #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m  cannot use the part (settings of settings.preferences.groupByType) to traverse the element ({settings: null})  #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                                                                                                 #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                        Please make sure you are running the latest version and try again.                       #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                 If the problem persists, please contact support.                                #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                                                                                                 #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                         This Rocket.Chat version: 0.66.1                                        #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                         Database locked at version: 124                                         #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m                                           Database target version: 129                                          #033
[39m#033[31m|#033[39m
Jul  5 09:51:05 rocketchat-extern RocketChat[5392]: #033[31m|#033[39m#033[31m

Steps to reproduce:

  1. Upgrade from 0.65.2 to 0.66.1
  2. Error

Expected behavior:

Update works.

Actual behavior:

Update fails.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.65.2 / 0.66.1
  • Operating System: Linux
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 1
  • NodeJS Version: 8.11.3
  • MongoDB Version: 3.6

Additional context

This happens only on one of my rocketchat machines. Others succeeded running the update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions