bin soeben ebenfalls über dieses Problem gestolpert. Liegt sicher nicht an der Erreichbarkeit der Admin-API, sondern an einer ungültigen Antwort:
in /etc/grommunio-sync/grommunio-sync.conf.php
: define('ADMIN_API_POLICY_ENDPOINT', 'http://[::1]:8080/api/v1/service/syncPolicy/');
(=unmodifiziert seit der Installation)
> wget http://[::1]:8080/api/v1/service/syncPolicy/default
"data":{"allowbluetooth":2,"allowbrowser":1,"allowcam":1,"allowconsumeremail":1,"allowdesktopsync":1,"allowhtmlemail":1,"allowinternetsharing":1,"allowirda":1,"allowpopimapemail":1,"allowremotedesk":1,"allowsimpledevpw":1,"allowsmimeencalgneg":2,"allowsmimesoftcerts":1,"allowstoragecard":1,"allowtextmessaging":1,"allowunsignedapps":1,"allowunsigninstallpacks":1,"allowwifi":1,"alphanumpwreq":0,"approvedapplist":[],"attenabled":1,"devencenabled":0,"devpwenabled":0,"devpwexpiration":0,"devpwhistory":0,"maxattsize":"","maxcalagefilter":0,"maxdevpwfailedattempts":8,"maxemailagefilter":0,"maxemailbodytruncsize":-1,"maxemailhtmlbodytruncsize":-1,"maxinacttimedevlock":900,"mindevcomplexchars":3,"mindevpwlenngth":4,"pwrecoveryenabled":0,"reqdevenc":0,"reqencsmimealgorithm":0,"reqencsmimemessages":0,"reqmansyncroam":0,"reqsignedsmimealgorithm":0,"reqsignedsmimemessages":0,"unapprovedinromapplist":[]}}
in der response steht "maxattsize":""
, was gemäß dem Fehler von grommunio-sync wohl einfach ein ungültiger Wert sein dürfte? Zumindest scheint ""
als "lower than -1" interpretiert zu werden, was nicht mit der in /usr/share/grommunio-sync/lib/syncobjects/syncprovisioning.php
erzeugten Antwort zusammenpasst.
/var/log/grommunio-sync/grommunio-sync-error.log
: SyncObject->Check(): Unmet condition in object from type SyncProvisioning: parameter 'maxattsize' is LOWER than '-1'. Check failed!
(Version: grommunio-sync | package | 1.1.49-lp154.16.1 | noarch | grommunio
)