How to fix an empty database on startup (reported on Linux)

Highlighted
Employee

How to fix an empty database on startup (reported on Linux)

On Linux the database may be incomplete when you start the software for the first time. Symptom: everything empty in the Studio.
This is due to the mdm.conf file that is not found by the MDM server. Workaround:
- stop jboss
- cd to your jboss home
- mdm.conf is located in bin/:
- strip off the ^M chars (ex: dos2unix bin/mdm.conf)
- copy bin/mdm.conf into jboss home (cp bin/mdm.conf .)
To make sure the database is reinitialized, you can delete everything under server/default/deploy/exist-1.4.0-rev10440.war/WEB-INF/data (except .DO_NOT_DELETE, obviously).
Then start run.sh in jboss home again.
On startup, the eXist database will restore the default files in /data, then MDM will 1) bootstrap its metadata 2) load the default models & containers.

One Star

Re: How to fix an empty database on startup (reported on Linux)

The effective and useful information which you have shared here regarding the empty database on start-up that is amazing and for any beginner also much useful.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads