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 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Sync OminFocus between machines Thread Tools Search this Thread Display Modes
Quote:
Originally Posted by Scott Betz View Post
I would be very interested in learning how you are syncing your laptop desktop. Please amplify. Thanks.

Scott
Sorry for the delay. I've been busy (that's the point, no?).

I hope this is the right level of detail for you. This is what works for me, and so I can't warrant that it will work for anyone else, but here's how I think I understand the process.

You need to use the shell to do this (it was explained that you need to use "symbolic links", which are very similar to aliases but are a native part of the file system implementation).

Also, I'm set up with my iDisk "cached" on my machines, meaning that a local copy is updated, and then iSync or Sync Services goes out and updates the copy on the iDisk server. This is enabled up by setting "iDisk Syncing On" in the .Mac preferences pane; I have mine set to sync automatically. You'll want to ensure that your iDisk is synced when you move to another machine; you can do this by clicking on the circular-arrows-chasing-each-other icon on the iDisk icon in a Finder window. If you have a Finder window open to the iDisk or a subfolder, the sync status is displayed at the bottom of that window.

You'll be Unhappy if you try to work on Machine B if Machine A hasn't synced the files, and Machine B hasn't then picked up all of those changes... and, BTW, for a more enjoyable experience consider putting your "Back up database..." files there, too, just in case. And, of course, you don't want to try this while OF is actually running...

Still with me?

Here we go.
  1. Locate the local copy of your OmniFocus data on your computer, which is likely in your home directory in the Library/Application Support/OmniFocus directory. If your username is "bob", then the full path to this is /Users/bob/Library/Application Support/OmniFocus. If you look at this file in the finder, you'll see the OmniFocus data file. However, this is actually a Mac OS X "Package" which the shell sees as a directory, and is called "OmniFocus.ofocus". You're going to copy this file to a directory on your iDisk, and then set up a symbolic link (short name: "symlink") to point to it, exactly as if you were setting up an alias.
  2. You need to copy the file to your iDisk (doing so from the Finder is fine); I put mine in the Documents folder in a folder called OmniFocus. (It's good to be really obvious about this - because you're probably going to have to figure it out again later!). You need to also figure out the pathname for this file (which is, again, actually a directory as far as the shell and filesystem is concerned). Again, in my case, the iDisk is mounted on my Mac as /Volumes/iDisk; but my machine at home has it mounted differently - you may need to do some hunting, but it's surely under /Volumes. So, again, putting everything together, I now have the OmniFocus [data package] on my iDisk, at /Volumes/iDisk/Documents/OmniFocus/OmniFocus.ofocus .
  3. Finally, you have two copies of the file, but you need to remove the local copy and create a symlink. You can trash the file from the Finder, and then, in the shell, create the symlink. The command is a bit tricky - I can never remember which parameter is first. The general form of the command is ln -s destination pointer - so, if you are "bob", and you are "in" the right directory (/Users/bob/Library/Application Support/OmniFocus/), you might issue this command: ln -s /Volumes/iDisk/Documents/OmniFocus/OmniFocus.ofocus/ OmniFocus.ofocus - which would create the link for you - the link OmniFocus.ofocus in that directory "points" to the package on the iDisk, but the application just sees "OmniFocus.ofocus" as a directory it's going to use for its data.

If you look at that folder in the Finder, you should see what looks like an alias - but it's actually a symlink. If you use the ls command, as in ls -l you'll see the pointer/link indicated. The next time you start up OmniFocus, you should see the lock file appear on your iDisk: OmniFocus.ofocus.lock, which is the result of the standard practice of leaving a "sentinel" file so the application can tell that either another copy of itself is running, or else the application crashed, and some recovery of the data in the file may be in order.

And, you'll want to do this on whatever other computer(s) you have OF installed on. Obviously, you need to figure out which OF file is the "master" and propagate the links as necessary. One of the things that applications that use sync services to manage changes do is to read files or parts of files and make decisions - or allow sync services to prompt the end-user to make decisions - about which record or data point should be kept. OF doesn't do this, at least now.

Finally, remember, that file is really a package - so the iDisk sync services will see a whole bunch of files with very long and seemingly random names "inside" of it to sync. Just make sure that the sync has completed successfully before making any assumptions about using the file elsewhere, and you should be okay.

I hope this helps - but I'll try to respond more quickly if there are more questions. And remember - back up, back up, back up, not only before you try something like this, but remember that OF is Alpha software...
 
The steps for setting up OmniFocus via .Mac:
0) Close Omnifocus
1) Locate omnifocus.ofocus in your Library/Application Support/OmniFocus/
2) Copy this file to your iDisk (suggestion: put it in a OmniFocus folder)
3) Double click on this file, stored in your iDisk: Omnifocus will open and use this file to write to
4) After a /Mac sync (most probably automatic) the same file will pop up on your other computers.
5) Having OmniFocus installed, a double click on this file will open it and you can set up the webserver.
 
That's a lot easier than my way...

Quote:
Originally Posted by RuleRulez View Post
The steps for setting up OmniFocus via .Mac:
0) Close Omnifocus
1) Locate omnifocus.ofocus in your Library/Application Support/OmniFocus/
2) Copy this file to your iDisk (suggestion: put it in a OmniFocus folder)
3) Double click on this file, stored in your iDisk: Omnifocus will open and use this file to write to
4) After a /Mac sync (most probably automatic) the same file will pop up on your other computers.
5) Having OmniFocus installed, a double click on this file will open it and you can set up the webserver.
...and I wish I'd thought to try it.
 
The symlink works. Thanks.
 
Can you have two copies of ofocus work on the same file though (one at home always running for home context work and to maintain a web server for the iPhone and one at work during the day as well).
 
After a day I have restored to the old situation. Two files synced via iDisk, isn't working. OmniFocus breaks with a long message and the words that the file sis corrupted because it is connected to two machines.
 
What is GTD, if not working within contexts?

I think perfect syncing needs to be a must in a 1.0 version. How can we know what we need to work on, if the program with all the data on it isn't at the context we are in?

I know some are syncing with iCal, but the iPhone won't even show todos! How can anyone get things done, without 1st knowing what it is that they are working on?

I am sure I could print a list of every context, every day, and carry them all around everywhere I go, but then, what is the point of having an electronic system, instead of a paper one?

So. Long story short - I add my vote to computer (and iPhone) syncing in version 1.0, (sans webinterface) because I can't change my company's routers settings for my main Omnifocus installation which is at my employers!
 
See my suggestion regarding DNS2go.com in another thread.
 
I agree. I would have much preferred that the Omnitians had channelled all of the effort that has gone into the web interface into syncing instead. I can wait until Leopard to (hopefully) get todo syncing on the iPhone. Well actually I'll have to since the web interface is as impractical for me as it is for you even with DDNS. Maybe if Omni had a hosted plan but that would still require them to come up with some form of syncing so I suppose it's unlikely.
 
+1 for syncing vs web interface

The problem with the web interface:
1. There isn't a natural backup of the document on another machine. If the machine goes down (mine just did) everything could be lost.
2. It relies on the internet. If your service goes out you cannot access your data. (mine just did) (it's been one heck of a month)
3. If the machine went down and you need to have information with you like passwords & serial numbers to reinstall your machine... you're screwed.

(that #3 is more for the iPhone installing 3rd party applications. One of the beauties with my old palm... my computer or internet or both go down, I still had all my information. Serial numbers, passwords, and tasks in Life Balance to keep me chugging along.)

I'm still optimistic that the iPhone will allow OF to be installed onto it.

The good news about the web development:

It preps the development time for iPhone. Since widgets are web pages.

But syncing between iPhone and two computers is a high priority for me.

Last edited by SpiralOcean; 2007-08-30 at 07:26 PM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ominfocus keeps moving to Desktop 1 kklein OmniFocus 1 for Mac 12 2012-05-28 06:25 PM
ominfocus web interface prompting for username? david@knapp.org OmniFocus 1 for Mac 1 2009-04-06 12:28 AM
WebDav Sync works between machines but not iPhone v.bampton Other WebDAV 1 2008-09-17 05:19 AM
OminFocus crashes when started jmmitchell OmniFocus for iPhone 8 2008-07-17 11:11 PM
Can Backup/Revert Database be used to sync multiple machines? Anthony.Calzadilla OmniFocus 1 for Mac 2 2007-07-20 09:27 AM


All times are GMT -8. The time now is 01:50 PM.


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