error uploading EAC-CPF file

45 views
Skip to first unread message

Luis Castrillo

unread,
Oct 18, 2018, 9:27:28 AM10/18/18
to AtoM Users
Trying to upload an EA-CPF file I have received this message "Sorry, something went wrong. The server returned a 500 Internal Server Error. Try again a little later or ask in the discussion group.Back to previous page. " What did I do wrong?

Corinne Rogers

unread,
Oct 18, 2018, 1:27:21 PM10/18/18
to AtoM Users
Hi Luis,

Any time you encounter a 500 error, the first thing you should do is ask one of your system administration team to take a look at the Nginx error logs. We'll need the error message to be able to provide more specific suggestions. If you've followed our recommended installation documentation, then you can follow the instructions here to access the webserver logs: 
You can also clear your cache by running this command in your terminal: $ php symfony cc

And try restarting services:
Let us know what you find! 

Best regards, 

Corinne

--
Corinne Rogers
Systems Archivist
Artefactual Systesm

Luis Castrillo

unread,
Oct 23, 2018, 8:26:00 AM10/23/18
to AtoM Users
Thanks,

I have run sudo tail -f /var/log/nginx/error.log  and this is what I have got:

2018/10/23 14:22:18 [error] 968#968: *179 FastCGI sent in stderr: "PHP message: No Gearman worker available that can handle the job arFileImportJob" while reading response header from upstream, client: 10.6.52.125, server: _, request: "POST /index.php/object/importSelect HTTP/1.1", upstream: "fastcgi://unix:/run/php7.0-fpm.atom.sock:", host: "10.6.52.38", referrer: "http://10.6.52.38/index.php/object/importSelect?type=xml"

Luis

Corinne Rogers

unread,
Oct 23, 2018, 12:53:13 PM10/23/18
to AtoM Users
Hi Luis,

Most of the time when this happens, what is going on is the background process that receives the request has died. Please try the following command:

`sudo systemctl restart atom-worker`

A `restart` (as opposed to a `start`) will also take care of the situation where the background process is running but isn't working right.

Let us know if that solves the problem or not.

best regards,
Corinne

Luis Castrillo

unread,
Oct 30, 2018, 7:20:14 AM10/30/18
to AtoM Users
I did it. And it seems to be ok. Thanks a lot!

I will close the question.

Luis
Reply all
Reply to author
Forward
0 new messages