Page 2 of 3

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 10:55 am
by remi_fr
A quick thought :

I copied the files to the from server sources to the webclient folder, the images displayed fine after that... and I didn't get any other 404 error, or so it seemed, even for the css that are linked. Is there any chance that the css links are simply not there for some unknown reason ? Otherwise I can login fine with my account, but without the css files omero.web is impossible to use.

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 10:59 am
by atarkowska
Thank you for logs that is much more helpful

Code: Select all
2015/07/27 12:40:05 [error] 436#0: *142 open() "/usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static/webclient/image/logo_login_web.png" failed (2: No such file or directory), client: 127.0.0.1, server: brs456-025.medecine.univ-paris5.fr, request: "GET /static/webclient/image/logo_login_web.png HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/webclient/login/?url=%2Fwebclient%2F"


could you please send me an output of the following:
Code: Select all
ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static
ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static/webclient/image/logo_login_web.png
ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/webclient/static/webclient/image/logo_login_web.png


Ola

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 11:04 am
by atarkowska
remi_fr wrote:A quick thought :

I copied the files to the from server sources to the webclient folder, the images displayed fine after that... and I didn't get any other 404 error, or so it seemed, even for the css that are linked. Is there any chance that the css links are simply not there for some unknown reason ? Otherwise I can login fine with my account, but without the css files omero.web is impossible to use.


You shouldn't have to copy anything by hand. Statics are copied on startup if that failed for unknown reason you can run
Code: Select all
bin/omero web syncmedia
.

Ola

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 12:28 pm
by remi_fr
Here you go :)

Code: Select all
remi$ ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static
total 1752
drwxr-xr-x   9 remi  admin     306 27 jul 14:25 .
drwxr-xr-x  31 remi  admin    1054 27 jul 12:38 ..
drwxr-xr-x  23 remi  admin     782 27 jul 12:38 3rdparty
drwxr-xr-x   3 remi  admin     102 27 jul 12:38 feedback
-rw-r--r--   1 remi  admin   40699 27 jul 14:25 omeroweb.viewer.min.css
-rw-r--r--   1 remi  admin  851993 27 jul 14:25 omeroweb.viewer.min.js
drwxr-xr-x   5 remi  admin     170 27 jul 12:38 webadmin
drwxr-xr-x   5 remi  admin     170 27 jul 12:38 webgateway
drwxr-xr-x   3 remi  admin     102 27 jul 12:38 webstart


Code: Select all
ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static/webclient/image/logo_login_web.png
ls: /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static/webclient/image/logo_login_web.png: No such file or directory


Code: Select all
remi$ ls -al /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/webclient/static/webclient/image/logo_login_web.png
ls: /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/webclient/static/webclient/image/logo_login_web.png: No such file or directory


;)

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 12:48 pm
by atarkowska
that means you have no permissions to access these files, so your web server. You have to change permissions on the entire static folder /usr/local/Cellar/omero/5.1.2/lib/python/omeroweb/static recursively.

If logo is present in your webbwroser it means either is loaded from cache or alternative location.

remi_fr wrote:I copied the files to the from server sources to the webclient folder, the images displayed fine after that... and I didn't get any other 404 error, or so it seemed, even for the css that are linked. Is there any chance that the css links are simply not there for some unknown reason ? Otherwise I can login fine with my account, but without the css files omero.web is impossible to use.


I am not sure what you mean exactly. How your copy command looked exactly?


Ola

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Mon Jul 27, 2015 6:46 pm
by remi_fr
well I copied it with the finder :) I'll try to change the permissions tomorrow on the whole folder and let you know how it went.

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Tue Jul 28, 2015 1:47 pm
by remi_fr
I changed all permissions in the static folder but it doesn't work, I'm starting to think that the css are simply not linked... (I don't see any 404 errors displayed) how about css in another folder ie "not_static" ?
Also when I start and stop the server the permissions look like that again :
Code: Select all
drwxrwxrwx  11 remi  admin     374 28 jul 15:44 .
drwxr-xr-x  31 remi  admin    1054 27 jul 12:38 ..
-rwxrwxrwx@  1 remi  admin    8196 27 jul 15:48 .DS_Store
drwxrwxrwx  23 remi  admin     782 27 jul 12:38 3rdparty
drwxrwxrwx   3 remi  admin     102 27 jul 12:38 feedback
-rw-r--r--   1 remi  admin   40699 28 jul 15:44 omeroweb.viewer.min.css
-rw-r--r--   1 remi  admin  851993 28 jul 15:44 omeroweb.viewer.min.js
drwxrwxrwx   5 remi  admin     170 27 jul 12:38 webadmin
drwxrwxrwx@  7 remi  admin     238 27 jul 15:48 webclient
drwxrwxrwx   5 remi  admin     170 27 jul 12:38 webgateway
drwxrwxrwx   3 remi  admin     102 27 jul 12:38 webstart

the server seems to reset the permission of the 2css & js files there...

I don't really know what to do next :)

Thanks.
Remi

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Tue Jul 28, 2015 8:49 pm
by atarkowska
Hi Remi,

remi_fr wrote:I changed all permissions in the static folder but it doesn't work, I'm starting to think that the css are simply not linked... (I don't see any 404 errors displayed) how about css in another folder ie "not_static" ?



I am a bit confused with all the manual coping. What exactly doesn't work if you do not see 404? What is the current status of OMERO.web login page? Can you log in and access the data?

After cleaning up web browser cache, if you access the login page, do you still see errors in nginx error.log?

What diagnostic says? Are there any errors in the OMEROweb.log?

Do you have any other OMERO run on the same server?

Ola

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Wed Aug 05, 2015 7:30 am
by remi_fr
Hi Ola,

I just came back from holidays. Yes I have access to the database everything works fins except the css are not loaded... I will check for the other questions today and let you know.

Re: Omero 5.1.2 ice35 "No processor available"

PostPosted: Fri Sep 04, 2015 8:08 pm
by remi_fr
Dear all,

I got news, I have reinstalled everything wit the new version of Omero... I still got the same problem with the css that are not loaded. I tried to see wether the files were accessible and they are, it seems they are not loaded not the page... I'd like to know what are the css and js file that have to be loaded to in the login page.

I can get into Omero.web and see my files but without the css or/and js files loaded apparently ... this is not browser dependent.

I don't think it is a permission problem either...

So I'm quite lost...

I'm going to try to see wether there differences in the so urge code between the online demo version (I think there is ??) and my local version and see how it goes.

Have good week end all.

Bye RĂ©mi