The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Syncing > Other WebDAV
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Mountain Lion Server 10.8 for WebDAV Thread Tools Search this Thread Display Modes
Hi all;

I just set up a Mountain Lion server (10.8.3) and set up a new WebDAV share called 'omnifocus'. I used the 'Replace Server Database menu selection in Omnifocus' and I can see that the files are copying over to the server correctly.

However Omnifocus attempts a WebDAV MOVE command at the end of the copy procedure and fails. Here is the error:

The <insert hostname here> server returned "forbidden" (403) in response to a request to "MOVE /omnifocus/OmniFocus.ofocus-copy-in-progress-lkKwqGHpIHc/20130322212522=nt2K6qx9lGT.client-write-in-progress-lEf14_IO7rc".

Once the MOVE command fails, the OmniFocus.ofocus file appears to be deleted automatically.

Is there a conf file that manages the types of commands that are allowed through WebDAV?
 
I was successful in syncing using my home directory and no changes to the WebDAV configuration. The location of the WebDAV share 'omnifocus' that I was attempting to use is on a second HDD and perhaps the mapping doesn't work when there is a space in the name (Internal Storage). Even though there is a space in 'Macintosh HD', the call is to the root directory '/'... this is the only thing I can come up with. I'd prefer to have the Omnifocus data on the 2nd drive, but this is working.
 
Moving to the / drive from a second HDD did not solve it for me. Nor did changing ownership of all files to _www:_www (as they were under 10.6.8 Server when this was working) solve it. Nor did adding all kinds of permissive ACLs.

I keep having that same error on syncing.

Please, please, Omni, can you tell us how to set up WebDAV on OS X 10.8 Server so we can sync our various OmniFocus applications (I have purchased all three) using WebDAV?
 
Quote:
Originally Posted by gctwnl View Post
Please, please, Omni, can you tell us how to set up WebDAV on OS X 10.8 Server so we can sync our various OmniFocus applications (I have purchased all three) using WebDAV?
Starting with a freshly created server which has no services enabled yet, here are the steps I followed in Server.app to get a new WebDAV share set up for use with OmniFocus:
  1. Select “Services : File Sharing” in the left sidebar.
  2. Flip the master switch in the top right corner from Off to On.
  3. Click + to add a shared folder (as the screen suggests), and on the resulting dialog:
    • Click New Folder and enter a name (I'm using “OmniFocus Test”).
    • Click on the newly created folder.
    • Click Choose.
    In the list of Share Points, I now see a share point for the new folder.
  4. Double-click on the new share point to edit it:
    • Under Access, change all the permissions to Read & Write.
    • Under Settings, check “Share with iOS devices (WebDAV)” and uncheck everything else.
    • Click Done.

Back in OmniFocus:
  1. Configure sync settings:
    • Open Sync Preferences and choose Advanced.
    • Set the sync location to point at your new server. (I used “https://ghostwheel.local/OmniFocus%20Test/”. If I hadn't put that space in my folder name, I wouldn't have had to encode it here with the %20.)
  2. Start syncing:
    • Press the Sync Now button.
    • When prompted to verify the server's self-signed certificate:
      • Click “Show Certificate” to see more options.
      • Check the option to always trust the new server so you don't get prompted to verify the certificate every time you sync.
      • Press Continue.
      If this dialog prompts for authentication to change your certificate trust settings, you'll need to enter your local password rather than your server account's password.
    • When prompted for server authentication:
      • Enter a valid username and password for the server. (I entered the server admin's name and password since I hadn't yet set up any other accounts on this new server.)
      • Check the “Remember in Keychain” option so you're asked this every time you sync.
      • Press the OK button.

With that, I started successfully syncing OmniFocus using my new Mountain Lion Server.

If this doesn't work for you, then my advice is to check the error logs on your server to see if they have any details about the problem. (In Server.app, select “Server : Logs” in the sidebar, then use the popup at the bottom of the log to view other log files.)

Hope this helps!

P.S. — I was also able to use this new server to sync OmniGraffle, OmniOutliner, and OmniGraphSketcher using our current test builds of OmniPresence—we've eliminated our dependency on ETags over the last few weeks, so we no longer require custom patches to Apache to host an OmniPresence synced folder.

Last edited by Ken Case; 2013-04-23 at 07:49 AM..
 
Ken, thanks for the instructions.

This was almost what I did before with the following exceptions:
- Create the folder first before making it a share point
- not setting read/write for everybody (but trying to add ACLs or POSIX permissions)

I did the above. I created a share point via Server.app New. When I sync to this I get:

No document exists at "https://foo.rna.nl/OmniFocus-gerben/OmniFocus.ofocus/".

It seems the initial sync fails.

I am able to mount the sharepoint using the finder.

I tried copying my existing OmniFocus.ofocus to that SharePoint when mounted in the Finder. That works. But then the old MOVE Forbidden 403 error returns on syncing.

When I mount the sharepoint I cannot rename the OmniFocus.ofocus bundle. First it asks me for administrator privileges, then it fails.
 
I tried to find information on my particular WebDAV behaviour, where the OmniFocus.ofocus bundle behaves differently from another folder here:

https://discussions.apple.com/thread/4992067

I assume that I need to find out what makes the OmniFocus.ofocus bundle behave differently from another directory created.
 
Quote:
Originally Posted by gctwnl View Post
I tried to find information on my particular WebDAV behaviour, where the OmniFocus.ofocus bundle behaves differently from another folder here:

https://discussions.apple.com/thread/4992067

I assume that I need to find out what makes the OmniFocus.ofocus bundle behave differently from another directory created.
Solution for OmniFocus users: don't create a WebDAV SharePoint with any substring from 'OmniFocus.ofocus' in the name (as obvious that may be, e.g. 'OmniFocus' as name for the WebDAV) because if you do, any file on that WebDAV with that substring in its name becomes unreliable as the Apple-generated rewrite rules play havoc with it.

In general: Apple's WebDAV setup/config plays havoc with file or directory names on a WebDAV that have the WebDAV name as part of their name.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lion Server for WebDav Wolfgang Other WebDAV 13 2013-03-19 12:49 PM
WebDAV working on Mountain Lion Server, .ics calendar file gives error viticci Other WebDAV 0 2012-12-04 10:39 AM
Mixing Lion and Mountain Lion systems WilliamGallagher OmniFocus 1 for Mac 6 2012-08-06 12:27 PM
OSX Mountain Lion and OF!? lmsboy OmniFocus 1 for Mac 62 2012-03-21 05:22 PM
WebDAV Lion Server joelande OmniPlan General 0 2011-11-02 12:01 PM


All times are GMT -8. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.