fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Migrations for 4.67 need to be renumbered

Open jmwatts opened this issue 10 months ago • 0 comments

Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version -->

Web browser and operating system:


💥  Actual behavior

################################################################################
# WARNING:
#   Your Fleet database is missing required migrations. This is likely to cause
#   errors in Fleet.
#
#   Missing migrations: tables=[20250325122638].
#
#   Run `./build/fleet prepare db` to perform migrations.
#
#   To run the server without performing migrations:
#     - Set environment variable FLEET_UPGRADES_ALLOW_MISSING_MIGRATIONS=1, or,
#     - Set config updates.allow_missing_migrations to true, or,
#     - Use command line argument --upgrades_allow_missing_migrations=true
################################################################################

🧑‍💻  Steps to reproduce

  1. Attempt to upgrade from 4.66.0 to main (4.67.0) (run migrations first)

🕯️ More info (optional)

20250326161930_UpdateNanoCertAuthRenewal.go got cherry-picked into 4.66.0, but 20250325122638_AddPlatformAndTeamIDToNanoDevices.go didn’t, so 4.66 -> 4.67 migration is currently borked.

jmwatts avatar Apr 04 '25 18:04 jmwatts