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?

Upgrade 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.

* Spun project up locally in DDEV
* Updated composer to 2.3.7
* installed Automatic Updates module via composer
* enabled module via Drush
* Followed instructions, had to stop and set up configuration for rsync in settings.php per instructions page
* Restarted updates process again. Was in the process of performing the update when timeout issue occurred (specific error documented below)

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 developer environment

Are you using Lando, DDEV, or another Docker-based environment?:

* DDEV v1.19.1

What operating system were you using?

* MacOS v11.6.5

What web server are you using?

* nginx-fpm

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?

No. encountered the following error:

The process "'/usr/bin/rsync' '--archive' '--delete-after' '--verbose' '--exclude=web/sites/simpletest' '--exclude=vendor/web.config' '--exclude=vendor/.htaccess' '--exclude=web/sites/default/files' '--exclude=web/../private/files' '--exclude=.git' '--exclude=vendor/drupal/coder/.git' '--exclude=web/ds/danuser-designs/.git' '--exclude=web/modules/contrib/automatic_updates/.git' '--exclude=web/modules/contrib/commerce/.git' '--exclude=web/modules/contrib/menu_block/.git' '--exclude=web/sites/default/settings.php' '--exclude=web/sites/default/settings.local.php' '--exclude=web/sites/default/services.yml' '--exclude=/tmp/.package_managerda9106cb-bf35-46dd-83fc-a2b1652631ab/E5FiKaAZRmMEZY42kZeDCMfQ_614RxKAYm6Mj3OVUoA' '/tmp/.package_managerda9106cb-bf35-46dd-83fc-a2b1652631ab/E5FiKaAZRmMEZY42kZeDCMfQ_614RxKAYm6Mj3OVUoA/' '/var/www/html/'" exceeded the timeout of 120 seconds.

In addition, screenshot of logged error from the DBLog is attached.

Problem with these instructions? Anything else we should know?

Instructions are pretty clear to me (I have a developer background).

CommentFileSizeAuthor
#2 Screen Shot 2022-04-25 at 10.34.51 AM.png421.69 KBlisa.rae
Command icon 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

lhridley created an issue. See original summary.

lisa.rae’s picture

StatusFileSize
new421.69 KB
lisa.rae’s picture

Issue summary: View changes
lisa.rae’s picture

Issue summary: View changes
phenaproxima’s picture

Title: [DrupalCon] Automatic Updates beta test result » [DrupalCon] rsync timeout might be too low

phenaproxima’s picture

Assigned: Unassigned » tedbow
Status: Active » Needs review

Assigning to @tedbow for review.

phenaproxima’s picture

Title: [DrupalCon] rsync timeout might be too low » Increase timeouts during create and apply
Category: Bug report » Feature request
Priority: Normal » Major
Issue tags: +beta testing, +stable blocker

Re-titling for clarity and adjusting tags.

Because this issue was encountered by a bunch of testers at DrupalCon, I'm going to go ahead and call it a stable blocker.

phenaproxima’s picture

Crediting @p.ayekumi for the manual beta testing in #3277812: [DrupalCon] Automatic Updates beta test result, in which they ran into the timeout problem we're aiming to fix here.

tedbow’s picture

Status: Needs review » Needs work
tedbow’s picture

Assigned: tedbow » Unassigned
phenaproxima’s picture

Status: Needs work » Needs review

tedbow credited capysara.

tedbow credited percoction.

tedbow’s picture

Status: Needs review » Reviewed & tested by the community

RTBC!

Crediting others who found this during testing

Thanks @phenaproxima and @lhridley, @capysara, @percoction and @p.ayekumi testing and finding this problem!

  • phenaproxima committed 2ba3999 on 8.x-2.x
    Issue #3277014 by phenaproxima, lhridley, p.ayekumi, capysara,...
phenaproxima’s picture

Status: Reviewed & tested by the community » Fixed

Merged into 8.x-2.x. Thanks, everyone!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

cola’s picture

We have 9.5.5 installed and automatic_updates 2.6 and still this issue, any ideas why? We have also set the php max execution time higher etc. but nothing happens.

The process "'/usr/local/bin/rsync' '--archive' '--delete-after' '--verbose' '--exclude=webroot/sites/simpletest' '--exclude=vendor/web.config' '--exclude=vendor/.htaccess' '--exclude=webroot/sites/default/files' '/tmp/.package_managerXXXX/YYYY/' '/home/srv/www/" exceeded the timeout of 120 seconds.