What version are you coming from?
7.13.5
What version are you going to?
8.5.1
What deployment method did you use to deploy?
Snap
Did you follow a particular doc? Which one?
What issues are you running into upgrading?
Performed steps:
snap switch rocketchat-server --channel=8.x/stable
snap refresh
Error:
$ snap refresh
error: cannot perform the following tasks:
- Run pre-refresh hook of "rocketchat-server" snap if present (run hook "pre-refresh":
-----
{"t":{"$date":"2026-06-22T15:42:07.653+02:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2026-06-22T15:42:07.655+02:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
{"t":{"$date":"2026-06-22T15:42:07.655+02:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2026-06-22T15:42:07.656+02:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2026-06-22T15:42:07.656+02:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
Killing process with pid: 3423111
[ERROR] pre refresh migration script /snap/rocketchat-server/1785/migrations/pre_refresh/feature_compatibility/00-adopt_version.sh
-----)
Does anyone have any ideas? Oddly enough, this only happens on a couple of servers while it does succeed on the majority of servers which were all set up with the same Ansible-Playbook.
We are planning on switching to a docker deployment but for now we have to upgrade via snap as support for the apps is ending soon.