[ome-users] need help with the OMERO.web server part of the upgrade to OMERO 4.2.0 on a Linux box

Chris Allan callan at lifesci.dundee.ac.uk
Sat Aug 7 13:19:29 BST 2010


On 7 Aug 2010, at 01:51, Taylor, Ronald C wrote:

> 
> Hi Chris, everybody,

Hi Ron,

> 
> Well, I tried an upgrade to 4.2.0 on my Linux desktop. Thought I'd try Linux first, before upgrading on our Mac server. 
> 
> Things worked OK in terms of bringing up the basic server - I could install the
>  omero-Beta4.2.0.tar
> 
> file OK. Started the server up using
> omero admin start
> 
> and (very briefly) tried out today the new beta 4.2.0 clients 
>  OMEROinsight_unix.sh
> and
>  importer-gui
> 
> from the file
>  OMERO.clients-Beta4.2.0.linux.zip 
> 
> Those clients could find the new server and locate the image files that I had previously stored in OMERO.

Great.

> 
> Got one remaining problem - cannot bring up OMERO.web.
> 
> I followed the instructions on the upgrade page for creating new custom settings, and the new
>   custom_settings.py
> file appeared to get created properly in 
> 
>   /sid/Omero/Omero_install/omero_dist/var/lib/custom_settings.py
> 
> I did not do anything else for OMERO.web. I'm using Django, not Apache, and as I remembered things, nothing else was needed to bring up OMERO.web on the default Django server.
> 
> 
> %%%%%%%
> 
> So - I tried starting OMERO.web up like so:
> 
> 
> sidney161% omero admin ice
> 
> Ice 3.3.1  Copyright 2003-2009 ZeroC, Inc.
>>>> server enable Web
> error: couldn't find server `Web'
>>>> quit
> sidney162% 
> 
> As you can see, "Web" cannot be found
> 
> %%%%%%
> 
> Tried restarting OMERO (thought it might not have read the newly created custom_settings.py file) - that did not work:
> 
> sidney162% omero admin stop
> Waiting on shutdown. Use CTRL-C to exit
> .sidney163% 
> 
> 
> sidney163% omero admin start
> No descriptor given. Using etc/grid/default.xml
> Waiting on startup. Use CTRL-C to exit
> sidney164% 
> 
> sidney164% omero admin ice
> Ice 3.3.1  Copyright 2003-2009 ZeroC, Inc.
>>>> 
>>>> server enable Web
> error: couldn't find server `Web'
>>>> quit
> sidney165% 
> 
> %%%%%%%%%%%%%

All that is required now is:

bin/omero web start

This will start the Django standalone development server. There is no need to muck about with the IceGrid configuration via "server enable" or "server start", etc.

...snip...

> 
>  - Ron


-Chris


More information about the ome-users mailing list