CachetHQ will not start on OpenShift 3.6 php-fdm fails
- 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
Assessment
This issue has not been assessed yet.