Page 1 of 1

Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 21 Sep 2017, 12:42
by eusebio.guijarro
Hi:
I am searching the documentation to mantis 1.1.8 but the minimum version that I founded was this:

https://www.mantisbt.org/docs/master-1.2.x/en/

someone can help me? Please.

I need upgrade database from 1.1.8 to 2.6,

Thank you very much!

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 21 Sep 2017, 14:13
by atrol
eusebio.guijarro wrote: I need upgrade database from 1.1.8 to 2.6,
So you need the documentation of 2.6 as the documentation of 1.1.8 does not contain anything about updating to 2.6.
https://www.mantisbt.org/docs/master/en ... ll.upgrade

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 23 Sep 2017, 18:01
by eusebio.guijarro
Sorry,
Any problem if the mantis' tables in old database was modified adding atributes?
Thank you very much

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 24 Sep 2017, 18:58
by atrol
Can't say anything as you did not tell which columns have been added to which tables.

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 24 Oct 2017, 10:03
by eusebio.guijarro
Hi,
Thank you for your answer, but, can someone tell me that I have put in variable '$g_database_version' in the config file to update in mantis 1.1.8 to update?
Thank,

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 24 Oct 2017, 10:14
by atrol
eusebio.guijarro wrote:Hi,
Thank you for your answer, but, can someone tell me that I have put in variable '$g_database_version' in the config file to update in mantis 1.1.8 to update?
Thank,
There must not be any entry for '$g_database_version' in the config file.
There should be an entry for it in mantis_config_table where config_id = 'database_version';
I would expect the value 63 if this is a clean Mantis 1.1.8.

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 27 Oct 2017, 07:48
by eusebio.guijarro
atrol wrote:
eusebio.guijarro wrote:Hi,
Thank you for your answer, but, can someone tell me that I have put in variable '$g_database_version' in the config file to update in mantis 1.1.8 to update?
Thank,
There must not be any entry for '$g_database_version' in the config file.
There should be an entry for it in mantis_config_table where config_id = 'database_version';
I would expect the value 63 if this is a clean Mantis 1.1.8.

Sorry, then I need put this value in the old database how I show in the image, yes?

Image



But, when I execute the installation script I have some problems:

- category_id already exits in the mantis_bug_table (Then I delete category_id and the installation continue until...)
- #1054: Unknown column 'priority' in 'field list' para la consulta: SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=? ORDER BY priority DESC

Are you sure that the correct version of databases is 63?
Where can I see this? I can not find it in the documentation in the previous link.


I am felling very grateful by your help. I need do this.

Re: Mantis 1.1.8 => 2.6 upgrade and documentation

Posted: 27 Oct 2017, 13:28
by atrol
eusebio.guijarro wrote:Sorry, then I need put this value in the old database how I show in the image, yes?
Right
eusebio.guijarro wrote:Are you sure that the correct version of databases is 63?
I am sure.
eusebio.guijarro wrote:Where can I see this?
In source https://github.com/mantisbt/mantisbt/bl ... a.php#L490
eusebio.guijarro wrote:I can not find it in the documentation in the previous link.
This is an internal technical detail. You never should have to deal with it if you have a clean installation.

But you obviously do not have a clean install of 1.1.8, as the first occurrence of category_id is in step 70
https://github.com/mantisbt/mantisbt/bl ... a.php#L528
eusebio.guijarro wrote:- category_id already exits in the mantis_bug_table (Then I delete category_id and the installation continue until...)