- Code: Select all
bin/omero admin diagnostics
bin/omero admin diagnostics
DEBUG:omeroweb.settings:Attempting to import additional app settings for app: tagsearch
DEBUG:omeroweb.settings:Couldn't import settings from app: tagsearch
export PYTHONPATH=$PYTHONPATH:/path/to/webtagging:$PYTHONAPTH
bin/omero config append omero.web.apps '"tagsearch"'
bin/omero config append omero.web.ui.top_links '["Tag Search", "tagsearch"]'
The Django version seem to be 1.6 but, I do remember upgrading to 1.8, anyway, I have upgraded the django version and now I don't see any exception when starting the omero web but, OMERO is not accessible via web. I can see the nginx welcome message, no redirection (adding /webclient/login - gives 404).
ps aux | grep django.pid
omero 4441 0.0 0.0 217632 11572 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
omero 4446 0.0 0.4 315048 68868 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
omero 4447 0.0 0.4 315060 68872 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
omero 4450 0.0 0.4 315068 68876 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
omero 4453 0.0 0.4 315080 68888 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
omero 4458 0.0 0.4 315088 68888 ? S 13:00 0:00 /usr/bin/python /bin/gunicorn -D -p /home/omero/OMERO.server-5.2.0-ice35-b12/var/django.pid --bind 127.0.0.1:4080 --workers 5 --worker-connections 1000 --max-requests 0 omeroweb.wsgi:application
root 5269 0.0 0.0 112644 964 pts/1 S+ 13:43 0:00 grep --color=auto django.pid
upstream omeroweb {
server 127.0.0.1:4080 fail_timeout=0;
}
server {
listen 80;
server_name $hostname;
sendfile on;
client_max_body_size 0;
# maintenance page serve from here
location @maintenance {
root /home/omero/OMERO.server-5.2.0-ice35-b12/etc/templates/error;
try_files $uri /maintainance.html =502;
}
# weblitz django apps serve media from here
location /static {
alias /home/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omeroweb/static;
}
location @proxy_to_app {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://omeroweb;
}
location / {
error_page 502 @maintenance;
# checks for static file, if not found proxy to app
try_files $uri @proxy_to_app;
}
}
2016/02/05 13:23:31 [error] 4740#0: *5 "/usr/share/nginx/html/webclient/login/index.html" is not found (2: No such file or directory), client: 10.0.1.188, server: localhost, request: "GET /webclient/login/ HTTP/1.1", host: "10.0.0.9"
2016/02/05 13:28:17 [error] 5026#0: *1 "/usr/share/nginx/html/webclient/login/index.html" is not found (2: No such file or directory), client: 10.0.1.188, server: localhost, request: "GET /webclient/login/ HTTP/1.1", host: "10.0.0.9"
ldapsearch -x -LLL -H ldaps://server.domain:port -b "ou=example,o=org" -s sub "(cn=johnsmith)"
ldapsearch -x -LLL -H ldaps://server.domain:port -D "cn=ldapomero,ou=example,o=org" -W -b "ou=example,o=org" -s sub "(cn=johnsmith)"
echo -n | openssl s_client -connect serverdomain:port | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/examplecert.crt
openssl x509 -in /tmp/examplecert.cer -outform PEM -out /tmp/examplecert.pem
env LDAPTLS_CACERT=examplecert.pem ldapsearch...
$ bin/omero ldap active
Previous session expired for ola on localhost:4064
Server: [localhost:4064]
Username: [root]
Password:
Created session 99e6d321-7116-4621-aff4-d67d4ccf510f (root@localhost:4064). Idle timeout: 60 min. Current group: system
Yes
bin/omero ldap discover
Users browsing this forum: No registered users and 1 guest