# Can't update to new version of Rocketchat

**URL:** <https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397>\
**Category:** Community Support\
**Created:** [July 31, 2025, 9:23pm UTC](https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397 "2025-07-31T21:23:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaddythebaddy](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@chaddythebaddy](https://forums.rocket.chat/u/chaddythebaddy)\
**Post date:** [July 31, 2025, 9:23pm UTC](https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397/1 "2025-07-31T21:23:02Z")

</div>

### Description

Trouble upgrading with Docker running on Ubuntu

### Server Setup Information

- Version of Rocket.Chat Server: 7.4?
- Operating System:Ubuntu 22.04
- Deployment Method: Docker Compose
- Number of Running Instances:1
- DB Replicaset Oplog:?
- NodeJS Version:?
- MongoDB Version:6.0
- Proxy: no
- Firewalls involved:no

### Any additional Information

rocketguy@rocketserver:~$ sudo docker stop rocketchat-rocketchat-1  
rocketchat-rocketchat-1  
rocketguy@rocketserver:~$ sudo docker rm rocketchat-rocketchat-1  
rocketchat-rocketchat-1  
rocketguy@rocketserver:~$ sudo docker compose up -d  
no configuration file provided: not found  
these are the commands I followed and I rmoved the image file and it will not find the config file to download. Any help would be great. I can give more info, just let me know. Thanks

---

<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:** [August 1, 2025, 8:16am UTC](https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397/2 "2025-08-01T08:16:41Z")

</div>

Not enough info to really help you.

Have you got backups?

Did you really use docker, or docker compose?

What does this show - I suspect you have deleted both Rocket and your mongo db.

sudo docker ps -a

Docker compose needs to be run in the directory where your compose file is installed, which we don’t know.

So look for docker-compose.yml

Follow the guide in

> **[Deploy with Docker & Docker Compose](https://docs.rocket.chat/docs/deploy-with-docker-docker-compose)**

Updating guide

> **[Guidelines for Updating Rocket.Chat](https://docs.rocket.chat/docs/guidelines-for-updating-rocketchat)**

---

<div class="post-metadata">

**Author:** ![chaddythebaddy](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@chaddythebaddy](https://forums.rocket.chat/u/chaddythebaddy)\
**Post date:** [August 1, 2025, 12:02pm UTC](https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397/3 "2025-08-01T12:02:37Z")

</div>

I do not have back ups no. That is on me. I used docker compose, I didn’t delete the mongo db. That image is stil in there when I run the command docker ps. I must have not configured it correctly from the begining. I just want it to upgrade to a newer version. Thanks

---

<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:** [August 1, 2025, 12:13pm UTC](https://forums.rocket.chat/t/cant-update-to-new-version-of-rocketchat/22397/4 "2025-08-01T12:13:36Z")

</div>

> [@chaddythebaddy](#):
>
> I do not have back ups no.

😨 A good day to start then. Priority 1.

Never do anything without backups.

> [@chaddythebaddy](#):
>
> I must have not configured it correctly from the begining

Well it was working so….. can’t have been that wrong.

> [@chaddythebaddy](#):
>
> I just want it to upgrade to a newer version

Without knowing where your docker-compose.yml file is we can’t do much.

You may have a .env file too, but again, no idea.

Those file/s will tell us about your setup so you need to find them.

We don’t want to create new ones as that may trash your existing mongo….

First thing you should do is search here on how to back up your mongo data so if you DO trash the docker container you still have a chance.
