Cacti / plugin_reportit

ReportIt Plugin for Cacti
GNU General Public License v2.0
7 stars 8 forks source link

Upgrade from 0.7.5a to 1.1.2 #85

Closed lbsou closed 4 years ago

lbsou commented 4 years ago

When upgrading from 0.7.5a to 1.1.2, the previous data is not imported.

To Reproduce

From the README :

"After that replace your existing ReportIt folder with the new one stored in this download archive. Go to the plugin management console and click on "install". The upgrade process will start automatically! After it has finished you can enable ReportIt with a click on "enable"."

The plugin appear as already installed and already activated.

Do I need to uninstall the old plugin first?

I tried several possibility but the table are never renamed with the "plugin_" prefix.

Expected behavior Successful migration of reportit data (template, etc)

Plugin (please complete the following information):

Desktop (please complete the following information):

netniV commented 4 years ago

Can you be clear? Are you running Cacti 0.7.5a with ReportIt v, and trying to go to 1.2.6 with 1.1.2 reportit?

If so, the database upgrades are only verified from 0.8.8 and above so you should upgrade to that before leaping to 1.2

lbsou commented 4 years ago

I'm sorry, I should have drank my coffee before writing this post.

I'm running cacti 0.8.8g with reportit 0.7.5a

I want to upgrade to cacti 1.2.6 with reportit 1.1.2.

Thanks!

lbsou commented 4 years ago

I executed manually the SQL commands found inside "/plugins/reportit/system/upgrade.php" and it is now working.