Anonymous wrote:
I read through your readme and even though it said to install it on a fresh installation, I did it anyway and screwed my install up :) I was able to recover just fine, but wanted to know if there is any safe way to install it on an existing and fully functional install? I apologize for not having the errors that occured handy.
Its would definitely be easier to figure out what went wrong if you had the errors, but even without them, it is possible to upgrade an existing install (provided you don't have the old thresholds modules installed, or possibly any other "addon").
The main thing that may have caused it to crash is if you over ride your files with the ones supplied after updating your Cacti to the latest patches. If you have not using a clean vanilla install, it is best to use the supplied patch. You could first copy the .DIFF file to your cacti directory and on unix (or windows with cygwin installed) run this command
Code:
patch -p1 -N --dry-run < cacti-patch-file.diff
Which will do a "Dry Run" of the patch, to test to see if it would work, without actually modifying the files. If something fails, then patch all the files, and then add the modifications to that one by hand (aka "The Hard Way").
The other way, if you are running a basic Cacti install, is just back it up, and override the files, and re-modify your config.php to add your database options.