My YunoHost server
Hardware: VPS bought online
YunoHost version: 3.6.4.6 (stable)
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I was trying to install the Drupal application onto a subdomain, but after a long wait it failed.
Apparently due to out of memory issues… I only have 2 gigs on my tiny vps, yet I already had Drupal manually installed, so it sounds strange that I get this:
error: 'An unexpected error occurred: shell command return code: 1'
operation: app_install
related_to:
- - app
- drupal
started_at: 2019-09-04 20:59:13.230646
success: false
2019-09-04 21:01:13,140: DEBUG - + workdir=/var/www/drupal
2019-09-04 21:01:13,141: DEBUG - + COMPOSER_HOME=/var/www/drupal/.composer
2019-09-04 21:01:13,141: DEBUG - + php7.2 /var/www/drupal/composer.phar install --no-dev -d /var/www/drupal --quiet --no-interaction
2019-09-04 21:02:12,065: WARNING -
2019-09-04 21:02:12,196: DEBUG -
2019-09-04 21:02:12,208: WARNING - mmap() failed: [12] Cannot allocate memory
2019-09-04 21:02:12,232: DEBUG - Fatal error: Out of memory (allocated 1043341312) (tried to allocate 4096 bytes) in phar:///var/www/drupal/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
2019-09-04 21:02:12,239: WARNING -
2019-09-04 21:02:12,240: WARNING - mmap() failed: [12] Cannot allocate memory
2019-09-04 21:02:12,240: WARNING - PHP Fatal error: Out of memory (allocated 1043341312) (tried to allocate 4096 bytes) in phar:///var/www/drupal/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
2019-09-04 21:02:13,079: DEBUG - + ynh_die 'Unable to update core dependencies with Composer.'
2019-09-04 21:02:13,084: WARNING - Unable to update core dependencies with Composer.
Full log here:
https://paste.yunohost.org/raw/yugojanopo