[horde] Horde install fails using Composer
Ralf Lang
ralf.lang at ralf-lang.de
Fri Oct 14 06:39:06 UTC 2022
Hello Horst,
Am 13.10.22 um 06:37 schrieb Horst Simon:
> 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?
Just released: v2.5.5 to ensure any of composer 2.2-2.4 are supported
again. It works on PHP 7.4 as well as PHP 8.1
https://horde-satis.maintaina.com/?#horde-installer-plugin
https://github.com/maintaina-com/horde-installer-plugin/releases
In case you see errors when upgrading from the plugin version which does
not work for you, please delete the vendor/ folder and the composer.lock
file. Then run "composer update"
Regards,
Ralf
More information about the horde
mailing list