We're Hiring!

omero cant find css files

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.

omero cant find css files

Postby saleht » Tue Jan 09, 2018 12:48 pm

Hi guys,

my test server has a wired Beauvoir after coming back from my vacation, my Omero test server cant find css files, see the image
nginx error log showed :
Code: Select all
2018/01/09 13:37:11 [error] 6596#0: *14977 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webgateway/css/reset.css" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webgateway/css/reset.css?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14978 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webgateway/css/ome.body.css" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webgateway/css/ome.body.css?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14979 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webclient/css/dusty.css" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webclient/css/dusty.css?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14980 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webclient/css/layout.css" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webclient/css/layout.css?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14981 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webgateway/css/ome.login.css" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webgateway/css/ome.login.css?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14982 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/3rdparty/jquery-1.11.1.js" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/3rdparty/jquery-1.11.1.js HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14977 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webgateway/js/ome.csrf.js" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webgateway/js/ome.csrf.js?_5.4.1-ice36-b75 HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14978 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webclient/javascript/jquery.infieldlabel-0.1.js" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webclient/javascript/jquery.infieldlabel-0.1.js HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14978 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webclient/image/custom_login_logo.png" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webclient/image/custom_login_logo.png HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14978 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webclient/image/logo_login_web.png" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webclient/image/logo_login_web.png HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"
2018/01/09 13:37:11 [error] 6596#0: *14977 open() "/home/omero/OMERO.py/lib/python/omeroweb/static/webgateway/img/OME_logo_grey_110.png" failed (2: No such file or directory), client: 134.99.190.4, server: localhost, request: "GET /static/webgateway/img/OME_logo_grey_110.png HTTP/1.1", host: "134.99.190.12", referrer: "http://134.99.190.12/webclient/login/?url=%2Fwebclient%2F"



i believe, my server use /home/omero/OMERO.server/lib/python/omeroweb
and not /home/omero/OMERO.py/lib/python/omeroweb

cheers Saleh
Attachments
Screenshot13-38-05.png
Screenshot13-38-05.png (65.63 KiB) Viewed 1551 times
Last edited by saleht on Tue Jan 09, 2018 1:23 pm, edited 1 time in total.
saleht
 
Posts: 96
Joined: Wed Nov 16, 2016 1:06 pm

Re: omero cant find css files

Postby saleht » Tue Jan 09, 2018 1:22 pm

Hi guys,
i found the issue, i fixed it by changing two lines in the file
/etc/nignx/conf.f/omeroweb.conf

old
root /home/omero/OMERO.py/etc/templates/error;
alias /home/omero/OMERO.py/lib/python/omeroweb/static;



new
root /home/omero/OMERO.server/etc/templates/error;
alias /home/omero/OMERO.server/lib/python/omeroweb/static;


maybe i played before my vacation and forget it :D

anyway thx ;)
cheers,Saleh
saleht
 
Posts: 96
Joined: Wed Nov 16, 2016 1:06 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest