cachethq / cachethq/Docker

CachetHQ will not start on OpenShift 3.6 php-fdm fails

Open
#277 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
439
Forks
271
PR merge metrics
No merged PRs in 30d

Description

I am deploying the latest release of CachetHQ Docker on to OpenShift 3.6. When starting I am getting lots of errors that php-fdm can not load.

```
  | [15-Mar-2018 20:32:11] ALERT: [pool www] user has not been defined
  | [15-Mar-2018 20:32:11] ERROR: failed to post process the configuration
  | [15-Mar-2018 20:32:11] ERROR: failed to post process the configuration
  | [15-Mar-2018 20:32:11] ERROR: FPM initialization failed
  | [15-Mar-2018 20:32:11] ERROR: FPM initialization failed
  | 2018-03-15 20:32:11,494 INFO exited: php-fpm (exit status 78; not expected)
  | 2018-03-15 20:32:12,495 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly
```
I tried to run php-pdm manually and I got basically the same error.

I was able to test a solution and it was able to start php-fdm.
The fix is just below.
php-fpm-pool.conf needs this added with in the www block
```
user = www-data
```

I was trying to do a PR but I am unable to publish my branch. I am still a nood to all this git stuff.

Andy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.