Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
johnjinesh
Posts: 3
Joined: Mon Mar 29, 2021 10:02 pm

Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by johnjinesh »

Hello,

Hope all OK.

I need a support w.r.t to my cacti upgrade. I am migrating our old Cacti server 0.8.8a (CentOS 6) to 1.2.16(CentOS 8) version directly.

1) Installed all the pre-requisite in the new server(httpd, snmp, php, cacti, MariaDB etc)
2) Modified the configuration file as necessary mentioned as per the document(cacti.conf, httpd.con, php.ini) etc.
3) Taken the backup of old cacti server using mysqldump and copied that to new server and imported in the newly created database with same name cacti.
4) Cacti Page is accessible and there is no any configuration mismatch, all OK green, however upgrade start and coming back to the beginning page again again without any error.

Log Shows as below

[2021-03-30 19:05:39] [ global always ] Switched from to /tmp/cduEy7CVe
[2021-03-30 19:05:39] [ global always ] NOTE: Using temporary file for db cache: /tmp/cduEy7CVe
[2021-03-30 19:05:39] [ global always ] Upgrading from v0.8.8a (DB 1.2.16 (DB: 0.8.8a)) to v1.0.0
[2021-03-30 19:05:57] [ global always ] Finished UPGRADE Process for v1.2.16
[2021-03-30 19:05:57] [ global always ] WARNING: One or more upgrades failed to install correctly
[2021-03-30 19:05:57] [ global always ] Installation was started at 2021-03-30 18:05:39, completed at 2021-03-30 18:05:57
[2021-03-31 11:25:33] [ global always ] Spawning background process: /usr/bin/php '/usr/share/cacti/install/background.php' 1617186333.6224
[2021-03-31 11:25:33] [ global always ] Setting PHP Option max_execution_time = 0
[2021-03-31 11:25:33] [ global always ] Setting PHP Option memory_limit = -1
[2021-03-31 11:25:34] [ global always ] Starting UPGRADE Process for v1.2.16
[2021-03-31 11:25:34] [ global always ] No tables where found or selected for conversion
[2021-03-31 11:25:34] [ global always ] Switched from to /tmp/cdu9TQWbb
[2021-03-31 11:25:34] [ global always ] NOTE: Using temporary file for db cache: /tmp/cdu9TQWbb
[2021-03-31 11:25:34] [ global always ] Upgrading from v0.8.8a (DB 1.2.16 (DB: 0.8.8a)) to v1.0.0
[2021-03-31 11:25:51] [ global always ] Finished UPGRADE Process for v1.2.16
[2021-03-31 11:25:51] [ global always ] WARNING: One or more upgrades failed to install correctly
[2021-03-31 11:25:51] [ global always ] Installation was started at 2021-03-31 10:25:33, completed at 2021-03-31 10:25:51

The database version still seems as 0.8.8a. when I do not import the old sql data instead of I am using default cacti database, i am able to install.
I tried to change the table format between MyISAM and InnoDB but that did not help at all.

am I missing anything here. I do not not know how to move further. i am stuck. if any of you can support me, that would be a heavenly support.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by TheWitness »

You need to check your Cacti.log file.
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?
johnjinesh
Posts: 3
Joined: Mon Mar 29, 2021 10:02 pm

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by johnjinesh »

The attached log is from the cacti log file only and it is not available in details. Also i am unable to find any interactive document w.r.t to such issues. :(
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by Osiris »

Nothing attached.
Before history, there was a paradise, now dust.
johnjinesh
Posts: 3
Joined: Mon Mar 29, 2021 10:02 pm

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by johnjinesh »

I am sorry, I have attached the logs and a screenshot.
Attachments
cactilogs.txt
(44.07 KiB) Downloaded 50 times
cactilogs_screenshot1.PNG
cactilogs_screenshot1.PNG (84.3 KiB) Viewed 1948 times
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by ataha »

exactly my problem also
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti Upgrade from 0.8.8a to 1.2.16 fails ** urgent support if possible

Post by TheWitness »

Upgrade to 1.2.27 instead. You can upgrade the database using the

Code: Select all

upgrade_datsbase.php --forcever=0.8.8
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests