Page 1 of 1

The database structure is more recent than the installed code. Please upgrade the code.

Posted: 21 Nov 2022, 10:06
by ctl_erp_support
Hi,

We are migrating our mantis server from one server to other server.

We have taken backup of mantis database and restore in new server.

After installing the mantis server in new server, we copied the config_inp.php also.

When running the URL, we got this message.

Our mantis server details are as below.
MantisBT Version 2.24.2
Schema Version 211
PHP Version 7.2.24
Database Driver mysqli
Database Version, Description 8.0.30, 8.0.30

Please help us to resolve this issue.

Thanks.

Re: The database structure is more recent than the installed code. Please upgrade the code.

Posted: 21 Nov 2022, 13:40
by atrol
You have installed MantisBT Version 2.24.2, but seems you upgraded your database to a newer version >= 2.25.0
Schema Version 211 means that you have to use latest 2.25.x (2.25.5 at the moment)

Re: The database structure is more recent than the installed code. Please upgrade the code.

Posted: 23 Nov 2022, 06:08
by ctl_erp_support
Hi,

thanks very much.

Realised that we have installed 2.24.2

The warning has gone after installing 2.25.2.