e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

Database update message shown after upgrade #1336

Closed pierre0042 closed 8 years ago

pierre0042 commented 8 years ago

Hello,

I have managed to upgrade my e107 to v2.0, but in keep getting this message in the admin saying : "System Information There is a database update available, please click button to install ..."

What could be the cause ?

CaMer0n commented 8 years ago

If you enable 'debug' (using the Firefox addon for example) it should display the reason for the notification.

pierre0042 commented 8 years ago

System Debug Plugin Update(s) Required - different version

pierre0042 commented 8 years ago

Ok so I see that in the plugins list, e107 says that "Forum" must be upgraded :

forums_32.png Forum 1.2 2012-08-01 content e107 Inc. Made for v2 This plugin is a fully featured forum system.

but the problem is that I have already upgraded this plugin...

Moc commented 8 years ago

If you go into Tools > Database > Check for updates. You should still see some updates you can perform.

pierre0042 commented 8 years ago

It shows me

Update from 1.x to 2.0 OK Add additional/missing core settings OK Forum UPDATE

Same issue : I have already done that. If I try it fails on the tables creation.

Moc commented 8 years ago

This shows the the forum update has not been completed properly. I suggest going back to the backup and trying again. You can enable debug to have it display extra information which may be useful in case you run into issues.

pierre0042 commented 8 years ago

Ok I will try this but I am sure I have already done this forum update.

pierre0042 commented 8 years ago

The problems I encounter are that the tables creation at step2 fails, because the tables already exist.

Adding a check for this case would be nice.

Here is the screenshot : http://imgur.com/MWHGuR0

CaMer0n commented 8 years ago

I'll work on something.

CaMer0n commented 8 years ago

Please update from github and try again. Thanks

pierre0042 commented 8 years ago

Thanks. I have less errors but it still fails : http://imgur.com/j6W4JB0

Some tables exist and are not empty...

CaMer0n commented 8 years ago

@pierre0042 Please restore your v1.x forum tables, remove the new ones, and start again.

pierre0042 commented 8 years ago

Ok I will try that, just to be sure, the v1 tables are : e107_forum e107_forum_t e107_forum_thanks (from a plugin I think)

CaMer0n commented 8 years ago

Yes! (I have no idea about e107_forum_thanks)

pierre0042 commented 8 years ago

Success Congratulations, the forum upgrade is now completed!

Forum Version updated to version: 2.0

Ok so I run through the 12 steps without error. I have chosen to keep the v1 tables as backup. I hope it will be ok now.

pierre0042 commented 8 years ago

It's not working... In the plugin manager, it says that Forum must be upgraded to v2.0 :( Is it maybe because I kept the old tables ?

pierre0042 commented 8 years ago

I tried to rename the old tables but it's the same problem : http://imgur.com/WxhYnVW

CaMer0n commented 8 years ago

@pierre0042 If you need to talk in real-time, please join us: https://gitter.im/e107inc/e107

pierre0042 commented 8 years ago

Thanks to CaMer0n the upgrade is now fully done and no more message is displayed.