Cacti itself is easy enough to upgrade, so being able to get the complete Spine was probably all I was looking for and can probably do myself now that I've dug into it.Cacti is a popular LAMP/ LEMP based network monitoring software that helps you gain insights and simplifies logs data from your networking devices so you can make sense of them.
Cacti windows installer upgrade#
I was really just looking for Spine and Cacti to be upgraded in place, but it doesn't really make sense to only upgrade those, probably not worth the effort. Yeah, I really hadn't considered all the ancillary parts which vastly complicate the issue.
php upgrades can be tricky especially if there are major version changes or core php files scattered around the system (as some other installers/users do). mysql upgrades can be tricky especially if there are major version changes, clustered instances, or hosted remotely. Whats the best method for reliably detecting where the Cacti files reside on both IIS and Apache installs? User input is not reliable. Does a user really want (or need) to download a 200 MB installer instead of a 10 MB zip and overwriting the existing cacti files manually? Nope. Should an upgrade also upgrade mysql/php/rrdtool/spine or just cacti? Should upgrades only be allowed if the installer was originally used or for any system? There are a LOT of additional gotcha one would need to handle if performing an upgrade, since cacti relies on so many different components, which many users have changed configurations over time. Tsimmons wrote:Do you have any interest in modifying your installer to make it more "upgrade" friendly?īig life changes so not a lot of time these days for enhancements. I did try the steps suggested in the error but it just complains the Cacti database already exists so fails
Cacti windows installer install#
The file should be changed to read only after the install is completed. NOTE: When installing a remote poller, the config.php file must be writable by the Web Server account, and must include valid connection information to the main Cacti server. The defaults are cactiuser for both user and password. Where /pathcacti/ is the path to your Cacti install location.Ĭhange someuser and somepassword to match your site preferences. Mysql -uroot -p cacti < /pathcacti/cacti.sql Mysql -uroot -p -e "grant select on mysql.time_zone_name to identified by 'somepassword'" Mysql -uroot -p -e "grant all on cacti.* to identified by 'somepassword'" To initilize the Cacti database, issue the following commands either as root or using a valid account. The Cacti Database has not been initialized. I have just tried the installer on a clean Windows Server 2016 / IIS with this workaround and the installer seems to complete successfully but then when I go to access Cacti :įatal Error - Cacti Database Not Initialized Usefull log: C:\ProgramData\MySQL\MySQL Installer for Windows\Logs\Administrator installer.log The installer runs until and wait until the mySQL db is available > so waiting forever :-|ġ) delete the content in C:\ProgramData\MySQL\MySQL Server 5.7\DataĢ) remove (place # in front of if) of all lines starting with innodbcluster in the configfile C:\ProgramData\MySQL\MySQL Server 5.7\my.iniģ) run (CMD) the following command again : "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" -defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" -initialize-insecure=on -console Run the Cacti installer, in my case the Cacti-1.1.2-3.2.0.0.exe OmeKOS wrote:after some testing and checking logfiles: there's a work around: