[imp] imp Digest, Vol 4247, Issue 1

info at interpost.biz info at interpost.biz
Fri Dec 23 18:33:45 UTC 2022


  Hi Brent,

This may not be the solution, however my lengthy experience
with composer indicates that it is usually best to add the tag -W (or  
--with-all-dependencies) at the end of the horde update command, and I  
find it is much better to actually modify the composer.json file with  
your requirements than to use the composer require ... method.

So once you modify the comoser.json file, do a 
composer update horde/* -W

command and see if that doesn't help.

Best,

  Ed

Quoting imp-request at lists.horde.org:

> Send imp mailing list submissions to
>         imp at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.horde.org/mailman/listinfo/imp
> or, via email, send a message with subject or body 'help' to
>         imp-request at lists.horde.org
>
> You can reach the person managing the list at
>         imp-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of imp digest..."
>
> Today's Topics:
>
>   1. How to do ActiveSync on php8 with H6? (Brent)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 Dec 2022 09:55:45 -0800
> From: Brent <impuser at bitrealm.com>
> To: imp at lists.horde.org
> Subject: [imp] How to do ActiveSync on php8 with H6?
> Message-ID:
>         <20221222095545.Horde.a0uC5Wb4ETh5RqxcFT2pIPW at mail.bitrealm.com>
> Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
>
> I have horde/imp working on php8.1 using the H6 composer method of
> installation. I'm trying to see if I can get ActiveSync working, but
> there's a few problems. I assume these are known?
>
> When I try to enable ActiveSync in the UI and save the config, I get:
>
> A fatal error has occurred
> Class "Horde_ActiveSync_State_Sql" not found
>
> I figure I must need to install activesync via composer. I do:
>
> $  composer require horde/activesync
> Using version ^2.13 for horde/activesync
> ./composer.json has been updated
> Running composer update horde/activesync
> Loading composer repositories with package information
> Updating dependencies
> Your requirements could not be resolved to an installable set of packages.
>
>   Problem 1
>     - horde/activesync[2.38.3, ..., 2.41.5] require
> pear-pear.horde.org/horde_compress[1] ^2 -> could not be found in any
> version, there may be a typo in the package name.
>     - horde/activesync[2.13.1, ..., 2.38.2] require
> pear-pear.horde.org/horde_compress[1] >=2.0.0 at stable,<=3.0.0alpha1 at stable
> -> could not be found in any version, there may be a typo in the
> package name.
>     - Root composer.json requires horde/activesync ^2.13 ->
> satisfiable by horde/activesync[2.13.1, ..., 2.41.5].
>
> Ok, so missing compress, but it looks like it is trying to locate the
> pear php compress module from horde.org? If I try to do a composer
> install of it, I get:
>
> $ composer require horde/compress
> Using version ^2.0 for horde/compress
> ./composer.json has been updated
> Running composer update horde/compress
> Loading composer repositories with package information
> Updating dependencies
> Your requirements could not be resolved to an installable set of packages.
>
>   Problem 1
>     - Root composer.json requires horde/compress ^2.0, found
> horde/compress[2.0.5, ..., 2.2.4] but these were not loaded, likely
> because it conflicts with another require.
>   Problem 2
>     - horde/imp is locked to version dev-FRAMEWORK_6_0 and an update
> of this package was not requested.
>     - horde/imp dev-FRAMEWORK_6_0 requires horde/compress ^3 ||
> dev-FRAMEWORK_6_0 -> found horde/compress[dev-FRAMEWORK_6_0,
> 3.0.0alpha1, 3.0.0alpha2, v3.0.0alpha3, v3.0.0alpha4] but it conflicts
> with your root composer.json require (^2.0).
>   Problem 3
>     - horde/core v3.0.0alpha13 requires horde/compress ^3 ||
> dev-FRAMEWORK_6_0 -> found horde/compress[dev-FRAMEWORK_6_0,
> 3.0.0alpha1, 3.0.0alpha2, v3.0.0alpha3, v3.0.0alpha4] but it conflicts
> with your root composer.json require (^2.0).
>     - horde/kronolith dev-FRAMEWORK_6_0 requires horde/core ^3 ||
> dev-FRAMEWORK_6_0 -> satisfiable by horde/core[v3.0.0alpha13].
>     - horde/kronolith is locked to version dev-FRAMEWORK_6_0 and an
> update of this package was not requested.
>
> It looks like updates recently have fixed the issue where the Horde
> installation said that I needed to update database tables. So, that's
> good.
>
> I can provide more information. I assume that ActiveSync hasn't been
> fully ported to H6 yet or I'm doing something wrong.
>
> Thanks!
>
> Brent
>
> ------------------------------
>
> Subject: Digest Footer
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> ------------------------------
>
> End of imp Digest, Vol 4247, Issue 1************************************



Links:
------
[1] http://pear-pear.horde.org/horde_compress


More information about the imp mailing list