[horde] Horde install fails using Composer
Ralf Lang
ralf.lang at ralf-lang.de
Thu Oct 13 05:46:57 UTC 2022
Hi 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?
Yes, I am currently writing a detailed installation document as a user
requested.
opensuse 15.4 ships with composer 2.2. I will try to reproduce your
issue with their packaged version and provide guidance.
More information about the horde
mailing list