Problem/Motivation

While installing Drupal via the CMS installer, selecting any site template results in a timeout error during the installation process.

The installer proceeds normally until the site template installation step, where it eventually fails with a timeout error (~60 seconds). This prevents the installation from completing successfully.

The issue is reproducible across both macOS and Windows environments. Added the screenshots of the error message.

Steps to reproduce

  1. Download the Drupal CMS installer (Mac or Windows)
  2. Launch the installer
  3. Proceed with the installation steps
  4. Select any site template when prompted
  5. Continue the installation
  6. Observe the error during the site template installation step

Proposed resolution

User interface changes

Configuration changes

CommentFileSizeAuthor
mac.png806.7 KBpritishkumar
windows.png219.94 KBpritishkumar

Issue fork drupal_cms-3582917

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

pritishkumar created an issue. See original summary.

phenaproxima’s picture

Component: Starter recipe » Installer

Maybe you're on a very slow connection and Composer just took a long time to resolve dependencies? We can try increasing the timeout in \Drupal\drupal_cms_installer\ComposerExecutor::execute() to something higher, like 300 seconds.

phenaproxima’s picture

Title: Site template installation fails with timeout (60s) in Drupal CMS installer (Mac & Windows) » Increase the execution timeout for Composer operations in the installer

pritishkumar’s picture

I increased the timeout in \Drupal\drupal_cms_installer\ComposerExecutor::execute() to 120 seconds in my local setup, and that resolved the issue. After the change, the installation completed successfully without any timeout errors.

  • phenaproxima committed 4aa769ce on 2.x
    fix (drupal_cms_installer): #3582917 Increase the execution timeout for...

  • phenaproxima committed bc59d981 on 2.1.x
    fix (drupal_cms_installer): #3582917 Increase the execution timeout for...
phenaproxima’s picture

Status: Active » Fixed

Merged the higher timeout into 2.x and cherry-picked to 2.1.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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