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 ```