

May 07 15:28:17 hostname systemd: : Service hold-off time over, scheduling restart. May 07 15:28:16 hostname systemd: : Failed with result 'exit-code'. May 07 15:28:16 hostname systemd: : Main process exited, code=exited, status=1/FAILURE Please make sure Mongo has started successfully: sudo systemctl status -mongo to view logs: sudo journalctl -u -mongo However, upon starting everything, RocketChat is unable to connect to mongodb: May 07 15:28:16 hostname rocketchat-server.rocketchat-server: Was unable to connect to Mongo. Start mongodb and Rocket.Chat sudo service -mongo start Replace Snap common directory with sym link to it's new location on the external drive sudo ln -s /mnt/mountpoint/rocketchat-server-data/common /var/snap/rocketchat-server/common Move common directory from Snap directory to the external drive sudo mv /var/snap/rocketchat-server/common /mnt/mountpoint/rocketchat-server-data/common Sudo service -mongo stopĬreate directory on external drive to hold Rocket.Chat data sudo mkdir /mnt/mountpoint/rocketchat-server-data Stop Rocket.Chat and mongodb sudo service -server stop Sudo service -server startĪllow removable media sudo snap connect rocketchat-server:removable-media So far this is what I have tried:īackup Rocket.Chat sudo service -server stop I would like to move the data (but not the entire snap) to another hard drive. I have Rocket.Chat running on Ubuntu 18.04.4 LTS through Snap.
