•  
      request #44057 Running tuleap-cfg site-deploy can fail depending on the current directory
    Infos
    #44057
    Thomas Gerbet (tgerbet)
    2025-07-28 11:40
    2025-07-23 08:53
    45750
    Details
    Running tuleap-cfg site-deploy can fail depending on the current directory

    If your current directory is not accessible the call to tuleap-cfg site-deploy might fail. This can be particularly problematic for automated upgrade processes since it will leave the instance in a broken state.

    This is caused by an undocumented change in PHP 8.3: https://github.com/php/php-src/issues/13743

    Trace:

      "Execute MediaWiki update script",
      "Install MediaWiki standalone farm instance",
      "An error has been encountered while running plugin update hooks",
      "",
      "In Process.php line 377:",
      "                                                                               ",
      "  The command \"/opt/remi/php84/root/usr/bin/php /usr/share/mediawiki-tuleap-f  ",
      "  lavor/current-lts/maintenance/update.php --quick\" failed.                    ",
      "                                                                               ",
      "  Working directory: /home/****                          ",
      "                                                                               ",
      "  Error: proc_open(): posix_spawn() failed: Permission denied                  ",
      "                                                                               ",
      "",
      "plugins_administration:update_hook"
    
    Upgrade process
    16.10
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2025-07-24
    Attachments
    Empty
    References

    Follow-ups