[horde] A Haystack at installing Horde 6 with Composer

Andreas Mauser andreas at mauser.info
Sat Jan 13 12:36:39 UTC 2024


Am 13. Januar 2024 um 09:00 schrieb "Andreas Mauser" <andreas at mauser.info>:



> 
> Am 12. Januar 2024 um 22:51 schrieb "Lang, Ralf" <ralf.lang at gmail.com>:
> 
> > 
> > Am 12/01/2024 um 19:26 schrieb Lang, Ralf:
> > 
> >  
> > 
> >  
> > 
> >  Hi Andreas,
> > 
> >  
> > 
> >  > 
> > 
> >  > The error:
> > 
> >  > 
> > 
> >  > 2024-01-12T18:00:00+00:00 DEBUG: HORDE [horde] PHP ERROR: strrpos(): 
> > 
> >  > 
> > 
> >  > Passing null to parameter #1 ($haystack) of type string is deprecated 
> > 
> >  > 
> > 
> >  > [pid 552 on line 221 of 
> > 
> >  > 
> > 
> >  > "/var/www/html/post/vendor/horde/core/lib/Horde.php"]
> > 
> >  > 
> > 
> >  > 2024-01-12T18:05:15+00:00 DEBUG: HORDE [horde] PHP ERROR: strrpos(): 
> > 
> >  > 
> > 
> >  > Passing null to parameter #1 ($haystack) of type string is deprecated 
> > 
> >  > 
> > 
> >  > [pid 552 on line 221 of 
> > 
> >  > 
> > 
> >  > "/var/www/html/post/vendor/horde/core/lib/Horde.php"]
> > 
> >  > 
> > 
> >  
> > 
> >  Thank you for sending the log. I will look into this - should be easy 
> > 
> >  
> > 
> >  enough to find and fix.
> > 
> >  
> > 
> >  
> > 
> >  Fix deprecation warning reported by Andreas Mauser. ยท horde/Core at 37dcb14 
> > 
> >  
> > 
> >  (github.com) 
> > 
> >  
> > 
> >  <https://github.com/horde/Core/commit/37dcb14ad37110100ae8be6758a6b40bd75caacc> https://github.com/horde/Core/commit/37dcb14ad37110100ae8be6758a6b40bd75caacc%3E  https://github.com/horde/Core/commit/37dcb14ad37110100ae8be6758a6b40bd75caacc%3E 
> > 
> >  
> > 
> >  This will be in the next alpha release. If you want to test it right 
> > 
> >  
> > 
> >  now, run
> > 
> >  
> > 
> >  composer require horde/core dev-FRAMEWORK_6_0
> > 
> 
> I did just now and 
> 
> # composer require horde/core dev-FRAMEWORK_6_0
> 
> Do not run Composer as root/super user! See https://getcomposer.org/root for details
> 
> Continue as root/super user [yes]? yes
> 
> ./composer.json has been updated
> 
> Running composer update horde/core
> 
> Loading composer repositories with package information
> 
> Updating dependencies
> 
> Your requirements could not be resolved to an installable set of packages.
> 
>  Problem 1
> 
>  - horde/mnemo is locked to version v5.0.0alpha7 and an update of this package was not requested.
> 
>  - horde/mnemo v5.0.0alpha7 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
> 
>  Problem 2
> 
>  - horde/turba is locked to version v5.0.0alpha8 and an update of this package was not requested.
> 
>  - horde/turba v5.0.0alpha8 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
> 
>  Problem 3
> 
>  - horde/form v3.0.0alpha5 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
> 
>  - horde/nag v5.0.0alpha5 requires horde/form ^3 || dev-FRAMEWORK_6_0 -> satisfiable by horde/form[v3.0.0alpha5].
> 
>  - horde/nag is locked to version v5.0.0alpha5 and an update of this package was not requested.
> 
> Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
> 
> Installation failed, reverting ./composer.json and ./composer.lock to their original content.
> 
> I run as root as for this test install I dont care.
> 
> Hope its not a problem at the end.

As you are constantly working on it, I tried today and git the following and I hope it helps debugging.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - horde/mnemo is locked to version v5.0.0alpha7 and an update of this package was not requested.
    - horde/mnemo v5.0.0alpha7 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
  Problem 2
    - horde/turba is locked to version v5.0.0alpha8 and an update of this package was not requested.
    - horde/turba v5.0.0alpha8 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
  Problem 3
    - horde/form v3.0.0alpha5 requires horde/core ^3 -> found horde/core[3.0.0alpha1, ..., v3.0.0alpha16] but it conflicts with your root composer.json require (dev-FRAMEWORK_6_0).
    - horde/nag v5.0.0alpha5 requires horde/form ^3 || dev-FRAMEWORK_6_0 -> satisfiable by horde/form[v3.0.0alpha5].
    - horde/nag is locked to version v5.0.0alpha5 and an update of this package was not requested.



> 
> > 
> > -- 
> > 
> >  
> > 
> >  Horde mailing list
> > 
> >  
> > 
> >  Frequently Asked Questions: http://horde.org/faq/
> > 
> >  
> > 
> >  To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> > 
> 
> -- 
> 
> Horde mailing list
> 
> Frequently Asked Questions: http://horde.org/faq/
> 
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list