Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues setting up the DEMO on a HEADLESS server #7

Open
M3hran opened this issue Oct 17, 2017 · 3 comments
Open

issues setting up the DEMO on a HEADLESS server #7

M3hran opened this issue Oct 17, 2017 · 3 comments

Comments

@M3hran
Copy link

M3hran commented Oct 17, 2017

I have ran into issues running the demo site on an VM as a demo for Smithsonian Inst.

I have changed the following parameters inside /gh-ensembl-plugin/conf/ini-files/DEFAULTS.ini to get around the local loopback issues (127.0.0.1)

BLAST_URL = http://0.0.0.0:8083
DOWNLOAD_URL = http://0.0.0.0:8082
ASSEMBLY_STATS_URL = http://0.0.0.0:8082/html/assembly-stats/assembly-stats.html?path=/demo/json/assemblies/&
CODON_USAGE_URL = http://0.0.0.0:8082/html/codon-usage/codon-usage.html?path=/demo/json/annotations/&

The main ensembl site comes up on my public IP on port 8081 and i'm able to browse each "modules" on 8082,and 8083 individually. However the main site on 8081, shows broken links (404) when clicking on "Blast" or "BioMart", not sure if other links are working correctly either.

access logs on the container, show:
[444/- - -/-=-] 160.111.254.17/- -/- -/- [17/Oct/2017:19:54:29 +0000] "GET /Multi/Tools/Blast?db=core HTTP/1.1" 404 3222 "http://34.193.222.50:8081/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" "-" -/-

@rjchallis
Copy link
Contributor

Thanks for this suggestion. Using 0.0.0.0 as the default for the plugin seems more sensible than defaulting to 127.0.0.1 so I've updated this in gh-ensembl-plugin.

Ensembl BLAST and BioMart won't work in the demo. With the GenomeHubs plugin, BLAST links should all go to SequenceServer (port 8083). BioMart is not currently supported (and I wasn't aware that the links were still available). Where on the site were the BLAST and BioMart links? It seems like it could be a case of the plugin not loading correctly.

@M3hran
Copy link
Author

M3hran commented Nov 22, 2017

The links appear in the main menu of index.html , the first item is "BLAST" the second is "BioMart" then, "Tools", Downloads", "Dcoumentation", and "Website Help".

:8081/Multi/Tools/Blast?db=core
:8081/biomart/martview

@rjchallis
Copy link
Contributor

Sounds like your site is running with the Ensembl Metazoa plugin - this shouldn't happen with the demo script but digging around I hadn't realised that the old README files are still in the various subdirectories.

If you are following one of these then either the basic-mirror (which only gets as far as an unskinned Ensembl Metazoa mirror) or the genomehubs-mirror (which has a step in the middle that has the basic site before further steps to get to a GenomeHubs site) README files would get you to a site with broken menus as more steps are needed before all the data are in place for the gh-ensembl-plugin.

I made the demo script for the publication and forgot that the step-by-step instructions were still there so I haven't updated them in line with the newer documentation, etc. So I certainly need to update these but given that you made changes to gh-ensembl-plugin to get around local loopback issues, I'm not certain that this is what is causing these links to show up.

Could you confirm if you are running the demo.sh/import,sh scripts or following the step-by-step instructions so I know what to try and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants