Browse Source

n/omero: Upgraded to omero-5.0.0.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
331e06869f
6 changed files with 32 additions and 17 deletions
  1. +0
    -1
      n/omero/OMERO.server-4.4.9-ice34-b98.zip.sha1
  2. +1
    -0
      n/omero/OMERO.server-5.0.0-ice34-b19.zip.sha1
  3. +22
    -7
      n/omero/README
  4. +1
    -1
      n/omero/doinst.sh
  5. +6
    -6
      n/omero/omero.SlackBuild
  6. +2
    -2
      n/omero/rc.omero

+ 0
- 1
n/omero/OMERO.server-4.4.9-ice34-b98.zip.sha1 View File

@ -1 +0,0 @@
eeb50c2e47232d5227b6e9a6061d11b8fe9c5664 OMERO.server-4.4.9-ice34-b98.zip

+ 1
- 0
n/omero/OMERO.server-5.0.0-ice34-b19.zip.sha1 View File

@ -0,0 +1 @@
10ec049c08828e9ebe23682b01a85bcd0f3e845c OMERO.server-5.0.0-ice34-b19.zip

+ 22
- 7
n/omero/README View File

@ -1,4 +1,4 @@
PACKAGER'S README FOR OMERO-4.4.9
PACKAGER'S README FOR OMERO-5.0.0
Damien Goutte-Gattat <dgouttegattat@incenp.org>
@ -8,7 +8,7 @@
This file does not come from the OMERO project and the OMERO
developers don't endorse anything of it. Official documentation and
instructions for installing and running OMERO server should be looked
for at <http://www.openmicroscopy.org/site/support/omero4/sysadmins/>.
for at <http://www.openmicroscopy.org/site/support/omeror5/sysadmins/>.
2. SYSTEM USERS AND GROUPS
@ -63,14 +63,29 @@
The data repository is defined by the key `omero.data.dir' in the
main configuration file `/etc/omero/omero.properties'.
Note that OMERO 5.0.0 needs another directory, defined by the key
`omero.managed.dir'. In the default configuration file, this key
uses the value of the `omero.data.dir' key as follows:
omero.data.dir=/OMERO/
omero.managed.dir=${omero.data.dir}/ManagedRepository
but OMERO then complains that `omero.data.dir' is undefined, so you
should really specify a full path for `omero.managed.dir`, even if
the directory is located below `omero.data.dir`:
omero.data.dir=/OMERO/
omero.managed.dir=/OMERO/ManagedRepository
4. OMERO CONFIGURATION AND CONTROL
There are many parameters controlling OMERO's behavior, but most of
them may be left unmodified for the first run. The only parameters
that must be explicitly set before running OMERO are those defining
the data repository (`omero.data.dir') and the database backend
(`omero.db.*'), in `/etc/omero/omero.properties'.
the data repository (`omero.data.dir' and `omero.managed.dir') and
the database backend (`omero.db.*'), in
`/etc/omero/omero.properties'.
Starting and stoping OMERO is done with the `/etc/rc.d/rc.omero'
control script. Before starting OMERO the first time, run
@ -183,9 +198,9 @@
For general informations about upgrading OMERO, see:
http://www.openmicroscopy.org/site/support/omero4/server/upgrade
http://www.openmicroscopy.org/site/support/omero5/sysadmins/server-upgrade.html
To upgrade OMERO 4.3.x to OMERO-4.4.x:
To upgrade OMERO 4.4.x to OMERO-5.0.0:
- stop OMERO if it is running;
@ -196,7 +211,7 @@
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO4.4__0/OMERO4.3__0.sql
$ psql -h localhost -U omero omero < sql/psql/OMERO5.0__0/OMERO4.4__0.sql
- check config files in /etc/omero; remove old config file
/etc/omero/grid/default.xml and apply new settings:


+ 1
- 1
n/omero/doinst.sh View File

@ -10,7 +10,7 @@ config()
fi
}
for f in backup.cfg hibernate.properties ice.config internal.cfg ivysettings.xml log4j-indexing.xml log4j.xml master.cfg node1.cfg node2.cfg omero.properties rollover.cfg testdropbox.config grid/default.xml grid/templates.xml ; do
for f in backup.cfg hibernate.properties ice.config internal.cfg ivysettings.xml logback-cli.xml logback-indexing-cli.xml logback-indexing.xml logback.xml master.cfg node1.cfg node2.cfg omero.properties rollover.cfg testdropbox.config grid/default.xml grid/templates.xml ; do
config /etc/omero/$f.new
done


+ 6
- 6
n/omero/omero.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012,2013 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012,2013,2014 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,12 +25,12 @@
# Latest omero sourcecode is available at: <http://www.openmicroscopy.org/>.
#
# Depends: d/ice, ap/postgresql
# Optional: l/numpy, l/pytables
# Optional: l/pytables, l/scipy, l/matplotlib
# Source package infos
NAMESRC=${NAMESRC:-OMERO.server}
VERSION=${VERSION:-4.4.9}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice34-b98.zip}
VERSION=${VERSION:-5.0.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice34-b19.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
# Build infos
@ -69,7 +69,7 @@ sha1sum -c $ARCHIVE.sha1
mkdir -p $PKG/opt
cd $PKG/opt
unzip $CWD/$ARCHIVE
mv OMERO.server-$VERSION-ice34-b98 omero
mv OMERO.server-$VERSION-ice34-b19 omero
rm omero/bin/*.bat
# Install config files in /etc/omero
@ -79,7 +79,7 @@ ln -s /etc/omero $PKG/opt/omero/etc
(
cd $PKG/etc/omero
rm -rf Windows.cfg env.bat env.sh local.properties.example grid/windefault.xml nginx.conf.*
for f in backup.cfg hibernate.properties ice.config internal.cfg ivysettings.xml log4j-indexing.xml log4j.xml master.cfg node?.cfg omero.properties rollover.cfg testdropbox.config grid/*.xml ; do
for f in backup.cfg hibernate.properties ice.config internal.cfg ivysettings.xml logback* master.cfg node?.cfg omero.properties rollover.cfg testdropbox.config grid/*.xml ; do
mv $f $f.new
done
)


+ 2
- 2
n/omero/rc.omero View File

@ -45,8 +45,8 @@ init)
(
cd /opt/omero
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < OMERO4.4__0.sql
rm -rf OMERO4.4__0.sql
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < OMERO5.0__0.sql
rm -rf OMERO5.0__0.sql
)
fi
;;


Loading…
Cancel
Save