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? > 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 ```bash
docker-compose pull netbox # Update the configuration files
docker-compose stop netbox netbox-worker git pull origin/release
docker-compose rm -f netbox netbox-worker
# Fetch the newest containers
docker-compose rm -fs netbox netbox-worker
docker-compose pull
docker-compose up -d netbox netbox-worker docker-compose up -d netbox netbox-worker
``` ```