Upgrading the App¶
Here you will find any steps necessary to upgrade the App in your Nautobot environment.
Upgrade Guide¶
- Read the release notes and back up the database and uploaded archives.
- Prepare persistent private atlas storage if using the Operational Map.
- Stop Nautobot web and worker services, then upgrade the package.
- Run post-upgrade tasks with the database, original media, and private storage available.
- Restart services and validate key TRAX workflows.
For an existing map installation, follow the private atlas migration instructions before restarting services. Container deployments must keep both storage mounts available to the migration/init container.
Upgrade to the latest release:
Upgrade to a specific version:
Apply migrations and clear caches:
When using offline maps, verify storage from each web/worker instance:
Migration 0012_operation_map_tile_sets adds optional operation basemap
associations. Existing operations continue to use the available map selector
until associations are configured. Missing archives are now excluded from that
selector and return uncacheable 503 responses instead of tile 404s or stale 304s.
Mission transport upgrade (0.1.3)¶
- Before upgrading, inspect existing Transport Options for circuits assigned to
more than one row, including rows with no Mission Plan. Deliberately release
the duplicate allocations; migration
0014stops if duplicates remain. - Install 0.1.3 consistently in web, worker, and scheduler environments. Run
post_upgradewith services stopped to add the optional interface reference (0013) and enforce exclusive circuit allocation (0014). - Existing transport rows are preserved. For each assigned mission, confirm its deployed kit, then correct terminal, circuit, and frequency-set tenancy in Nautobot before editing the transport. Release incompatible allocations first.
- Open the Mission Plan to edit its transports. For circuit transports, select an interface on the deployed kit's device. The device is derived from that interface. Satellite transports retain their terminal and optionally reference the planned router interface; no physical cable is required.
- Update API clients to send
interfacewhen creating/editing circuit transports and to respect exclusive allocation and kit ownership validation. Verify the supported Mission Plan editing workflow before resuming planning work.
The Dev Seed job is a development/training helper, not a production data migration. It assigns ISB/FSB to ACP-101/ACP-102, can create missing fixture inventory, and leaves unassigned missions without new transport allocations. Do not run it as an automatic upgrade step on operational data.
Upgrade Notes¶
- Pin the package version and review release notes before upgrading.
- The 0.1.x series can introduce schema or behavior changes before version 1.0.
- Operational Map archive processing requires Python 3.11 or later. Other TRAX functions retain the package's Python 3.10–3.13 requirement.
- Normal migration does not create the demo operator. For an existing demo,
nautobot-server setup_operator_userrefreshes its permissions, including Map Tile Set permissions, without resetting an existing password.