Migrate to new server with docker-compse

Description

I’m trying to move my RC installation to a new server, I’ve setup nginx and docker-compose on the new server identically to the older server, and copied the data-folder to the new server.
The old server OS is: Ubuntu 14.04.
The new server OS is: Ubuntu 18.04.

When I first start the new server it works for a while, but shows “Internal Error” messages in the corner regularly. Some actions does not work at all, such as visiting a channel. I added some screenshots of the errors that are produced.

Server Setup Information

  • Version of Rocket.Chat Server: 2.1.1
  • Operating System: Ubuntu
  • Deployment Method: Docker-compose
  • Number of Running Instances: 1
  • MongoDB Version: 3.6
  • Proxy: Nginx

Additional Information

I tried doing it with mongodump at first but I couldn’t figure out how to do it, so I hoped that it would work just as well by copying the data folder.

Any help would be much appreciated!

Nevermind, I solved this by doing a mongodump on the original server and mongorestore --drop on the new server.