WARNING: WARNING: 0.8.6x MAJOR BUG << Please Read

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

WARNING: WARNING: 0.8.6x MAJOR BUG << Please Read

Post by TheWitness »

All,

There appears to be a bug that affects some installations of Cacti. The behavior manifests itself when you delete data sources or hosts and their associated data sources.

The result of the bug is that all data templates are deleted. Your current graphs will still work, but the data templates associated with them will be gone.

To remediate this, if you haven't backed up your database yet, do so now. You can accomplish this by issuing the following command:

mysqldump --user=root --password cacti > cacti.backup

You should do this immediately after upgrading to 0.8.6x. We are investigating the source of the error and hope to have it fixed soon.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

To restore Data Templates, please follow the instructions below. Do not delete your empty Data Template's!!!

1) Create a fresh install of 0.8.6a in a separate database:
2) Export all your data templates to XML files from the new install.
3) Import the Exported data templates into the damaged database.
4) Do not delete Devices or Data Sources for now. Instead user the "disable" function inside the Devices table.

If you lost custom Data Sources, restore a backup copy of your pre 0.8.6x database to a separate database, upgrade that database to 0.8.6a and then follow the instructions above.

We appologize for the inconvenience.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

Checked on my Gentoo box, with:
MySQL: 4.0.20-r1
Apache: 2.0.50
php: 4.3.6-r1
And i was not able to replicate the bug.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
ron

Post by ron »

All my data templates disappeared from the data templates page after upgrading from 0.8.5a to 0.8.6. However, I can still see them in the data templates dropdown list in the data sources edit page. I can even export them.
I tried to importing them to a 0.8.6a database, but I still cannot see them.

Any help will be greatly appreciated.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please follow the instructions above. Even though the entry is there, it does not have the meat behind the name. We believe the bug to be associated with a Java issues that was addressed in 0.8.6a.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
basf_audio
Posts: 40
Joined: Thu Feb 26, 2004 10:30 am
Location: Saint Louis

Importing and Exporting Templates

Post by basf_audio »

TheWitness,

As discussed with you previously - I'm glad that some of these issues have been found! :)

For those of you that are affected by this, I've also found that exporting templates work fine with both Linux and Windows... However, I've only been able to import the exported templates on Linux. My Windows installation simply returns with no messages -good or bad, and without importing anything.

Thanks,

_DS
Guest

Post by Guest »

I am not sure if i am affected by this bug. But my rrd files aren"t updated?
is it the problem?
guerra6880
Posts: 33
Joined: Mon Apr 19, 2004 7:47 am

Re: Importing and Exporting Templates

Post by guerra6880 »

basf_audio wrote:My Windows installation simply returns with no messages -good or bad, and without importing anything.
I ended up with the data temp. problem and I also have the same problem when trying to re-import the data templates.

Any assistance would be greatly appreciated.

Thanks.
DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

Post by DevilSun »

Damn...I just ran into this problem, and it's a hefty one. Yeah, I didn't back up my db so I take responsbility for that.

I've found on my Windows install though, I can't import any files, I have to open them and paste the contents. I did that for all my data templates (I exported them before this problem reared it's ugly head), and now all my data templates are fixed. However, all my graph templates are out of sorts as far as data sources and won't hook back up, and need to all be relinked so to speak...every item in every graph. :x
lag
Posts: 3
Joined: Mon Oct 11, 2004 7:53 am
Location: France

is it fixed ?

Post by lag »

Hi,

I think I got the bug, nearly all my data templates has disappeared after deleting graph+datasource.
not really a problem it was a new install 0.8.6 php4.3.4 mysql 4.0.18
can you tell me if it is closed with 0.8.6b ?

thanks - lag -
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest