Ask the Community
Groups
How to upgrade the appliance via Unitrends' media (Air Gap / Offline updates) - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to upgrade the appliance via Unitrends' media (AirGap / Offline updates)</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p> </p> <p>The Unitrends system is unable to access the Unitrends software update repository, and therefore an offline update is required. The upgrade must be applied via local media (DVD, USB, or Samba share). This process is commonly used in Airgap environments.<br><br> </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p> </p> <p><strong>STEP 1:</strong> Verify that your RecoveryOS software is not on legacy processes such as DedupNT as per <a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fkaseya.vanillacommunities.com%2Fkb%2Farticles%2Faliases%2Funitrends%2Fhc%2Fen-us%2Farticles%2F360013149257" rel="noopener nofollow">KB 5587</a>. If the value is dedupNT=0 proceed to STEP2. Otherwise, contact Unitrends Technical Support.<br><br><strong>STEP 2: </strong>Download the upgrade script and the ISO files. The Upgrade script must be located in the path of /root/. It is recommended that you use the <strong>samba</strong> option and that the ISO is located in the path of /backups/samba/. If you choose to use the USB option, it is recommended to use an older USB2 flash thumb drive between 4GB and 16GB in size and insert it into the older (black, usually near keyboard) usb port.<br><br>The upgrade script will handle all procedures necessary to upgrade the system from one software release to the next. The procedures include; mounting the upgrade media, performing the upgrade, ejecting the upgrade media if applicable (e.g DVD media), and finally rebooting the system.<br><br></p> <ol><li>Download the correct disk ISO to upgrade to. </li> </ol><div><a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FCentOS7%2FROS1057U.el7.x86_64-100921_1112.iso" rel="noopener nofollow">Release 10.5.7 for CentOS7 upgradeDVD</a> <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FCentOS7%2FROS1057U.el7.x86_64-100921_1112.iso.md5" rel="noopener nofollow">(md5)</a> <br><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FCentOS6%2FROS10572U.el6.x86_64-100921_1954.iso" rel="noopener nofollow">Release 10.5.7 for CentOS6 upgradeDVD</a> <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FCentOS6%2FROS10572U.el6.x86_64-100921_1954.iso.md5" rel="noopener nofollow">(md5)</a> <br><br></div> <div> <p><a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fkaseya.vanillacommunities.com%2Fkb%2Farticles%2Faliases%2Funitrends%2Fhc%2Fen-us%2Farticles%2F4406570903185" rel="noopener nofollow">Need an older version, see: How can I find air gap update media for an older release?</a></p> </div> <ol start="2"><li>Download the <strong>upgradeRelease<em>.</em>sh</strong> script. The <strong>+</strong> sign indicates it is usable until the next script release. Right click and 'Save link as' to download the applicable script.</li> </ol><ul><li><a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FupgradeRelease_8.1%252B.sh" rel="noopener nofollow">upgradeRelease_8.1+.sh</a> is for systems between 8.1 and just before 9.1.</li> <li><a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Ffactoryupdate.s3.amazonaws.com%2FupgradeRelease_9.1%252B.sh" rel="noopener nofollow">upgradeRelease_9.1+.sh</a> is for systems 9.1 and newer.</li> </ul><ol start="3"><li>Save this script to a USB drive or accessible share. From your appliance, <strong>copy the script to the /root directory on your appliance</strong>. You can access your appliance through SSH using a console emulator such as PuTTY to run the commands from this KB. Enter the IP address of your appliance and connect via port 22 for SSH, login as "root" without the quotes and use the same password you use to shutdown or restart your appliance.</li> <li>Enter the following command to make the 9.1 script executable, to do this for the 8.1 script simply substitute the 8.1 file name: <pre class="code codeBlock" spellcheck="false" tabindex="0">chmod +x upgradeRelease_9.1+.sh</pre> </li> <li>Run the update script, the example below is for running this from the samba directory, if you are running it from a different location please see below for more details. <pre class="code codeBlock" spellcheck="false" tabindex="0">./upgradeRelease_9.1+.sh -samba</pre> </li> </ol><p> 6. If running the ./upgradeRelease script returns an error from the /backups/samba directory, move the script to /root ( mv upgradeRelease_9.1+.sh /root ) and run the script from within root. <br><br>Functionality, usage, and expected behavior of the update is explained in via the media process and update script:</p> <p>The upgradeRelease_8<em>.</em>1<em>.</em>sh script and upgradeRelease_9.1+.sh adds a -usb option and the script no longer has a default run option. Script requires one of three options to be passed:</p> <ol><li><code class="code codeInline" spellcheck="false" tabindex="0">-dvd (for older systems with internal optical reader)</code></li> <li><strong><code class="code codeInline" spellcheck="false" tabindex="0">-<span style="color: #c0392b;">samba</span> (recommended)</code></strong></li> <li><code class="code codeInline" spellcheck="false" tabindex="0">-usb</code></li> </ol><p>The option will dictate which update process the script will use. Expected behavior per media is as follows:</p> <h3 data-id="dvd">DVD</h3> <p>A DVD created from the ISO download must be used. The DVD may be created using traditional ISO-to-DVD burning methods, ensuring the ISO is extracted and the file/directory structure preserved. <strong>Please be advised that this method is not available when updating with </strong><strong>upgradeRelease_9.1+.sh</strong></p> <h3 data-id="samba">SAMBA</h3> <p>The single ISO file must be placed in the root level of the samba share, if other ISO files exist on samba share delete or move older files. To access the samba share of your appliance you can open Windows Explorer and navigate to the IP address of your Unitrends appliance, open the samba directory and copy the upgrade DVD to this location. The ISO file will then be mounted to the cdrecorder1 directory and the upgrade process will proceed. </p> <h3 data-id="usb">USB</h3> <p>The ISO image must be extracted to the USB device. Third party software such as ImageUSB may be used. Once the USB has been created successfully, the -usb flag will perform the auto detection of the USB and mount the USB device appropriately. The update operations will then be performed.</p> <p>Once the upgrade is complete, any mounted upgrade media will be unmounted from the system and a message regarding rebooting the system will appear. At this time the upgrade media can be removed and the system rebooted.</p> <h2 data-id="notes"><strong>NOTES</strong></h2> <p> </p> <p>All Procedures must be performed from the command line.</p> <p>The upgrade media cannot be used to image the Appliance.<br><br>-Summary Expectations-<br>-1- "upgradeRelease_x.x+.sh" must be installed & executable from "root" or a "<strong>Permission denied</strong>" may prevent you from updating.<br><br>-2.a- .ios is intended to be placed in following locations related the instructions you chose above.</p> <ol><li><code class="code codeInline" spellcheck="false" tabindex="0">-dvd</code></li> <li><code class="code codeInline" spellcheck="false" tabindex="0">-samba</code></li> <li><code class="code codeInline" spellcheck="false" tabindex="0">-usb</code></li> </ol><p>-2.b- ./upgradeRelease_x.x+.sh - (<em>location above</em>) command is ran from "root" is intended to run the update and will show <br><br>"<strong>Starting Update...</strong>" Time will very, but generally 15 min to 1 hour maybe expected to install the packages.<br><br>-3- Once completed you may be directed to reboot the appliance.<br>"<strong>Please reboot the system for the upgrade to take effect</strong>"</p> <p><br> </p> </article> </main>