1.1.8 to 1.2.2 Upgrade check failure

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
nimbusgb
Posts: 2
Joined: 11 Nov 2010, 05:23

1.1.8 to 1.2.2 Upgrade check failure

Post by nimbusgb »

Trying to upgrade 1.1.8 to 1.2.2

when I rung the check it fails as follows

Code: Select all

APPLICATION ERROR #401

Database query failed. Error received from database was #1146: Table 'mantisbugs.mantis_plugin_table' doesn't exist for the query: SELECT COUNT(*) FROM mantis_plugin_table WHERE basename=?.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section
.

Which is true, I don't have that table in my 1.1.8 schema so without any checks do I run update or not?
atrol
Site Admin
Posts: 8539
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: 1.1.8 to 1.2.2 Upgrade check failure

Post by atrol »

check.php is written to run after upgrading.
Why are you upgrading to 1.2.2?
The latest version is 1.2.3
Please use Search before posting and read the Manual
nimbusgb
Posts: 2
Joined: 11 Nov 2010, 05:23

Re: 1.1.8 to 1.2.2 Upgrade check failure

Post by nimbusgb »

Hmm. Updated to 1.2.3 not 1.2.2 typo at 5:30 am!

In spite of that may I draw your attention to the content of the INSTALL document in the doc directory of the download which reads ......
UPGRADING

* Backup your existing installation and database -- really!

* Extract the tarball into a clean directory accessible from a browser; do not extract into an existing
installation, as some files have been moved or deleted between releases

* Copy your configuration from the old installation to the new directory,
including config_inc.php, custom_strings_inc.php, and
custom_constants_inc.php if they exist

* Point your browser to http://path/to/mantisbt/admin/check.php to ensure that
your webserver is compatible with MantisBT and configured correctly

* Point your browser to http://path/to/mantisbt/admin/install.php to upgrade
the database schema

* Click install/upgrade

* Upgrading is complete
Which clearly tells you to run check before running install......

Just doing as I was told boss!

perhaps that file should be modified as follows
UPGRADING

* Backup your existing installation and database -- really!

* Extract the tarball into a clean directory; do not extract into an existing
installation, as some files have been moved or deleted between releases

* Copy configuration files from the old installation directory to the new directory,
files to copy are config_inc.php, custom_strings_inc.php, and custom_constants_inc.php if they exist

* Point your browser to http://[path/to/directory_you_extracted_tarball_to]/admin/install.php to upgrade
the database schema

* Click install/upgrade

* Point your browser to http://[path/to/directory_you_extracted_tarball_to]/admin/check.php to ensure that
your webserver is compatible with MantisBT and configured correctly

* To restore your original mantis URL operation it may be best at this point to delete the original mantis directory and rename the directory you
extracted the tarball to to the original name.

* Upgrading is complete
Sorry to be pedantic but it is frustrating when working at 5 am to follow instructions that are only partially correct or only give half the picture
Just because its free software doesn't mean it should be done 1/2 heartedly :)
atrol
Site Admin
Posts: 8539
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: 1.1.8 to 1.2.2 Upgrade check failure

Post by atrol »

nimbusgb wrote: Sorry to be pedantic but it is frustrating when working at 5 am to follow instructions that are only partially correct or only give half the picture
Just because its free software doesn't mean it should be done 1/2 heartedly :)
You can contribute to enhance MantisBT
http://www.mantisbt.org/development.php
http://www.mantisbt.org/wiki/doku.php/m ... ntributing
Please use Search before posting and read the Manual
Post Reply