[horde] DavDroid, caldav and horde

Grouchy Sysadmin sysadmin at grouchysysadmin.com
Fri Feb 8 22:11:34 UTC 2019


On 2/8/19 12:55 PM, Harlan wrote:
> Hello,
>   As part of migrating to a different server, I'm having problems 
> getting calendars working from Android phones. The old server works 
> fine and the new server doesn't even though I'm using the same 
> configuration settings on both.  The old server is running php5, new 
> on php7.  Everything else in Horde is working correctly.
>
>   When I try to connect from the phone through DavDroid providing the 
> URL, username and password, I'm getting an error box saying "Couldn't 
> find calDAV or CardDAV service".
>
>   Here is the error from the log file:
> Feb  8 14:34:07 mail HORDE: Error: Call to undefined function 
> Sabre\DAV\mb_detect_encoding() in 
> /usr/share/php/Sabre/DAV/URLUtil.php:82#012Stack trace:#012#0 
> /usr/share/php/Sabre/DAV/URLUtil.php(69): 
> Sabre\DAV\URLUtil::decodePathSegment('principals/harl...')#012#1 
> /usr/share/php/Sabre/DAV/Server.php(1144): 
> Sabre\DAV\URLUtil::decodePath('principals/harl...')#012#2 
> /usr/share/php/Sabre/DAV/Server.php(1121): 
> Sabre\DAV\Server->calculateUri('/webmail/rpc.ph...')#012#3 
> /usr/share/php/Sabre/DAV/Server.php(214): 
> Sabre\DAV\Server->getRequestUri()#012#4 
> /usr/share/php/Horde/Rpc/Webdav.php(66): 
> Sabre\DAV\Server->exec()#012#5 /var/www/html/webmail/rpc.php(160): 
> Horde_Rpc_Webdav->getResponse('')#012#6 {main} [pid 31619 on line 74 
> of "/usr/share/php/Horde/ErrorHandler.php"]
>
> INSTALLED PACKAGES, CHANNEL PEAR.HORDE.ORG:
> ===========================================
> PACKAGE                      VERSION STATE
> Horde_ActiveSync             2.39.7  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.1   stable
> Horde_Compress_Fast          1.1.1   stable
> Horde_Constraint             2.0.3   stable
> Horde_Controller             2.0.5   stable
> Horde_Core                   2.31.7  stable
> Horde_Crypt                  2.7.12  stable
> Horde_Crypt_Blowfish         1.1.2   stable
> Horde_CssMinify              1.0.4   stable
> Horde_Css_Parser             1.0.11  stable
> Horde_Data                   2.1.4   stable
> Horde_Date                   2.4.1   stable
> Horde_Date_Parser            2.0.6   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.19  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.1   stable
> Horde_Image                  2.6.0   stable
> Horde_Imap_Client            2.29.16 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.3   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.4   stable
> Horde_Mail_Autoconfig        1.0.3   stable
> Horde_Mapi                   1.0.8   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.7   stable
> Horde_Perms                  2.1.7   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.8   stable
> Horde_Scheduler              2.0.3   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_UrlShortener   2.0.3   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.2   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_Support                2.2.0   stable
> Horde_SyncMl                 2.0.7   stable
> Horde_Template               2.0.3   stable
> Horde_Test                   2.6.3   stable
> Horde_Text_Diff              2.2.0   stable
> Horde_Text_Filter            2.3.6   stable
> Horde_Text_Filter_Jsmin      1.0.2   stable
> Horde_Text_Flowed            2.0.3   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.8   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.3   stable
> ansel                        3.0.9   stable
> content                      2.0.6   stable
> gollem                       3.0.12  stable
> horde                        5.2.20  stable
> horde_lz4                    1.0.10  stable
> imp                          6.2.23  stable
> ingo                         3.2.16  stable
> kronolith                    4.2.27  stable
> mnemo                        4.2.14  stable
> nag                          4.2.19  stable
> timeobjects                  2.1.4   stable
> trean                        1.1.9   stable
> turba                        4.2.23  stable
> whups                        3.0.12  stable
> wicked                       2.0.8   stable
>
> From Apache2 config for SSL:
> <Location "/webmail/rpc">
>   AllowMethods GET POST PROPFIND LOCK OPTIONS PROPPATCH PUT UNLOCK 
> REPORT DELETE MKCOL MOVE
> </Location>
> <Location "/webmail/rpc.php/">
>   AllowMethods GET POST PROPFIND LOCK OPTIONS PROPPATCH PUT UNLOCK 
> REPORT DELETE MKCOL MOVE
> </Location>
> <Location "/.well-known/carddav/">
>   AllowMethods GET POST PROPFIND LOCK OPTIONS PROPPATCH PUT UNLOCK 
> REPORT DELETE MKCOL MOVE
> </Location>
>
>   I have enabled dav for apache and restarted apache.
>
>   Any ideas on what else I'm missing?
>
> Thanks,
>
> Harlan...
>

Do you have PHP mbstring installed?



More information about the horde mailing list