Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

php image slight issues #6

Open
steenbras opened this issue Dec 6, 2019 · 0 comments
Open

php image slight issues #6

steenbras opened this issue Dec 6, 2019 · 0 comments

Comments

@steenbras
Copy link

steenbras commented Dec 6, 2019

A couple of things with the php image that I had to fix:

Firstly the directory for the tail didn't exist, so I added a mkdir -p to the ./php/phd

d=/var/tmp/phd/log
f=daemons.log
/src/phabricator/bin/phd start
mkdir -p $d
touch $d/$f
exec tail -F $d/$f

Secondly, phab daemons weren't started correctly. Logs showed a problem with the ps process:

COMMAND
ps -o pid,command -a -x -w -w -w

STDOUT
(empty)

STDERR
ps: unrecognized option: x
BusyBox v1.28.4 (2018-12-31 18:05:13 UTC) multi-call binary.

Simple fix, just added the procps to the ./php/Dockerfile :

    git \
    ...
    procps
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant