We're Hiring!

OMERO web error

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: OMERO web error

Postby phm » Mon Aug 28, 2017 2:44 pm

wmoore wrote:Hi,

Any configs that start with "omero.web..." need to be configured on the OMERO.web deployment.

Code: Select all
$ OMERO.py/bin/omero config set omero.web.login_logo "/omero/static/webclient/image/logo_CIRB.jpg"


Hope that helps,

Will.

Hi Will,
I'm able to configure some configs as the script Figure. However, some doesn't work as the open with menu and the logo (may be the path change with omero.py ?) :
The scripts have been install with pip install -U omero ......
Code: Select all
OMERO.py/bin/omero config append omero.web.apps '"omero_iviewer"'
OMERO.py/bin/omero config set omero.web.open_with '["omero_iviewer", "omero_iviewer_index",{"supported_objects":["image"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}]'
OMERO.py/bin/omero config append omero.web.apps 'omero_fpbioimage"'
OMERO.py/bin/omero config append omero.web.open_with '["omero_fpbioimage", "fpbioimage_index",{"script_url": "fpbioimage/openwith.js", "supported_objects": ["image"], "label": "FPBioimage"}]'
OMERO.py/bin/omero config append omero.web.apps '"omero_weberror"'
OMERO.py/bin/omero config append omero.web.apps '"omero_figure"'
OMERO.py/bin/omero config append omero.web.ui.top_links '["Figure", "figure_index",{"title": "Open Figure in new tab", "target": "_blank"}]'
OMERO.py/bin/omero config set omero.web.login_logo "/home/omero/OMERO.server-5.3.3-ice36-b63/lib/python/omeroweb/webclient/static/webclient/image/logo_CIRB.png"

OMERO.py/bin/omero config get
Code: Select all
omero.web.application_server=wsgi-tcp
omero.web.apps=["omero_figure", "omero_fpbioimage", "omero_weberror", "omero_iviewer"]
omero.web.login_logo=/home/omero/OMERO.server-5.3.3-ice36-b63/lib/python/omeroweb/webclient/static/webclient/image/logo_CIRB.jpg
omero.web.open_with=["omero_iviewer", "omero_iviewer_index", {"supported_objects": ["image"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}, ["omero_fpbioimage", "fpbioimage_index", {"supported_objects": ["image"], "script_url": "fpbioimage/openwith.js", "label": "FPBioimage"}]]
omero.web.prefix=/omero
omero.web.static_url=/omero/static/
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Figure", "figure_index", {"target": "_blank", "title": "Open Figure in new tab"}]]
omero.web.viewer.view=omero_iviewer.views.index

Only the figure script is displayed in the web page and for the open with I have an empty list.
Edit : For the menus open with is ok now. Only the problem with the logo image is still present.
Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Re: OMERO web error

Postby wmoore » Tue Aug 29, 2017 9:47 am

Hi Phillipe,

The login_logo expects a full url to an image, e.g. "https://www-legacy.openmicroscopy.org/site/logo.jpg" or in your case "<your-omero-server-url>/static/webclient/image/logo_CIRB.jpg".

Hope that helps,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: OMERO web error

Postby phm » Tue Aug 29, 2017 12:00 pm

wmoore wrote:Hi Phillipe,

The login_logo expects a full url to an image, e.g. "https://www-legacy.openmicroscopy.org/site/logo.jpg" or in your case "<your-omero-server-url>/static/webclient/image/logo_CIRB.jpg".

Hope that helps,

Will.

Hi Will,
This works if I put the image logo file in OMERO.py/lib/python/omeroweb/static/webclient/image/ instead of OMERO.server/lib/python/omeroweb/webclient/static/webclient/image/ in the version 5.20
Thanks
Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest