Impossible to install aimeos/laravel on 1GB Linode
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- david.horner
- Posts: 4
- Joined: 06 Aug 2019, 09:38
Impossible to install aimeos/laravel on 1GB Linode
I have tried every composer option I can find and every one ends up with the same error
proc_open(): fork failed - Cannot allocate memory
Is 1GB enough to run my final shop but not enough to allow an install ?
Server spec:
Linode 1GB ram 25GB disk with Ubuntu 18.04 LTS
PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS )
xuser@tk:/var/www/html/tk$ free -m
total used free shared buff/cache available
Mem: 985 80 844 1 59 804
Swap: 511 411 100
-----------------------------
composer req aimeos/aimeos-laravel
xuser@tk:/var/www/html/tk$ composer req aimeos/aimeos-laravel
Using version ^2019.07 for aimeos/aimeos-laravel
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 58 installs, 0 updates, 0 removals
- Installing composer/installers (v1.6.0): Downloading (100%)
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/tr ... led-errors for details
In Process.php line 344:
proc_open(): fork failed - Cannot allocate memory
-----------------------
composer require laravel/laravel
composer create-project aimeos/aimeos myshop
xuser@tk:/var/www/html/tk$ rm -r myshop
xuser@tk:/var/www/html/tk$ composer create-project aimeos/aimeos myshop
Installing aimeos/aimeos (2018.10.3)
- Installing aimeos/aimeos (2018.10.3): Loading from cache
Created project in myshop
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
> @php -r "mkdir('public/files'); mkdir('public/preview'); mkdir('public/uploads');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 94 installs, 0 updates, 0 removals
- Installing kylekatarnls/update-helper (1.2.0): Loading from cache
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/tr ... led-errors for details
In Process.php line 344:
proc_open(): fork failed - Cannot allocate memory
proc_open(): fork failed - Cannot allocate memory
Is 1GB enough to run my final shop but not enough to allow an install ?
Server spec:
Linode 1GB ram 25GB disk with Ubuntu 18.04 LTS
PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS )
xuser@tk:/var/www/html/tk$ free -m
total used free shared buff/cache available
Mem: 985 80 844 1 59 804
Swap: 511 411 100
-----------------------------
composer req aimeos/aimeos-laravel
xuser@tk:/var/www/html/tk$ composer req aimeos/aimeos-laravel
Using version ^2019.07 for aimeos/aimeos-laravel
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 58 installs, 0 updates, 0 removals
- Installing composer/installers (v1.6.0): Downloading (100%)
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/tr ... led-errors for details
In Process.php line 344:
proc_open(): fork failed - Cannot allocate memory
-----------------------
composer require laravel/laravel
composer create-project aimeos/aimeos myshop
xuser@tk:/var/www/html/tk$ rm -r myshop
xuser@tk:/var/www/html/tk$ composer create-project aimeos/aimeos myshop
Installing aimeos/aimeos (2018.10.3)
- Installing aimeos/aimeos (2018.10.3): Loading from cache
Created project in myshop
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
> @php -r "mkdir('public/files'); mkdir('public/preview'); mkdir('public/uploads');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 94 installs, 0 updates, 0 removals
- Installing kylekatarnls/update-helper (1.2.0): Loading from cache
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/tr ... led-errors for details
In Process.php line 344:
proc_open(): fork failed - Cannot allocate memory
Re: Impossible to install aimeos/laravel on 1GB Linode
1GB is enough for running Laravel and Aimeos but composer seems to require more memory for installation. You can try to run composer locally, transfer the installation to your server and run composer again to see if it works for updating.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- david.horner
- Posts: 4
- Joined: 06 Aug 2019, 09:38
Re: Impossible to install aimeos/laravel on 1GB Linode
That was my next thing to try.
Looks like composer is going the way of everything after a while. Its becoming too big and bloated to be any use.
Looks like composer is going the way of everything after a while. Its becoming too big and bloated to be any use.
Re: Impossible to install aimeos/laravel on 1GB Linode
The composer code is small but the package list for packagist is getting huge and the composer code isn't optimized for memory usage
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star