quick-start installation stops responding

Created on 23 March 2022, about 3 years ago
Updated 3 May 2023, about 2 years ago

Problem/Motivation

After a minute or so, the installation stops responding.

System: Ubuntu 20.04 with PHP 8.1.3.

Steps to reproduce

  1. Download and install Drupal, from Step 2 - download and run Drupal :
    $ mkdir drupal && cd drupal && curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1
    $ php -d memory_limit=256M ./core/scripts/drupal quick-start demo_umami
  2. Click around, do a search, open a node, click "Edit", "Save", etc.
  3. See that it at some point stops responding, and hangs ...

To make it work again, you can stop and restart the PHP server, using the .ht.router.php in stead:

php -S localhost:8888 .ht.router.php

From Drupal Quick Start Command > Troubleshooting .

Proposed resolution

TBD

Remaining tasks

Figure out why the installation stops responding, and adjust the code to prevent it from happening.

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.1

Component
Install 

Last updated 2 days ago

No maintainer
Created by

🇩🇰Denmark ressa Copenhagen

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.

  • 🇩🇪Germany MickL

    I am having the same issue: Everything freezes after a few clicks. I am on macOS 14.0 and PHP 8.2.11.

    Any news on this 1.5 years old issue?

  • 🇩🇰Denmark ressa Copenhagen
  • 🇩🇰Denmark ressa Copenhagen

    Quick Start is mentioned a few times in Recommend DDEV as the default Drupal local development environment Active .

  • 🇩🇰Denmark ressa Copenhagen

    Quick-start still freezes after around a minute of browsing in Drupal 10.2.1. I tried upping memory to memory_limit=512M but it still happens, so memory seems to not be the issue.

  • Status changed to Closed: cannot reproduce 6 months ago
  • 🇩🇰Denmark ressa Copenhagen

    As a side effect of 📌 Evaluate the whole idea of the Evaluator guide Active I tried the Quick Start command today, and it doesn't seem to hang any more, it just works. So I am closing the issue, but feel free to re-open, if you can reproduce the problem :)

    I used DDEV with this method to check:

    git clone https://git.drupalcode.org/project/drupal.git qs && cd qs
    ddev config --project-type php
    ddev start
    ddev composer install
    ddev php -d memory_limit=256M core/scripts/drupal quick-start demo_umami
    

    It was ready here: https://qs.ddev.site/

  • 🇩🇰Denmark ressa Copenhagen

    The update to SQLite 3.45 in Drupal 11 is a challenge, see Document or fix Drupal Quickstart command #7348.

  • 🇫🇮Finland sokru

    Still an issue on 11.x branch.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks for checking @sokru, it would be great if you could share your Operating System and PHP version, if possible?

    @stasadev from DDEV graciously provided the commands to allow running quick-start using PHP's built in web server in DDEV, for development:

    git clone https://git.drupalcode.org/project/drupal.git qs && cd qs
    ddev config --project-type=drupal --webserver-type=generic --disable-settings-management
    cat <<'EOF' > .ddev/config.drupal.yaml
    web_extra_exposed_ports:
        - name: "drupal"
          container_port: 80
          http_port: 80
          https_port: 443
    EOF
    ddev start
    ddev composer install
    ddev php -d memory_limit=256M core/scripts/drupal quick-start demo_umami -vvv --host=0.0.0.0 --port=80 --suppress-login

    Copy the last part of the "One time login url" and use like this to launch in your browser:
    ddev launch /en/user/reset/1/1749022638/TPUL789[...]123abcz/login

    From Document or fix Drupal Quickstart command #7348.

    To verify that PHP's built in web server is used with the DDEV set up above, check the "Response Headers" in your browser. You should see X-Powered-By: PHP/8.3.21, and not DDEV standard Nginx (server: nginx) or DDEV using Apache (server: Apache/2.4.62 (Debian)).

  • 🇺🇦Ukraine stasadev

    Adding -vvv to the quick-start command seems to work, at least for DDEV https://github.com/ddev/ddev/issues/7348#issuecomment-2934263399

    Or if there is a problem, -vvv can show more details.

Production build 0.71.5 2024