[horde] problems after upgrading system rhel7 -> rhel8 (php5 mod_php -> php7.2 php-fpm )

Jan Schneider jan at horde.org
Tue Jan 19 18:27:37 UTC 2021


Zitat von Michael Menge <michael.menge at zdv.uni-tuebingen.de>:

> Hi,
>
> a few weeks ago we upgraded our horde servers, (more exact we  
> installed new server with rhel8 and php7)
> most problems that where missed during testig where easy to fix.
>
> At the moment there are two known problems that are not solved jet  
> and where i need help from the community.
>
> 1. the spell checker (aspell) only works if the language is manual selected.
>     The Language that is "highlighted" as pre-selected does not  
> work, it will not find any errors.
>     Selecting the pre-selected language again will find the errors.

No idea about this one. Does this happen with any browser? Do you get  
any errors in the browser consoles?

> 2. if turkish is selected as language for horde, there is an error
>
>    2020-09-21T09:57:10+02:00 EMERG: HORDE [horde]  
> Predis\ClientException: Command 'EXPiRE' is not a
>    registered Redis command. in  
> /usr/share/pear/Predis/Profile/RedisProfile.php:88
>    Stack trace:
>    #0 /usr/share/pear/Predis/Client.php(323):  
> Predis\Profile\RedisProfile->createCommand('EXPiRE', Array)
>    #1 /usr/share/pear/Predis/Client.php(314):  
> Predis\Client->createCommand('expire', Array)
>    #2 /usr/share/pear/Horde/HashTable/Predis.php(191):  
> Predis\Client->__call('expire', Array)
>    #3 /usr/share/pear/Horde/SessionHandler/Storage/Hashtable.php(96):
>       Horde_HashTable_Predis->lock('mtd71dqlhd9omiu...')
>    #4 /usr/share/pear/Horde/SessionHandler.php(169):
>       Horde_SessionHandler_Storage_Hashtable->read('mtd71dqlhd9omiu...')
>    #5 [internal function]: Horde_SessionHandler->read('mtd71dqlhd9omiu...')
>    #6 /usr/share/pear/Horde/Session.php(277): session_regenerate_id(true)
>    #7 /usr/share/pear/Horde/Core/Auth/Application.php(657):  
> Horde_Session->clean()
>    #8 /usr/share/pear/Horde/Core/Auth/Application.php(150):  
> Horde_Core_Auth_Application->_setAuth()
>    #9 /usr/share/pear/Horde/Core/Auth/Application.php(138):
>       Horde_Core_Auth_Application->authenticate('uksak01', Array, true)
>    #10 /var/www/html/horde/login.php(155):  
> Horde_Core_Auth_Application->authenticate('uksak01', Array)
>    #11 {main}
>
>    Google search found that there is a Problem with Predis  
> https://github.com/predis/predis/issues/372
>    but the problem was not triggered with php5 and i suspect that  
> the locale is leaking to php calls that
>    should  not use the users locale.

Well we must set the locale globally, because this is how gettext  
works, which we use for Horde's translation system. We could  
theoretically wrap each call to the Predis library by unsetting the  
locale first, and resetting it after the call. But I'd rather not want  
to go down that route. This should really be fixed in the library  
instead.

> I have the suspicion that both may be related to the same hidden  
> problem. But as so many things changed
> on the system I am out of ideas on how to solve this.
>
> I did apply the patch from  
> https://github.com/horde/SessionHandler/pull/2 to silence the
> "ini_set(): Cannot set 'user' save handler by ini_set() or  
> session_module_name()" error
>
> I would appriciate any ideas on how to debug/resolve the problmes.
>
> Kind Regards
>
>    Michael
>
>
> Relevant RPM-Packages
>
> aspell-0.60.6.1-21.el8.x86_64
>
> httpd-2.4.37-21.module+el8.2.0+5008+cca404a3.x86_64
> httpd-tools-2.4.37-21.module+el8.2.0+5008+cca404a3.x86_64
> httpd-manual-2.4.37-21.module+el8.2.0+5008+cca404a3.noarch
> httpd-filesystem-2.4.37-21.module+el8.2.0+5008+cca404a3.noarch
>
>
> php-pear-1.10.5-9.module+el8.1.0+3202+af5476b9.noarch
> php-gd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-mbstring-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-fpm-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-cli-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-soap-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-fpm-debuginfo-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-pgsql-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-bcmath-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-json-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-xml-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-debugsource-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-ldap-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-debuginfo-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-xmlrpc-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-devel-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-process-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-opcache-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-intl-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-pdo-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
> php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
>
>
> PEAR:
> Installed packages, channel pear.horde.org:
> ===========================================
> Package                      Version State
> Horde_ActiveSync             2.41.4  stable
> Horde_Alarm                  2.2.10  stable
> Horde_Argv                   2.1.0   stable
> Horde_Auth                   2.2.2   stable
> Horde_Autoloader             2.1.2   stable
> Horde_Browser                2.0.16  stable
> Horde_Cache                  2.5.5   stable
> Horde_Cli                    2.3.0   stable
> Horde_Compress               2.2.3   stable
> Horde_Compress_Fast          1.1.1   stable
> Horde_Constraint             2.0.3   stable
> Horde_Controller             2.0.5   stable
> Horde_Core                   2.31.16 stable
> Horde_Crypt                  2.7.12  stable
> Horde_Crypt_Blowfish         1.1.3   stable
> Horde_CssMinify              1.0.4   stable
> Horde_Css_Parser             1.0.11  stable
> Horde_Data                   2.1.5   stable
> Horde_Date                   2.4.1   stable
> Horde_Date_Parser            2.0.7   stable
> Horde_Dav                    1.1.4   stable
> Horde_Db                     2.4.0   stable
> Horde_Editor                 2.0.5   stable
> Horde_ElasticSearch          1.0.4   stable
> Horde_Exception              2.0.8   stable
> Horde_Feed                   2.0.4   stable
> Horde_Form                   2.0.20  stable
> Horde_Group                  2.1.1   stable
> Horde_HashTable              1.2.6   stable
> Horde_History                2.3.6   stable
> Horde_Http                   2.1.7   stable
> Horde_Icalendar              2.1.8   stable
> Horde_Idna                   1.1.2   stable
> Horde_Image                  2.6.1   stable
> Horde_Imap_Client            2.30.1  stable
> Horde_Imsp                   2.0.10  stable
> Horde_Injector               2.0.5   stable
> Horde_Itip                   2.1.2   stable
> Horde_JavascriptMinify       1.1.5   stable
> Horde_JavascriptMinify_Jsmin 1.0.2   stable
> Horde_Kolab_Format           2.0.9   stable
> Horde_Kolab_Server           2.0.5   stable
> Horde_Kolab_Session          2.0.3   stable
> Horde_Kolab_Storage          2.2.4   stable
> Horde_Ldap                   2.4.2   stable
> Horde_ListHeaders            1.2.5   stable
> Horde_Lock                   2.1.4   stable
> Horde_Log                    2.3.0   stable
> Horde_LoginTasks             2.0.7   stable
> Horde_Mail                   2.6.5   stable
> Horde_Mail_Autoconfig        1.0.3   stable
> Horde_Mapi                   1.0.10  stable
> Horde_Memcache               2.1.1   stable
> Horde_Mime                   2.11.0  stable
> Horde_Mime_Viewer            2.2.2   stable
> Horde_Mongo                  1.1.0   stable
> Horde_Nls                    2.2.1   stable
> Horde_Notification           2.0.4   stable
> Horde_Oauth                  2.0.4   stable
> Horde_OpenXchange            1.0.1   stable
> Horde_Pack                   1.0.7   stable
> Horde_Pdf                    2.0.8   stable
> Horde_Perms                  2.1.8   stable
> Horde_Prefs                  2.9.0   stable
> Horde_Queue                  1.1.5   stable
> Horde_Rdo                    2.1.0   stable
> Horde_Role                   1.0.1   stable
> Horde_Routes                 2.0.5   stable
> Horde_Rpc                    2.1.9   stable
> Horde_Scribe                 2.0.3   stable
> Horde_Secret                 2.0.6   stable
> Horde_Serialize              2.0.5   stable
> Horde_Service_Facebook       2.0.10  stable
> Horde_Service_Gravatar       1.0.1   stable
> Horde_Service_Twitter        2.1.6   stable
> Horde_Service_Weather        2.5.4   stable
> Horde_SessionHandler         2.2.9   stable
> Horde_Share                  2.2.0   stable
> Horde_Smtp                   1.9.5   stable
> Horde_Socket_Client          2.1.3   stable
> Horde_SpellChecker           2.1.3   stable
> Horde_Stream                 1.6.3   stable
> Horde_Stream_Filter          2.0.4   stable
> Horde_Stream_Wrapper         2.1.4   stable
> Horde_Stringprep             1.0.4   stable
> Horde_Support                2.2.0   stable
> Horde_SyncMl                 2.0.7   stable
> Horde_Template               2.0.3   stable
> Horde_Test                   2.6.4   stable
> Horde_Text_Diff              2.2.1   stable
> Horde_Text_Filter            2.3.6   stable
> Horde_Text_Filter_Jsmin      1.0.2   stable
> Horde_Text_Flowed            2.0.4   stable
> Horde_Thrift                 2.0.3   stable
> Horde_Timezone               1.1.0   stable
> Horde_Token                  2.0.9   stable
> Horde_Translation            2.2.2   stable
> Horde_Tree                   2.0.5   stable
> Horde_Url                    2.2.6   stable
> Horde_Util                   2.5.9   stable
> Horde_Vfs                    2.4.0   stable
> Horde_View                   2.0.6   stable
> Horde_Xml_Element            2.0.4   stable
> Horde_Xml_Wbxml              2.0.4   stable
> content                      2.0.6   stable
> horde                        5.2.23  stable
> horde_lz4                    1.0.10  stable
> imp                          6.2.27  stable
> ingo                         3.2.16  stable
> kronolith                    4.2.29  stable
> mnemo                        4.2.14  stable
> nag                          4.2.19  stable
> timeobjects                  2.1.4   stable
> turba                        4.2.25  stable
>
>  Installed packages, channel pear.php.net:
> =========================================
> Package               Version  State
> Archive_Tar           1.4.9    stable
> Auth_SASL             1.1.0    stable
> Cache                 1.5.6    stable
> Console_Getopt        1.4.3    stable
> Console_GetoptPlus    1.0.0RC1 beta
> Console_Table         1.3.1    stable
> DB                    1.10.0   stable
> Date                  1.4.7    stable
> Date_Holidays         0.21.8   alpha
> Date_Holidays_Germany 0.1.2    alpha
> File_Find             1.3.3    stable
> HTTP_Request          1.4.4    stable
> HTTP_Request2         2.4.1    stable
> MDB2                  2.4.1    stable
> MDB2_Driver_pgsql     1.4.1    stable
> Net_DNS2              1.4.4    stable
> Net_FTP               1.4.0    stable
> Net_IMAP              1.1.3    stable
> Net_SMTP              1.9.2    stable
> Net_Sieve             1.4.4    stable
> Net_Socket            1.2.2    stable
> Net_URL               1.0.15   stable
> Net_URL2              2.2.1    stable
> PEAR                  1.10.12  stable
> PEAR_Manpages         1.10.0   stable
> SOAP                  0.14.0   beta
> Structures_Graph      1.1.1    stable
> Text_CAPTCHA          1.0.2    stable
> Text_Figlet           1.0.2    stable
> Text_LanguageDetect   1.0.0    stable
> Text_Password         1.2.1    stable
> XML_Parser            1.3.8    stable
> XML_SVG               1.1.0    stable
> XML_Serializer        0.21.0   beta
> XML_Util              1.4.5    stable
>
> Installed packages, channel pecl.php.net:
> =========================================
> Package   Version  State
> APC       3.1.13   beta
> LZF       1.6.8    stable
> geoip     1.0.8    stable
> gmagick   2.0.5RC1 beta
> igbinary  3.1.5    stable
> intl      3.0.0    stable
> memcache  4.0.5.2  stable
> mongodb   1.8.0    stable
> msgpack   2.1.1    stable
> pam       1.0.3    stable
> pecl_http 3.2.3    stable
> propro    2.1.0    stable
> raphf     2.0.1    stable
> xdiff     2.0.1    stable
>
>
>
> --------------------------------------------------------------------------------
> Michael Menge                          Tel.: (49) 7071 / 29-70316
> Universität Tübingen                   Fax.: (49) 7071 / 29-5912
> Zentrum für Datenverarbeitung          mail:  
> michael.menge at zdv.uni-tuebingen.de
> Wächterstraße 76
> 72074 Tübingen



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



More information about the horde mailing list