View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014830 | mantisbt | upgrade | public | 2012-10-15 08:55 | 2012-12-01 12:05 |
Reporter | xavier_de_potter | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0014830: Upgrade from version 1.1.7 to 1.2.11 - Issue History Date always empty | ||||
Description | Hi, Another problem is when I made change in a issue, the date recorded is always empty (screenshot 3). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Sorry but I was not able to reproduce your problem. I installed a fresh 1.1.7, created a few test issues, ran the upgrade. All the history dates are migrated OK, and I don't get empty dates when updating issues. Please additional information that allow to reproduce the issue. |
|
I think the only way to show you that is to give you the code and the DB (more than 12Go)... |
|
Xavier, The field 'date_modified_int' should not exist in your database if the upgrade process ran successfully. It is a temporary field, which is created by the installer, to manage the conversion of dates into the new (unix) format. Considering the size of your database, it is possible that the upgrade did not execute or complete properly (maybe due to timeout) Can you please confirm, what is your current schema version (see Manage overview page) - should be 183 for 1.2.11 |
|
Thank you for your feedback, |
|
Another solution for us is to install a fresh and new version of mantis and integrate a link of the current mantis (in readonly) with all the history... |
|
you can change manually type of field date_modified from date to int, and copy data from date_modified_int to date_modified with only 2 sql requests ;) |
|
Right Animal Killer, it can be down like donw :-) PS: |
|
Actually I strongly recommend NOT to attempt a manual update of your database as LapinKiller said. If you're on schema version 113, there are many other schema upgrade steps which are missing in your setup, and you will be facing other problems down the line, not to mention that you risk breaking the upgradability of your system. I think you should try to do a clean upgrade from scratch. Make sure to note down and report any error messages that may occur. If you get a timeout, try increasing the relevant PHP settings to avoid that, and restart the upgrade. I believe it will resume from where it left off (see 0012735). |
|
Hi, |
|
xavier_de_potter, You did not provide any feedback; I am therefore resolving this issue as "no change required". Feel free to reopen the issue at a later time and provide the requested information. |
|
Hi, |
|
Sorry, |
|
Xavier There should not be anything to do, change or write. In particular, do not touch anything in admin/install_functions.php. Timeouts during date conversions are a known problem on large databases (see 0012601) but the code was modified so that it can resume from the point of failure when restarted (see 0012735). Therefore I suggest you try again the complete upgrade from scratch (i.e. using a fresh copy of your 1.1.7 database). If the installation/upgrade process times out, just restart it as many times as needed, until normal, successful completion. At the end your schema version should be 183. I was asking you to note down errors and messages, as this is not something I can reproduce here. This could help in better documenting the upgrade process. |
|
Hi, |
|
Glad I could help, and thanks for thinking of donating. I am still interested in the actual errors you received while upgrading (screenshots, messages, etc), to better document this process for other people who might experience the same problems. |
|
Ok, Tonight, I replicate the same steps but this time it's for the mantis on our Production server. |
|
Here is the basic tutoriel to resolve that |
|
Merci Xavier. EDIT: Did you get the same error at that time ? |
|
Yes, it was the error (on test and production system) |
|
MantisBT: master-1.2.x a0fbeebf 2012-11-05 10:05 Details Diff |
Documentation: note on upgrading large databases Added a comment on how to handle the failure to process the date conversion in a single setup for large databases, as documented in issues 0012601, 0012735 and 0014830 |
Affected Issues 0012601, 0012735, 0014830 |
|
mod - docbook/administration_guide/en/installation.sgml | Diff File | ||
MantisBT: master f46b71f6 2012-11-05 10:05 Details Diff |
Documentation: note on upgrading large databases Added a comment on how to handle the failure to process the date conversion in a single setup for large databases, as documented in issues 0012601, 0012735 and 0014830 |
Affected Issues 0012601, 0012735, 0014830 |
|
mod - docbook/Admin_Guide/en-US/Installation.xml | Diff File |