Hi! We are unfortunately still getting 500 errors from the toolshed on installations:
The galaxy instance logs show things like:
tool_shed.galaxy_install.install_manager WARNING 2020-09-10 10:01:39,374 [p:51054,w:2,m:0] [uWSGIWorker2Core0] Error attempting to retrieve installation information from tool shed https://toolshed.g2.bx.psu.edu/ for revision 2704d80b7e91 of repository scanpy_find_cluster owned by ebi-gxa: HTTP Error 500: Internal Server Errorand the latest ephemeris outputs for the same error:
10:02:02 (419/607) Installing repository scanpy_find_cluster from ebi-gxa to section "hca_sc_scanpy_tools" at revision b456d129066d (TRT: 0:01:33.198307)
10:02:02 * Error installing a repository (after 0:00:01.816629 seconds)! Name: scanpy_find_cluster,owner: ebi-gxa, revision: b456d129066d, error: {"err_msg": "Uncaught exception in exposed API method:", "err_code": 0}
We also see this other error in ephemeris:
10:09:02 * Error installing a repository (after 0:00:00.566453 seconds)! Name: garnett_get_feature_genes,owner: ebi-gxa, revision: 3176cbad2800, error: {"err_msg": "Error attempting to retrieve installation information from tool shed https://toolshed.g2.bx.psu.edu/ for revision 3176cbad2800 of repository garnett_get_feature_genes owned by ebi-gxa: HTTP Error 500: Internal Server Error", "err_code": 500001}which is I think OOM related at the toolshed side?
Cannot allocate memory errors don’t really make sense if there’s still 2GB of memory free
posix_spawn because we’re passing cwd, but mercurial actually has a hidden commandline flag to indicate cwd
--honour-stdin option to uwsgi by calling uwsgi directly (uwsgi --yaml config/galaxy.yml --honour-stdin) - that made debugging with pdb possible. There's a much better/simpler way to do that! Simply set honour-stdin: true in the uwsgi section in your galaxy.yml - that's it! Then you can use run.sh.