Bug #13321

Problem: creating Actor relationships via the GUI results in a 500 error

Added by Peter Van Garderen almost 2 years ago. Updated almost 2 years ago.

Status:VerifiedStart date:05/20/2020
Priority:HighDue date:
Assignee:Mike Cantelon% Done:


Target version:Release 2.6.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:


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.


#1 Updated by Peter Van Garderen almost 2 years ago

From DavidJ: "Looks like the relation row isn't getting written to the database, but I don't see any error in the nginx error log"

#2 Updated by Peter Van Garderen almost 2 years 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:, server: _, request: "POST /the-dude-1/edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.atom.sock:", host: "", referrer: "" 

Starting a Gearman worker fixed this issue:

./symfony job:wor

Also available in: Atom PDF