[ome-users] problems during OMERO.web install and configuration

Bernie Broughton b.broughton at sussex.ac.uk
Sun Jun 14 17:26:35 BST 2009


I've run into problems during OMERO.web install and configuration of a
second server.

The Omero clients run correctly and webadmin will run as localhost.

[omero at gdsc13 omeroweb]$ echo $PYTHONPATH
/home/omero/omero_dist/lib/python/
[omero at gdsc13 omeroweb]$ sudo -u apache
PYTHONPATH=/home/omero/omero_dist/lib/python/ python manage.py syncdb
Password:
Traceback (most recent call last):
  File "manage.py", line 41, in ?
    from django.core.management import execute_manager
ImportError: No module named django.core.management

django.core.management exists:

drwxr-xr-x 3 omero omero  4096 Jun 12 16:05 management

DATABASE_NAME has been set in settings.py:

DATABASE_NAME = '/home/omero/webdb/db.sqlite3'   # Or path to database
file if using sqlite3.

webdb and weblog exist:

drwxr-xr-x 2 apache apache      4096 Jun 12 17:19 webdb
drwxrwxr-x 2 apache apache      4096 Jun 12 17:17 weblog

and there is no db.sqlite3 in webdb

SELinux is disabled.

Is there something else missing from PYTHONPATH?

Bernie



More information about the ome-users mailing list