Unable to upgrade from 1.2.26 to 1.2.27 - help please
Moderators: Developers, Moderators
Unable to upgrade from 1.2.26 to 1.2.27 - help please
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
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
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
php -m returns that intl module is installed?
or run php_info() function. Is it intl there?
or run php_info() function. Is it intl there?
Let the Cacti grow!
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
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
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
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
I forget that phpinfo is in cacti too. Utilities -> system utilities -> technical support -> PHP info tab. There must be intl
Let the Cacti grow!
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
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
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
Please show screenshot, I think that "web - no" isn't reason
Let the Cacti grow!
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
Thanks - screenshot here -? https://ibb.co/F43WcTF
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
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!
- 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
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?
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?
Re: Unable to upgrade from 1.2.26 to 1.2.27 - help please
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
Who is online
Users browsing this forum: No registered users and 0 guests