Hi,
My company has been using its own rocket.chat server (self hosted) since the COVID lockdown. I wanted to profit by the holidays to upgrade it since it was still in its 3.something COVID flavor.
I managed to upgrade up to 4.8.7, and then upgrade mongodb to 5.0 as mentionned on the upgrade path.
So far so good, every thing seems to be working.
But I can’t go any further. Whenever I try to install rocket.chat 5.4.10 I always have the same issue (somehting about “replicaSetNoPrimary”). Back to 4.8.7 solves the issue… but this not what i want/need.
I tried chatGPT without anymore luck… can someone help me and prove that man is still superior to IA ?
Thanks,
Yann
I’ll try to be as specific as possible.
The setup is a vps running a buster debian distribution. It was a Chester debian, but I started by upgrading it.
On this debian, mongodb and rocketchat are manually installed from mongodb.org and rocket.chat. No snap, no docker, only wget, apt and systemd good old instructions.
Following the provided update path (https://docs.rocket.chat/docs/updating-rocketchat), I switched the mongo engine from mmap to wiredtiger, and managed to upgrade rocket.chat to 3.18.7 and then 4.8.7. Then I upgraded mongodb from 4.0 to 4.2, 4.4 and eventually 5.0.
I don’t know what else to say about the “working” server.
I know that such old versions of rocket.chat are not supported anymore, and this is why I’d like to upgrade to an up to date version.
But I’m stuck… and this is why I came here, so maybe someone had a piece of solution.
In the meantime, I found that some people had similar issues when trying to upgrade from 4.8 to 5.0: the “localhost” default name for mongodb seem to be one potential trouble maker. I’ll dig into this.
while trying to figure out what specific settings I might provide, I happened to understand that my systemd environment for rocketchat was incorrect. As a matter of fact I had no rocketchat.service and therefore, the environment file that I configured was absolutely not taken into account.
I have now a working 5.4.10 rocketchat server. Next step is 6.13.1 I guess.
Thanks and have a wonderfull last day of 2024!
Yann