Where is rocketchat's log file?

This is a popular post but the answer to the original post won’t be to delete logs.

Where do *buntu servers store logs:

You can also use some of these commands in a terminal:

journactl

journalctl -u snapd

journalctl -u nginx.service

journalctl -f

journalctl --disk-usage

journalctl -xe

More information on snaps specifically here:

For docker logs you can use something like:

docker logs -f <container_name>

As for this particular issue logs don’t usually take up that much space, relatively.

It is most likely that the MongoDB inside the snap was using GridFS and got filled with files.

First thing is can you delete any other files to make space?

If not then follow the above FAQ, stop Rocket.Chat, backup, remove the snap, increase the disk size, and restore.

Make sure you restore to the exact same version you backed up from.

There may be other answers but hope this helps people searching for log questions.

2 Likes