[horde] ActiveSync classes not found after Horde move

Michael Brohl michael at brohl.net
Thu Jan 30 16:52:42 UTC 2020


Thanks for pointing me in the right direction, Michael.

The ActiveSync package was not installed due to a dependency to 
Horde_Mapi which has a dependeny on the PHP extension bcmath which was 
not available.

sudo pear install horde/horde_activesync
horde/Horde_Mapi requires PHP extension "bcmath"
horde/Horde_ActiveSync requires package "horde/Horde_Mapi" (version >= 
1.0.0, version <= 2.0.0alpha1, excluded versions: 2.0.0alpha1)
No valid packages found
install failed

I must have missed this during the install. Everything works fine now.

Thank you very much,

Michael


Am 25.01.20 um 17:51 schrieb Michael J Rubinsky:
>
> Quoting Michael Brohl <michael at brohl.net>:
>
>> Hi,
>>
>> after moving my Horde installation to a new server (Ubuntu 18.04 LTS,
>> PHP 7.2) the active sync components do not work.
>>
>> If I go to the adminstration section (domain.tld/admin/config/) the 
>> following
>> error is shown:
>>
>> Class 'Horde_ActiveSync_State_Sql' not found
>> in /usr/share/php/Horde/Core/Factory/ActiveSyncState.php:24
>>
>> 1. Horde_Core_Nosql->getDrivers()
>> /usr/share/php/www/horde/admin/config/index.php:297
>> 2. Horde_Core_Nosql->{closure}() /usr/share/php/Horde/Core/Nosql.php:78
>> 3. Horde_Injector->getInstance() /usr/share/php/Horde/Core/Nosql.php:51
>> 4. Horde_Injector->createInstance() 
>> /usr/share/php/Horde/Injector.php:272
>> 5. Horde_Injector_Binder_Factory->create()
>> /usr/share/php/Horde/Injector.php:238
>> 6. Horde_Core_Factory_ActiveSyncState->create()
>> /usr/share/php/Horde/Injector/Binder/Factory.php:119
>>
>>
>> The horde logs (syslog) also show the following errors:
>>
>> HORDE[5618]: [horde] Error: Class 'Horde_ActiveSync_Wbxml' not found
>> in /usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:13
>> Stack trace:
>> #0 /usr/share/php/Horde/Injector/Binder/Factory.php(119):
>> Horde_Core_Factory_ActiveSyncServer->create(Object(Horde_Injector))
>> #1 /usr/share/php/Horde/Injector.php(238):
>> Horde_Injector_Binder_Factory->create(Object(Horde_Injector))
>> #2 /usr/share/php/Horde/Injector.php(272):
>> Horde_Injector->createInstance('Horde_ActiveSyn...')
>> #3 /usr/share/php/www/horde/rpc.php(102):
>> Horde_Injector->getInstance('Horde_ActiveSyn...')
>> #4 {main} [pid 5618 on line 74 of 
>> "/usr/share/php/Horde/ErrorHandler.php"]
>>
>> HORDE[6107]: [horde] Error: Class 'Horde_ActiveSync_State_Sql' not
>> found in /usr/share/php/Horde/Core/Factory/ActiveSyncState.php:24
>> Stack trace:
>> #0 /usr/share/php/Horde/Injector/Binder/Factory.php(119):
>> Horde_Core_Factory_ActiveSyncState->create(Object(Horde_Injector))
>> #1 /usr/share/php/Horde/Injector.php(238):
>> Horde_Injector_Binder_Factory->create(Object(Horde_Injector))
>> #2 /usr/share/php/Horde/Injector.php(272):
>> Horde_Injector->createInstance('Horde_ActiveSyn...')
>> #3 /usr/share/php/Horde/Core/Nosql.php(51):
>> Horde_Injector->getInstance('Horde_ActiveSyn...')
>> #4 /usr/share/php/Horde/Core/Nosql.php(78): 
>> Horde_Core_Nosql->{closure}()
>> #5 /usr/share/php/www/horde/admin/config/index.php(297):
>> Horde_Core_Nosql->getDrivers('horde', 1)
>> #6 {main} [pid 6107 on line 74 of 
>> "/usr/share/php/Horde/ErrorHandler.php"]
>>
>>
>> I moved the installation by updating the old to the latest version
>> through pear and installed the same on the new server. I copied over
>> the install containing all configurations from old to new afterwards
>> and restored the mysql dump on the new servers database.
>
> Do you mean that you physically copied the install from one machine to 
> the other, or just the config files after you installed Horde using 
> PEAR on the new machine?
>
>> Webmail and calendar are working fine but admin configuration is not
>> possible because of the first error and syncing clients does not work.
>
>
>> Any ideas how to solve this?
>
>
> It sounds like either your include path is somehow messed up (though 
> unlikely since other things seem to be working?), or perhaps the 
> Horde_ActiveSync package is not installed (correctly) on the new host. 
>  To start with, see what:
>
> pear list -c pear.horde.org
>
> and
>
> pear config-show -c pear.horde.org
>
>
>
> shows.
>
>
>>
>> Thanks,
>> Michael
>>
>> -- 
>> 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