Skip to content

Upgrade from 0.63.3 to 0.65.0 fails with 'call' is not a function.-> Restore from backup only solution to get it back up and working on 0.63.3. #10899

@Lawri-van-Buel

Description

@Lawri-van-Buel

Description:

Server Setup Information:

  • Version of Rocket.Chat Server: 0.63.3 --> 0.65.0
  • Operating System: Ubuntu 16.04 LTS
  • Deployment Method(snap/docker/tar/etc): Ansible - Tar
  • Number of Running Instances: 5
  • DB Replicaset Oplog: Present
  • Node Version: 8.9.4
  • mongoDB Version: 3.4.6

Steps to Reproduce:

  1. Have a running Rocketchat at version 0.63.3 with a slackbridge attached and log errors to a channel
  2. Upgrade Rockechat to 0.65.0 using my ansible script (Merged changes of 3.1.0 and the development branch. Rocket.Chat.Ansible#84)
  3. Get the following error "

May 28 10:17:14 Rocketchat1 RocketChat[757]: rocketchat:lib ➔ oauth_updated Accounts_OAuth_Wordpress_scope
May 28 10:17:15 Rocketchat1 RocketChat[757]: packages/rocketchat_monitoring.js:3549
May 28 10:17:15 Rocketchat1 RocketChat[757]: return originalRun.call(this, val);
May 28 10:17:15 Rocketchat1 RocketChat[757]: ^
May 28 10:17:15 Rocketchat1 RocketChat[757]: TypeError: Apps.isLoaded is not a function
May 28 10:17:15 Rocketchat1 RocketChat[757]: at EventEmitter.RocketChat.sendMessage (/var/lib/rocket.chat/bundle/programs/server/packages/rocketchat_lib.js:5421:31)
May 28 10:17:15 Rocketchat1 RocketChat[757]: at ErrorHandler.trackError (/var/lib/rocket.chat/bundle/programs/server/packages/rocketchat_error-handler.js:89:18)
May 28 10:17:15 Rocketchat1 RocketChat[757]: at Object.Meteor._debug (/var/lib/rocket.chat/bundle/programs/server/packages/rocketchat_error-handler.js:59:12)
May 28 10:17:15 Rocketchat1 RocketChat[757]: at onException (packages/meteor.js:1220:14)
May 28 10:17:15 Rocketchat1 RocketChat[757]: at runWithEnvironment (packages/meteor.js:1243:9)
May 28 10:17:15 Rocketchat1 systemd[1]: rocketchat.service: Main process exited, code=exited, status=7/NOTRUNNING
May 28 10:17:15 Rocketchat1 systemd[1]: rocketchat.service: Unit entered failed state.
May 28 10:17:15 Rocketchat1 systemd[1]: rocketchat.service: Failed with result 'exit-code'.
"

Expected behavior:

A runing instance of Rocketchat at version 0.65.0

Actual behavior:

Rocketchat Crashes and locks up the Mongo upgrade.
I had to revert to a Backup to get it back up and running.

Relevant logs:

Snippet is in ticket already. if more is needed request in comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions