•  
      request #7987 PHP Warnings while upgrading Tuleap and running forgeupgrade script
    Infos
    #7987
    Martin Hamant (martin-h)
    2015-12-23 10:05
    2015-04-09 10:03
    8001
    Details
    PHP Warnings while upgrading Tuleap and running forgeupgrade script
    # /usr/lib/forgeupgrade/bin/forgeupgrade --config=/etc/codendi/forgeupgrade/config.ini update
    INFO - Process all pre up checks
    INFO - OK: b201502261627_add_plugin_agiledashboard_kanban_configuration_column_table
    INFO - OK: b201503051029_add_restricted_mirrors
    INFO - OK: b201503061743_add_homepage
    INFO - OK: b201503061743_add_homepage_headline
    INFO - PreUp checks OK
    INFO - Start running migrations...
    PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/share/forgeupgrade/lib/log4php/helpers/LoggerDatePatternConverter.php on line 51
    INFO - Processing b201502261627_add_plugin_agiledashboard_kanban_configuration_column_table
    PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/share/forgeupgrade/lib/log4php/helpers/LoggerDatePatternConverter.php on line 51
    (...)
    Upgrade process
    Empty
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2015-12-23
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2015-12-23 10:05
    Ok perfect. As you do not encounter the issue anymore I close the ticket.

    • Status changed from Waiting for information to Closed
    • Close date set to 2015-12-23
    User avatar
    Hello,

    Did you still encouter the warning about date during forgeupgrade ?

    • Reported in version cleared values: 8.0
    User avatar
    Hi Yannis,
    I've modified php.ini like suggested an restarted httpd. We'll see next time I run forgeupgrade.

    Thanks a lot
    User avatar
    Hello,

    You can add in your php.ini file `date.timezone = Europe/Paris` and restart httpd. With this, the next forgeupgrade won't display this warning anymore.

    Is it ok ?

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from New to Waiting for information