We're Hiring!

Remote Client Installation

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.

Re: Remote Client Installation

Postby jmoore » Fri Aug 17, 2018 4:19 pm

Whew. Thanks for letting me know, Etienne. I had gotten to the same point of a passing test in Ubuntu 16.04 but wasn't sure if I was just missing something. My changes are in https://gist.github.com/joshmoore/44143b063ef20e67960381428659de3c.

Have a good weekend.
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Remote Client Installation

Postby andersla » Wed Feb 13, 2019 4:26 pm

Did you solve this issue?
I get same error on Ubuntu 18.04. On my Ubuntu 16.04 it works fine!
andersla
 
Posts: 9
Joined: Wed Feb 13, 2019 8:18 am

Re: Remote Client Installation

Postby etienne.dumoulin » Wed Feb 13, 2019 4:47 pm

We are still using Ubuntu 16.04.
etienne.dumoulin
 
Posts: 22
Joined: Tue Aug 14, 2018 3:43 pm

Re: Remote Client Installation

Postby mtbc » Thu Feb 14, 2019 11:22 am

We are still largely back on Ubuntu 16.04 at OME too I'm afraid. We've started looking at 18.04 - we are going to have to support it, of course - but we have not yet figured a satisfactory installation walkthrough so we'll need a bit more time on this. Any clues that anybody else uncovers in the meantime, do mention here!

Regards,
Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland

Re: Remote Client Installation

Postby jburel » Thu Feb 14, 2019 3:48 pm

I am curious about the installation of Ice on Ubuntu 18.04, did you install Ice from source?
Ice 3.7 is the only supported version and OMERO currently does not run with Ice 3.7.

Cheers

Jmarie
User avatar
jburel
Team Member
 
Posts: 348
Joined: Thu May 21, 2009 6:38 pm
Location: dundee

Re: Remote Client Installation

Postby frankgu968 » Fri Feb 15, 2019 3:49 pm

Hi,

I was able to get OMERO.server 5.4.10 working on Ubuntu 18.04 by compiling Ice3.6.4 from source; "working" being defined as able to start up all the components with "bin/omero admin start" with no errors being reported in the logs.
The trick was to build the Berkeley DB v18.1.25 (their current release) before compilation of Ice3.6.4 and install php7.0 (instead of the default php7.2); the default requested version of 5.3.28 could not be compiled. There are a few configuration hiccups that required to be ironed out. The main one is a missing macro that will fail Berkeley DB's compilation. Below is the script that I used to install the dependencies and all:

Code: Select all
#!/bin/bash
# Make sure you run this as root!

# Install dependencies
apt update
apt install -y dpkg-dev libssl-dev libmcpp-dev libbz2-dev libexpat-dev libdb++-dev libdb-dev openjdk-8-jre-headless openjdk-8-jdk \
       liblmdb-dev python-dev ruby ruby-dev software-properties-common mcpp python-pip virtualenv zlib1g-dev libmcpp-dev
add-apt-repository -y ppa:ondrej/php
apt update
apt-get install -y php7.0 . # php7.2 will cause compilation errors on ice
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
apt update
apt install -y nodejs

# Obtain BerekeleyDB and fix OpenSSL usage bug
wget https://fossies.org/linux/misc/db-18.1.25.tar.gz
tar xzvf db-18.1.25.tar.gz
cd db-18.1.25.tar.gz/
sed -i '2896i#if OPENSSL_VERSION_NUMBER < 0x10100000L' src/repmgr/repmgr_net.c
sed -i '2906i#endif' src/repmgr/repmgr_net.c
cd build_unix/
../dist/configure --enable-cxx --enable-java --prefix=/usr
make
make install

# Compile ice 3.6.4
git clone https://github.com/zeroc-ice/ice.git
cd ice/
git checkout v3.6.4
sed -e "s/-Werror//g" -i ./cpp/config/Make.rules.Linux # Suppress -Werror flag (this may have uninteded consequences!!)
make
make install

# Install OMERO dependencies
umask 022 # Make pip installs globally available
pip install tables virtualenv jinja2 pillow numpy
pip install "zeroc-ice>3.5,<3.7"

# FROM THIS POINT ONWARDS, FOLLOW THE INSTRUCTIONS FOR OMERO.SERVER 5.4.10 INSTALLATION STARTING FROM THE POSTGRES SECTION!!



Hope this helps!

Best,
Frank Gu
frankgu968
 
Posts: 16
Joined: Fri Nov 23, 2018 5:31 pm

Re: Remote Client Installation

Postby jburel » Mon Feb 18, 2019 9:04 am

Hi Frank

Thanks for the information
We were about to start working on preparing Ice 3.6 for Ubuntu 18.04.
That is very useful.
Is it okay if we integrate some of your steps in our documentation?

Thanks in advance

Jmarie
User avatar
jburel
Team Member
 
Posts: 348
Joined: Thu May 21, 2009 6:38 pm
Location: dundee

Re: Remote Client Installation

Postby frankgu968 » Tue Feb 19, 2019 6:02 pm

By all means! Hit me up if there's anything unclear :)

Frank Gu
frankgu968
 
Posts: 16
Joined: Fri Nov 23, 2018 5:31 pm

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: Google [Bot] and 1 guest