Error during upgrade from 1.04 to 1.05 DB script

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

Moderators: Developers, Moderators

Post Reply
shaun2k
Posts: 1
Joined: Wed Aug 11, 2021 11:11 pm

Error during upgrade from 1.04 to 1.05 DB script

Post by shaun2k »

Hello,

I am facing into an error I am hoping someone can help with please. I have installed Cacti 1.2.18 and am migrating from 0.8.7i CactiEZ.

During the 1.0.4 to 10.0.5 upgrade script, I get the following error:

Code: Select all

2021-08-12 13:57:10 - INSTALL: always: Starting UPGRADE Process for v1.2.18
2021-08-12 13:57:10 - INSTALL: always: No tables where found or selected for conversion
2021-08-12 13:57:10 - INSTALL: always: Switched from  to /tmp/cduNlD2u7
2021-08-12 13:57:10 - INSTALL: always: NOTE: Using temporary file for db cache: /tmp/cduNlD2u7
2021-08-12 13:57:10 - INSTALL: always: Upgrading from v1.0.4 (DB 1.2.18 (DB: 1.0.4)) to v1.0.5
2021-08-12 13:57:10 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate entry '7-17-Index-5.116.114.117.115.116.19.118.108.97.110.45.100.109...' for key 'PRIMARY'
2021-08-12 13:57:10 - CMDPHP SQL Backtrace:  (/install/background.php[55]:Installer::beginInstall(), /lib/installer.php[3387]:Installer->install(), /lib/installer.php[2892]:Installer->upgradeDatabase(), /lib/installer.php[3286]:upgrade_to_1_0_5(), /install/upgrades/1_0_5.php[26]:db_install_execute(), /install/functions.php[136]:db_execute_prepared())
2021-08-12 13:57:11 - INSTALL: always: Finished UPGRADE Process for v1.2.18
2021-08-12 13:57:11 - INSTALL: always: WARNING: One or more upgrades failed to install correctly
2021-08-12 13:57:11 - INSTALL: always: Installation was started at 2021-08-12 03:57:09, completed at 2021-08-12 03:57:11
Thanks in advance for any help.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests