the main issue seems to be calls to mysql-connect which doesn't exist in PHP 7.0. This is likely related to {T216364}where we spotted similar things.
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | JeanFred | T230769 Revive Erfgoedbot for WLM 2019 | |||
| Resolved | JeanFred | T231223 Upgrade Heritage to PHP 7 | |||
| Resolved | JeanFred | T231157 mysql-connect issues during ErfgoedBot run |
Event Timeline
Comment Actions
The reason is that the bin script is executed on a host which only has PHP 7. The API itself runs in a container with PHP 5.6, so is not affected.
Comment Actions
Change 532229 had a related patch set uploaded (by Jean-Frédéric; owner: Jean-Frédéric):
[labs/tools/heritage@master] Switch API to use PHP 7.2
Comment Actions
I guess so! I think it’s somewhat broken to execute these PHP statements in a Python container, but oh well :)