Hi all,
I wanted to setup OMERO.figure in our existing OMERO 5.1.4 installation. I have followed the instruction on how to install OMERO.figure in http://figure.openmicroscopy.org/#install and everything seemed to work.
When clicking on OMERO link opens the figure but, fails to load the static contents. Opening the browser's developer tools window, I see 404 for all contents under /static/figure/*
1. Download figure-1.1.x
2. Unzip and rename it the directly to figure
3. Move the figure directory to {OMERO.server}/lib/python/omeroweb
4. {OMERO.server}/bin/omero web stop
5. {OMERO.server}/bin/omero web start
6. I noticed that Django copied the static contents across (81 static files copied ....) and the static folder have the following structure:
omeroweb
omeroweb/figure
omeroweb/figure/static
omeroweb/figure/static/figure
omeroweb/static
omeroweb/static/figure
omeroweb/static/figure/3rdparty
omeroweb/static/figure/css
omeroweb/static/figure/images
omeroweb/static/figure/js
omeroweb/static/figure/templates
I also looked at the omero-web.config of nginx file and I have the following location directive
location /static {
alias /usr/local/omero/OMERO.server/lib/lib/python/omeroweb/static;
}
Any idea what is causing the 404? Omero web is accessible via http://10.0.0.9/webclient/ and when clicking on figure menu the navigation changes to http://10.0.0.9/figure/ with plain html content. All the static contents with 404 error have the following URL:
http://10.0.0.9/static/figure/3rdparty/ ... ael-min.js
http://10.0.0.9/static/figure/...
I tried to put another location directive to the omero-web.config of ngix as follow but, no difference
location /static/figure {
alias /usr/local/omero/OMERO.server/lib/lib/python/omeroweb/static/figure;
}
Any suggestions?
Raf.