Increase timeouts during create and apply

Created on 25 April 2022, over 2 years ago
Updated 27 April 2023, over 1 year ago

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

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States lhridley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇭Switzerland cola

    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.

Production build 0.71.5 2024