View Single Post
Hello,

I was using a webDav access to my own server under snow-leopard.
Evry thing was right.

Then I upgraded to Mavericks. That mean I had to upgrade to server.app 3.0.2
Now I can't use the old database with omnifocus.

I tried to create a new share point with the new server.app.
It is reachable with safari (e.g: read only)
The result in Omnifocus is :
Code:
Unable to perform WebDAV operation.
The ateliercma.fr server returned méthode non autorisée (405) 
in response to a request to PROPFIND /OmniFocus.ofocus.
access_log and error_log in /private/var/log/apache2
When loading Omnifocus (it must initiate a sync process when starting), the access_log says :
Code:
ateliercma.fr 192.168.1.87 - - [21/Feb/2014:12:59:24 +0100] "PROPFIND /webdav/OmniFocus.ofocus/ HTTP/1.1" 405 402 "-" "OmniFocus/77.90.23.0.197991 Darwin/10.9.1 (Macmini4%2C1) (ateliercma.local)"
ateliercma.fr ::1 - - [21/Feb/2014:12:59:36 +0100] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.24 (Unix) PHP/5.4.17 mod_wsgi/3.3 Python/2.7.5 mod_ssl/2.2.24 OpenSSL/0.9.8y DAV/2 (internal dummy connection)"
ateliercma.fr 192.168.1.210 - - [21/Feb/2014:12:59:40 +0100] "GET /webdav/iCal/LogistiqueCMA.ics HTTP/1.1" 401 551 "-" "Mac OS X/10.8.5 (12F45) CalendarAgent/57"
ateliercma.fr ::1 - - [21/Feb/2014:12:59:42 +0100] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.24 (Unix) PHP/5.4.17 mod_wsgi/3.3 Python/2.7.5 mod_ssl/2.2.24 OpenSSL/0.9.8y DAV/2 (internal dummy connection)"
while the error_log says nothing.

When running the sync again, message of OmniFocus is (French OS, sorry):
Code:
Unable to perform WebDAV operation.
The ateliercma.fr server returned "méthode non autorisée" (405)
 in response to a request to "PROPFIND /webdav/OmniFocus.ofocus".
While access_log says :
Code:
ateliercma.fr 192.168.1.87 - - [21/Feb/2014:13:12:05 +0100] "PROPFIND /webdav/OmniFocus.ofocus/ HTTP/1.1" 405 402 "-" "OmniFocus/77.90.23.0.197991 Darwin/10.9.1 (Macmini4%2C1) (ateliercma.local)"
and error_log keep saying nothing.

Conclusion: It's not working and I haven't a clue of the reason.

Things I've done :


• I created a /Library/Server/Web/Config/apache2/Omnifocus-dav.conf file like this:
Code:
DavLockDB "/usr/var/DavLock"
Alias /webdav "/Library/Server/Web/Data/Sites/DAVLand/"
<Directory "/Library/Server/Web/Data/Sites/DAVLand/">
  Dav On
  Order Allow,Deny
  Allow from all
  AuthType Digest
  AuthName CMA
AuthUserFile "/usr/user.passwd"
    AuthDigestProvider file
  Require user Focususers
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
• Beside, I used :
Code:
sudo htpasswd -c /usr/user.passwd Focususers
to record that password although the webDav folder is recorded as accessible to that Focususers in the website management window of server.app

• I changed the rights of that user on that alias (DAVLand) in the "stockage" (french OS) window of server.app :

…gave it a full control and aplied to childrens.
Note also that:

• the webdav site is published with a valid-autosigned-certificat for SSL (same than CardDav and CalDav)
• the DNS is working
• the OmniFocus release is 1.10.6 (v77.90.23 r197991)
• the CardDav access (SSL) to AddressBook works
• the CalDav access (SSL) to CalendarAgent works

I really thought I could keep my database accessible because OmniFocus was announced as Mavericks-compatible.
What did I missed ?

TIA, Chaa