X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fupgrade%2Fserv_upgrade.c;h=4d9b176a6b331fdb8ffc84aba0c70df8c146b7c4;hb=d383bc5305bc266d8ca34e61753bc47f7a2a83d4;hp=2df2db61c63e5cfecba7ce9225315ea613bf405a;hpb=ba196da6b1ae7bdd2e72558ff35fe17d8597d141;p=citadel.git diff --git a/citadel/server/modules/upgrade/serv_upgrade.c b/citadel/server/modules/upgrade/serv_upgrade.c index 2df2db61c..4d9b176a6 100644 --- a/citadel/server/modules/upgrade/serv_upgrade.c +++ b/citadel/server/modules/upgrade/serv_upgrade.c @@ -393,6 +393,12 @@ void pre_startup_upgrades(void) { return; } + // After 2026-may-06 we will do the following: + // 1. Set the oldest upgradable version to 902 (it will then be ten years old) + // 2. Remove support for upgrading from the legacy config and control file formats. + + // Currently, the oldest upgradable version is 811, which was released on 2012-may-21 + if ((oldver > 000) && (oldver < 811)) { syslog(LOG_EMERG, "This database is too old to be upgraded. Citadel server will exit."); exit(EXIT_FAILURE);