Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Missing folder in php container #17

@ghost

Description

Cloned the repo and followed the readme (i.e. docker-compose build followed by docker-compose up)

Php container failed to run, here is the console output :

php_1       | [01-Jun-2018 08:40:01] ERROR: Unable to create the PID file (/run/php-fpm/php-fpm.pid).: No such file or directory (2)
php_1       | [01-Jun-2018 08:40:01] ERROR: Unable to create the PID file (/run/php-fpm/php-fpm.pid).: No such file or directory (2)
php_1       | [01-Jun-2018 08:40:01] ERROR: FPM initialization failed
php_1       | [01-Jun-2018 08:40:01] ERROR: FPM initialization failed
database_1  | 2018-06-01  8:40:01 140406205995264 [Note] mysqld (mysqld 10.1.33-MariaDB) starting as process 1 ...
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Using mutexes to ref count buffer pool pages
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: The InnoDB memory heap is disabled
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Compressed tables use zlib 1.2.7
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Using Linux native AIO
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Using SSE crc32 instructions
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Initializing buffer pool, size = 256.0M
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Completed initialization of buffer pool
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Highest supported file format is Barracuda.
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: 128 rollback segment(s) are active.
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB: Waiting for purge to start
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 90053486
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] Plugin 'FEEDBACK' is disabled.
database_1  | 2018-06-01  8:40:02 140405223974656 [Note] InnoDB: Dumping buffer pool(s) not yet started
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] Server socket created on IP: '::'.
database_1  | 2018-06-01  8:40:02 140406205995264 [Warning] 'proxies_priv' entry '@% root@5469594c78cf' ignored in --skip-name-resolve mode.
database_1  | 2018-06-01  8:40:02 140406205995264 [Note] mysqld: ready for connections.
database_1  | Version: '10.1.33-MariaDB'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Server
contenta_docker_php_1 exited with code 78
nginx_1     | nginx: [emerg] host not found in upstream "php" in /etc/nginx/sites/drupal.conf:62
contenta_docker_nginx_1 exited with code 1

Like it said, /run/php-fpm is missing

Am I missing something?

I have edited the Dockerfile for php and add a mkdir -p /run/php-fpm and it works.
If you confirmed that it is an issue, i can make a pr with this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions