Zrok controller starts with no error in v1.0.4 [3f5db643].
But v1.0.6 is different. It seems that I need to enroll the zrok-controller somehow.
Jun 30 12:21:56 buratino zrok[3964]: {"file":"/__w/zrok/zrok/controller/overview.go:41","func":"github.com/openziti/zrok/controller.(*overviewHandler).Handle","level":"error","msg":"error checking agent enrollment for environment 'token' (user@domain.name): pq: relation \"agent_enrollments\" does not exist","time":"2025-06-30T12:21:56.803Z"}
Apparently you suggest to change the setting to perform the migration.
I have an array of 5 zrok-controllers. I would prefer to upgrade only one of them from v1.0.4 to v1.0.6.
I hope that by setting the store.disable_auto_migration=false and launching zrok v1.0.6 I will not break the remaining instances running zrok v1.0.4.
I have seen the release notes for v1.0.5 but I have not understood why zrok-controller can not start without enrollment. So far zrok-controllers do not require any environment.
You can use the zrok admin migrate command to manually perform the migration and leave the disable_auto_migration setting alone.
We don't necessarily support running mixed versions of zrok against the same database. In this case, the migration is purely additive and should be fine.
But in future cases that might not be the possible.
It's not an enrollment it can't start without. It's a table that's missing from the database that the logic in the zrok controller expects to be there or it's SQL queries fail.
Without seeing your database it's hard to say what's going on here, but it appears that your migrations table might be corrupted or missing, because it's trying to apply the very first migration like it's a new database.