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

$ set<br>Accounts_AvatarStorePath='/app/uploads'<br>DEPLOY_METHOD='docker-official'<br>HOME='/tmp'<br>HOSTNAME='9913aa78eac1'<br>HOST_OS='Unraid'<br>IFS='<br>'<br>MONGO_OPLOG_URL='mongodb://rocketchat:r0ck3t@192.168.50.51:27017/local?authSource=admin&directConnection=true'<br>MONGO_URL='mongodb://rocketchat:r0ck3t@192.168.50.51:27017/rocketchat?directConnection=true'<br>NODE_ENV='production'<br>NODE_VERSION='12.22.1'<br>OPTIND='1'<br>PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'<br>PORT='3000'<br>PPID='0'<br>PS1='$ '<br>PS2='> '<br>PS4='+ '<br>PWD='/app/bundle'<br>RC_VERSION='4.2.0'<br>ROOT_URL='https://rocketchat-tryitog.duckdns.org'<br>TERM='xterm'<br>TZ='America/New_York'<br>_='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:<br>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 }<br>strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)<br>LocalStore: store created at<br>LocalStore: store created at<br>LocalStore: store created at<br>MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call<br>{"level":40,"time":"2023-01-30T05:55:41.504Z","pid":1,"hostname":"7052abe64e59","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"}<br>{"level":40,"time":"2023-01-30T05:55:43.638Z","pid":1,"hostname":"7052abe64e59","name":"VoIPService","msg":"VoIP service already stopped"}<br>{"level":51,"time":"2023-01-30T05:55:43.898Z","pid":1,"hostname":"7052abe64e59","name":"Migrations","msg":"Not migrating, already at version 281"}<br>{"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."}<br>{"level":51,"time":"2023-01-30T05:55:43.920Z","pid":1,"hostname":"7052abe64e59","name":"DatabaseWatcher","msg":"Using Meteor oplog"}<br>ufs: temp directory created at "/tmp/ufs"<br>Loaded the Apps Framework and loaded a total of 0 Apps!<br>+---------------------------------------------------------------+<br>| SERVER RUNNING |<br>+---------------------------------------------------------------+<br>| |<br>| Rocket.Chat Version: 5.4.0 |<br>| NodeJS Version: 14.19.3 - x64 |<br>| MongoDB Version: 5.0.14 |<br>| MongoDB Engine: unknown |<br>| Platform: linux |<br>| Process Port: 3000 |<br>| Site URL: https://rocketchat-tryitog.duckdns.org |<br>| ReplicaSet OpLog: Enabled |<br>| Commit Hash: 51f456a544 |<br>| Commit Branch: HEAD |<br>| |<br>+---------------------------------------------------------------+<br>{"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"}<br>{"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>

Leave a Reply