Goal: Update 10.0.0 to 10.1.0-beta1 via Automatic Updates
If you had a problem, what were the steps you took, starting from when you added the Automatic Updates module to your Drupal project (see
testing instructions β
)? Include anything that seems relevant, including commands you ran, links you clicked on, output logs, relevant config files, screenshots, screen recordings, etc.
When updating from 10.0.0 to 10.1.0-beta1 using Automatic Updates, I get a post-update Error message:
Your site does not pass some readiness checks for automatic updates. It cannot be automatically updated until further action is performed.
Some modules have database schema updates to install. You should run the database update script immediately.
Problem detected in lock file during stage operations.
Unexpected changes were detected in composer.lock, which indicates that other Composer operations were performed since this Package Manager operation started. This can put the code base into an unreliable state and therefore is not allowed.
<!--break-->
If I go to /admin/reports/status, the Drupal version is 10.1.0-beta1
If I go to /update.php, it shows there are 24 pending db updates.
As the screenshot shows, below the Error message it still says
Drupal core will be updated to 10.1.0-beta1
Also, there is a button to cancel the update, but the update has already been applied.
What was your environment like?
Please answer as many of the following questions as you can.
Was this a local development environment, or a remote server?: Gitpod
Are you using Lando, DDEV, or another Docker-based environment?: DDEV
What operating system were you using?
What web server are you using? Chrome
What PHP version are you using (see
https://www.drupal.org/i/3275810#confirm-php-version β
)? PHP 8.1.3
What version of Composer are you using (see
https://www.drupal.org/i/3275810#confirm-composer-version β
)? Composer 2.5.7
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?
Yes. I was able to update 10.0.0 to 10.1.0-beta1 via Automatic Updates.
Problem with these instructions? Anything else we should know?