From e0c22ea3ebbb6caa8d38cf418f652e68677dc4f7 Mon Sep 17 00:00:00 2001 From: Josiah Clumont Date: Thu, 19 Feb 2026 09:38:04 +1300 Subject: [PATCH] fix(copy): Fixed an issue with the downgrade links [R8S-832] (#1907) --- api/dataservices/errors/errors.go | 2 +- api/datastore/migrator/migrate_ce.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/dataservices/errors/errors.go b/api/dataservices/errors/errors.go index 5c4548e37..f8fbe8470 100644 --- a/api/dataservices/errors/errors.go +++ b/api/dataservices/errors/errors.go @@ -6,7 +6,7 @@ import ( var ( ErrObjectNotFound = errors.New("object not found inside the database") - ErrWrongDBEdition = errors.New("the Portainer database is set for Portainer Business Edition, please follow the instructions in our documentation to downgrade it: https://documentation.portainer.io/v2.0-be/downgrade/be-to-ce/") + ErrWrongDBEdition = errors.New("the Portainer database is set for Portainer Business Edition, please follow the instructions in our documentation to downgrade it: https://docs.portainer.io/faqs/upgrading/can-i-downgrade-from-portainer-business-to-portainer-ce") ErrDBImportFailed = errors.New("importing backup failed") ErrDatabaseIsUpdating = errors.New("database is currently in updating state. Failed prior upgrade. Please restore from backup or delete the database and restart Portainer") ) diff --git a/api/datastore/migrator/migrate_ce.go b/api/datastore/migrator/migrate_ce.go index f3c069be9..c79205d91 100644 --- a/api/datastore/migrator/migrate_ce.go +++ b/api/datastore/migrator/migrate_ce.go @@ -95,7 +95,7 @@ func (m *Migrator) NeedsMigration() bool { // In this particular instance we should log a fatal error if m.CurrentDBEdition() != portainer.PortainerCE { - log.Fatal().Msg("the Portainer database is set for Portainer Business Edition, please follow the instructions in our documentation to downgrade it: https://documentation.portainer.io/v2.0-be/downgrade/be-to-ce/") + log.Fatal().Msg("the Portainer database is set for Portainer Business Edition, please follow the instructions in our documentation to downgrade it: https://docs.portainer.io/faqs/upgrading/can-i-downgrade-from-portainer-business-to-portainer-ce") return false }