What was your goal? For example, what versions of Drupal core were you trying to update from and to?
Update core from 9.3.7 to 9.3.12
What were the steps you took, starting from when you added the Automatic Updates module to your Drupal project (see
https://www.drupal.org/i/3275810#install-module →
for instructions)? Include anything that seems relevant, including commands you ran, links you clicked on, output logs, relevant config files, screenshots, screen recordings, etc.
Fresh install with gitpod on 9.3.7
* https://drud.github.io/ddev-gitpod-launcher/
* cd d9simple
* ddev drush site-install --account-pass=admin
* cp web/sites/example.settings.local.php web/sites/default/settings.local.php
* edit web/sites/default/settings.php to include settings.local.php (uncomment that last 3 lines)
ddev composer require drupal/automatic_updates:^2@beta
From /admin/modules, enable Automatic Updates
Got the message: 3 modules have been enabled: Automatic Updates, Automatic Updates 9.3.x shim, Package Manager.
Clicked Update and got a time out error (see screenshots)
Tried again (clicked Update), no errors
Clicked Continue on Ready to update page
Got: Failed to get available update data for 2 projects. (see screenshot)
Click Check Manually
Tried adding to sites/default/settings.php (copied from default.settings.php)
$settings['update_fetch_with_http_fallback'] = TRUE;
Click Check Manually
Same error & can't access the Status Report page
ddev drush pmu automatic_updates
and ddev drush cr
Able to access the status report now and see the expected Errors found:
Your site does not pass some readiness checks for automatic updates. It cannot be automatically updated until further action is performed.
The update_fetch_with_http_fallback setting must be disabled for automatic updates.
Site is updated to 9.3.12
Click Check Manually /admin/reports/updates; core and modules are in green and Up to date
Removed update_fetch_with_http_fallback
line from settings.php and status report error was still there
Click Run readiness check (link provided in the error) and error is removed
What was your environment like?
Used ddev and gitpod
What PHP version are you using (see
https://www.drupal.org/i/3275810#confirm-php-version →
)?
7.4.28
What version of Composer are you using (see
https://www.drupal.org/i/3275810#confirm-composer-version →
)?
2.3.5
Did you accomplish your goal? Were the instructions clear? Did you observe any bugs or errors, or other issues? Did you need to do any workarounds?
Success! See notes above for issues, errors, and troubleshooting.
Problem with these instructions? Anything else we should know?
Instructions were clear. Tedbow created
https://www.drupal.org/project/automatic_updates/issues/3277230 →
based on conversations about the Errors Found on the status report page.