I have a problem with omero web after upgrading Omero from 5.4.1 to 5.4.5. The home page didn't show the images or icons. I notice that in my old nginx conf the static location is :
- Code: Select all
# weblitz django apps serve media from here
location /omero/static {
alias /home/omero/OMERO.server/lib/python/omeroweb/static;
}
However in the 5.4.5 version there is no static folder
- Code: Select all
ls -l OMERO.server-5.4.5-ice36-b83/lib/python/omeroweb/
total 208
drwxr-xr-x 2 omero omero 4096 29 mars 18:23 api
-rw-r--r-- 1 omero omero 7899 27 mars 11:11 connector.py
-rw-r--r-- 1 omero omero 8665 29 mars 16:41 connector.pyc
-rw-r--r-- 1 omero omero 278 27 mars 11:11 custom_context_processor.py
-rw-r--r-- 1 omero omero 3354 27 mars 11:11 custom_forms.py
-rw-r--r-- 1 omero omero 22728 27 mars 11:11 decorators.py
drwxr-xr-x 5 omero omero 4096 29 mars 18:23 feedback
-rw-r--r-- 1 omero omero 8848 27 mars 11:11 filesessionstore.py
-rw-r--r-- 1 omero omero 1413 27 mars 11:11 http.py
-rw-r--r-- 1 omero omero 0 27 mars 11:11 __init__.py
-rw-r--r-- 1 omero omero 143 29 mars 16:41 __init__.pyc
drwxr-xr-x 2 omero omero 4096 29 mars 18:23 license
-rw-r--r-- 1 omero omero 1939 27 mars 11:11 manage.py
-rw-r--r-- 1 omero omero 47523 27 mars 11:11 settings.py
-rw-r--r-- 1 omero omero 35622 29 mars 16:41 settings.pyc
drwxr-xr-x 2 omero omero 4096 29 mars 18:23 testlib
-rw-r--r-- 1 omero omero 3485 27 mars 11:11 urls.py
-rw-r--r-- 1 omero omero 1562 27 mars 11:11 utils.py
-rw-r--r-- 1 omero omero 1514 29 mars 16:41 utils.pyc
drwxr-xr-x 5 omero omero 4096 29 mars 18:23 webadmin
drwxr-xr-x 6 omero omero 4096 29 mars 18:23 webclient
drwxr-xr-x 5 omero omero 4096 29 mars 18:23 webgateway
drwxr-xr-x 2 omero omero 4096 29 mars 18:23 webredirect
-rw-r--r-- 1 omero omero 1739 27 mars 11:11 wsgi.py
In the older version 5.4.1 the staic folder exists
- Code: Select all
ls -l OMERO.server-5.4.1-ice36-b75/lib/python/omeroweb/
total 220
drwxr-xr-x 2 omero omero 4096 11 déc. 17:34 api
-rw-r--r-- 1 omero omero 7899 22 nov. 20:38 connector.py
-rw-r--r-- 1 omero omero 8665 7 déc. 03:43 connector.pyc
-rw-r--r-- 1 omero omero 278 22 nov. 20:38 custom_context_processor.py
-rw-r--r-- 1 omero omero 3354 22 nov. 20:38 custom_forms.py
-rw-r--r-- 1 omero omero 22728 22 nov. 20:38 decorators.py
drwxr-xr-x 5 omero omero 4096 11 déc. 17:34 feedback
-rw-r--r-- 1 omero omero 8848 22 nov. 20:38 filesessionstore.py
-rw-r--r-- 1 omero omero 7414 11 déc. 17:34 filesessionstore.pyc
-rw-r--r-- 1 omero omero 1413 22 nov. 20:38 http.py
-rw-r--r-- 1 omero omero 0 22 nov. 20:38 __init__.py
-rw-r--r-- 1 omero omero 143 7 déc. 03:43 __init__.pyc
drwxr-xr-x 2 omero omero 4096 22 nov. 20:38 license
-rw-r--r-- 1 omero omero 1939 22 nov. 20:38 manage.py
-rw-r--r-- 1 omero omero 47526 22 nov. 20:38 settings.py
-rw-r--r-- 1 omero omero 35622 7 déc. 03:43 settings.pyc
drwxrwxr-x 10 omero omero 4096 11 déc. 17:34 static
drwxr-xr-x 2 omero omero 4096 22 nov. 20:38 testlib
-rw-r--r-- 1 omero omero 3485 22 nov. 20:38 urls.py
-rw-r--r-- 1 omero omero 1562 22 nov. 20:38 utils.py
-rw-r--r-- 1 omero omero 1514 7 déc. 03:43 utils.pyc
drwxr-xr-x 5 omero omero 4096 11 déc. 17:34 webadmin
drwxr-xr-x 6 omero omero 4096 11 déc. 17:34 webclient
drwxr-xr-x 5 omero omero 4096 11 déc. 17:34 webgateway
drwxr-xr-x 2 omero omero 4096 11 déc. 17:34 webredirect
-rw-r--r-- 1 omero omero 1739 22 nov. 20:38 wsgi.py
How to "generate" the static folder or shuold I just copy the old folder to the new version.
Philippe