-
Notifications
You must be signed in to change notification settings - Fork 949
Open
Labels
cliArea: CLIArea: CLIobservabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)Issues related to observability (metrics, dashboards, alerts, opentelemetry)
Description
When older coder
executables encounter database schemas from newer builds that have newer migrations, they produce a somewhat inscrutable error that doesn't provide the user a meaningful call to action.
Current:
2024-08-12 17:51:10.327 [erro] connect to postgres failed ...
error= migrate up:
github.com/coder/coder/v2/cli.ConnectToPostgres
/home/runner/work/coder/coder/cli/server.go:2157
- up:
github.com/coder/coder/v2/coderd/database/migrations.UpWithFS
/home/runner/work/coder/coder/coderd/database/migrations/migrate.go:82
- no migration found for version 237: read down for version 237 .: file does not exist
Proposal:
2024-08-12 17:51:10.327 [erro] connect to postgres failed ...
error= Current database requires Coder version 2.14.0 or greater
stirby
Metadata
Metadata
Assignees
Labels
cliArea: CLIArea: CLIobservabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)Issues related to observability (metrics, dashboards, alerts, opentelemetry)