This crash with the following message:
“[pid 1325] exit_group(127) = ?
[pid 1325] +++ exited with 127 +++
[pid 1324] <… wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 1325
[pid 1324] — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1325, si_uid=0, si_status=127, si_utime=0, si_stime=0} —”
Our workaround: Remove ‘root exec’ from cronjob, after this it works.
We start the container with docker-compose.
Checklist
[x] I provide relevant information about my server (component names and versions, etc.)
[x] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue
➜ passbolt-pro-api git:(master) docker pull passbolt/passbolt:3.1.0-ce
3.1.0-ce: Pulling from passbolt/passbolt
Digest: sha256:9b3b30a493b5066379dff8f18b777c5520a65303b9020eac035d048d3f45a588
Status: Image is up to date for passbolt/passbolt:3.1.0-ce
docker.io/passbolt/passbolt:3.1.0-ce
➜ passbolt-pro-api git:(master) docker run --rm -it --entrypoint bash passbolt/passbolt:3.1.0-ce
root@4b07bc65155f:/usr/share/php/passbolt# cat /etc/cron
cron.d/ cron.daily/ cron.hourly/ cron.monthly/ cron.weekly/ crontab
root@4b07bc65155f:/usr/share/php/passbolt# cat /etc/cron.d/
.placeholder passbolt-ce-server php
root@4b07bc65155f:/usr/share/php/passbolt# cat /etc/cron.d/passbolt-ce-server
#
#
# Cronjob to process emails for the Passbolt Web Service every minute.
#
# This crontab script is part of the Passbolt Debian package,
# see dh_installcron debhelper program for more details.
#PATH=/bin:/usr/local/bin:/usr/bin
PASSBOLT_BASE_DIR=/usr/share/php/passbolt
* * * * * www-data exec /bin/bash -c ". /etc/environment && $PASSBOLT_BASE_DIR/bin/cron"