View Issue Details

IDProjectCategoryView StatusLast Update
0022116mantisbtupgradepublic2017-01-18 18:19
Reportertor Assigned Toatrol  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionno change required 
Product Version2.0.0 
Summary0022116: After upgrade new issue takes ID 000000
Description

After upgrading to 2.0 and upgrade prod database, new issues take ID 0000000 and not increment from last issue in prod

Thanks for your help

TagsNo tags attached.
Attached Files

Activities

atrol

atrol

2017-01-05 11:30

developer   ~0054945

tor,

I was not able to reproduce the issue.

The provided information is not sufficient to provide any help in resolving the issue. A complete and detailed description is required for the support team to get a clear understanding of the problem.

As a first step, the additional information listed below may be useful:

  • MantisBT version where the upgrade started
  • Exact version of PHP, Database, Web server and Operating System
  • Relevant customizations (e.g. changes in config_inc.php, etc)
  • Installed plugins or custom functions ?
  • Was the MantisBT source code modified in any way ?
tor

tor

2017-01-06 03:58

reporter   ~0054955

Hi atrol, yes sorry, here some information:

  • upgrade started version : 1.2.18 to 2.0
  • php version : 5.4.37
  • config_inc.php includes some customisations as ldap and custom status, that's it
  • plugins used are : mantis graph & mantis formatting
  • source code has just been retrieve from mantis website and no changes have been made

no error from check.php or during the upgrade
old issues are accessible, juste new issues take ID 0000000 with no href link

mantis_bug.PNG (14,733 bytes)   
mantis_bug.PNG (14,733 bytes)   
atrol

atrol

2017-01-06 04:44

developer   ~0054956

I am especially missing the information about the database you use.

tor

tor

2017-01-06 08:27

reporter   ~0054960

I'm using MySQL v5.5.41
OS : Red Hat Enterprise Linux Server release 6.6 (Santiago)
Apache/2.2.15

May be useful, when I'm triying to edit an old issue like add a note here is the error

NB : I'm considered as spammer on this Mantis, so, I can't answer on time sorry, I 'm waiting for 2 hours before answer and I still cannot anwsering :( (+5h now...)

mantis_bug2.PNG (19,829 bytes)   
mantis_bug2.PNG (19,829 bytes)   
dregad

dregad

2017-01-06 10:42

developer   ~0054965

Sounds like a problem with your database, the mantis table id fields should be auto-increment, so having them set to 0 is theoretically not possible .
Does this also occur with a new install ? If not, can you compare the DB structure between your upgraded DB and the freshly created one ?

tor

tor

2017-01-09 03:44

reporter   ~0054982

I dropped the database, re import the dump from prod
All step are green during the install like the previous install but all is working fine !!
I do not explain it, but it is working
Thank you for your help, you right, the problem comes from the database...
Have a great day