We're Hiring!

Installing omero server on Windows 7

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Installing omero server on Windows 7

Postby rasael » Tue Apr 23, 2013 3:05 pm

Hi everybody,

I've been having some troubles while installing omero on windows 7 and resulting in weird .cli errors.
This error is quite generic and by surfing the net you can find many different reasons for this errror.

My error happen on a fresh install of Omero + dependencies on Windows 7.

The forums helped me but not all information was exactly in a single post so here are some suggestions for new users:

Install software in the same order as the server installlation page BUT taking into account:

    Download ICE 3.4.2, NOT 3.5.x! You can find the download in the website under "Downloads > Previous Versions" or go http://www.zeroc.com/previous.html.
    If you have installed ICE 3.5, uninstall it, install 3.4.x, update ENV path and reboot computer.
    If you need to use ICE 3.5 for other purposes, you probably just need to add the path for 3.4.x to the ENV before ICE 3.5.)

    Phyton 3 is not supported, use latest Python 2.x version (Python26 ok for me)

    When downloading PyWin32 the download page on sourceforge is kind of a mess.
    The version you need is:
    pywin32-XXX.win32-pyA.B.exe (or the 64bit version)
    where XXX should be the latest release number and A and B stand for the python version,
    e.g. pywin32-218.win32-py2.6.exe

    Read the readme.txt (in the front page or in the files repository) to be sure of which file to download. http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/README.txt/download

    Don't use spaces in your folder names, use underscore instead!

    Don't mix 32bit (x86) and 64bit (amd64) packages, or all 32bit or all 64. Check out your JRE aswell!

    When setting the ENV variables, make sure you write in the correct paths!
    You must have entries for :
      phyton (the first PATH entry, eg "C:\Phyton26;%Sys...")
      ice/bin (the last PATH entry, eg. "...;C:\Ice-3.4.2\;")
      PYTHONPATH pointing to the python folder in the ICE installation (eg. "C:\Ice-3.4.2\python;")

    Remember that windows path separator is the semicolon ; and must be appended after every entry.

    Make sure the first inserted ENV PATH entry (the python path) finishes with a semicolon (eg. "C:\Python26;%SystemRoot%...") otherways you could corrupt other system applications.

    During installation of database, the generated SQL file is found in the folder where you called the "omero db script" command. This could be cause of permission denied error in the populate db step.

    in psql use the forward slashes, if you get a permission denied error is because the path is wrong, not the slahses.

    The diagnostic tool will say that psql is not found. This should not be a problem but you can fix it by adding its bin folder to the path. eg. C:\Program Files (x86)\PostgreSQL\9.2\bin . Remember to reboot after changin the ENV.

rasael
 
Posts: 1
Joined: Tue Apr 23, 2013 12:57 pm

Re: Installing omero server on Windows 7

Postby jmoore » Wed Apr 24, 2013 7:07 am

Thanks for these suggestions! I've filed a ticket and CC'd you. Unfortunately, the 4.4.7 release is essentially finished, but we'll work to get these in as soon as possible.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest