molgenis
10.0
10.0
  • Introduction
    • What is MOLGENIS
    • Try out MOLGENIS
    • Quick start (docker)
  • Find, view, query
    • Using the navigator
    • Using the search-all
    • Using the dataexplorer
    • Setup authentication
  • Data management
    • EMX format
    • Using expressions in EMX
    • Quickly import data
    • Advanced data import
    • Modify metadata
    • Questionnaires
    • Downloading data
    • MagmaScript expressions (mapping service)
    • Pseudonymisation
  • Access control
    • Users
    • Groups and roles
    • Finegrained permissions
    • Set permissions on row level (RLS)
  • Data processing
    • Scripts
    • R
    • Schedule jobs
  • Configuration
    • Settings
    • Customize MOLGENIS
    • Localization
    • Apps in MOLGENIS
    • Creating themes
    • Migration
    • Auditing
  • Interoperability
    • Swagger specification
    • Data API
    • Metadata API
    • REST api v1
    • REST api v2
    • Files api
    • Import api
    • Permission api
    • Python-api client
    • R-api client
    • Beacon api
    • FAIR api
    • RSQL operators
  • For developers
    • Developing MOLGENIS
    • Developing frontend in MOLGENIS
    • Developing Apps in MOLGENIS
    • Using an IDE (Intellij)
    • Technologies
    • Dynamic decorators
    • Running the integration tests
    • Jobs
    • Security
  • Deploy MOLGENIS
    • Using RPM
    • Technical Migration
Powered by GitBook
On this page
  1. Deploy MOLGENIS

Technical Migration

PreviousUsing RPM

Last updated 3 years ago

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 , 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):

cd /tmp/
pg_dump molgenis > molgenis.sql

Load you database using on the new server (as root-user):

Be sure you drop the database before you load the customer database.

cd /tmp/
psql molgenis < molgenis.sql

FileStore

Go to a terminal and tar you files into an archive (as root-user):

cd /home/molgens/
tar -pzcvf /tmp/molgenis.tar.gz /data

Restore the filestore on the new server (as root-user):

cd /home/molgenis
mv data data_backup
tar -pxvzf molgenis.tar.gz

Configuration

Go to a terminal and tar you files into an archive (as root-user):

cd /tmp/
cp /home/molgenis/molgenis-server.properties .

Restore the filestore on the new server (as root-user):

cd /tmp/
cp molgenis-server.properties /home/molgenis/ .

You need to add additional properties to make the deployment work with MOLGENIS 8.0.x

MINIO_ACCESS_KEY=molgenis
MINIO_SECRET_KEY=molgenis
Minio
PostgreSQL