Help get this topic noticed by sharing it on Twitter, Facebook, or email.

We're sorry, but something went wrong - 5xx error

We have installed new testia tarantula in AWS EC2 server. Initially the dashboard was not coming, So we started the delayed jobs and the dashboard was working fine.

After a week, suddenly we face 500 error saying that " We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly. Information for the administrator of this website".

Upon checking the logs, we found there is an infinite query is updating the logs " UPDATE `delayed_jobs` SET `locked_at` = '2017-06-29 13:31:19', `locked_by` = 'host: pid:1200' WHERE ((run_at < '2017-06-29 13:26:19') OR locked_by = 'host: pid:1200') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1

Tried restarting the services and servers too. But still no luck. Could you please help us ?

Thanks in advance.

1 person has
this problem