Rocket.Chat's Community Open Call 🎤 Jan 19th, 2022 Join us!

Connection and modules error when starting Rocket.Chat

Hello. I use Ubuntu 18.04.

When I install Rocket.Chat with Docker and a manual installation I get the following error (only Docker with snaps works):

Does anyone know why?

Note: The installation is successful because the database fills with 56 collections. The process doesn’t stop, it keeps running.

cat << EOF |sudo tee -a /lib/systemd/system/rocketchat.service
Description=The Rocket.Chat server nginx.service mongod.service
ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js
Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT_URL=http://localhost:3000/ PORT=3000

In Environment it had localhost instead of and it did not recognize the folders.

I hope that it would be useful to someone.

1 Like

Thanks for sharing the solution :slight_smile:

1 Like