WARNING: WARNING: 0.8.6x MAJOR BUG << Please Read
Moderators: Developers, Moderators
- 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
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
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- pestilence
- Cacti User
- Posts: 207
- Joined: Fri Jul 25, 2003 10:37 am
- Location: Athens/Greece
- Contact:
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.
I tried to importing them to a 0.8.6a database, but I still cannot see them.
Any help will be greatly appreciated.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
Importing and Exporting Templates
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
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
-
- Posts: 33
- Joined: Mon Apr 19, 2004 7:47 am
Re: Importing and Exporting Templates
I ended up with the data temp. problem and I also have the same problem when trying to re-import the data templates.basf_audio wrote:My Windows installation simply returns with no messages -good or bad, and without importing anything.
Any assistance would be greatly appreciated.
Thanks.
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.
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.
is it fixed ?
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 -
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 -
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest