Page MenuHomePhabricator

Fix cache clearing step during content deployment
Open, Needs TriagePublic2 Story PointsBug

Description

When deploying content, the ansible playbook exits with an error code.

The log shows that the step cachetool : Clear PHP bytecode cache fails with the following error output:
FastCGI error: Unable to connect to FastCGI application: No such file or directory (/var/run/php/php-fpm-current.sock)

As discussed during the Daily already, this might be caused by a missing/wrong symlink or an FPM configuration error. The symlink is/should be created during setup playbook execution.

Event Timeline

Restricted Application added a project: WMDE-FUN-Team. · View Herald TranscriptJun 27 2019, 12:26 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kai.nissen updated the task description. (Show Details)Jul 1 2019, 9:44 AM
kai.nissen set the point value for this task to 2.

The symlinks are now there, but the automatic deployment is still broken - Jenkins does not spin up jobs on its Docker cloud for unknown reasons. Please use manual deployment in the meantime: In the fundraising-infrastructure repo run

ansible-playbook -i inventory/deployment.ini -l fundraising_frontend_test deployments/content.yml

and

ansible-playbook -i inventory/deployment.ini -l fundraising_frontend_production deployments/content.yml

Another update of Jenkins has helped, but for unknown reasons. PR is at https://github.com/wmde/fundraising-infrastructure/pull/273