Announcement

Collapse
No announcement yet.

How to upgrade in Linux using tar.gz instead of installer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to upgrade in Linux using tar.gz instead of installer

    Hello,

    How do you upgrade Mirth Connect in a Linux environment (Ubuntu 18.04) when initial install is from tar.gz and not via installer? Do you just:

    1. Stop service.
    2. Overwrite the old files.
    3. Start service.

    ?

    The Upgrade Guide discusses how the installer detects a previous install but we don't use the installer.

    Thanks!

  • #2
    The tar.gz will not merge your configuration files on the file system. e.g. files in Mirth Connect/conf.

    Your current Mirth instance has also written to Mirth Connect/appdata.

    Those are the two directories I consider when extracting the tar.gz to a new directory and then merging as needed. mirth.properties can change its default over time, so overwriting the installed version with your current version may miss some new item you may want to consider.

    Once merged however, the DB store should be fine and be upgraded as needed.
    Mirth 3.8.0 / PostgreSQL 11 / Ubuntu 18.04
    Diridium Technologies, Inc.
    https://diridium.com

    Comment


    • #3
      I agree that that the conf and appdata folder are primarily what you would like to preserve. You also want to preserve custom-lib or any other folders where you have dropped custom JARs in.

      I would suggest instead of "overwriting the old files", you install fresh from the tar.gz, and then copy over conf, appdata, etc. into the fresh installation. This will prevent having any old versions of libraries or other unneeded files remaining.

      Comment


      • #4
        @peterl Copying is not a great idea. There are new items that occur in config files that might be missed. Merging better.
        Last edited by pacmano; 11-22-2019, 10:43 AM.
        Mirth 3.8.0 / PostgreSQL 11 / Ubuntu 18.04
        Diridium Technologies, Inc.
        https://diridium.com

        Comment


        • #5
          Good call, pacmano. You're definitely correct about merging the config files.

          Comment

          Working...
          X