Problem: creating Actor relationships via the GUI results in a 500 error
|Assignee:||Mike Cantelon||% Done:|
|Target version:||Release 2.6.0|
|Google Code Legacy ID:||Tested version:|
Given two existing authority records, when adding one or more relationships using the "Relationships area" in the GUI, AtoM responds with a 500 error and the relationship(s) is not created.
#2 Updated by Peter Van Garderen 5 months ago
- Status changed from New to Verified
This issue was happening on an AtoM Vagrant box where Gearman workers (required for the background create relationship job) are often not running.
Checking the nginx error log,
sudo tail /var/log/nginx/error.log
showed that there was no available Gearman worker:
2020/05/20 19:23:26 [error] 548#548: *91 FastCGI sent in stderr: "PHP message: No Gearman worker available that can handle the job arUpdateEsActorRelationsJob" while reading response header from upstream, client: 10.10.10.1, server: _, request: "POST /the-dude-1/edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.atom.sock:", host: "10.10.10.10", referrer: "http://10.10.10.10/the-dude-1/edit"
Starting a Gearman worker fixed this issue: