Re: CardDAV error.

Michael J Rubinsky <[email protected]> Fri, 16 Dec 2016 17:44:50 +0000
Newsgroups gmane.comp.horde.turba
Message-ID <20161216174450.Horde.Z8xAbqx6WVTxMk121uqe4yJ@h4.theupstairsroom.com>
This is a cryptographically signed message in MIME format.

--===============1118156756889030561==
Content-Type: multipart/signed; boundary="=_XEOry63V_dmq3fP-vGoBxhM";
 protocol="application/pkcs7-signature"; micalg=sha-1

This is a cryptographically signed message in MIME format.

--=_XEOry63V_dmq3fP-vGoBxhM
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline


Quoting David Verdin <[email protected]>:

> Dear all,
> I'm using Horde since a few years with great pleasure.
> I use the CardDAV functionnality to keep sync between my computer  
> and my phone.
>
> I recently completed the nightmare-ish upgrade from Ubuntu 14.04 to  
> 16.04. that means I upgrade to PHP 7 and Imoved from Turba4.1.3 to  
> 4.2.12.
>
> Everything seemed fine BUT cardDAV does not seem to be working anymore.
> The steps to reproduce:
>
> 1- access the CardDAV subscription ULR :  
> https:/<domain.tld>/horde/rpc.php/addressbooks/<username>/contacts:<key>/
>
> What happens:
>
> The following error is returned:
>
> <d:error>
>     <s:exception>Sabre\DAV\Exception</s:exception>
>     <s:message>Server error when performing search.</s:message>
>     <s:sabredav-version>1.8.12</s:sabredav-version>
> </d:error>
>
> In the logs, I can read:
>
> 2016-12-16T17:10:21+00:00 WARN: HORDE [turba] PHP ERROR: Declaration  
> of Horde_Form_Type_country::init($prompt = NULL) should be  
> compatible with Horde_Form_Type_enum::init($values, $prompt = NULL)  
> [pid 27741 on line 0 of "/usr/share/php/Horde/Form/Type.php"]
> 2016-12-16T17:10:23+00:00 WARN: HORDE PHP ERROR:  
> session_regenerate_id(): Cannot regenerate session id - session is  
> not active [pid 27741 on line 102 of  
> "/usr/share/php/Horde/Session/Null.php"]
> 2016-12-16T17:10:26+00:00 NOTICE: HORDE [imp] Login success for  
> <user> (127.0.0.1) to {imap://localhost/} [pid 27741 on line 156 of  
> "/usr/share/horde/imp/lib/Auth.php"]
> 2016-12-16T18:10:26+01:00 ERR: HORDE [turba] SQL QUERY FAILED:  
> SQLSTATE[42S22]: Column not found: 1054 Unknown column  
> 'object_category' in 'field list'
>         SELECT object_id, owner_id, object_type, object_members, object_uid,
>           object_firstname, object_lastname, object_middlenames,
>           object_nameprefix, object_namesuffix, object_alias,
>           object_yomifirstname, object_yomilastname, object_bday,
>           object_anniversary, object_spouse, object_photo, object_phototype,
>           object_homestreet, object_homepob, object_homecity,
>           object_homeprovince, object_homepostalcode, object_homecountry,
>           object_workstreet, object_workpob, object_workcity,
>           object_workprovince, object_workpostalcode, object_workcountry,
>           object_otherstreet, object_otherpob, object_othercity,
>           object_otherprovince, object_otherpostalcode, object_othercountry,
>           object_department, object_manager, object_assistant, object_tz,
>           object_email, object_homephone, object_homephone2, object_homefax,
>           object_workphone, object_workphone2, object_cellphone,
>           object_carphone, object_radiophone, object_companyphone,
>           object_assistantphone, object_fax, object_pager, object_title,
>           object_role, object_company, object_logo, object_logotype,
>           object_category, object_notes, object_url, object_freebusyurl,
>           object_pgppublickey, object_smimepublickey, object_imaddress,
>           object_imaddress2, object_imaddress3 FROM turba_objects WHERE
>           (owner_id = '<user>') [pid 27741 on line 234 of  
> "/usr/share/php/Horde/Db/Adapter/Pdo/Base.php"]
>
> I checked the database and did not find any table called "turba_objects".

Then something is very wrong, especially if your migrations say they  
are up to date.  Additionally, the object_category field is removed by  
one of the migrations. Please read turba/docs/UPGRADING.



> The database schema is supposed to be up-to-date as well as the  
> configuration as per what the web administration interface tells me  
> -though I can't update horde config, it raises an uncaught  
> exception, but that must be unrelated.
> CalDAV (on Kronolith) is working perfectly.
> Access to the Address book through the web interface works well too.
>
> Do you have any clue about how to get out of this situation? I'm  
> quite stuck here...

Do you use a SQL based backend for Turba?


>
> Best regards,
> David Verdin
> -- 
> turba mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

--=_XEOry63V_dmq3fP-vGoBxhM
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Description: S/MIME Signature
Content-Disposition: attachment; filename=smime.p7s
Content-Transfer-Encoding: base64

MIIH0wYJKoZIhvcNAQcCoIIHxDCCB8ACAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg
ggT7MIIE9zCCA9+gAwIBAgIQK46fVBh0jdmXIk2MwSsKZjANBgkqhkiG9w0BAQsFADB1MQswCQYD
VQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2VydGlm
aWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50IENBMB4X
DTE2MDkwOTE4MTAxMFoXDTE3MDkwOTE4MTAxMFowQDEbMBkGA1UEAwwSbXJ1Ymluc2tAaG9yZGUu
b3JnMSEwHwYJKoZIhvcNAQkBFhJtcnViaW5za0Bob3JkZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQCnMMN6rJECDaGDgZyV/ESR1C7ubLy3gw598sL3x2Gsfi7mCh18Ptzk+kC9
6O2s4GPqaPMiaUalDIEBegVUt5mvDfdmwvBk+zqk6ZLKgV5Bb+BN5HQDvEYyLN+KTFge985rhiE7
7lyGuOkd806VhTdK1tem6Ifk5d0YlHid6DYk6cBRyVStAza7ILKU24F4kRTznQDOkMI+oJ9Cv+cn
sCi10L+YEn2Gmk4YhNW3I1nx0Uem8pvKCVzdubkRqiRJKqWMnzYw1mwpMIhSVIpt42cpD69+4YeL
hudNHOTE5wkqS2zdShndUR0CewYVRu6usM0OozOJcLUO5CoPzEHqWf1VAgMBAAGjggG2MIIBsjAO
BgNVHQ8BAf8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEM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BDbGFzcyAxIENsaWVudCBDQQIQK46fVBh0jdmXIk2M
wSsKZjANBglghkgBZQMEAgEFAKCB5DAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3
DQEJBTEPFw0xNjEyMTYxNzQ0NTBaMC8GCSqGSIb3DQEJBDEiBCBC87tyqnU3fksPBbKh06MZmD/7
FfmiDZEWwPx/MoK+JDB5BgkqhkiG9w0BCQ8xbDBqMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYw
CwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAH
BgUrDgMCBzANBggqhkiG9w0DAgIBKDANBgkqhkiG9w0BAQEFAASCAQARw+VYY9/N+jxo9yC6lh38
2PE+tmpdvCkApBa82SIBuGRLTWKoSjbwgpq45YQruXj5yqaXTyfSQvcezUvlBEDOcS8pOgCR5tkf
ulESYUETcbO+4yRV5Fv3k6pZxtBntQYlEl6vi89hJXlQin+4uIt0d8IctyuWMyqi4YdF4o781gMG
MSlo/DspLM56wabNXEzkFjyAWNYH9+iqXHQPmvO6yvp0pPABsF3rVCwPdvV1H0Kae0hak7UAphI8
+SxbbaXLKf4dwafztGUoEhBploni9xEIZppZ0n9lxRzQalPX9MBzP+X5NiUQkbl4Yqhrl/oysXp2
bl7oZWySVue0pFSq
--=_XEOry63V_dmq3fP-vGoBxhM--


--===============1118156756889030561==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
--===============1118156756889030561==--