Update Standard n8n instance

1. Free space on the server

ONLY RUN THIS WHEN THE CONTAINERS ARE UP AND RUNNING otherwise you might delete important things.
docker system prune -a
You might want to look into adding more HD space for longer term viability.

2. Make your backup

cd /home/ubuntu/
sudo tar -czf n8n-backup-<date>.tgz n8n/
You might have to cleanup old backups if space is an issue

3. Validate the contents of your backup

tar -ztvf n8n-backup-<date>.tgz

4. Make note of what version you are on incase you need to revert/restore

 

5. Update images

cd /home/ubuntu/n8n
docker-compose pull

6. Remove/Restart containers

cd /home/ubuntu/n8n
docker-compose rm -fs
docker-compose up -d