Upgrading to 1.3.0 (from 1.2.19) / step 194

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Nicolas PERDU
Posts: 2
Joined: 02 Aug 2016, 06:32

Upgrading to 1.3.0 (from 1.2.19) / step 194

Post by Nicolas PERDU »

Hi,

I have upgrade my installation and the update script give me an error at step 194.

I already have report it on the bug tracker.
https://www.mantisbt.org/bugs/view.php?id=21573

But is there a place where this error is completly discribed, to help me to soluce it ?

BR,
Nicolas
PHP 5.6.23
Linux Server (on https://www.ovh.com/fr/)
mysqli version 5.5.46-0+deb7u1-log
Mantis version 1.2.19 to 1.3.0
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrading to 1.3.0 (from 1.2.19) / step 194

Post by atrol »

The problem is data dependant.
Could you provide the content of database table mantis_tokens_table ?

A quick solution for you would be to delete some data from this table before you run the upgrade.

Code: Select all

DELETE FROM mantis_tokens_table WHERE type=1 or type=2 or type=5;
You will loose some minor informations, e.g. your last settings which sections are collapsed when viewing issues (the +- buttons).
Please use Search before posting and read the Manual
Nicolas PERDU
Posts: 2
Joined: 02 Aug 2016, 06:32

Re: Upgrading to 1.3.0 (from 1.2.19) / step 194

Post by Nicolas PERDU »

Content of mantis_tokens_table is :

id owner type value timestamp expiry
5647 2 5 {"filter":true,"monitoring":false,"bugnotes":true,... 1424164016 1501590312
6041 1 5 null 1432635581 1501320981
7263 7 4 1 1470127045 1470127345
7262 2 3 2091 1470054218 1470140676

I have only deleted the enrg with value null (id = 6041).
The update process has complete with success.

Thanks for your help.
PHP 5.6.23
Linux Server (on https://www.ovh.com/fr/)
mysqli version 5.5.46-0+deb7u1-log
Mantis version 1.2.19 to 1.3.0
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrading to 1.3.0 (from 1.2.19) / step 194

Post by atrol »

Nicolas, thanks for the information.
It helps to find a solution in 1.3.1.

Seems we should skip NULL values https://www.mantisbt.org/bugs/view.php?id=21573
Please use Search before posting and read the Manual
Post Reply