# Can't upgrade to 7 from 6

**URL:** <https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103>\
**Category:** Upgrade Help\
**Created:** [December 14, 2024, 5:49am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103 "2024-12-14T05:49:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 14, 2024, 5:49am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/1 "2024-12-14T05:49:16Z")

</div>

## 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?

> **[Deploy Rocket Chat with Snaps for Secure Messaging](https://docs.rocket.chat/docs/deploy-with-snaps)**
>
> Install Rocket Chat using Snaps for fast, secure deployment. Enable reliable messaging, open source flexibility, and scalable collaboration in any environment.

## 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.)

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 14, 2024, 8:33am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/2 "2024-12-14T08:33:05Z")

</div>

As per your log, what does this tell you?

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

```

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 14, 2024, 8:34am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/3 "2024-12-14T08:34:38Z")

</div>

Also show the commands you used to upgrade.

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 14, 2024, 8:36am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/4 "2024-12-14T08:36:01Z")

</div>

snap refresh rocketchat-server

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 14, 2024, 8:40am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/5 "2024-12-14T08:40:48Z")

</div>

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’”}

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 14, 2024, 12:21pm UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/6 "2024-12-14T12:21:41Z")

</div>

> [@akong77](#):
>
> snap refresh rocketchat-server

So you ignored the bit that said:

> #### Update to a new major release

??

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 14, 2024, 12:23pm UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/7 "2024-12-14T12:23:37Z")

</div>

PS.

You have got backups haven’t you?

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 16, 2024, 12:32am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/8 "2024-12-16T00:32:18Z")

</div>

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

 ![圖片](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/a/a4193b4c32e602e509abfd7424d90e756ddd568a.png)

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 16, 2024, 12:32am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/9 "2024-12-16T00:32:55Z")

</div>

I has backup my rocketchat server.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 16, 2024, 12:58am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/10 "2024-12-16T00:58:13Z")

</div>

> [@akong77](#):
>
> I use snap to upgrade.Could I miss any action?

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**

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 16, 2024, 12:59am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/11 "2024-12-16T00:59:36Z")

</div>

> [@akong77](#):
>
> I has backup my rocketchat server.

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

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 16, 2024, 1:11am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/12 "2024-12-16T01:11:30Z")

</div>

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.)

---

<div class="post-metadata">

**Author:** ![akong77](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akong77](https://forums.rocket.chat/u/akong77)\
**Post date:** [December 16, 2024, 1:12am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/13 "2024-12-16T01:12:20Z")

</div>

I use proxmox backup all vm image.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 18, 2024, 5:53pm UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/14 "2024-12-18T17:53:05Z")

</div>

I presume this is you?

> <https://github.com/RocketChat/Rocket.Chat/issues/34212>
>
> \### Description:
> 
> Cant update via snap from 6.13.0 to 7.1
> 
> \### Steps to repr…oduce:
> 
> 1. Switch to relase chanel 7.x
> 2. Snap refresh rocketchat-server
> 3. The server return: Start snap "rocketchat-server" (1633) services (systemctl command \[start snap.rocketchat-server.rocketchat-mongo.service\] failed with exit status 1: stderr:
> 
> \### Expected behavior:
> 
> Update to 7.1
> 
> \### Actual behavior:
> 
> !\[image\](https://github.com/user-attachments/assets/163601b8-fc5d-45f8-bef7-34135757dfca)
> 
> \### Server Setup Information:
> 
> \- Version of Rocket.Chat Server: 6.13.0
> \- License Type: free
> \- Number of Users: 40 
> \- Operating System: Ubuntu 20.04
> \- Deployment Method: snap
> \- Number of Running Instances: 
> \- DB Replicaset Oplog: 
> \- NodeJS Version: 
> \- MongoDB Version:
> 
> \### Client Setup Information
> 
> \- Desktop App or Browser Version:
> \- Operating System:
> 
> \### Additional context
> 
> 
> 
> \### Relevant logs:
> Here is the logs from server after error:
> 
> systemctl status snap.rocketchat-server.rocketchat-mongo.service (logs)
> https://pastejustit.com/asbx1cexen
> 
> journalctl -xe (logs)
> https://pastejustit.com/yuyrbyesza

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.

---

<div class="post-metadata">

**Author:** ![AlexDimitrov](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@AlexDimitrov](https://forums.rocket.chat/u/AlexDimitrov)\
**Post date:** [December 19, 2024, 5:59am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/15 "2024-12-19T05:59:09Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 19, 2024, 9:33am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/16 "2024-12-19T09:33:30Z")

</div>

> [@AlexDimitrov](#):
>
> Nope. Your presume is wrong.

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:

> <https://gist.github.com/reetp/a66149d5f060f260643a353ca7067a98>

---

<div class="post-metadata">

**Author:** ![aheu](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@aheu](https://forums.rocket.chat/u/aheu)\
**Post date:** [December 20, 2024, 6:52am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/17 "2024-12-20T06:52:38Z")

</div>

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:

```auto
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.

```

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 20, 2024, 8:17am UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/18 "2024-12-20T08:17:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jlee](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jlee](https://forums.rocket.chat/u/jlee)\
**Post date:** [January 3, 2025, 2:55pm UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/19 "2025-01-03T14:55:13Z")

</div>

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.)

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [January 3, 2025, 10:09pm UTC](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/20 "2025-01-03T22:09:23Z")

</div>

> [@jlee](#):
>
> I am also seeing the issue when trying to update from 6.13 to 7.x

See the above bug.

I have raised it again with the team.

[Next page](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103.md?page=2)
