Taking into account the update algorithm and recommendations for updating versions, as well as installation requirements and installation instructions.
There were problems
issue-1 - with creating indexes of uploads files when I uploaded them before the first launch of the rocketchat service. This was solved
issue 2 - with deno work, this module was not updated automatically, and the new version of rocketchat requires the corresponding version, you need to install it when the updated version is already needed. This was solved
issue 3 - nginx āconnect() failed (111: Unknown error) when connecting to upstreamā after this error I stopped updating further and rolled back to a snapshot VM
Server Setup Information
Version of Rocket.Chat Server: update from 6.10.2 to 7.2.0
Operating System: ubuntu 22.04.
Deployment Method: tar
Number of Running Instances: 1
DB Replicaset Oplog:
NodeJS Version: upgrade from 14 to 20
MongoDB Version: 5
Proxy: nginx
Firewalls involved: ufw
Any additional Information
Also after updating to 7.2.0 everything started, I was happy, but after entering the integration settings, the APP CRASHED window appeared and from that moment error #3, indicated above, began to occur, which I was never able to overcome
Issue closed. Therefore ask here again.
What if I go the new installation route? Iāll install the latest version of rocketchat on a new VM, using mongodb 7. Iāll dump the database from the old rocketchat instance, and load it into the new rocketchat instance. Is it possible to do this? If not, please explain why?
if you take the time to read around thoroughly you will find answers to most of your issues.
These are posted a LOT in multiple places. read them all the way through and all the links, a couple of times.
Next, you are using a tar. That is NOT a recommended deployment method and you need to fix your other dependencies - we have already told you that.
As per above. You need to do this manually as you are using a tar. If you used docker or snaps this woudl be done automatically. You chose not to so your are largely on your own.
Read ALL the docs. They are inconsistent and information is scattered.
Update tryā¦ The listing all used commands. Logs service rocketchat after start. Not work after upgrade to 7.0.0 - ā503 Service Unavailable No server is available to handle this request.ā
Iām so sad nowā¦
The connection to my rocketchat server goes like this:
ā the client accesses an external address - chat.my.lab.
ā gets to the router on which haproxy is installed, which redirects the connection to a host on the local network
ā nginx is installed on this host, which redirects the connection to the rocket chat service.
Of course, I can throw off all the service configurations, but I have one question. Why do all versions from branch 6 work correctly with these configs? And any version from branch 7 does not start, but gives the client a 503 error. Where should I look for the error?
So, itās done!Congratulations!
I removed all app from marketplace RC what became visible on version 6.13.1 (On 6.10.2 was invisible). And remove all integrations. My way successful upgrade RC!
But, I think just upgrade from 6.10.2 to 7.2.1. Of course migrate mongo 5-6-7 after it.
All done, thanks all! Close this thread.