Critical Issue with Workspace Registration After Upgrading to Version 6.3.1

Server Setup Information:

Version
6.3.1

Deployment ID
qTrfATJwYcCfTf5sq

Apps Engine Version
1.40.0

Node Version
v14.21.3

Database Migration
301 (September 25, 2023 12:00 PM)

MongoDB
4.4.17 / wiredTiger (oplog Enabled)

Deployment Method: Docker-compose

Description:

Dear Rocket.Chat Support Team,

I am writing to report a critical issue that has arisen following the recent upgrade of my Rocket.Chat server from version 6.1.5 to 6.3.1. The problem appears to be related to changes in the registration policy.

In version 6.1.5, I successfully utilized the “Register self-manage” option via cloud.rocket.chat to register my workspace, which worked seamlessly. However, after upgrading to version 6.3.1, I made the decision to remove my workspace from cloud.rocket.chat and attempt to use the automatic registration feature provided by the new version.

The issue manifests itself when, despite the “Workspace registered” message being displayed in the “Registration” section of the server, an error occurs with the message “An error occurred syncing your workspace” when attempting to synchronize through “Manage/Sync.” This problem is causing significant challenges as it prevents me from successfully registering the workspace, consequently denying me access to push notifications on mobile devices.

To provide you with a comprehensive understanding of the issue, I have attached screenshots of the error, setup wizard settings, and server logs.

Additionally, I have reported this issue in the project’s GitHub issue tracker (Re Register Rocketchat Server to Cloud Rocketchat Workspace · Issue #29994 · RocketChat/Rocket.Chat · GitHub), but unfortunately, I have not received a response for an extended period.

I kindly request your assistance in resolving this critical issue promptly, as it is severely impacting the functionality of my Rocket.Chat server and the availability of push notifications on mobile devices.

Thank you for your prompt attention to this matter, and I look forward to your guidance and support in resolving this issue.

Docker-compose logs:

rocketchat_1          | {"level":50,"time":"2023-09-11T14:59:06.952Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | {"level":40,"time":"2023-09-11T15:00:21.907Z","pid":10,"hostname":"2c55d5b61ed4","name":"DeprecationWarning","section":"API","msg":"The parameter \"query\" in the endpoint \"/api/v1/settings.public\" is deprecated and will be removed on version 7.0.0"}
rocketchat_1          | {"level":40,"time":"2023-09-11T15:00:43.545Z","pid":10,"hostname":"2c55d5b61ed4","name":"DeprecationWarning","section":"API","msg":"The parameter \"query\" in the endpoint \"/api/v1/settings.public\" is deprecated and will be removed on version 7.0.0"}
rocketchat_1          | {"level":50,"time":"2023-09-11T15:01:41.053Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | TypeError: Cannot read property 'authRequired' of undefined
rocketchat_1          |     at packages/rocketchat:restivus/lib/route.js:199:16
rocketchat_1          |     at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
rocketchat_1          |  => awaited here:
rocketchat_1          |     at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
rocketchat_1          |     at packages/rocketchat:restivus/lib/route.js:155:13
rocketchat_1          |     at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
rocketchat_1          |  => awaited here:
rocketchat_1          |     at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
rocketchat_1          |     at packages/rocketchat:restivus/lib/route.js:57:18
rocketchat_1          |     at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
rocketchat_1          | {"level":50,"time":"2023-09-11T15:04:58.551Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | {"level":50,"time":"2023-09-11T15:26:05.814Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | {"level":50,"time":"2023-09-11T15:26:34.886Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | {"level":50,"time":"2023-09-11T15:26:38.837Z","pid":10,"hostname":"2c55d5b61ed4","name":"Rocket.Chat Apps","msg":"Error getting the app requests stats from marketplace 'failed to aggregate seen app requests due to a database error'"}
rocketchat_1          | {"level":40,"time":"2023-09-11T15:30:32.029Z","pid":10,"hostname":"2c55d5b61ed4","name":"DeprecationWarning","section":"API","msg":"The parameter \"query\" in the endpoint \"/api/v1/settings.public\" is deprecated and will be removed on version 7.0.0"}

Sincerely,
Ilia Kruglov

Unfortunately, I was only able to upload one screenshot. You can find a more detailed description of the issue at the following link: GitHub link.

I would be very grateful if push notifications could work again. Unfortunately, for our small team, this represents a significant loss in functionality.