Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Miranda NG general talk => Topic started by: omniwolf on 08 07 2014, 01:04:12

Title: trying to update mNG to the latest version, database issues
Post by: omniwolf on 08 07 2014, 01:04:12
Hi,
The pluginUpdater plugin this morning told me there were newer versions of things, so i ticked them all (except the spellcheck plugin - it gets blocked by our proxy for rude words!), and told mNG to update me.  I have done this process in the past many times with no issues.

Upon restarting mNG, i was informed that my profile was too old, and i needed to first downgrade to 0.94.9, let it upgrade my profile, then i could upgrade again to 0.95.1.
I downloaded 0.94.9, and installed it without issue.  Upon running it, i get the usual profile manager window (i have about 5 profiles, but only actually use one), and it showed my profile "Fresh", but without a driver (see screen shot).  If i right click on the profile and choose "Check database", i get an error "Database checker cannot find a suitable database plugin to open '...\Fresh.dat'"

Any ideas what's going on here?

Thanks,
Nick.
Title: Re: trying to update mNG to the latest version, database issues
Post by: watcher on 08 07 2014, 05:25:51
Is this happening on 0.94.9 or already on 0.95.1? Did you use the installer from WIKI page (http://wiki.miranda-ng.org/index.php?title=Updating_pre-0.94.9_version_to_0.95.1_and_later) to install 0.94.9 over previous installation? Because it installs every possible database driver for DB conversion before updating to 0.95.1. Every single one of the profiles had to be opened under 0.94.9 and only after that update to 0.95.1 had to be performed.
Title: Re: trying to update mNG to the latest version, database issues
Post by: omniwolf on 08 07 2014, 23:16:28
yes, the screenshot is happening under 0.94.9.  If i try with 0.95.1 it just tells me to downgrade again.
Yes i used the installer from that WIKI page (i just followed the link that 0.95.1 gave me).
How do i associate a DB driver with a profile?  As you can see from the screenshot there appears to be no DB driver for my profile?
Title: Re: trying to update mNG to the latest version, database issues
Post by: watcher on 09 07 2014, 06:28:19
omniwolf, it also happens  when profile is corrupted and db driver can't read its header.

(http://i.imgur.com/EPL3FEC.png)

Title: Re: trying to update mNG to the latest version, database issues
Post by: watcher on 09 07 2014, 06:40:01
Can you please open this profile in any text editor and show this line?


(http://i.imgur.com/lgWz0WA.png)
Title: Re: trying to update mNG to the latest version, database issues
Post by: omniwolf on 09 07 2014, 23:14:54
Sure
Title: Re: trying to update mNG to the latest version, database issues
Post by: watcher on 10 07 2014, 06:12:52
Interesting, signature is there... I'll show it to our main developer.
Title: Re: trying to update mNG to the latest version, database issues
Post by: omniwolf on 10 07 2014, 09:03:26
OK, i realised i followed the warning on 0.95.1 and made a backup of my entire profile before i tried to upgrade.
I just copied in the old profile again, ran it against 0.94.9, ran the DB consistency checker, then upgraded to 0.95.1, and it's working again.

Lucky me.  Something must have gone wrong and corrupted the DB in my first attempt.  Might be something to look at, because i followed the instructions exactly and it still went wrong, but all is working for me now.
Title: Re: trying to update mNG to the latest version, database issues
Post by: watcher on 10 07 2014, 09:39:47
omniwolf, Might be something to look at - exactly. We are thinking about making whole process safer. We'll think of something. Thanks for the report.