Migration Failure

From MacDive Wiki
Revision as of 13:51, 1 August 2013 by Macdive (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you are getting the message "MacDive failed to update its database. Usually this means you were using an incompatible data version. Please contact support." then there are two possible causes for this problem, both with simple solutions.


A very, very old bug

Back on OS X 10.5 (Leopard), there was a bug between MacDive and an Apple Framework. This was triggered by starting MacDive, and then not saving any data. After you upgraded to a newer version of the operating system, the Framework was missing some information it required. This information was only added once you entered some data - for example a site, or a piece of gear, or a dive. A workaround for this was added to MacDive 2.0.5, but occasionally there is someone who updates from an earlier and runs in to this problem. But don't worry - the fix is simple. You simply need to delete the empty data file and restart!

1. Locate and delete this file:

/Users/your username/Library/Application Support/MacDive/MacDive.sqlite

2. Restart!

As of Lion, your Library folder is hidden by default. See How do I backup my data or transfer it to another computer? for instructions on how to find it.

Please note: If you delete this file and it contains dives, your data will be lost. This particular bug only occurs if you have no data. So, if you have dives saved then this is most likely not the issue you are facing. The issue you are facing is described below.


Using a new version, and then trying to use an old version

Some MacDive updates make internal changes that are not compatible with old versions. This is generally fine, in the usual case - you have one copy of MacDive and it auto updates itself, and everything is good.

However, sometimes people have multiple copies of the application. After MacDive updates that make these changes (not all of them, but they are fairly regular), older versions will not work and you will receive this error.

The easiest way to fix it is to just delete all copies of MacDive that you have on your computer. Then, simply download the latest version from the website to make sure you are up to date. Your license and data will be fine, don't worry about them!