Remote Client Installation
Posted: Wed Aug 15, 2018 3:51 pm
Hello everyone,
At work, we are running Omero for a couple of month now, and it was time for us to think about continuous integration.
Omero is available on docker (https://hub.docker.com/r/openmicroscopy/omero-server/), so we installed it. I also installed another Omero Cli container to connect to the server container where I downloaded our internal code as well. Both are using the latest 5.4.7 Omero version.
I can use the omero command line from the omero-server container.
On the client side, I use Ubuntu 18. I have installed Omero Server as described https://docs.openmicroscopy.org/omero/5.4.3/sysadmins/unix/server-ubuntu-ice36.html (with very minor changes due to the OS version difference).
I have both containers running on the same docker network.
When I test the remote CLI (from the ubuntu container), I get an SSL error:
I think it could make sense since I have not registered any certificate. But, I don't know how to fix this and I don't think I have any log to troubleshoot. I have read this page https://docs.openmicroscopy.org/omero/5.4.7/users/cli/installation.html, but there is nothing about SSL... I would appreciate any hint, guidance or documentation regarding fixing that issue.
Thank you for your time,
Etienne
Ubuntu installation script:
At work, we are running Omero for a couple of month now, and it was time for us to think about continuous integration.
Omero is available on docker (https://hub.docker.com/r/openmicroscopy/omero-server/), so we installed it. I also installed another Omero Cli container to connect to the server container where I downloaded our internal code as well. Both are using the latest 5.4.7 Omero version.
I can use the omero command line from the omero-server container.
On the client side, I use Ubuntu 18. I have installed Omero Server as described https://docs.openmicroscopy.org/omero/5.4.3/sysadmins/unix/server-ubuntu-ice36.html (with very minor changes due to the OS version difference).
I have both containers running on the same docker network.
When I test the remote CLI (from the ubuntu container), I get an SSL error:
- Code: Select all
$ /opt/omero/OMERO.server/bin/omero group add -s omero-server -u root -w omero-root-password --type read-write test
WARNING:omero.client:..Ignoring error in client.__del__:<class 'Ice.ProtocolException'>
InternalException: Failed to connect: exception ::Ice::ProtocolException
{
reason = SSL error occurred for new outgoing connection:
remote address = 172.18.0.3:4064
no ciphers available
}
I think it could make sense since I have not registered any certificate. But, I don't know how to fix this and I don't think I have any log to troubleshoot. I have read this page https://docs.openmicroscopy.org/omero/5.4.7/users/cli/installation.html, but there is nothing about SSL... I would appreciate any hint, guidance or documentation regarding fixing that issue.
Thank you for your time,
Etienne
Ubuntu installation script:
- Code: Select all
#!/bin/bash
set -x
OMERO_OPT_DIR=/opt/omero
apt-get update
# installed for convenience
apt-get -y install unzip wget bc
# install Java
apt-get -y install software-properties-common
add-apt-repository -y ppa:openjdk-r/ppa
apt-get update
apt-get -y install openjdk-8-jre
# install dependencies
apt-get update
apt-get -y install \
unzip \
wget \
python-{pip,tables,virtualenv,yaml,jinja2}
# Omero Core
apt-get -y install zlib1g-dev
apt-get -y install python-{pillow,numpy}
# Install Ice
export DEBIAN_FRONTEND=noninteractive
apt-get -y install db5.3-util
apt-get -y install libssl-dev libbz2-dev libmcpp-dev libdb++-dev libdb-dev
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5E6DA83306132997
apt-add-repository "deb http://zeroc.com/download/apt/ubuntu`lsb_release -rs` stable main"
apt-get update
apt-get -y install zeroc-ice-all-runtime zeroc-ice-all-dev
pip install "zeroc-ice>3.5,<3.7"
# install Postgres
apt-get -y install apt-transport-https
add-apt-repository -y "deb https://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main 9.6"
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt-get update
apt-get -y install postgresql-9.6
mkdir -p "$OMERO_OPT_DIR"
cd $OMERO_OPT_DIR
SERVER=https://downloads.openmicroscopy.org/latest/omero5/server-ice36.zip
wget $SERVER -O OMERO.server-ice36.zip
unzip -q OMERO.server*
ln -s OMERO.server-*/ OMERO.server