Issues : upgrading 1.1.8 to 1.2.17

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
AP72
Posts: 5
Joined: 09 Jul 2014, 13:40

Issues : upgrading 1.1.8 to 1.2.17

Post by AP72 »

Hi,

it's been 2 days from now that I tried to see how I can upgrade my Mantis 1.1.8 to 1.2.17.

I currently use Mantis 1.1.8 with few plugins and a MySQL database.
I carefully followed steps described here:
http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE

ButI always get this error:
APPLICATION ERROR #401
Échec de la requête de base de données. L'erreur renvoyée par la base de données était #1062 : Duplicate entry '1-Comptable' for key 'idx_category_project_name' pour la requête : INSERT INTO mantis_category_table ( name, project_id, user_id ) VALUES ( ?, ?, ? ).

Merci d'utiliser le bouton « Précédent » de votre navigateur web pour retourner à la page précédente. Vous pourrez y corriger les problèmes identifiés par cette erreur ou choisir une autre action. Vous pouvez aussi choisir une option de la barre de menu pour aller directement dans une nouvelle section.
I browsed the web and this forum, tried many things but nothing worked.

What should I do please ? :(
AP72
Posts: 5
Joined: 09 Jul 2014, 13:40

Re: Issues : upgrading 1.1.8 to 1.2.17

Post by AP72 »

I can say that putting the line 402 into comments of the file "/admin/schema.php", the upgrade seems to proceed normaly.

Code: Select all

#$upgrade[] = Array( 'CreateIndexSQL', Array( 'idx_category_project_name', db_get_table( 'mantis_category_table' ), 'project_id, name', array( 'UNIQUE' ) ) );
But I guess that I lost indexes :(
Post Reply