<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>When I apply as third command (no <strong>addressbook</strong> at the end of the command)</p>
<p><em>syncevolution --configure </em><strong>SSLVerifyServer=False --template </strong><span>SyncEvolution_Client</span><em> --sync-property remoteDeviceId=ST23K3J5I4JX</em><em> username=admin password=admin </em><span>--source-property addressbook/uri=addressbook  sync=two-way Palm-TH55@webdav </span></p>
<p>the command </p>
<pre>syncevolution --print-config -q @webdav addressbook<br /><br />RETURNS:</pre>
<p>"[addressbook]<br />backend = CardDAV<br />database = https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/<br /># databaseFormat = <br />databaseUser = admin<br />databasePassword = admin"</p>
<p> </p>
<p>When I try your combined command (I have to include SSLVerifyServer=False again to make it work)</p>
<pre>syncevolution --configure <strong>SSLVerifyServer=False \</strong></pre>
<pre>              --template SyncEvolution_Client \
              remoteDeviceId=PN70M9J5V7JX username=admin password=admin \
              sync=two-way \
              databaseUser=admin  \
              databasePassword=admin \
              backend=carddav  \
              database=<a href="https://localhost/sabredav/addressbookserver.php/addressbooks/admin/" target="_blank">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a>  \
              <a href="mailto:Palm-TH55@webdav">Palm-TH55@webdav</a> addressbook</pre>
<p>IT RETURNS</p>
<p>"[INFO] addressbook: looking for databases...<br />[INFO] addressbook: no database to synchronize<br />[ERROR] addressbook: no database to synchronize"</p>
<p>AND FOR</p>
<p>syncevolution --print-config -q @webdav addressbook</p>
<p>IT RETURNS</p>
<p>"[addressbook]<br />backend = CardDAV<br /># database = <br /># databaseFormat = <br /># databaseUser = <br /># databasePassword ="</p>
<p> </p>
<p><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Am 2014-01-14 13:23, schrieb Patrick Ohly:</span></p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>On Tue, 2014-01-14 at 12:43 +0100, Helge Kraak wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">I tried your suggestion for the third command but when I start initiate a sync I get the error message that no configuration could be found for the deviceID (like with the third variation below). It's correct that I don't need to use the keyring=no option again in the third command but I have to apply the SSLVerifyServer=False option also in the third command for creating the Palm peer, otherwise I get a SSL verification error.</blockquote>
<pre>That should only happen if you try to use WebDAV sources which have not
been configured before.

It's unfortunate that the SSL options don't have a good place in the
config hierarchy.</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">3. My previous version without keyring=no but with sync=two-way and addressbook like you suggested: syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client --sync-property remoteDeviceId=PN70M9J5V7JX username=admin password=admin --source-property addressbook/uri=addressbook sync=two-way <a href="mailto:Palm-TH55@webdav">Palm-TH55@webdav</a> addressbook</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">RETURNS for the command:</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">"[INFO] addressbook: looking for databases... <br />[INFO] addressbook: no database to synchronize <br />[ERROR] addressbook: no database to synchronize"</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">AND for the sync initiation:</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">"no configuration found for deviceID ST23K3J5I4JX"</blockquote>
<pre>This is the right approach. The key question is if the command from the
second step has configured the "addressbook". If it has, then the third
step should not need to look for databases.

What does "syncevolution --print-config -q @webdav addressbook" say?

Either way, does it work if you combine steps 2 and 3?

syncevolution --configure \
              --template SyncEvolution_Client \
              remoteDeviceId=PN70M9J5V7JX username=admin password=admin \
              sync=two-way \
              databaseUser=admin  \
              databasePassword=admin \
              backend=carddav  \
              database=<a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a>  \
              <a href="mailto:Palm-TH55@webdav">Palm-TH55@webdav</a> addressbook

</pre>
</blockquote>
</body></html>