Thanks for testing Automatic Updates! Please tell us in detail about the problem you encountered. To help you, you can use the prompts below as guidance.
What was your goal? For example, what versions of Drupal core were you trying to update from and to?
- Updated Drupal core from 9.3.9 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.
- Checked my php and composer versions
- Followed the instructions for "Testing with a new Drupal Project".
- Enabled module.
- Under Extend -> Updates, my composer version was incorrect. Turns out I had two versions of composer on my computer. First, I tried to set the composer path to the correct version in settings.php according to the help text linked from the status page. I used
package_manager.settings:executables.composer, which did not work. I replaced the semi-colon with a period and that also did not work. I ended up removing the second composer file on my computer and re-installing. - Once my composer issues were fixed, I was able to follow the instructions under "Use Automatic Updates to update Drupal" with no other issues.
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?:
- Local environment
Are you using Lando, DDEV, or another Docker-based environment?:
- I used the instructions on the beta testing project:
composer create-project drupal/recommended-project:9.3.9 test --no-interaction cd test composer require 'drupal/automatic_updates:^2@beta' --no-interaction cd web php ./core/scripts/drupal quick-start standard
What operating system were you using?
- Mac
What web server are you using?
What PHP version are you using (see https://www.drupal.org/i/3275810#confirm-php-version)?
- PHP 8.1.1 (cli) (built: Dec 17 2021 23:49:52) (NTS)
What version of Composer are you using (see https://www.drupal.org/i/3275810#confirm-composer-version)?
- Composer version 2.3.5 2022-04-13 16:43:00
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?
- The instructions were very clear and easy to follow. The only issue I had was with my local composer version.
Problem with these instructions? Anything else we should know?
- The only issue I had was with trying to manually set the composer path in the settings.php file. The instructions also do not say specifically where to update the settings (web/sites/default/settings.php).

| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3277235-10.png | 476.45 KB | phenaproxima |
Issue fork automatic_updates-3277235
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Theresa.GrannumThank you for testing, @scorbine! We've noted your feedback on adding information on updating the settings. Since testing went well, I've closed this issue.
Comment #3
phenaproximaI'm actually gonna reopen this, because this here is actionable feedback. We should provide an actual code snippet on the help page that people can copy and paste into settings.php, or they'll run into this more. The help page, as it is, is using generic syntax that a core developer would understand, but isn't useful to users.
I'm also gonna tag this as stable blocking, since we definitely want to ship this help text in as usable a state as possible.
Comment #4
phenaproximaI think we can go forward with this.
Right now, in package_manager_help(), we have this line:
$output .= '<p>' . t('Package Manager requires Composer @version or later available as an executable, and PHP must have permission to run it. The path to the executable may be set in the package_manager.settings:executables.composer config setting, or it will be automatically detected.', ['@version' => ComposerExecutableValidator::MINIMUM_COMPOSER_VERSION]) . '</p>';We should change it to say something like this:
Obviously that'll have to be done using hook_help()'s arcane syntax, but I think this will be clearer for people.
Comment #5
Theresa.GrannumComment #7
phenaproximaI like it. I like it a lot! Assigning to @tedbow for final review and commit.
Comment #8
tedbowComment #9
phenaproximaSelf-assigning to fix this feedback.
As discussed with @tedbow in Slack, I'm going to keep the mention of Drush, but surround it with boundary comments so it can be automatically excised from the core merge request.
Comment #10
phenaproximaAddressed your points, @tedbow. Here's what it looks like now:
Re-assigning to you for review/commit.
Comment #11
tedbowthanks for addressing the feedback!
RTBC
Comment #13
phenaproximaMerged into 8.x-2.x. Thanks!