From 9ce3e4bbb6232ddaee7d90da79b2116f7c461f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Sun, 15 Mar 2020 15:04:38 +0100 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 0518f5e..54ccaca 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -100,12 +100,19 @@ This usually happens when the `ALLOWED_HOSTS` variable is not set correctly. > How do I update to a newer version of netbox? -It should be sufficient to pull the latest image from Docker Hub, stopping the container and starting it up again: +⚠️ Make sure to take a database backup first. + +💡 Read the release notes. They include important update information. + +Update your local installation: ```bash -docker-compose pull netbox -docker-compose stop netbox netbox-worker -docker-compose rm -f netbox netbox-worker +# Update the configuration files +git pull origin/release + +# Fetch the newest containers +docker-compose rm -fs netbox netbox-worker +docker-compose pull docker-compose up -d netbox netbox-worker ```