Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #9102 Database Upgrading ( ForgeUpgrade script output error)
    Infos
    #9102
    Marc TERRIER (mterrier)
    2016-04-26 17:24
    2016-04-26 17:24
    9332
    Details
    Database Upgrading ( ForgeUpgrade script output error)
    This error was present the last 3 times we upgraded to a newer version of Tuleap.
    ForgeUpgrade fails and it does not show any error, so I have to execute already-applied script: /usr/lib/forgeupgrade/bin/forgeupgrade --config=/etc/codendi/forgeupgrade/config.ini already-applied and it shows an output that contains those scripts that were not successfully applied due an error. ex. 2016-03-19 14:41:52 Error 239 /usr/share/tuleap/plugins/tracker/db/mysql/updates/2016/201602081457_add_is_child_into_existing_data.php

    Solution: I have to open the php file (those with error), run the sql script manually and update forge_upgrade_bucket table and rerun ForgeUpgrade script again.

    We would like to know why we are getting those errors and how to avoid that behaviour in future upgrades. We have a short time window to upgrade our server and this error increases considerably upgrade time.

    I attached a file with the output we get after running forgeupgrade --config=/etc/codendi/forgeupgrade/config.ini already-applied script.
    Upgrade process
    8.13
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty