diff --git a/internal/cmd/commands/server/server.go b/internal/cmd/commands/server/server.go index d746a09c9..441eb381b 100644 --- a/internal/cmd/commands/server/server.go +++ b/internal/cmd/commands/server/server.go @@ -371,7 +371,7 @@ func (c *Command) Run(args []string) int { // 1 second is chosen so the shutdown is still responsive and this is a mostly // non critical step since the lock should be released when the session with the // database is closed. - ctx, cancel := context.WithTimeout(context.Background(), 1 * time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() if err := sMan.SharedUnlock(ctx); err != nil { c.UI.Error(fmt.Errorf("Unable to release shared lock to the database: %w", err).Error()) @@ -391,7 +391,7 @@ func (c *Command) Run(args []string) int { return 1 } if ckState.BinarySchemaVersion > ckState.DatabaseSchemaVersion { - c.UI.Error(base.WrapAtLength("Database schema must be updated to use this version. Run 'boundary database migrate' to update the database.")) + c.UI.Error(base.WrapAtLength("Database schema must be updated to use this version. Run 'boundary database migrate' to update the database. NOTE: Boundary does not currently support live migration; ensure all controllers are shut down before running the migration command.")) return 1 } if ckState.BinarySchemaVersion < ckState.DatabaseSchemaVersion {