web stats
How to upgrade in Linux using tar.gz instead of installer - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2019, 06:50 PM
kahumbu kahumbu is offline
Mirth Newb
 
Join Date: Mar 2007
Posts: 6
kahumbu
Default 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!
Reply With Quote
  #2  
Old 11-11-2019, 11:08 AM
pacmano pacmano is offline
OBX.2 Kenobi
 
Join Date: Oct 2009
Location: Texas
Posts: 99
pacmano is on a distinguished road
Default

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
Reply With Quote
  #3  
Old 11-22-2019, 11:02 AM
peterl peterl is offline
Mirth Employee
 
Join Date: Mar 2013
Posts: 11
peterl is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 11-22-2019, 11:04 AM
pacmano pacmano is offline
OBX.2 Kenobi
 
Join Date: Oct 2009
Location: Texas
Posts: 99
pacmano is on a distinguished road
Default

@peterl Copying is not a great idea. There are new items that occur in config files that might be missed. Merging better.
__________________
Mirth 3.8.0 / PostgreSQL 11 / Ubuntu 18.04
Diridium Technologies, Inc.
https://diridium.com

Last edited by pacmano; 11-22-2019 at 11:43 AM.
Reply With Quote
  #5  
Old 12-04-2019, 02:58 PM
peterl peterl is offline
Mirth Employee
 
Join Date: Mar 2013
Posts: 11
peterl is on a distinguished road
Default

Good call, pacmano. You're definitely correct about merging the config files.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation