Upgrading Proxbox¶
Plugin Upgrade Checklist¶
Use this flow when upgrading an existing Proxbox installation in NetBox:
cd /opt/netbox/netbox
source /opt/netbox/venv/bin/activate
pip install -U netbox-proxbox
python3 manage.py migrate netbox_proxbox
python3 manage.py collectstatic --no-input
sudo systemctl restart netbox
If you install from a Git checkout instead of PyPI, replace the install step with:
pip install -e /opt/netbox/netbox/netbox-proxbox
Important Notes¶
- Proxbox
0.0.18.post1is the current release for NetBox4.5.8,4.5.9, and4.6.x(validated againstv4.5.8,v4.5.9,v4.6.0, and officialv4.6.1; declared compatibility range4.5.8through4.6.99). It is prepared for certification with the separateproxbox-apibackend release0.0.14, which ships the SDN, CPU-model, and datacenter-options endpoints that power the new sync services.proxbox-apiis not installed as a plugin dependency. The previous0.0.17release pairs with backend0.0.13. - This release adds one new migration:
0041_pve_9_2(four new tables —ProxmoxSdnFabric,ProxmoxSdnRouteMap,ProxmoxSdnPrefixList,ProxmoxDatacenterCpuModel— and one new columnProxmoxNode.location). Runpython manage.py migrate netbox_proxboxafter upgrade. - If you operate the proxbox-api
*-nginximage and previously could not connect, edit the FastAPI endpoint after upgrade and tick Use HTTPS (and untick Verify SSL if you use the bundled mkcert cert). - Recent releases moved sync execution to NetBox Jobs and the default RQ queue, so keep a standard NetBox RQ worker running after upgrade.
- Review the release notes before jumping from older
0.0.7or early0.0.9installs; the0.0.15line continues the NetBox4.5.8/4.5.9/4.6compatibility path established in0.0.13.post4and0.0.14. For0.0.15specifically, the new NetBox→Proxmox intent path is opt-in viaProxboxPluginSettings.netbox_to_proxmox_enabledplus a typed-confirmation phrase; nothing changes for existing installs unless an operator explicitly opts in. - If you run
proxbox-api >= 0.0.10behind a reverse proxy and want per-client rate-limiting and brute-force lockout to track real client IPs, setPROXBOX_TRUSTED_PROXIES(CIDR list) on the backend container. Without it,X-Forwarded-Foris ignored and limits apply to the proxy's IP. This is a backend-side configuration; the plugin itself does not care. - Upgrading from a pre-
0.0.13install introduces 16 new per-endpointoverwrite_*columns onProxmoxEndpoint. That migration shipped in0.0.13;0.0.15adds the newoverwrite_ip_address_dns_namecolumn on top.
Backend Upgrade¶
Upgrade the separate proxbox-api service independently of the plugin:
source /opt/proxbox-api/venv/bin/activate
pip install -U proxbox-api
sudo systemctl restart proxbox
If you run the backend in Docker, pull the new image tag and recreate the container.
After upgrading from a backend older than 0.0.13, run a Full Update from
the Proxbox home page. That pass repopulates the proxmox_vm_id custom field
on VMs created before the VM config fix; the VM IP-address stage depends on
that field when it matches Proxmox VMs back to NetBox objects. If the FastAPI
card shows the PR #156 advisory for proxbox-api 0.0.13 or 0.0.14, install
a backend build containing that fix, or the next fixed backend release, before
re-testing VM IP sync.