Page 1 of 1

Upgrading to 1.3.0 (from 1.2.19) / step 194

Posted: 02 Aug 2016, 06:40
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

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

Posted: 02 Aug 2016, 07:42
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).

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

Posted: 03 Aug 2016, 09:18
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.

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

Posted: 04 Aug 2016, 06:26
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