Can't update to new version of Rocketchat

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

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

Updating guide

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

:fearful: A good day to start then. Priority 1.

Never do anything without backups.

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

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.