Article ID: 3350, created on Nov 30, 2007, last review on Apr 18, 2012

  • Applies to:
  • H-Sphere

Resolution

 

Updating H-Sphere packages in versions 2.4.3 and higher

H-Sphere 2.4.3 introduces the --upgrade option to the Package Installer tool. With this option, you don't need to care about uninstalling the older package and restarting H-Sphere before updating the package. To upgrade a package in 2.4.3 do:

  1. Login to CP server as cpanel user.
  2. Install the new package with the --upgrade option:

    java psoft.hsp.tools.PkgInstaller --package=/path/to/package/file --upgrade

    More Package Installer options

  3. Restart H-Sphere

The --upgrade option removes the older installation and installs the updated package files instead.

The package files will be installed to the ~cpanel/shiva/packages/PackageName directory, where PackageName is the name of the package without its version and build number. For example, after installation of the MyPackage-1.0.1-2.hsp package its files will be stored in the ~cpanel/shiva/packages/MyPackage directory.

To ensure the package is upgraded, check the Settings->Packages menu in admin interface for the package version and the package files installed.

 

Updating H-Sphere packages in versions before 2.4.3

Before 2.4.3, to upgrade package you needed to do the following:

  1. Login to CP server as cpanel user.
  2. Uninstall the older package.
  3. Restart H-Sphere
  4. Install the new package.
  5. Restart H-Sphere

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF