Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
dwoodhou
Posts: 5
Joined: Mon Jul 01, 2024 5:04 am

Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by dwoodhou »

Hi all - would appreciate some guidance here please. I have an existing Windows Cacti deployment on v1.2.26. When following the upgrade process at https://docs.cacti.net/Upgrading-Cacti-Under-Windows.md# all was well until step 9 in the upgrade doc which failed the pre-installation checks for PHP module intl (reported status: Installed : Web - No).

php.ini contains the entry;
extension=intl

Unfortunately due to server rollback the php_errors log entries were lost, but recall that the entries did not report an issue with the path to php_intl.dll but stated something about being unable to run the process or words to that effect.

Cacti - from Version 1.2.26 to 1.2.27
PHP - from Version 8.1.16 to 8.3.8
mySQL - from Version 8.0.32 to 8.4.0


Thanks and best regards
DW
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by macan »

php -m returns that intl module is installed?

or run php_info() function. Is it intl there?
Let the Cacti grow!
dwoodhou
Posts: 5
Joined: Mon Jul 01, 2024 5:04 am

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by dwoodhou »

Hi - thanks for the response. Unfortunately I had to rollback to a server snapshot before the attempted upgrade. I did not run php -m at the time I was upgrading. If I run it now on the old 1.2.26 version then yes intl is listed.

I can schedule another upgrade attempt.

Must admit I don't know what's meant by : run php_info() function - can you advise ?

And are there any other things I can consider regarding this php extension issue ?

thanks
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by macan »

I forget that phpinfo is in cacti too. Utilities -> system utilities -> technical support -> PHP info tab. There must be intl
Let the Cacti grow!
dwoodhou
Posts: 5
Joined: Mon Jul 01, 2024 5:04 am

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by dwoodhou »

macan wrote: Tue Jul 02, 2024 1:47 am I forget that phpinfo is in cacti too. Utilities -> system utilities -> technical support -> PHP info tab. There must be intl
Yes true, but as the pre-install checks failed with extension intl (reported status: Installed : Web - No) I could not upgrade so had to roll back.

All is fine on current revs;
Cacti - Version 1.2.26
PHP - Version 8.1.16
mySQL - Version 8.0.32
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by macan »

Please show screenshot, I think that "web - no" isn't reason
Let the Cacti grow!
dwoodhou
Posts: 5
Joined: Mon Jul 01, 2024 5:04 am

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by dwoodhou »

Thanks - screenshot here -? https://ibb.co/F43WcTF
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by macan »

Maybe you have more files, one for webserver, and different for cli. Try to find all php.ini files and allow intl in all files
Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by TheWitness »

If you have any difficulties upgrading cacti it's best to run the upgrade_database.php file in the CLI directory.
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?
dwoodhou
Posts: 5
Joined: Mon Jul 01, 2024 5:04 am

Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please

Post by dwoodhou »

I re-ran the upgrade, this time leaving the PHP and MySQL versions as they were (due to them being OK as supported versions for the 1.2.27 upgrade). All OK now. Thanks for the feedback. Next time I'll bear in mind the comments/suggestions made. Thanks and best regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest