Can't upgrade to 7 from 6

What version are you coming from?

6.13.0

What version are you going to?

7.0

What deployment method did you use to deploy?

snap

Did you follow a particular doc? Which one?

https://docs.rocket.chat/docs/deploy-with-snaps

What issues are you running into upgrading?

It’s will show
2024-12-14T13:34:04+08:00 INFO Waiting for “snap.rocketchat-server.rocketchat-mongo.service” to stop.
2024-12-14T13:34:14+08:00 INFO Waiting for “snap.rocketchat-server.rocketchat-caddy.service” to stop.
error: cannot perform the following tasks:

  • Start snap “rocketchat-server” (1633) services (systemctl command [start snap.rocketchat-server.rocketchat-mongo.service] failed with exit status 1: stderr:
    Job for snap.rocketchat-server.rocketchat-mongo.service failed because the control process exited with error code.
    See “systemctl status snap.rocketchat-server.rocketchat-mongo.service” and “journalctl -xeu snap.rocketchat-server.rocketchat-mongo.service” for details.)

As per your log, what does this tell you?

journalctl -xeu snap.rocketchat-server.rocketchat-mongo.service

Also show the commands you used to upgrade.

snap refresh rocketchat-server

I has see follow message:

Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.194+08:00”},“s”:“I”, “c”:“WTRECOV”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:{“ts_sec”:1734165570,“ts_usec”:194823,“thread”:“3461:0x7f765b27c140”,“session_name”:“WT_CONNECTION.close”,“category”:“WT_VERB_RECOVERY_PROGRESS”,“category_id”:30,“verbose_level”:“DEBUG”,“verbose_level_id”:1,“msg”:“shutdown rollback to stable has successfully finished and ran for 11 milliseconds”}}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.195+08:00”},“s”:“I”, “c”:“WTCHKPT”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:{“ts_sec”:1734165570,“ts_usec”:195392,“thread”:“3461:0x7f765b27c140”,“session_name”:“close_ckpt”,“category”:“WT_VERB_CHECKPOINT_PROGRESS”,“category_id”:6,“verbose_level”:“DEBUG”,“verbose_level_id”:1,“msg”:“saving checkpoint snapshot min: 2, snapshot max: 2 snapshot count: 0, oldest timestamp: (1734165259, 131) , meta checkpoint timestamp: (1734165559, 131) base write gen: 62419286”}}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.202+08:00”},“s”:“I”, “c”:“WTRECOV”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:{“ts_sec”:1734165570,“ts_usec”:202808,“thread”:“3461:0x7f765b27c140”,“session_name”:“WT_CONNECTION.close”,“category”:“WT_VERB_RECOVERY_PROGRESS”,“category_id”:30,“verbose_level”:“DEBUG”,“verbose_level_id”:1,“msg”:“shutdown checkpoint has successfully finished and ran for 7 milliseconds”}}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.203+08:00”},“s”:“I”, “c”:“WTRECOV”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:{“ts_sec”:1734165570,“ts_usec”:203015,“thread”:“3461:0x7f765b27c140”,“session_name”:“WT_CONNECTION.close”,“category”:“WT_VERB_RECOVERY_PROGRESS”,“category_id”:30,“verbose_level”:“DEBUG”,“verbose_level_id”:1,“msg”:“shutdown was completed successfully and took 19ms, including 11ms for the rollback to stable, and 7ms for the checkpoint.”}}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.212+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:4795901, “ctx”:“initandlisten”,“msg”:“WiredTiger closed”,“attr”:{“durationMillis”:29}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.212+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:22279, “ctx”:“initandlisten”,“msg”:“shutdown: removing fs lock…”}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.212+08:00”},“s”:“I”, “c”:“-”, “id”:4784931, “ctx”:“initandlisten”,“msg”:“Dropping the scope cache for shutdown”}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.212+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:20565, “ctx”:“initandlisten”,“msg”:“Now exiting”}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.213+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:8423404, “ctx”:“initandlisten”,“msg”:“mongod shutdown complete”,“attr”:{“Summary of time elapsed”:{“Statistics”:{“Enter terminal shutdown”:“0 ms”,“Step down the replication coordinator for shutdown”:“7 ms”,“Time spent in quiesce mode”:“0 ms”,“Shut down FLE Crud subsystem”:“0 ms”,“Shut down MirrorMaestro”:“0 ms”,“Shut down WaitForMajorityService”:“0 ms”,“Shut down the transport layer”:“0 ms”,“Shut down the global connection pool”:“0 ms”,“Shut down the flow control ticket holder”:“0 ms”,“Shut down the replica set node executor”:“0 ms”,“Shut down the replica set aware services”:“0 ms”,“Shut down the replica set aware services”:“0 ms”,“Kill all operations for shutdown”:“0 ms”,“Shut down all tenant migration access blockers on global shutdown”:“0 ms”,“Shut down all open transactions”:“0 ms”,“Acquire the RSTL for shutdown”:“0 ms”,“Shut down the IndexBuildsCoordinator and wait for index builds to finish”:“0 ms”,“Shut down the replica set monitor”:“0 ms”,“Shut down the migration util executor”:“0 ms”,“Shut down the TTL monitor”:“0 ms”,“Shut down expired pre-images remover”:“0 ms”,“Shut down the storage engine”:“31 ms”,“Shut down full-time data capture”:“0 ms”,“shutdownTask total elapsed time”:“38 ms”}}}}
Dec 14 16:39:30 rocketmeet mongod[3461]: {“t”:{“$date”:“2024-12-14T16:39:30.213+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:23138, “ctx”:“initandlisten”,“msg”:“Shutting down”,“attr”:{“exitCode”:62}}
Dec 14 16:39:30 rocketmeet rocketchat-server.rocketchat-mongo[3429]: ERROR: child process failed, exited with 62
Dec 14 16:39:30 rocketmeet rocketchat-server.rocketchat-mongo[3429]: To see additional information in this output, start without the “–fork” option.
Dec 14 16:39:30 rocketmeet rocketchat-server.rocketchat-mongo[3394]: [ERROR] mongo server start failed
Dec 14 16:39:30 rocketmeet systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Control process exited, code=exited, status=1/FAILURE
Dec 14 16:39:30 rocketmeet systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Failed with result ‘exit-code’.
Dec 14 16:39:30 rocketmeet systemd[1]: Failed to start Service for snap application rocketchat-server.rocketchat-mongo.
Dec 14 16:39:30 rocketmeet systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Consumed 4.374s CPU time.
Dec 14 16:39:30 rocketmeet systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-mongo.
Dec 14 16:39:30 rocketmeet systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Consumed 4.374s CPU time.
Dec 14 16:39:36 rocketmeet systemd[1]: Starting Service for snap application rocketchat-server.rocketchat-mongo…
Dec 14 16:39:36 rocketmeet rocketchat-server.rocketchat-mongo[3720]: about to fork child process, waiting until server is ready for connections.
Dec 14 16:39:36 rocketmeet rocketchat-server.rocketchat-mongo[3736]: forked process: 3736
Dec 14 16:39:36 rocketmeet mongod[3736]: {“t”:{“$date”:“2024-12-14T16:39:36.631+08:00”},“s”:“I”, “c”:“NETWORK”, “id”:4915701, “ctx”:“-”,“msg”:“Initialized wire specification”,“attr”:{“spec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“outgoing”:{“minWireVersion”:0,“maxWireVersion”:13},“isInternalClient”:true}}}
Dec 14 16:39:36 rocketmeet mongod[3736]: {“t”:{“$date”:“2024-12-14T16:39:36.632+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:23285, “ctx”:“-”,“msg”:“Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’”}

So you ignored the bit that said:

Update to a new major release

??

PS.

You have got backups haven’t you?

I use snap to upgrade.Could I miss any action?

I has backup my rocketchat server.

Most likely.

Please list the commands you executed so we can see.

What version are you tracking? Your screenshot shows 6.x ??

What does it say in the docs about major updates?

The bit I highlighted above:

> Update to a new major release

Excellent. Hopefully we won’t have to see if it is a good backup or not.

I has change to 7 use follow command:

snap switch rocketchat-server --channel=7.x/stable

And use snap refresh rocketchat-server this command to upgrade it.

It’s will show error message:

root@rocketmeet:~# snap refresh rocketchat-server
2024-12-14T16:39:20+08:00 INFO Waiting for “snap.rocketchat-server.rocketchat-mongo.service” to stop.
2024-12-14T16:39:31+08:00 INFO Waiting for “snap.rocketchat-server.rocketchat-caddy.service” to stop.
error: cannot perform the following tasks:

  • Start snap “rocketchat-server” (1633) services (systemctl command [start snap.rocketchat-server.rocketchat-mongo.service] failed with exit status 1: stderr:
    Job for snap.rocketchat-server.rocketchat-mongo.service failed because the control process exited with error code.
    See “systemctl status snap.rocketchat-server.rocketchat-mongo.service” and “journalctl -xeu snap.rocketchat-server.rocketchat-mongo.service” for details.)

I use proxmox backup all vm image.

I presume this is you?

You are make a lot of unnecessary work for people. I don’t get paid to do this. You are using CE and have community support, not paid support.

Stay in one place please rather than jumping about because you are impatient.

@reetp
Nope. Your presume is wrong.
If you look at the log files a little more carefully, you will see that your assumption is wrong, because these are two different instances.In github post is mine. Me and @akong77 are completely different people with the same problem. Just simple like that.
There is no need for aggression in expression.

Thank you. for clarifying that. See my response on github.

Too often we get people opening queries in multiples places and as I am the only person who ever bothers much to read them it gets annoying.

For others reading this:

Hello,
just want to add, we have the same issue in our Environment.
Current version: 6.13.0
Trying to upgrade to 7.x
The new Version got downloaded, but the installation stops with the already mentioned error message:

Start snap "rocketchat-server" (1633) services (systemctl command [start snap.rocketchat-server.rocketchat-mongo.service] failed with exit status 1: stderr:
Job for snap.rocketchat-server.rocketchat-mongo.service failed because the control process exited with error code.
1 Like

I have asked the team to look at this issue. I can do no more right now.

2 Likes

I am also seeing the issue when trying to update from 6.13 to 7.x

$ sudo snap switch rocketchat-server --channel=7.x/stable
“rocketchat-server” switched to the “7.x/stable” channel

$ sudo snap refresh rocketchat-server
2025-01-03T14:52:37Z INFO Waiting for “snap.rocketchat-server.rocketchat-mongo.service” to stop.
error: cannot perform the following tasks:

  • Start snap “rocketchat-server” (1633) services (systemctl command [start snap.rocketchat-server.rocketchat-mongo.service] failed with exit status 1: stderr:
    Job for snap.rocketchat-server.rocketchat-mongo.service failed because the control process exited with error code.
    See “systemctl status snap.rocketchat-server.rocketchat-mongo.service” and “journalctl -xe” for details.)

See the above bug.

I have raised it again with the team.

1 Like