Hello,
It seems that Cacti 1.2.26 is available since Dec. 23, 2023.
I used your installer to upgrade my Cacti (Apache) instance from 1.2.24 to 1.2.25, and it updated as expected. I just noticed the following:
1. Even when upgrading it still generating the "Cacti-Passwords.txt", which I believe it should not.
2. I believe your installer breaks compatibility with non-64 bit Windows versions as Net-SNMP for Windows 32-bit isn't provided anymore (I believe that no one should be using Windows 32-bit, but I believe that would be great to check the user architecture before running if breaking Windows 32-bit compatibility is intended).
3. Net-SNMP installer seems to be installed in C:\usr as stated by @andermat. I tested id and I was able to replace the Net-SNMP default install path using "net-snmp-setup.exe /S /D=C:\net-snmp" (please make sure that it's the last argument on the command line and there's no spaces, even if the output path contains spaces)
4. I also noticed an odd behavior that is related to Net-SNMP itself, as reported in
https://bugs.php.net/bug.php?id=68001 and I believe it should affect other users that are upgrading from 1.2.24 to 1.2.25 since you updated Net-SNMP version: the Apache service may fail to start after with exception code "0xc0000409" on Windows Event Viewer after upgrading Net-SNMP because it's cache may contain files from an older Net-SNMP version. When upgrading, the Cacti All-in-One installer should delete all files in C:\net-snmp\snmp\persist\mib_indexes directory to guarantee an smooth transition.
5. It seems that Net-SNMP version 5.9.4 is available but your installer uses 5.9.3.
6. It seems that when upgrading the Spine from 1.2.24 to 1.2.25 it was unable to connect to the MySQL database (it seems that the 1.2.25 installer changes from MySQL to MariaDB, but upgrading keeps MySQL installed), even when the password didn't change. The error "FATAL: Connection Failed, Error:'2002', Message:'Can't connect to local MySQL server through socket '/var/run/mysql.sock' (2)'" was being thrown when running Spine. I had to replace "DBHost localhost" to "DBHost 127.0.0.1" on spine.conf to be able to connect MySQL through Spine. The Cacti All-in-One installer should be set it to use the IP address instead of localhost to avoid this.
7. As @andermat stated, when selecting "IIS", the Apache credentials setup screen is shown.
8. The OpenSSL Light 3.2.0 version is available now but installer uses 3.1.1.
9. It would be great if we could uncheck some components during installation so we could install them on our own, if needed. It was possible on 1.2.24 All-in-One installer but it doesn't seem available anymore.
10. It's assign the "NT Service/Apache2.4" account permissions for "C:\Inetpub\wwwroot" files when IIS is selected during setup.
11. The installer do not assign the "Write" permission for the "IUSR" user on "C:\Inetpub\wwwroot\cacti\log", "C:\inetpub\wwwroot\cacti\cache" and "C:\inetpub\wwwroot\cacti\include\config.php" files. I had to right click the file > Security tab and assign it manually or through icacls:
Code: Select all
icacls "C:\inetpub\wwwroot\cacti\log" /grant "IUSR:(OI)(CI)(RX,W)"
icacls "C:\inetpub\wwwroot\cacti\cache" /grant "IUSR:(OI)(CI)(RX,W)"
icacls "C:\inetpub\wwwroot\cacti\include\config.php" /grant "IUSR:(RX,W)"
12. The Remote poller setup seems to hang on Step 4 (after checking if files are writable).
13. The installer could detect the current timezone from Windows and set it to php.ini or ask the user to select it instead of fallback to "America/Los_Angeles".
14. The installer should set "innodb" to ON and "innodb_doublewrite" to OFF on my.cnf as Cacti recommendations
15. The "innodb" parameter is unset. It seems to be a Cacti bug. I proposed a fix at
https://github.com/Cacti/cacti/pull/5637
16. There’s a new version of MariaDB available.
17. The MariaDB isn’t shown on Control Panel “Programs and Resources” when it’s installed silently.
I didn't found your post earlier and I ended up compiling Spine 1.2.26 through Cygwin, when/if you update the installer you can use this build or compile your own, hope it helps. It's available at
https://www.mediafire.com/file/g5fsuw5n ... n.zip/file
I'm glad to see that Cacti community is still available and such amazing installer are still available for anyone =) It would be great if the recipe to generate the Windows All-in-One installer be available on GitHub or any other sources so other people would be able to compile and further develop it if needed.
Regards.