Problem/Motivation

I have a server with 30+ drupal 11 sites. Some sites can be updated with composer from 11.3.13 to 11.4.1 without problems. But others issue this error:
Got error 'PHP message: PHP Warning: require_once(autoload_runtime.php): Failed to open stream: No such file or directory in /xxx/example.com/drupal/web/update.php on line 13; PHP message: PHP Fatal error: Uncaught Error: Failed opening required 'autoload_runtime.php' (include_path='.:/usr/local/php84/lib/php') in /xxx/example.com/drupal/web/update.php:13\nStack trace:\n#0 {main}\n thrown in /xxx/example.com/drupal/web/update.php on line 13', referer: https://www.example.com/admin/reports/dblog

The server uses DirectAdmin version-1.705.
The sites use PHP 8.3 or 8.4

Comments

promes created an issue. See original summary.

longwave’s picture

Duplicate of #3091285: Composer scaffolding fails when permissions on default.settings.yml or default.settings.php is not writable.

This will be fixed in 11.4.2 which should be released in the next few days.

In the meantime you can also rerun composer install after updating which should create the missing file.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.