[horde] Cannot update the Horde Configuration

Jan Schneider jan at horde.org
Wed Jul 26 09:39:59 UTC 2017


Zitat von Ferdinand Gruber <fer.grub at yahoo.de>:

> Am 2017-07-26 um 03:37 schrieb Mike:
>> I'm surprised that this wasn't useful:
>>
>> https://lists.horde.org/archives/horde/Week-of-Mon-20160905/055988.html
>>
>> Mike B.
>>
> Sorry, that I had not found this post :-[
>
> Now I tried
>
>    pear upgrade --force -a -B horde/groupware
>
> Unfortunately that did not help.
>
> I get a lot of errors:
>
>    WARNING: "pear/Console_Getopt" is deprecated in favor of
>    "pear/Console_GetoptPlus"
>    Package "pear.horde.org/Horde_Core" dependency
>    "pear.horde.org/Horde_Backup" has no releases
>    warning: horde/content requires PHP (version >= 5.3.0, version <=
>    6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.7
>    warning: horde/gollem requires PHP (version >= 5.3.0, version <=
>    6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.7
>    warning: horde/horde requires PHP (version >= 5.3.0, version <=
>    6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.7
>    ...
>    horde/Horde_Core can optionally use package "horde/Horde_Backup"
>    (version >= 1.0.0, version <= 2.0.0alpha1, excluded versions:
>    3.0.0alpha1)
>    horde/Horde_Core can optionally use PHP extension "sockets"
>    downloading groupware-5.2.20.tgz ...
>    Starting to download groupware-5.2.20.tgz (133,931 bytes)
>    .............................done: 133,931 bytes
>    Validation Error: File "turba/config/conf.d/10-groupware.xml" in
>    directory "<dir name="/">" has invalid role "horde", should be one
>    of cfg, data, doc, man, php, script, test, www
>    Validation Error: File "lib/Bundle.php" in directory "<dir
>    name="/">" has invalid role "horde", should be one of cfg, data,
>    doc, man, php, script, test, www
>    Validation Error: File "gollem/config/backends.d/10-groupware.php"
>    in directory "<dir name="/">" has invalid role "horde", should be
>    one of cfg, data, doc, man, php, script, test, www
>    Validation Error: File "config/prefs.d/10-groupware.php" in
>    directory "<dir name="/">" has invalid role "horde", should be one
>    of cfg, data, doc, man, php, script, test, www
>    Parsing of package.xml from file
>    "/tmp/pear/temp/pearrKBSqZ/package.xml" failed
>    Download of "horde/groupware" succeeded, but it is not a valid
>    package archive
>    Error: cannot download "horde/groupware"
>    .....
>
> By the way, I find that Horde only runs when I set the include_path  
> variable as follows
>
>    # /etc/php7/apache2/php.ini
>    include_path =
>    ".:/usr/share/php7:/usr/share/php7/PEAR:/usr/share/php5/PEAR"
>
> If I remove
>     /usr/share/php5/PEAR
> I get this error:
>
>    Cannot autoload Horde Core libraries. Please reinstall Horde and/or
>    correctly configure the install paths. If you are using an
>    autoloader cache, try to clear it.
>
> Please help, where can the install paths be configured?
> What's with autoloader cache?
>
> Thank you for help in advance.
> Ferdinand

Your distribution completely messed up the PEAR configuration when  
upgrading to PHP 7. The best bet is still to downgrade back to PHP 5.  
If that doesn't work, you should re-install Horde from scratch and  
copy the configuration files over from the old installation.

>> Quoting Ferdinand Gruber <fer.grub at yahoo.de>:
>>
>>> Am 2017-07-25 um 15:46 schrieb Jan Schneider:
>>>> Also, this has been discussed a few times already, check the archives.
>>> Sorry, I cannot find useful information in the mailing-list  
>>> archives that could help.
>>>
>>> What can I do now?
>>>
>>> Is there a way to upgrade horde, if php7 is installed on the server?
>>> Have I to wait for a new version of horde that is compatible with php7?
>>> Can I change something on the server configuration (apache2, php,  
>>> pear ...)?
>>>
>>> Please give me a hint.
>>> Thank you in advance.
>>> Ferdinand Gruber
>>>
>>>
>>>>
>>>> Zitat von Ferdinand Gruber <fer.grub at yahoo.de>:
>>>>
>>>>> Am 2017-07-25 um 14:33 schrieb Jan Schneider:
>>>>>>
>>>>>> Zitat von Ferdinand Gruber <fer.grub at yahoo.de>:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I upgraded horde to the latest version 5.2.17  using the command
>>>>>>>
>>>>>>> pear upgrade -a -B horde/groupware
>>>>>>>
>>>>>>> After the upgrade I am not able to enter the configuration  
>>>>>>> page of horde using the web interface.
>>>>>>>
>>>>>>> I get the error:
>>>>>>>
>>>>>>> Uncaught TypeError: Argument 1 passed to
>>>>>>> IMP_Application::exceptionHandler() must be an instance of
>>>>>>> Exception, instance of ParseError given in
>>>>>>> /srv/www/htdocs/horde/imp/lib/Application.php:610
>>>>>>> Stack trace:
>>>>>>> #0 [internal function]:
>>>>>>> IMP_Application->exceptionHandler(Object(ParseError))
>>>>>>> #1 {main}
>>>>>>>    thrown [pid 23680 on line 610 of
>>>>>>> "/srv/www/htdocs/horde/imp/lib/Application.php"]
>>>>>>
>>>>>> You don't have the latest IMP version (6.2.19).
>>>>>
>>>>> I think there is something wrong with my horde installation  
>>>>> respectively with PEAR since upgrade from php5 to php7.
>>>>>
>>>>> I tried once again to upgrade horde using
>>>>>
>>>>>   pear upgrade -a -B horde/groupware
>>>>>
>>>>> Now I get a lot of error messages.
>>>>>
>>>>> WARNING: "pear/Console_Getopt" is deprecated in favor of  
>>>>> "pear/Console_GetoptPlus"
>>>>> Failed to download pear/Date_Holidays within preferred state  
>>>>> "stable", latest release is version 0.21.8, stability "alpha",  
>>>>> use "channel://pear.php.net/Date_Holidays-0.21.8" to install
>>>>> Package "pear.horde.org/Horde_Core" dependency  
>>>>> "pear.horde.org/Horde_Backup" has no releases
>>>>> WARNING: "pear/HTTP_Request" is deprecated in favor of  
>>>>> "pear/HTTP_Request2"
>>>>> WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
>>>>> Failed to download pear/SOAP within preferred state "stable",  
>>>>> latest release is version 0.13.0, stability "beta", use  
>>>>> "channel://pear.php.net/SOAP-0.13.0" to install
>>>>> Failed to download pear/XML_Serializer within preferred state  
>>>>> "stable", latest release is version 0.21.0, stability "beta",  
>>>>> use "channel://pear.php.net/XML_Serializer-0.21.0" to install
>>>>> horde/content requires PHP (version >= 5.3.0, version <=  
>>>>> 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version  
>>>>> is 7.0.7
>>>>> horde/groupware requires package "horde/content" (version >=  
>>>>> 2.0.5, version <= 3.0.0alpha1, excluded versions: 3.0.0alpha1)
>>>>> horde/gollem requires PHP (version >= 5.3.0, version <=  
>>>>> 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version  
>>>>> is 7.0.7
>>>>> horde/horde requires PHP (version >= 5.3.0, version <=  
>>>>> 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version  
>>>>> is 7.0.7
>>>>> ....
>>>>>
>>>>> Please help!
>>>>>
>>>>>
>>>>>>
>>>>>>> My horde server is running under suse leap 42.2. HTTP server  
>>>>>>> is apache2 working with php7.
>>>>>>>
>>>>>>> Thank you in advance for help.
>>>>>>>
>>>>>>> -- 
>>>>>>> Regards from Austria
>>>>>>> Ferdinand Gruber
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>
>>> -- 
>>> Regards from Austria
>>> Ferdinand Gruber
>>>
>>> -- 
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
>
> -- 
> Regards from Austria
> Ferdinand Gruber



-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list