You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Summary

As of October 15th, the installer for an ABI4 application does not allow to upgrade from ABI1 products. However, there are couple way to get around this.

Method 1

In short

After installing NMIS9, move aside the omk directory and install the new ABI4 application. Once the installation has finished rename the new omk/conf folder and copy over the old omk/conf folder. Convert the .nmis files in omk/conf/ directory into .json using the opcommon-cli tool. Edit the new omk/conf/opCommon.json file replacing any "nmis_dir" and "nmis8" entries for "nmis9_dir" and "nmis9". Lastly ensure the "load_applications" entry in this file shows only the ABI4 application previously installed and restart the omk daemon.

In detail

  1. Install NMIS9, should install without any issues
  2. Rename the omk directory
    mv /usr/local/omk /usr/local/omk-old
  3. Run the installer for the ABI4 application
  4. Rename the new omk/conf directory
    mv /usr/local/omk/conf /usr/local/omk/conf-original
  5. Copy the omk-old/conf directory into the new omk/
    cp -r /usr/local/omk-old/conf /usr/local/omk
  6. Convert the .nmis files in omk/conf/ directory into .json using the opcommon-cli tool
    /usr/local/omk/bin/opcommon-cli.exe act=convert_json_dir dir="/usr/local/omk/conf/"
  7. Change any "nmis_dir" and "nmis8" entires to "nmis9_dir" and "nmis9" in the omk/conf/opCommon.json file
  8. Change the "load_applications" entry in the opCommon.json file to only show the ABI4 application previously installed.
  9. Restart omkd
    systemctl restart omkd.service

Method 2

In short

After installing NMIS9 and before attempting to install the new ABI4 application, move aside the omk directory and create a new omk/conf empty directory. Now copy the opCommon.nmis from the relocated omk/conf directory and install the ABI4 application. Once the installation has finished, copy all other files in the old omk/conf into new one. Edit the new omk/conf/opCommon.json file replacing any "nmis_dir" and "nmis8" entries for "nmis9_dir" and "nmis9". Lastly ensure the "load_applications" entry in this file shows only the ABI4 application previously installed and restart the omk daemon.

In detail

  1. Install NMIS9, should install without any issues
  2. Rename the omk directory
    mv /usr/local/omk /usr/local/omk-old
  3. Create a new omk/conf directory
    mkdir /usr/local/omk/conf
  4. Copy the opCommon.nmis file from the old omk directory
    cp /usr/local/omk-old/conf/opCommon.nmis /usr/local/omk/conf
  5. Run the installer for the ABI4 application
  6. The installer would have covered the /omk/conf/opCommon.nmis file to opCommon.json file. Copy all other files in the old omk/conf directory to the new one
    \cp -r /usr/local/omk-old/conf/* /usr/local/omk/conf
  7. Change any "nmis_dir" and "nmis8" entires to "nmis9_dir" and "nmis9" in the omk/conf/opCommon.json file
  8. Ensure the "load_applications" entry in the opCommon.json file shows only the ABI4 application previously installed.
  9. Restart omkd
    systemctl restart omkd.service
  • No labels