omero-documentation
omero-documentation copied to clipboard
Add ansible and docker install doc - former "install.rst"
As discussed with @joshmoore and @jburel , this moves the install.rst
doc from https://github.com/ome/omero-guides/pull/236 to this repo.
The discussion points with regards to the installation attempted on Mac (MacBookPro and M1) using Docker:
The attempted OS-es listed in https://docs.google.com/document/d/1z-bwbXKztHOZTLICP7x0kzstRJ_krYzMfid1JLR90UI/edit?usp=sharing - in summary:
- CentOS 7 (python 3.6) - success
- CentOS 7 (python 3.8) - crash on zeroice [1]. Edit: J-M. require scl Python. Not supported
- Ubuntu (18.04, ~20.04~, 22.04 (not supported yet in ansible role), python 3.8) - crash on zeroice [1]
See also the discussion on the previous PR:
- Regarding Ubuntu
- Regarding python 3.6
[1] - crash on zeroice (this example is CentOS 7 python 3.8, but as stated in the gdoc, similar crashes happen on Ubuntu too.
pip3 install --upgrade pip
pip install ansible
ansible --version
ansible [core 2.13.7]
python3 --version
Python 3.8.12
pip --version
pip 22.3.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
...
ansible-playbook --become --connection=local -i hosts.yml playbook.yml
....
TASK [ome.omero_server : omero server | install requirements] ******************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/opt/omero/server/venv3/bin/pip", "install", "omego==0.7.0", "https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.2.1/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl", "omero-py>=5.6.0", "omero-dropbox>=5.6.1", "jinja2", "omero-server[default]==0.1.0"], "msg": "\n:stderr: ERROR: zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.\nWARNING: You are using pip version 21.1.1; however, version 22.3.1 is available.\nYou should consider upgrading via the '/opt/omero/server/venv3/bin/python3 -m pip install --upgrade pip' command.\n"}