![]() ![]() Working on the system is a good starting point to upgrade mongoDB to a current release. MONGO_OPLOG_URL=mongodb://db:27017/local?replicaSet=rs0&directConnection=true connection strings Upgrade MongoDB The configurations might look like this: MONGO_URL=mongodb://db:27017/rocketchat?replicaSet=rs0&directConnection=true The important part is to append the query parameter directConnection=true to the connection string. You can spot that you're missing the configuration when the rocketchat logs show that the connection to the database has been closed unexpectedly. With the current release of rocketchat, the connection strings slightly changed, which is luckily annotated by the devs in the release notes. Until now we've been running mongodb 4.2. ![]() Obviously we're running rocketchat within containers (actually this system is still running on a docker basis). Today we've received the upgrade to 5.0 and run into two errors. Fix with “ulimit -n 8192”.We're running rocketchat and are upgrading daily on an automated basis with allowing even major version upgrades. Jul 24 12:04:09 ubuntu-chat rocketchat-server.rocketchat-caddy: WARNING: File descriptor limit 1024 is too low for production servers. Fix with “ulimit -n sudo systemctl status ![]() Jul 24 12:04:09 ubuntu-chat rocketchat-server.rocketchat-caddy: myserverdomain:8080 Jul 24 12:04:09 ubuntu-chat rocketchat-server.rocketchat-caddy: Activating privacy features… done. Jul 24 12:04:07 ubuntu-chat systemd: Started Service for snap application rocketchat-server.rocketchat-caddy. └─2290 caddy -conf=/var/snap/rocketchat-server/1384/Caddyfile Loaded: loaded (/etc/systemd/system/ enabled vendor preset: enabled)Īctive: active (running) since Wed 12:04:07 CEST 23h agoĬGroup: /system.slice/ - Service for snap application rocketchat-server.rocketchat-caddy.Jul 25 11:23:28 ubuntu-chat rocketchat-server.rocketchat-server: The endpoint “emoji-custom” is deprecated and will be removed after version sudo systemctl status -caddy Jul 25 11:23:28 ubuntu-chat rocketchat-server.rocketchat-server: The endpoint “emoji-custom” is deprecated and will be removed after version v1.12.0 Jul 25 11:15:00 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Not running “Generate download files for user data” again. Jul 25 11:15:00 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Finished “Generate download files for user data”. Jul 25 11:15:00 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Starting “Generate download files for user data”. Jul 25 11:00:01 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Finished “Generate and save statistics”. Jul 25 11:00:01 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Not running “Generate and save statistics” again. Jul 25 11:00:01 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Not running “Remove users from Token Channels” again. Jul 25 11:00:01 ubuntu-chat rocketchat-server.rocketchat-server: server.js:207 SyncedCron ➔ info Not running “Generate download files for user data” again. ├─1287 /bin/bash /snap/rocketchat-server/1384/bin/startRocketChat ![]() Loaded: loaded (/etc/systemd/system/ enabled vendor preset: enabled)Īctive: active (running) since Wed 11:58:20 CEST 23h agoĬGroup: /system.slice/
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |