Skip to content

Error installing Part-DB on a Raspberry Pi in a Docker Container

Created by: mrWheel

Describe the bug Docker install exits with an error

To Reproduce docker build ../Part-DB

Expected behavior Ending with a "all is good" message.

Server Side

  • Part-DB Version: 1.0.0-alpha
  • PHP Version: [don't know]
  • Database Server [SQLite]

Desktop (please complete the following information):

  • OS: [Raspbian]
  • Version [9.4]

Additional context Has anybody had any luck installing Part-DB in a Docker container on a RPi?

I'm stuck with this message:

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear

Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/bin/composer/vendor/symfony/console/Application.php on line 952
                                                                                                       
  [Symfony\Component\Process\Exception\ProcessTimedOutException]                                       
  The process "'/usr/local/bin/php' './bin/console' cache:clear" exceeded the timeout of 300 seconds.  
                                                                                                       

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] []...

The command '/bin/sh -c composer install -a --no-dev && composer clear-cache' returned a non-zero code: 1