docker's People
Forkers
wfajczyk edersign piotrkreft codeclipse rprzedzik dankempster phildarv wiewiurdp inaim bloom-local slongiaru-dmind sureshinde yell0wsdocker's Issues
Docker compose up fail (required packages and PHP extensions)
Below is the error while docker compose up run:
#0 80.56
#0 80.56 Build process completed successfully
#0 80.56 Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20190902/amqp.so'
#0 80.58 install ok: channel://pecl.php.net/amqp-1.11.0
#0 80.58 configuration option "php_ini" is not set to php.ini location
#0 80.58 You should add "extension=amqp.so" to php.ini
#0 80.59 + pecl install xdebug
#0 82.55 pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.2.99), installed version is 7.4.33
#0 82.55 No valid packages found
#0 82.55 install failed
failed to solve: executor failed running [/bin/sh -c set -eux ; apk add --no-cache git zip unzip curl rabbitmq-c libpq icu-libs graphviz acl fcgi bash libcurl gettext gnu-libiconv libpng libjpeg freetype libwebp imagemagick libxpm libzip busybox-suid ; apk add --no-cache --virtual .fetch-deps icu-dev postgresql-dev rabbitmq-c-dev autoconf musl-dev gcc g++ make pkgconf file curl-dev libpng-dev jpeg-dev freetype-dev libwebp-dev libzip-dev imagemagick-dev libxpm-dev ; docker-php-ext-configure gd --with-webp --with-jpeg --with-xpm --with-freetype ; docker-php-ext-install -j$(nproc) pdo pdo_pgsql intl pcntl gd exif zip opcache ; pecl install amqp ; pecl install xdebug; pecl install imagick ; docker-php-ext-enable amqp ; docker-php-ext-enable xdebug ; docker-php-ext-enable imagick ; mkdir -p /tmp/newrelic ; cd /tmp/newrelic ; curl -L "${NEWRELIC_URL}" -o newrelic.tar.gz ; sha256sum newrelic.tar.gz | grep "${NEWRELIC_SHA256SUM}" ; tar -xf newrelic.tar.gz ; NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 ./newrelic-php5-/newrelic-install install ; rm -rf /tmp/newrelic ; php --version ; rm -rf /tmp/ ; update-ca-certificates]: exit code: 1
(base) p.vogler@MacBook-Vogler ergonode % ./run_tests #
Failed opening required '/srv/app/vendor/autoload.php'
I recently revisited this setup to see how ergonode are progressing and unfortunately still run into issues starting it. This time, I'm greeted by all backend images complaining about a missing startup file. Any suggestions on how to resolve appreciated!
php-messenger-core_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}}PHP Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-core_1 | PHP Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-core_1 |
php-messenger-core_1 | Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-core_1 |
php-messenger-core_1 | Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-segment_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-segment_1 | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","t100 181 100 181 0 0 6961 0 --:--:-- --:--:-- --:--:-- 6961
php-messenger-import_1 | % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-import_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 15083 0 --:--:-- --:--:-- --:--:-- 16454
ergonode-docker_php-messenger-core_1 exited with code 255
php-messenger-notification_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-notification_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 3067 0 --:--:-- --:--:-- --:--:-- 3120
php-messenger-segment_1 | % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-segment_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 8227 0 --:--:-- --:--:-- --:--:-- 10647
php-messenger-notification_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-notification_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 5484 0 --:--:-- --:--:-- --:--:-- 5656
php-messenger-import_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-import_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 4525 0 --:--:-- --:--:-- --:--:-- 6464
php-messenger-segment_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-segment_1 | Dload Upload Total Spent Left Speed
1{"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}}00 181 100 181 0 0 25857 0 --:--:-- --:--:-- --:--:-- 25857
php-messenger-notification_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-notification_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 4525 0 --:--:-- --:--:-- --:--:-- 4525
php-messenger-import_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-import_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 13923 0 --:--:-- --:--:-- --:--:-- 15083
php-messenger-segment_1 | % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-segment_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 4641 0 --:--:-- --:--:-- --:--:-- 4641
consul_1 | 2021-01-04T23:31:20.898Z [DEBUG] agent: Check status updated: check=service:rabbitmq:rabbitmq status=passing
consul_1 | 2021-01-04T23:31:20.899Z [DEBUG] agent: Node info in sync
consul_1 | 2021-01-04T23:31:20.899Z [DEBUG] agent: Service in sync: service=rabbitmq:rabbitmq
consul_1 | 2021-01-04T23:31:20.899Z [DEBUG] agent: Check in sync: check=service:rabbitmq:rabbitmq
consul_1 | 2021-01-04T23:31:20.899Z [DEBUG] agent.http: Request finished: method=PUT url=/v1/agent/check/pass/service:rabbitmq:rabbitmq from=172.21.0.5:44627 latency=1.1119ms
php-messenger-notification_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-notification_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 10647 0 --:--:-- --:--:-- --:--:-- 10647
php-messenger-import_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-import_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 10055 0 --:--:-- --:--:-- --:--:-- 10647
php-messenger-import_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}}PHP Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-import_1 |
php-messenger-import_1 | Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-import_1 | PHP Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-import_1 |
php-messenger-import_1 | Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
ergonode-docker_php-messenger-import_1 exited with code 255
php-messenger-segment_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-segment_1 | Dload Upload Total Spent Left Speed
100 181 100 181 0 0 12928 0 --:--:-- --:--:-- --:--:-- 12928
php-messenger-segment_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}}PHP Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-segment_1 | PHP Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-segment_1 |
php-messenger-segment_1 | Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-segment_1 |
php-messenger-segment_1 | Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-notification_1 | {"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","tags":[]},"tracing":false,"cluster_state":{"rabbit@rabbitmq":"running"}} % Total % Received % Xferd Average Speed Time Time Time Current
php-messenger-notification_1 | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"name":"/","description":"Default virtual host","tags":[],"metadata":{"description":"Default virtual host","t100 181 100 181 0 0 7240 0 --:--:-- --:--:-- --:--:-- 7240
ergonode-docker_php-messenger-segment_1 exited with code 255
php-messenger-notification_1 |
php-messenger-notification_1 | Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-notification_1 |
php-messenger-notification_1 | Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
php-messenger-notification_1 | PHP Warning: require(/srv/app/vendor/autoload.php): failed to open stream: No such file or directory in /srv/app/bin/console on line 16
php-messenger-notification_1 | PHP Fatal error: require(): Failed opening required '/srv/app/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /srv/app/bin/console on line 16
ergonode-docker_php-messenger-notification_1 exited with code 255
Docker compose up fail (Service 'crond' failed to build)
Below is the error while docker compose up run:
Building crond
[+] Building 403.2s (19/30)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/php:7.4-fpm-alpine 2.1s
=> ERROR importing cache manifest from ergonode/nginx:latest 2.2s
=> ERROR importing cache manifest from ergonode/nuxtjs:latest 1.5s
=> ERROR importing cache manifest from ergonode/php:latest 1.8s
=> ERROR importing cache manifest from ergonode/docsify:latest 0.9s
=> ERROR importing cache manifest from ergonode/rabbitmq:latest 2.0s
=> ERROR importing cache manifest from ergonode/haproxy:latest 2.4s
=> CACHED FROM docker.io/library/composer:latest 0.0s
=> => resolve docker.io/library/composer:latest 1.4s
=> [internal] load build context 2.6s
=> => transferring context: 10.05MB 2.5s
=> CACHED [php 1/19] FROM docker.io/library/php:7.4-fpm-alpine@sha256:6cc1f3455b6c99a9ab99909db548a34c475463acbe6403ba5d7d58a403a0d2e4 0.0s
=> [php 2/19] COPY --from=composer /usr/bin/composer /usr/bin/composer 0.2s
=> [php 3/19] RUN set -eux ; apk add --no-cache git zip unzip curl rabbitmq-c libpq icu-libs 394.3s
=> [php 4/19] COPY ./config/php/docker-entrypoint.sh /usr/local/bin/docker-entrypoint 0.1s
=> [php 5/19] COPY ./config/php/php-fpm.d/zzz-01-healthcheck.conf /usr/local/etc/php-fpm.d/zzz-01-healthcheck.conf 0.0s
=> [php 6/19] COPY ./config/php/php-fpm-healthcheck.sh /usr/local/bin/php-fpm-healthcheck 0.0s
=> [php 7/19] COPY ./config/php/php-ini-directives.ini.template /usr/local/etc/php/php-ini-directives.ini.template 0.1s
=> ERROR [php 8/19] RUN set -eux ; chmod +x /usr/local/bin/docker-entrypoint; chmod 755 /usr/local/bin/php-fpm-healthcheck ; composer --ansi -- 3.7s
------
> importing cache manifest from ergonode/nginx:latest:
------
------
> importing cache manifest from ergonode/nuxtjs:latest:
------
------
> importing cache manifest from ergonode/php:latest:
------
------
> importing cache manifest from ergonode/docsify:latest:
------
------
> importing cache manifest from ergonode/rabbitmq:latest:
------
------
> importing cache manifest from ergonode/haproxy:latest:
------
------
> [php 8/19] RUN set -eux ; chmod +x /usr/local/bin/docker-entrypoint; chmod 755 /usr/local/bin/php-fpm-healthcheck ; composer --ansi --version --no-interaction; composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative; composer clear-cache;:
#19 0.968 + chmod +x /usr/local/bin/docker-entrypoint
#19 0.977 + chmod 755 /usr/local/bin/php-fpm-healthcheck
#19 0.988 + composer --ansi --version --no-interaction
#19 1.625 Composer version 2.4.3 2022-10-14 16:56:41
#19 1.650 + composer global require symfony/flex --prefer-dist --no-progress --no-suggest --classmap-authoritative
#19 2.077 Changed current directory to /tmp
#19 2.080 You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
#19 2.474 Info from https://repo.packagist.org: #StandWithUkraine
#19 2.545 Cannot use symfony/flex's latest version v2.2.3 as it requires php >=8.0 which is not satisfied by your platform.
#19 2.546 Using version ^1.19 for symfony/flex
#19 2.549 ./composer.json has been created
#19 2.587 Running composer update symfony/flex
#19 2.594 Loading composer repositories with package information
#19 2.840 Updating dependencies
#19 2.856 Lock file operations: 1 install, 0 updates, 0 removals
#19 2.856 - Locking symfony/flex (v1.19.3)
#19 2.857 Writing lock file
#19 2.857 Installing dependencies from lock file (including require-dev)
#19 2.859 Package operations: 1 install, 0 updates, 0 removals
#19 2.865 - Downloading symfony/flex (v1.19.3)
#19 3.670
#19 3.679 In PluginManager.php line 738:
#19 3.679
#19 3.679 symfony/flex (installed globally) contains a Composer plugin which is block
#19 3.679 ed by your allow-plugins config. You may add it to the list if you consider
#19 3.679 it safe.
#19 3.679 You can run "composer global config --no-plugins allow-plugins.symfony/flex
#19 3.679 [true|false]" to enable it (true) or disable it explicitly and suppress th
#19 3.679 is exception (false)
#19 3.679 See https://getcomposer.org/allow-plugins
#19 3.679
#19 3.679
#19 3.679 require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
#19 3.679
------
executor failed running [/bin/sh -c set -eux ; chmod +x /usr/local/bin/docker-entrypoint; chmod 755 /usr/local/bin/php-fpm-healthcheck ; composer --ansi --version --no-interaction; composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative; composer clear-cache;]: exit code: 1
ERROR: Service 'crond' failed to build : Build failed
Worker memory limit not working
Memory limit in messenger command donsn't change memory_limit
in PHP
rabbitmq in docker
Docker install failed importing cache manifest
Docker version: 23.0.0
Docker compose : 2.15.1
OS : Ubuntu 20.04
I followed install guide but at the first docker-compose up i got some errors.
php-messenger-import Error
php-messenger-export Error
php-messenger-completeness Error
php-messenger-completeness Error
ERROR [ergonode/php:latest] importing cache manifest from ergonode/haproxy:latest
ERROR [ergonode/nuxtjs:latest] importing cache manifest from ergonode/php:latest
ERROR [ergonode/nuxtjs:latest] importing cache manifest from ergonode/nuxtjs:latest
ERROR [ergonode/nuxtjs:latest] importing cache manifest from ergonode/docsify:latest
ERROR [ergonode/nuxtjs:latest] importing cache manifest from ergonode/nginx:latest
failed to solve: executor failed running [/bin/sh -c set -eux ; apk add --no-cache git zip unzip curl rabbitmq-c libpq icu-libs graphviz acl fcgi bash libcurl gettext gnu-libiconv libpng libjpeg freetype libwebp imagemagick libxpm libzip busybox-suid ; apk add --no-cache --virtual .fetch-deps icu-dev postgresql-dev rabbitmq-c-dev autoconf musl-dev gcc g++ make pkgconf file curl-dev libpng-dev jpeg-dev freetype-dev libwebp-dev libzip-dev imagemagick-dev libxpm-dev ; docker-php-ext-configure gd --with-webp --with-jpeg --with-xpm --with-freetype ; docker-php-ext-install -j$(nproc) pdo pdo_pgsql intl pcntl gd exif zip opcache ; pecl install amqp ; pecl install xdebug; pecl install imagick ; docker-php-ext-enable amqp ; docker-php-ext-enable xdebug ; docker-php-ext-enable imagick ; mkdir -p /tmp/newrelic ; cd /tmp/newrelic ; curl -L "${NEWRELIC_URL}" -o newrelic.tar.gz ; sha256sum newrelic.tar.gz | grep "${NEWRELIC_SHA256SUM}" ; tar -xf newrelic.tar.gz ; NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 ./newrelic-php5-*/newrelic-install install ; rm -rf /tmp/newrelic ; php --version ; rm -rf /tmp/* ; update-ca-certificates]: exit code:
Maybe it's a me error but don't know what error i made :)
All help is welcome 👍
Cron never started (development)
When i start with docker-compose up
container with crond always dies with exit code 0
ability to set custom nginx and php.ini directives
docker compose up fail
Hi! Trying to research ergonode on my local machine (Apple M1).
After cloning all reps, run docker compose up
Building nuxtjs
[+] Building 36.0s (17/17) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/node:12.6-alpine 0.7s
=> ERROR importing cache manifest from ergonode/nuxtjs:latest 1.7s
=> ERROR importing cache manifest from ergonode/docsify:latest 1.7s
=> ERROR importing cache manifest from ergonode/nginx:latest 1.8s
=> ERROR importing cache manifest from ergonode/rabbitmq:latest 1.7s
=> ERROR importing cache manifest from ergonode/haproxy:latest 1.7s
=> [node 1/3] FROM docker.io/library/node:12.6-alpine@sha256:182778091c2c27ffa76caa41e762b21a2555118bae00212c52b347bddbc058ba 0.0s
=> importing cache manifest from ergonode/php:latest 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 307.74kB 0.1s
=> CACHED [node 2/3] COPY config/node/docker-entrypoint.sh /usr/local/bin/docker-entrypoint 0.0s
=> CACHED [node 3/3] RUN set -eux; chmod +x /usr/local/bin/docker-entrypoint ; apk add --no-cache curl bash git 0.0s
=> CACHED [nuxtjs 1/4] WORKDIR /srv/app 0.0s
=> CACHED [nuxtjs 2/4] WORKDIR /srv/app 0.0s
=> CACHED [nuxtjs 3/4] COPY frontend /srv/app/ 0.0s
=> ERROR [nuxtjs 4/4] RUN set -eux; npm install ; npm run modules:all ; NODE_ENV=production API_BASE_URL=http://localhost:8000/api/v1/ npm run build ; n 33.3s
------
> importing cache manifest from ergonode/nuxtjs:latest:
------
------
> importing cache manifest from ergonode/docsify:latest:
------
------
> importing cache manifest from ergonode/nginx:latest:
------
------
> importing cache manifest from ergonode/rabbitmq:latest:
------
------
> importing cache manifest from ergonode/haproxy:latest:
------
------
> [nuxtjs 4/4] RUN set -eux; npm install ; npm run modules:all ; NODE_ENV=production API_BASE_URL=http://localhost:8000/api/v1/ npm run build ; npm cache clean -f ; rm -f .env:
#12 0.131 + npm install
#12 31.60
#12 31.60 > [email protected] install /srv/app/node_modules/deasync
#12 31.60 > node ./build.js
#12 31.60
#12 31.69 gyp ERR! configure error
#12 31.69 gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
#12 31.69 gyp ERR! stack at PythonFinder.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19)
#12 31.69 gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16)
#12 31.69 gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
#12 31.69 gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
#12 31.69 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
#12 31.69 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
#12 31.69 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
#12 31.69 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:165:21)
#12 31.69 gyp ERR! System Linux 5.10.25-linuxkit
#12 31.69 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#12 31.69 gyp ERR! cwd /srv/app/node_modules/deasync
#12 31.69 gyp ERR! node -v v12.6.0
#12 31.69 gyp ERR! node-gyp -v v3.8.0
#12 31.69 gyp ERR! not ok
#12 31.69 Build failed
#12 33.16 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
#12 33.16 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#12 33.16 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchify/node_modules/fsevents):
#12 33.16 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#12 33.16 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/cypress-cucumber-preprocessor/node_modules/fsevents):
#12 33.16 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#12 33.16 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/babel-plugin-add-module-exports/node_modules/fsevents):
#12 33.16 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#12 33.16 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
#12 33.16 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#12 33.16
#12 33.16 npm ERR! code ELIFECYCLE
#12 33.16 npm ERR! errno 1
#12 33.16 npm ERR! [email protected] install: `node ./build.js`
#12 33.16 npm ERR! Exit status 1
#12 33.16 npm ERR!
#12 33.16 npm ERR! Failed at the [email protected] install script.
#12 33.16 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#12 33.20
#12 33.20 npm ERR! A complete log of this run can be found in:
#12 33.20 npm ERR! /root/.npm/_logs/2021-05-27T07_36_56_196Z-debug.log
------
executor failed running [/bin/sh -c set -eux; npm install ; npm run modules:all ; NODE_ENV=production API_BASE_URL=http://localhost:8000/api/v1/ npm run build ; npm cache clean -f ; rm -f .env]: exit code: 1
ERROR: Service 'nuxtjs' failed to build : Build failed
How i can fix this?
Workers dies after 1 hour (development)
After 1 hour all containers with workers dies. Time limit on workers kill them after 1 hour. Maybe solution for that situation will be restart: allways
?
curl: (6) Could not resolve host: rabbit
..while following your README.md
, I have bits an pieces not working. One issue seems to be that the hostname rabbit
is not properly resolved for some images:
$ docker logs ergonode_php-messenger-core_1
Linking /usr/local/etc/php/php.ini-development > /usr/local/etc/php/php.ini
Verified OK
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: rabbit
curl: (6) Could not resolve host: rabbit
ergonode_php_1: setfacl: var: Not supported
It looks like the main php container (ergonode_php_1
) exits on start. Here are the logs:
$ docker logs ergonode_php_1
Linking /usr/local/etc/php/php.ini-development > /usr/local/etc/php/php.ini
Verified OK
Setting file permissions...
setfacl: var: Not supported
setfacl: var/cache: Not supported
setfacl: var/log: Not supported
..after that, it exits. Here's a full ps -a
that shows what works and what doesn't:
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ba4b5c749a8f ergonode/nginx:latest "docker-entrypoint n…" 4 minutes ago Exited (143) 12 seconds ago ergonode_nginx_1
e52b15cde028 ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-channel_1
78420e045f80 ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-import_1
8384deebe73d ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-event_1
4352a72c70cb ergonode/php:latest "docker-entrypoint p…" 4 minutes ago Exited (1) 4 minutes ago ergonode_php_1
57fdb598ef1b ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-export_1
4575b2b6636c ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-segment_1
a2563fcf1097 ergonode/php:latest "docker-entrypoint b…" 4 minutes ago Exited (6) 4 minutes ago ergonode_php-messenger-core_1
479506a29cfb ergonode/rabbitmq:latest "docker-ergonode-ent…" 4 minutes ago Exited (137) 2 seconds ago ergonode_rabbitmq-02_1
707f0cfdd73d ergonode/rabbitmq:latest "docker-ergonode-ent…" 4 minutes ago Exited (137) 2 seconds ago ergonode_rabbitmq-03_1
f58536f6f5a8 ergonode/rabbitmq:latest "docker-ergonode-ent…" 4 minutes ago Exited (137) 2 seconds ago ergonode_rabbitmq-01_1
f552956a83e2 ergonode/postgres:latest "docker-entrypoint.s…" 4 minutes ago Exited (0) 12 seconds ago ergonode_postgres_1
584d6fb9f42c ergonode/nuxtjs:latest "docker-entrypoint n…" 4 minutes ago Exited (137) 2 seconds ago ergonode_nuxtjs_1
902861d384e2 ergonode/haproxy:latest "/docker-entrypoint.…" 4 minutes ago Exited (1) 4 minutes ago ergonode_haproxy_1
a46cfb79026f consul:1.7 "docker-entrypoint.s…" 4 minutes ago Exited (1) 1 second ago ergonode_consul_1
d246fa2e582b ergonode/docs:latest "docker-entrypoint d…" 4 minutes ago Exited (137) 2 seconds ago ergonode_docsify_1
docker-compose.yml (Development): Fixture not loaded
Hi!
FYI: After starting the default docker container, we could not sign in as Johnny Bravo: Always got an "Invalid credentials" error.
Running $ php bin/console ergonode:fixture:load
in the php container fixed the problem - seems something went wrong during the startup/bootstrapping.
Best from Salzburg, Austria!
Error php container
Hello,
I'm installing to test, and it's not working
ERROR: No container found for php_1
Very low performance with development confguration
Current development docker compose stack eat huge amount of resources on laptops (check with docker stats
).
When i try to make composer install
my laptop died. The same situation was when i run import.
What i detect:
- Worker commands doesn't have
--sleep
. On development environment we don't need to have real time results i can wait couple seconds to get it. - 3 RabbiMQ containers at once? We don't need that much when we develop.
When i set --sleep
and disable 2 RabbitMQ containers performance issue was gone.
My laptop setup:
Linux Ubuntu 18.04
Intel Core i5 (8th Gen) - 4 cores 2,6GHz
16GB RAM
curl: (7) Failed to connect to rabbitmq port 15672: Connection refused
I have followed the docs about how to install ergonode with docker and configured my .env.local file like this
MESSENGER_TRANSPORT_DSN=amqp://ergonode:ergonode@rabbitmq:5672/%2f/messages MAILER_DSN=smtp://mailhog:1025
yet i always get this error for all php related services
php-messenger-segment_1 | Linking /usr/local/etc/php/php.ini-development > /usr/local/etc/php/php.ini php-messenger-segment_1 | Verified OK php-messenger-segment_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-segment_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-segment_1 | Linking /usr/local/etc/php/php.ini-development > /usr/local/etc/php/php.ini php-messenger-segment_1 | Verified OK php-messenger-segment_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-segment_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-segment_1 | Linking /usr/local/etc/php/php.ini-development > /usr/local/etc/php/php.ini php-messenger-segment_1 | Verified OK php-messenger-segment_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-segment_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-segment_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-completeness_1 | Verified OK php-messenger-completeness_1 | Verified OK php-messenger-notification_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-notification_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-notification_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-notification_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused ergonode_php-messenger-notification_1 exited with code 7 php-messenger-batch_action_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-batch_action_1 | Dload Upload Total Spent Left Speed php-messenger-import_1 | % Total % Received % Xferd Average Speed Time Time Time Current php-messenger-import_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-batch_action_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-batch_action_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 php-messenger-import_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused php-messenger-import_1 | curl: (7) Failed to connect to rabbitmq port 15672: Connection refused ergonode_php-messenger-batch_action_1 exited with code 7 ergonode_php-messenger-import_1 exited with code 7
Running the default installation instructions results in error 'pull access denied for ergonode/php'
Leaks memory until killed by kernel
Bug type
Other
Current behavior
Running the Ergonode frontend and backend skeletons in a docker environment based on ergonode/docker
, the nuxtjs
container is killed after consuming all the memory allocated to Docker (for Mac).
The nuxtjs
container successfully compiles the app and starts listening, you can even use the app for a few minutes before it stops responding. Inspecting docker logs reveals
nuxtjs_1 | ℹ Waiting for file changes
nuxtjs_1 | ℹ Memory usage: 1.16 GB (RSS: 2.11 GB)
nuxtjs_1 | ℹ Listening on: http://192.168.16.4:80/
ergonode-docker_nuxtjs_1 exited with code 0
Starting the container and monitoring it's resource usage with docker stats
shows it continues to consume memory until it's killed by Docker. -- Very annoyingly, Docker logs this the same as if the process just quit itself with exit code zero.
I only noticed this after upgrading my app to beta8. Unfortunately, due to the changes made between beta7 & 8, I've been unable to revert to beta7 to see if the problem persists there.
This is only an issue with this ergononode/skeleton-frontend
repository. Verified by running the ergonode/frontend
code in the same environment and it doesn't leak memory.
Input Code
To minimise the chance of anything in my code being the culprit, we'll use Ergonode repositories or forks of:
With make
For your convenience, I've created skeleton-frontend/expose-memory-leak-issue
branch in my dankempster/ergonode-docker
repository. This branch has a copy of the Makefile I use with additional targets for testing this issue, all other code is Ergonode's own.
Please clone my branch and run make useskeleton
. This will set up the full Ergonode environment.
Once the build is finished, docker stats
will run to allow you to monitor the nuxtjs container's memory usage.
Run make nuxtjslogs
in second terminal to monitor it's log output.
Without make
Clone ergonode/docker
to your machine. Follow your standard process for setting it up, except for where it concerns the frontend/
. For the frontend clone the skeleton repo:
git clone --branch 'v1.0.0-beta.8' -- [email protected]:ergonode/skeleton-frontend.git frontend
While ergonode/skeleton-frontend#10 is unresolved you'll need to checkout the beta8 merge commit directly:
git --git-dir=frontend/.git --work-tree=frontend/ checkout b0472c9b0baf3b738f8900f1bd361e1e2f33a890
Now build and start the environment
docker-compose up -d
Once the build is complete, monitor the nuxtjs
container
docker stats
# in a second terminal
docker-compose logs -f nuxtjs
Expedite replication
The exact timeframe it takes to be killed will depend on how much memory your machine has. To expedite the replication I suggest reducing the amount of memory allocated to Docker, if you can.
Expected behavior
The container running the app to not consume all the memory and run indefinitely.
Possible Solution
Not a clue, sorry.
Environment
Ergonode version: v1.0.0 beta 8, commit b0472c9b0baf3b738f8900f1bd361e1e2f33a890
Detailed information:
- Node version: 12.6
- Browser (Version): N/A
- Platform: Container=alpine-linux, host=Mac-10.15.7
Others:
- Docker for Mac v2.5.0.1
Add new queue
Is your feature request related to a problem? Please describe.
Expanding service with a new queue for batch_action
Describe the solution you'd like
Add queue support :
- Configuration environment
- Add create command queue in Dockerfile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.