The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   iDisk/MobileMe/.Mac Syncing (http://forums.omnigroup.com/forumdisplay.php?f=56)
-   -   iPhone app will not sync with MobileMe server (http://forums.omnigroup.com/showthread.php?t=9973)

Mixalis 2008-09-23 09:30 AM

iPhone app will not sync with MobileMe server
 
For the past three days my mobile application has refused to load. I got repeated "unable to synchronise database with server" messages and occasionally the message that the database on the server "appears to be wholly unrelated". When I opted to replace data with the server copy I went through the whole rigmarole again. I repeatedly reset the database in Settings.

I have two Macs and both continued to sync automatically with MobileMe, so I presumed the server database was working correctly and that the fault could not be with MobileMe.

I checked Registered Clients in the Sync Preferences and noticed my iPhone appeared twice. I tried un-registering the older copy but still the problem persisted.

This is what I did finally to get the database back on the iPhone and syncing:

1) In desktop OmniFocus Preferences go to Sync and choose Clients. Delete all iPhone clients (unless you have more than one phone, in which case delete only the one[s] relating to the phone in question).

2) Back on the Sync tab click the button to "Share Settings"

3) Open OF on the iPhone and go to Settings and choose "Get Settings from Mac"

4) Reset the database with the red button

...and the database should be downloaded from MobileMe to the phone. If you then check Sync/Clients you will find the iPhone relisted as a client.

I thought this might be helpful to others struggling with the same problem. If my solution isn't recommended or is likely to cause problems, perhaps Ken or someone else from Omni can post a preferred method.

jenniferp 2008-09-23 12:38 PM

I have tried this, but still no sync. My desktop info never gets to the iPhone.

I have never gotten OF iPhone to sync properly with my desktop OF since purchasing it (gave up for a few weeks and am now ready to try again!). V frustrating. :(

whpalmer4 2008-09-23 03:11 PM

Jennifer, can you post the details of your setup, and what exactly you've tried? No doubt you've done so in previous posts, but help us help you :-)

jenniferp 2008-09-24 12:31 AM

OK, here goes:

To start fresh last night I did the following:

1) Uninstalled the OF app from iPhone.
2) Deregistered the iPhone as a client in OF desktop sync prefs.
3) Synced Iphone w/ Itunes to get the OF app back on my Iphone.
5) Deleted all previous OF files from the 'cloud' in MobileMe.
4) Synced my OF desktop with the 'cloud' using MobileMe w/following location:
[url]https://idisk.me.com/jenniferpirtle/Documents/[/url]. This worked successfully.
5) Broadcasted my OF sync settings to the iPhone using Bonjour.
6) Opened OF on iPhone and tapped 'Get Settings From Mac' to start syncing.
7) OF iPhone app gave message "YOur database couldn't be synchronised because the database on the server appears to be totally unrelated to the local database. Which database would you like to use?'

I've tried responding Local Copy and have also tried responding Server Copy.

OF app on iPhone then opens up, but it has none of my data in it. The Sync wheel is turning and it is 'sync currently in progress' but the application times out.

That's what happens this time. In the past, I got it to transfer info to iphone ONCE but never to then update properly (so info on iphone is always out of date).

I have archived everything in my database through September 1, 2008.

Any suggestions appreciated.

Thx,
Jennifer

jenniferp 2008-09-24 12:49 AM

Update: It appears to have synced, then says 'opening document.' It never does finish opening, though, preferring instead to crash out of OF and return me to the iPhone desktop. :(

Jennifer

jenniferp 2008-09-24 01:50 AM

Aha! In another thread I found the 'Coalesce' Apple Script, ran that, and now it synced. Very SLOW but it worked. So in all likelihood my database is large. Are there any other tips, besides archiving regularly (which I've done), to keeping it smallish? I've got lots of projects and actions and that won't change...

Jennifer

whpalmer4 2008-09-24 08:09 AM

1 Attachment(s)
Progress! Hooray :)

Jennifer, it'd be interesting to know how many actions you have in your database, and how it compares to the recommendation of 1,000 or so. You can find this out in the Terminal by entering the following command:

[code]
sqlite3 ~/Library/Caches/com.omnigroup.omniFocus/OmniFocusDatabase2 'select count(*) from Task';
[/code]

or downloading and running the attached Applescript. The number printed out is the count.

Knowing how big the data file is post-compaction might help, too. I'm a little suspicious that you might have some large attachments in there, as my data file before compaction was recently about 8 MB for 8,000+ actions spread over 4,000+ files, and you said yours was 6x that size! I'm not sure the desktop app would work very well either with that kind of a burden, based on my experience.

jenniferp 2008-09-24 12:00 PM

Where is it recommended that you have 1,000 actions? I didn't see that anywhere before purchasing the app. OF really should let users know that in advance.

I ran the script and it says 7210. (Is that the correct number?)

I do use the F12 key to 'send' email messages or snippets to OF. I don't ever attach documents, images, etc. to OF, though.

The desktop file always works fine.

(What can I say - I have a lot of projects and a lot of actions!)

Looks like the data file size is 23Mb.

Best,
Jennifer


Jennifer

Mixalis 2008-09-24 12:55 PM

I have 516 actions and I've had exactly the same problems over the past two weeks. Like Jennifer, I've never heard anything about this 1,000 actions limit. If this is a fact, it should be stated clearly in the documentation so buyers are aware. 10,000 maybe, but 1,000 is ridiculous.

jenniferp 2008-09-24 03:04 PM

If I continue to have problems, I'm going to push for a refund. Nowhere on the tin (so to speak) does it say there is a limit on number of actions, etc.

Jennifer


All times are GMT -8. The time now is 12:15 PM.

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