quickstart demi_umami script fails (memory limit)

Created on 16 August 2021, about 3 years ago
Updated 27 January 2023, over 1 year ago

Problem/Motivation

Just tried after years a demo install, so chosen the Quick Start with git approach:
https://www.drupal.org/docs/installing-drupal/drupal-quick-start-command

Steps to reproduce

Start a linux vagrant box (I am using generic/opensuse15, currently it is opensuse 15.3)
and php + modules, mariadb, apache2, git etc provisioned/setup in a Vagrantfile.
(zypper --non-interactive install php7 php7-mysql etc ...)

vagrant ssh

sudo -s

cd /srv/www/htdocs

git clone https://git.drupalcode.org/project/drupal.git && cd drupal && composer install

cd drupal (This step is missing in the guide!)

php ./core/scripts/drupal quick-start demo_umami

Expected quick-start script finishes successful, instead output is this:

/srv/www/htdocs/drupal # php ./core/scripts/drupal quick-start demo_umami
9/17 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]
Install site
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /srv/www/htdocs/drupal/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php on line 32
tennis:/srv/www/htdocs/drupal # php -v
PHP 7.4.6 (cli) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
tennis:/srv/www/htdocs/drupal # uname -a
Linux tennis 5.3.18-57-default #1 SMP Wed Apr 28 10:54:41 UTC 2021 (ba3c2e9) x86_64 x86_64 x86_64 GNU/Linux

Proposed resolution

Find and fix the memory eating thing.

🐛 Bug report
Status

Closed: outdated

Version

10.1

Component
Install 

Last updated 2 days ago

No maintainer
Created by

🇩🇪Germany peterdd

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.

  • 🇦🇺Australia pameeela

    Looks like this was addressed in Oct 2021, the guide now specifies to set the mem limit to 256MB:

    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
Production build 0.71.5 2024