Updated Troubleshooting (markdown)

Christian Mäder 2020-03-15 15:04:38 +01:00
parent c55659eaf7
commit 9ce3e4bbb6

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