Skip to content

Internal Server Error when changing user settings #10043

@michaelkollmann

Description

@michaelkollmann

Description:

When saving any changes to my profile (e.g. client language) Rocket Chat displays an "Internal server error". I can't save any changes. Some of the users on my server are affected but not all of them.
We only installed Rocket.Chat two days ago. I think we started at 0.62.0 and after the first night it upgraded to 0.62.1. Rebooting the whole linux server didn't help.

When adding a new user I still face the same error

Server Setup Information:

  • Version of Rocket.Chat Server: 0.62.1
  • Operating System: Ubuntu Server
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: unkown
  • Node Version: v8.8.1
  • mongoDB Version: unkown

Steps to Reproduce:

  1. Open profile settings
  2. Change the client language from English to German

Expected behavior:

I expect to be able to save changes without any issues

Actual behavior:

I am not able to change any profile settings

Relevant logs:

[34mI20180307-11:51:04.894(1) Exception while invoking method 'saveUserPreferences' MongoError: cannot use the part (settings of settings.preferences.newRoomNotification) to traverse the element ({settings: null}) at Function.MongoError.create (/snap/rocketchat-server/1232/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/error.js:31:11) at toError (/snap/rocketchat-server/1232/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:139:22) at /snap/rocketchat-server/1232/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/collection.js:1059:67 at /snap/rocketchat-server/1232/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:469:18 at _combinedTickCallback (internal/process/next_tick.js:131:7) at process._tickDomainCallback (internal/process/next_tick.js:218:9)

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