corrut database durring 6.7.24 to 6.8.7

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
enamelrod
Posts: 462
Joined: Tue Jul 24, 2007 9:51 am

corrut database durring 6.7.24 to 6.8.7

Post by enamelrod » Sun Nov 01, 2009 11:07 am

trying to upgrade to version 6.8 and i got a database corruption error because conversion failed! what do i do next?

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: corrut database durring 6.7.24 to 6.8.7

Post by jordansparks » Sun Nov 01, 2009 3:50 pm

I'm guessing you didn't let it run long enough and you thought that it had hung when it was really still in the middle of the conversion? Or did it just suddenly fail on you? Either way, restore a COPY of a backup. Then, if you just need to give it longer, run the conversion again. If, instead, it suddenly failed on you, look at the details of the error, and copy the entire thing so that you can tell us what the error was.
Jordan Sparks, DMD
http://www.opendental.com

enamelrod
Posts: 462
Joined: Tue Jul 24, 2007 9:51 am

Re: corrut database durring 6.7.24 to 6.8.7

Post by enamelrod » Sun Nov 01, 2009 4:27 pm

no sorry, it stopped and said your database is now corrupt call open dental. i took the copy and tried to restore it. when i run od it continues then says conversion failure. SO i took the copy put it on another machine with mysql and it thinks the old machine is still running its upgrade.

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: corrut database durring 6.7.24 to 6.8.7

Post by jordansparks » Sun Nov 01, 2009 5:28 pm

Do you have a tool that you can run this query in?
UPDATE preference SET ValueString='' WHERE PrefName='UpdateInProgressOnComputerName'

We'll need a copy of that database that didn't convert properly.
Jordan Sparks, DMD
http://www.opendental.com

enamelrod
Posts: 462
Joined: Tue Jul 24, 2007 9:51 am

Re: corrut database durring 6.7.24 to 6.8.7

Post by enamelrod » Sun Nov 01, 2009 5:54 pm

ok jordan i figured this one out. And i have talked to you and nathan about this before. when i go to update it downloads the latest copy to my linux server but all the workstation computers thinks its on a different version. the manifest on the workstations vary and are reading 6.6.21-6.7.24 and the server has version 6.8.7. after running the database integrity tool it corrected the errors and it took 20minutes to upgrade but it worked. now i think i should remove all the copies and folders from the workstations and do all new installs.

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: corrut database durring 6.7.24 to 6.8.7

Post by jordansparks » Sun Nov 01, 2009 6:13 pm

Some sort of security issue with the manifest file on the server? This may be a good enough reason to switch to a Windows 'file server' or an embedded Linux NAS so that you don't have to deal with permission issues. I don't know.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply