mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-18 07:56:38 +02:00
Updated Troubleshooting (markdown)
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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user