View Issue Details

IDProjectCategoryView StatusLast Update
0012528mantisbtdocumentationpublic2010-12-17 04:40
Reporternimbusgb Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.3 
Target Version1.2.4Fixed in Version1.2.4 
Summary0012528: Change to INSTALL doc file
Description

the doc file INSTALL contains invalid directions since it suggests running check before doing the install.

Steps To Reproduce

examine INSTALL file under docs directory

Additional Information

Suggested replacement text

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 directory name.

  • Upgrading is complete

TagsNo tags attached.

Activities

cas

cas

2010-11-12 02:50

reporter   ~0027338

Last edited: 2010-11-12 02:51

To me it makes sense to first check and if all ok, do the install upgrade.
It does not need the database itself, it just checks the environment.

atrol

atrol

2010-11-12 04:33

developer   ~0027342

Last edited: 2010-11-12 04:34

cas, this is not working with this version because check.php checks also for databse tables which are not existing before upgrading.

nimbusgb

nimbusgb

2010-11-12 04:42

reporter   ~0027343

It may very well make sense ...... but it doesn't work!

I ran check first when trying to upgrade from 1.1.8 to 1.2.3 and the check failed due to a missing column in the database structure.

When I reported the issue on the forum ( http://www.mantisbt.org/forums/viewtopic.php?f=3&t=13806 ) I was told ( by atrol ) that check was supposed to be run AFTER the upgrade which as I pointed out is not what the INSTALL file indicates so either ...
change the install file or
change the check file operation to run before upgrade ....

atrol

atrol

2010-11-12 04:43

developer   ~0027344

Thanks to nimbusgb for reporting the issue

atrol

atrol

2010-11-12 04:45

developer   ~0027345

dhx made a major rewrite of check.php with version 1.3
IIRC you can run check.php before upgrading.

Related Changesets

MantisBT: master-1.2.x b6e66fbd

2010-11-12 04:30

atrol


Details Diff
Fix 0012528: Wrong instruction order for upgrade installations Affected Issues
0012528
mod - doc/INSTALL Diff File