[horde] 2025/23 releases - The path towards beta
Jean Charles Delépine
delepine at u-picardie.fr
Fri Jun 6 11:25:28 UTC 2025
Quoting Ralf Lang <ralf.lang at ralf-lang.de>:
>> *Upgrade Instructions:*
>>
>> # Allow unreleased development code from branch
>> composer config minimum-stability dev
>> # Prefer released alpha, beta or stable code over less stable versions
>> composer config prefer-stable true
>> # Install the new version of the installer plugin
>> composer require horde/horde-installer-plugin "^3 || dev-FRAMEWORK_6_0"
>> # Update everything according to environment set above
>> composer update
Updating dependencies
Lock file operations: 0 installs, 0 updates, 23 removals
>> # Transition from symlink mode to proxy mode and rewrite registry files
>> composer horde:reconfigure --force
done
Reinstalling my apps with
- require horde/app,
- horde:reconfigure (without --force here : with it the config
files weren't link).
- connect, admin, configure, test
All ok (imp, ingo, kronolith, turba, nag, mnemo).
Installing passwd gives :
Got error 'PHP message: PHP Fatal error: Cannot redeclare class
Horde_Application (previously declared in
/var/www/horde-git/horde/base/lib/Application.php:26)
Removing it didn't solve.
> If in doubt, please double check:
Quite all ok but a different output :
There is no installed package depending on
"horde/horde-installer-plugin" in versions not matching ^3
Not finding what you were looking for? Try calling `composer update
"horde/horde-installer-plugin:^3" --dry-run` to get another view on
the problem.
instead of your
I finally find that :
composer horde:reconfigure --force
didn't change var/config/horde/registry.d/00-horde.php and that this
file contained
« To reset from defaults, run `composer horde:reconfigure --force
--mode=symlink` »
After removing var/config/horde/registry.d/* and reconfigure it :
www-data at web:~/horde$ cat var/config/horde/registry.d/00-horde.php
<?php
/**
* AUTOGENERATED ONLY IF ABSENT
* Edit this file to match your needs
* To reset from defaults, run `composer horde:reconfigure --force
--mode=proxy`
*/
It looks better now, but I'm still getting the error "Cannot redeclare
class Horde_Application".
So I just try an other upgrade (after many others) :
./horde-components.phar github-clone-org
./horde-components.phar install
composer install
which removes all my apps and solves my problem. ;-)
LANG=C find . -mindepth 1 -maxdepth 1 -type d -exec bash -c 'cd "{}"
&& pwd && git pull --rebase' \;
still find stuff to upgrade even after ./horde-components.phar
github-clone-org :
/var/www/horde-git/horde/Stringprep
Updating 3c47c4a..82ec216
--
/var/www/horde-git/horde/Backup
Updating c1030e8..4c7574d
--
/var/www/horde-git/horde/imp
Updating 65a3f1321..8add4deea
--
/var/www/horde-git/horde/Rdo
Updating 0c3f8b4..4f307c6
--
/var/www/horde-git/horde/base
Updating f8735abf..592c3b5e
--
/var/www/horde-git/horde/Imsp
Updating efc32ce..2e4030e
--
/var/www/horde-git/horde/bundle
Updating dcb631a..570139f
I will continue my tests after lunch.
Jean Charles Delépine
--
Service systèmes et réseaux - DISI
Université de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens
--
Service systèmes et réseaux - DISI
Université de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens
More information about the horde
mailing list