Browse Source

n/omero-server: Upgraded to omero-server-5.4.0.

slackware-14.2
Damien Goutte-Gattat 3 years ago
parent
commit
13c87e90ab
5 changed files with 9 additions and 24 deletions
  1. +0
    -1
      n/omero-server/OMERO.server-5.3.4-ice36-b69.zip.sha256
  2. +1
    -0
      n/omero-server/OMERO.server-5.4.0-ice36-b74.zip.sha256
  3. +3
    -18
      n/omero-server/README
  4. +3
    -3
      n/omero-server/omero-server.SlackBuild
  5. +2
    -2
      n/omero-server/rc.omero

+ 0
- 1
n/omero-server/OMERO.server-5.3.4-ice36-b69.zip.sha256 View File

@ -1 +0,0 @@
3fb896a7bf1727d0925f197e629a28564690af15f0b5a72e92f27e6cc64cc606 OMERO.server-5.3.4-ice36-b69.zip

+ 1
- 0
n/omero-server/OMERO.server-5.4.0-ice36-b74.zip.sha256 View File

@ -0,0 +1 @@
ab12d5b9e6be1a0fdfbd273398b85cd6a92d271e6e94bd9902b053b73a86ebe4 OMERO.server-5.4.0-ice36-b74.zip

+ 3
- 18
n/omero-server/README View File

@ -1,4 +1,4 @@
PACKAGER'S README FOR OMERO-5.3.4
PACKAGER'S README FOR OMERO-5.4.0
Damien Goutte-Gattat <dgouttegattat@incenp.org>
@ -140,7 +140,7 @@
http://www.openmicroscopy.org/site/support/omero5/sysadmins/server-upgrade.html
To upgrade OMERO 5.2.x to OMERO-5.3.0:
To upgrade OMERO 5.3.5 to OMERO-5.4.0:
- stop OMERO if it is running;
@ -151,23 +151,8 @@
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO5.3__0/OMERO5.2__0.sql
$ psql -h localhost -U omero omero < sql/psql/OMERO5.4__0/OMERO5.3__1.sql
- start the upgraded server:
# /etc/rc.d/rc.omero start
To upgrade OMERO 5.3.x to OMERO 5.3.4:
- stop OMERO if it is running;
- backup the SQL database;
- upgrade the package;
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO5.3__1/OMERO5.3__0.sql
- start the upgraded server.

+ 3
- 3
n/omero-server/omero-server.SlackBuild View File

@ -28,8 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-OMERO.server}
VERSION=${VERSION:-5.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b69.zip}
VERSION=${VERSION:-5.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b74.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
# Build infos
@ -68,7 +68,7 @@ sha256sum -c $ARCHIVE.sha256
mkdir -p $PKG/opt
cd $PKG/opt
unzip $CWD/$ARCHIVE
mv OMERO.server-$VERSION-ice36-b69 omero
mv OMERO.server-$VERSION-ice36-b74 omero
rm omero/bin/*.bat omero/etc/env.bat
# Install launch scripts


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

@ -45,8 +45,8 @@ init)
createdb $PGOPTS -E UTF8 -l en_US.UTF-8 -T template0 -O $DB_USER $DB_NAME
createlang $PGOPTS plpgsql $DB_NAME
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.3__1.sql
rm -rf /var/lib/omero/OMERO5.3__1.sql
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.4__0.sql
rm -rf /var/lib/omero/OMERO5.4__0.sql
fi
;;


Loading…
Cancel
Save