molgenis
Search…
Technical Migration
There are a few major changes in the migration from 7.x to 8.x.
  • The PostgreSQL version was 9.6 and is now 11.0.1
  • We're transitioning the filestore to Minio, but the old filestore is still in use.
There are a few services you need to migrate data from.
    • for 7.x PostgreSQL 9.6
    • for 8.x PostgreSQL 11.0.1

MOLGENIS home dir

The file store and server properties are located in the MOLGENIS home dir. The location of this directory is configured as follows:
  • molgenis.home runtime property if specified in the tomcat catalina options, otherwise
  • molgenis.home environment variable if specified, otherwise
  • .molgenis dir in the user's home dir

PostgreSQL

Go to a terminal and dump your database using (as root-user):
1
cd /tmp/
2
pg_dump molgenis > molgenis.sql
Copied!
Load you database using on the new server (as root-user):
Be sure you drop the database before you load the customer database.
1
cd /tmp/
2
psql molgenis < molgenis.sql
Copied!

FileStore

Go to a terminal and tar you files into an archive (as root-user):
1
cd /home/molgens/
2
tar -pzcvf /tmp/molgenis.tar.gz /data
Copied!
Restore the filestore on the new server (as root-user):
1
cd /home/molgenis
2
mv data data_backup
3
tar -pxvzf molgenis.tar.gz
Copied!

Configuration

Go to a terminal and tar you files into an archive (as root-user):
1
cd /tmp/
2
cp /home/molgenis/molgenis-server.properties .
Copied!
Restore the filestore on the new server (as root-user):
1
cd /tmp/
2
cp molgenis-server.properties /home/molgenis/ .
Copied!
You need to add additional properties to make the deployment work with MOLGENIS 8.0.x
1
MINIO_ACCESS_KEY=molgenis
2
MINIO_SECRET_KEY=molgenis
Copied!
Last modified 1yr ago