Atom 2.4 error 500 export reports

78 views
Skip to first unread message

Gonzalo D.

unread,
Nov 16, 2017, 4:20:22 AM11/16/17
to AtoM Users
Hello, in another machine that I have Ubuntu 14.04 I have the problem when exporting reports.

I receive the error of server internal error 500


I have followed the installation guide to execute the jobs and worker and it is currently running without problem but the generation of reports does not work: https://www.accesstomemory.org/es/docs/2.4/admin-manual/installation/asynchronous-jobs/


Doing a search of processes are shown in execution:

ps -aux | grep atom
www-data 21836  2.6  1.4 254116 29992 ?        S    10:13   0:00 php -d memory_limit=-1 -d error_reporting=E_ALL /usr/share/nginx/atom/symfony jobs:worker
root     21845  0.0  0.0  12160   928 pts/3    S+   10:13   0:00 grep --color=auto atom


$ ps -aux | grep gearman
gearman  21811  0.0  0.2 481516  4704 ?        Ssl  10:12   0:00 /usr/sbin/gearmand --log-file=/var/log/gearman-job-server/gearman.log



$ tail -f atom-worker.log 
2017-11-16 01:13:08 > New ability: arUpdatePublicationStatusJob
2017-11-16 01:13:08 > New ability: arFileImportJob
2017-11-16 01:13:08 > New ability: arInformationObjectXmlExportJob
2017-11-16 01:13:08 > New ability: arXmlExportSingleFileJob
2017-11-16 01:13:08 > New ability: arGenerateReportJob
2017-11-16 01:13:08 > New ability: arActorCsvExportJob
2017-11-16 01:13:08 > New ability: arActorXmlExportJob
2017-11-16 01:13:08 > New ability: arRepositoryCsvExportJob
2017-11-16 01:13:08 > Running worker...
2017-11-16 01:13:08 > PID 21836

Error en NGINX


017/11/16 10:14:04 [error] 4600#0: *11225 FastCGI sent in stderr: "PHP message: No Gearman worker available that can handle the job arGenerateReportJob" while reading response header from upstream, client: 81.202.180.21, server: _, request: "POST /index.php/arxiu-de-la-societat-musical-nova-dalcoi/informationobject/itemOrFileList?type=File HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.atom.sock:", host: "XXX.XXX.XXX.XXX", referrer: "http://XXX.XXX.XXX.XXX/index.php/arxiu-de-la-societat-musical-nova-dalcoi/informationobject/itemOrFileList?type=file"



Thanks for the help

Dan Gillean

unread,
Nov 16, 2017, 11:19:23 AM11/16/17
to ICA-AtoM Users
Hi Gonzalo, 

If you've just resolved the error for exports, I'm not sure why this is happening, but did you try restarting the atom-worker?

If you have followed our installation instructions for Ubuntu 14.04, these commands can be used: 
  • sudo start atom-worker   # Starts the worker
  • sudo stop atom-worker    # Stops the worker
  • sudo restart atom-worker # Restarts the workers
  • sudo status atom-worker  # Obtain current running status
If you have installed following the Ubuntu 16.04 documentation, then try the following: 
  • sudo systemctl start atom-worker         # Starts the worker 
  • sudo systemctl stop atom-worker     # Stops the worker 
  • sudo systemctl restart atom-worker    # Restarts the workers 
  • sudo systemctl status atom-worker   # Obtains current status
One other thing to check: I don't think this should matter but just to be certain, can you go to Admin > Plugins and make sure that the SwordPlugin is enabled?

Let us know if that helps. If not, can you please remind me more about your installation set up (operating system, PHP version, default culture, etc) and anything more you can tell me about how you created this issue, so I can try to reproduce it?

Thanks! 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/75ad94ea-b060-4086-b73c-543fb9948b20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages