I have a working Owncloud server, and I would like to use Org Mobile to sync my Org files with my phone.
Following "Setting up the staging area" in the info doc for Org Mobile, I have customized the variable org-mobile-directory
to the directory where I want my files to be stored on the server. I have now the following in my ~/.emacs
:
'(org-mobile-directory
"/davs:MyUserName@MyIPaddress:/owncloud/remote.php/webdav/MyRemotePath/")
This syntax for the remote directory is what I understood from the TRAMP info docs.
When I run org-mobile-push
, then after an expected message showing me the good certificate for my cloud and asking me if I am sure to connect, I always get "Variable 'org-mobile-directory' must point to an existing directory
".
Is the syntax I am using correct? Am I missing something?
Notes:
- The path
/owncloud/remote.php/webdav/
is what I read in the settings of my Owncloud to specify the WebDAV address to applications. - I have verified that
MyRemotePath
exists on my server. - I have set
org-mobile-files
and I have verified thatorg-directory
is set to an existing directory (if it matters, although the latter should only concern the pulling from the staging area). - I eventually would like to use Mobileorg. I have managed to sync from the Mobileorg application to my Owncloud, but apparently I would need a file
index.org
in my server directory in order to sync from the server to the phone. And this file seems to be generated byorg-mobile-push
, which is what led me to this problem.