possible to restart upgrade?

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

Moderators: Developers, Moderators

Post Reply
kmart
Posts: 10
Joined: Wed Mar 13, 2019 11:17 am

possible to restart upgrade?

Post by kmart »

Hi,

Currently running 0.8.8b and trying to upgrade to latest (1.2.2).

Encountered a problem when the installer started upgrading existing database. Got to Database Upgrade - Version 1.1.34 which failed with error:

Code: Select all

ALTER IGNORE TABLE version DROP PRIMARY KEY    [Fail]
found same issue #2482 on GitHub with solution being to remove:

Code: Select all

db_install_execute('ALTER IGNORE TABLE version DROP PRIMARY KEY');
Then add:

Code: Select all

db_install_drop_key('version', 'key', 'PRIMARY');
to install/upgrades/1_1_34.php

I did this but when i go back to the cacti page it's stuck at the same spot. I imagine i have to restart the installation process? How do i do that?

edit:

Sorry i forgot to mention that this is a fresh install on ubuntu 18.04 (not using repo). before beginning to install i imported a database dump from the existing server and copied over the rras.
kmart
Posts: 10
Joined: Wed Mar 13, 2019 11:17 am

Re: possible to restart upgrade?

Post by kmart »

Solved my own problem.

Dropped cacti database that was partially upgraded and imported sqldump from current cacti server.

Reloading webpage started process from the beginning.
hayzey
Posts: 10
Joined: Tue Feb 19, 2013 7:04 pm

Re: possible to restart upgrade?

Post by hayzey »

Thanks @kmart, this solved the issue for me too. And +2 karma points for posting your own fix.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests