[horde] Horde install fails using Composer

Horst Simon horst.simon2 at icloud.com
Thu Oct 13 04:37:34 UTC 2022


Hi,

I tried to install horde groupware on opeSUSE Leap 15.4 using composer, php is version 7.4.25. I followed the instructions given in URL: https://github.com/horde/horde-deployment/blob/master/README.md.
I get following error when running composer install, after this message:

73 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Horde\Composer\HordeReconfigureFlow::fromComposer() must be an instance of Composer\PartialComposer, instance of Composer\Composer given, called in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstaller.php on line 28 and defined in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeReconfigureFlow.php:38
Stack trace:
#0 /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstaller.php(28): Horde\Composer\HordeReconfigureFlow::fromComposer()
#1 /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstallerPlugin.php(59): Horde\Composer\HordeInstaller->reconfigure()
#2 [internal function]: Horde\Composer\HordeInstallerPlugin->reconfigureHandler()
#3 phar:///usr/bin/composer2/src/Composer/EventDispatcher/EventDispatcher.php(192): call_user_func()
#4 phar:///usr/bin/composer2/src/Composer/EventDispatcher/EventDispatcher.php(119): Composer\EventDispatcher\EventDispatcher->doDispatch()
#5 phar:///usr/bin/composer2/src/Composer/ in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeReconfigureFlow.php on line 38

Fatal error: Uncaught TypeError: Argument 1 passed to Horde\Composer\HordeReconfigureFlow::fromComposer() must be an instance of Composer\PartialComposer, instance of Composer\Composer given, called in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstaller.php on line 28 and defined in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeReconfigureFlow.php:38
Stack trace:
#0 /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstaller.php(28): Horde\Composer\HordeReconfigureFlow::fromComposer()
#1 /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeInstallerPlugin.php(59): Horde\Composer\HordeInstaller->reconfigure()
#2 [internal function]: Horde\Composer\HordeInstallerPlugin->reconfigureHandler()
#3 phar:///usr/bin/composer2/src/Composer/EventDispatcher/EventDispatcher.php(192): call_user_func()
#4 phar:///usr/bin/composer2/src/Composer/EventDispatcher/EventDispatcher.php(119): Composer\EventDispatcher\EventDispatcher->doDispatch()
#5 phar:///usr/bin/composer2/src/Composer/ in /opt/local/horde/vendor/horde/horde-installer-plugin/src/HordeReconfigureFlow.php on line 38.

Are there any prerequisite missing, or more detail information available on using the composer install?

Kind Regards,
Horst Simon


More information about the horde mailing list