Woke up this morning (2023/01/27) to this mess:




$ set
Accounts_AvatarStorePath='/app/uploads'
DEPLOY_METHOD='docker-official'
HOME='/tmp'
HOSTNAME='9913aa78eac1'
HOST_OS='Unraid'
IFS='
'
MONGO_OPLOG_URL='mongodb://rocketchat:r0ck3t@192.168.50.51:27017/local?authSource=admin&directConnection=true'
MONGO_URL='mongodb://rocketchat:r0ck3t@192.168.50.51:27017/rocketchat?directConnection=true'
NODE_ENV='production'
NODE_VERSION='12.22.1'
OPTIND='1'
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PORT='3000'
PPID='0'
PS1='$ '
PS2='> '
PS4='+ '
PWD='/app/bundle'
RC_VERSION='4.2.0'
ROOT_URL='https://rocketchat-tryitog.duckdns.org'
TERM='xterm'
TZ='America/New_York'
_='README'

Changed docker hub repo from : https://hub.docker.com/r/rocketchat/rocket.chat/

Some indexes for collection 'rocketchat_credential_tokens' could not be created:
An equivalent index already exists with the same name but different options. Requested index: { v: 2, key: { expireAt: 1 }, name: "expireAt_1", sparse: true, expireAfterSeconds: 0 }, existing index: { v: 2, key: { expireAt: 1 }, name: "expireAt_1", sparse: 1, expireAfterSeconds: 0 }
strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call
{"level":40,"time":"2023-01-30T05:55:41.504Z","pid":1,"hostname":"7052abe64e59","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"}
{"level":40,"time":"2023-01-30T05:55:43.638Z","pid":1,"hostname":"7052abe64e59","name":"VoIPService","msg":"VoIP service already stopped"}
{"level":51,"time":"2023-01-30T05:55:43.898Z","pid":1,"hostname":"7052abe64e59","name":"Migrations","msg":"Not migrating, already at version 281"}
{"level":40,"time":"2023-01-30T05:55:43.920Z","pid":1,"hostname":"7052abe64e59","name":"DatabaseWatcher","msg":"Using USE_NATIVE_OPLOG=true is currently discouraged due to known performance issues. Please use IGNORE_CHANGE_STREAM=true instead."}
{"level":51,"time":"2023-01-30T05:55:43.920Z","pid":1,"hostname":"7052abe64e59","name":"DatabaseWatcher","msg":"Using Meteor oplog"}
ufs: temp directory created at "/tmp/ufs"
Loaded the Apps Framework and loaded a total of 0 Apps!
+---------------------------------------------------------------+
| SERVER RUNNING |
+---------------------------------------------------------------+
| |
| Rocket.Chat Version: 5.4.0 |
| NodeJS Version: 14.19.3 - x64 |
| MongoDB Version: 5.0.14 |
| MongoDB Engine: unknown |
| Platform: linux |
| Process Port: 3000 |
| Site URL: https://rocketchat-tryitog.duckdns.org |
| ReplicaSet OpLog: Enabled |
| Commit Hash: 51f456a544 |
| Commit Branch: HEAD |
| |
+---------------------------------------------------------------+
{"level":50,"time":"2023-01-30T05:55:45.736Z","pid":1,"hostname":"7052abe64e59","name":"OEmbed","msg":"OEmbed duplicated record","url":"https://github.com/RocketChat/Rocket.Chat/releases/tag/5.4.2"}
{"level":50,"time":"2023-01-30T05:55:45.739Z","pid":1,"hostname":"7052abe64e59","name":"OEmbed","msg":"OEmbed duplicated record","url":"https://github.com/RocketChat/Rocket.Chat/releases/tag/5.4.2"}
mongosh
Current Mongosh Log ID: 63d741493c01733e5c7505c5
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.6.1
Using MongoDB: 5.0.14
Using Mongosh: 1.6.1
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
Warning: Found ~/.mongorc.js, but not ~/.mongoshrc.js. ~/.mongorc.js will not be loaded.
You may want to copy or rename ~/.mongorc.js to ~/.mongoshrc.js.
rs01 [direct: primary] test> show dbs
MongoServerError: command listDatabases requires authentication
rs01 [direct: primary] test> use rocketchat
switched to db rocketchat
rs01 [direct: primary] rocketchat> db.auth('rocketchat','****')
{ ok: 1 }
rs01 [direct: primary] rocketchat> show users
[
{
_id: 'rocketchat.rocketchat',
userId: new UUID("162ad3de-271b-4f7a-81b3-1ffabc75a5a7"),
user: 'rocketchat',
db: 'rocketchat',
roles: [ { role: 'dbOwner', db: 'rocketchat' } ],
mechanisms: [ 'SCRAM-SHA-1', 'SCRAM-SHA-256' ]
}
]
rs01 [direct: primary] rocketchat> show dbs
rocketchat 74.03 MiB
rs01 [direct: primary] rocketchat> db.watch()
ChangeStreamCursor on rocketchat
rs01 [direct: primary] rocketchat> db.migrations.find()
{ _id: 'control', locked: true, version: 281, buildAt: '2021-11-30T04:34:34.156Z', lockedAt: ISODate("2023-01-30T04:04:51.546Z") }
rs01 [direct: primary] rocketchat> db.migrations.find()
{ _id: 'control', locked: false, version: 281, buildAt: '2022-12-05T12:21:57.683Z', lockedAt: ISODate("2023-01-30T05:55:43.896Z") }
rs01 [direct: primary] rocketchat>