Skip to content
Contact Us

Installation

The MirthSync Plugin is an all-in-one extension that bundles Git, MirthSync CLI, and a graphical interface into a single JAR file. No separate installations required—just download, install, and start using version control.

Before installing the MirthSync Plugin:

  • Open-source Mirth Connect 4.x or Open Integration Engine (OIE) - The integration platform you want to version control
    • Recommended: Open Integration Engine (OIE) - the community-driven open-source fork
    • Legacy open-source Mirth Connect 4.x
    • Commercial Mirth Connect versions - compatibility not guaranteed
  • Admin access to Mirth Connect Administrator Console

Best for: Most users | Requirements: Admin Console access only

The easiest way to install the plugin—no server access required.

Download mirthsync-plugin.jar from the MirthSync Plugin page or GitHub releases.

  1. Launch Mirth Connect Administrator
  2. Navigate to Extensions:
    • Click SettingsExtensions (or ToolsExtensions depending on version)
  3. Install Plugin:
    • Click Install Extension button
    • Browse to the downloaded mirthsync-plugin.jar file
    • Click Open or Install

The Admin Console will prompt you to restart Mirth Connect:

  • Click Yes or Restart Now when prompted
  • Wait 30-60 seconds for Mirth Connect to restart
  • The Admin Console may disconnect—this is normal
  1. Reconnect to Admin Console (if disconnected)
  2. Look for MirthSync panel:
    • Check the left sidebar navigation
    • Look for “MirthSync” or a version control icon
  3. Verify in Extensions:
    • Settings → Extensions
    • MirthSync should appear in the installed extensions list

Set up your Git identity for commits:

  1. Open plugin settings

    • Click the Settings button (gear icon) in MirthSync panel
  2. Enter Git information

    • Name: Your full name (e.g., “John Smith”)
    • Email: Your email address (e.g., “john.smith@example.com”)
  3. Save settings

Or configure via command line:

Terminal window
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

Configure where MirthSync will store your Git repository:

  1. Default path:

    • Linux: /var/lib/mirthconnect/repository
    • Windows: C:\ProgramData\MirthConnect\repository
    • macOS: /Library/Application Support/MirthConnect/repository
  2. Change path (if needed):

    • Plugin Settings → Repository Path
    • Enter custom path
    • Ensure the path:
      • Exists or can be created
      • Is writable by Mirth Connect service user
      • Has sufficient disk space (at least 500MB recommended)

If using a remote Git repository:

For SSH:

Terminal window
# Generate SSH key on Mirth Connect server
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# Display public key
cat ~/.ssh/id_rsa.pub
# Add public key to GitHub/GitLab/Bitbucket:
# GitHub: Settings → SSH and GPG keys → New SSH key
# GitLab: Preferences → SSH Keys
# Bitbucket: Personal settings → SSH keys

For HTTPS:

  • Use personal access token instead of password
  • GitHub: Settings → Developer settings → Personal access tokens
  • Create token with repo scope
  • Use token as password when prompted

Symptoms:

  • MirthSync panel doesn’t appear after installation
  • No MirthSync option in navigation

Solutions:

  1. Verify plugin file location

    Terminal window
    ls -la /opt/mirthconnect/extensions/ | grep mirthsync
    # Should show: mirthsync-plugin.jar
  2. Fully restart Mirth Connect

    • Stop the service completely
    • Wait 10-15 seconds
    • Start the service
  3. Check logs for errors

    Terminal window
    grep -i "error.*mirthsync" /opt/mirthconnect/logs/mirth.log
  4. Verify Mirth Connect version

    • Requires Mirth Connect 4.x+ or OIE
    • Check: Help → About in Admin Console

”Permission denied” on repository operations

Section titled “”Permission denied” on repository operations”

Symptoms:

Error: Permission denied: /var/lib/mirthconnect/repository

Solutions:

Terminal window
# Check current permissions
ls -ld /var/lib/mirthconnect/repository
# Set correct ownership (Linux)
sudo chown -R mirthconnect:mirthconnect /var/lib/mirthconnect/repository
# Set correct permissions
sudo chmod -R 755 /var/lib/mirthconnect/repository