Upgrade Live Helper Chat

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:

 $ test ! -f "installdir/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."

The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.

It is strongly recommended to create a backup before starting the update process. If you have important data, create and restore a backup to ensure that everything works properly.

You can upgrade the application only without modifying any other stack components by following these steps:

  • Log in to the application administration panel.

  • Click the “System configuration” icon and browse to “System -> Update Information”. Click the “Update database” link if needed.

  • Log out of the application.

  • Download the new version of the application.

The next steps will depend on your installation type.

Approach A: Bitnami installations using system packages

  • Overwrite the following folders:

      $ cp -R /PATH-TO-NEW-VERSION/docs installdir/livehelperchat/docs
      $ cp -R /PATH-TO-NEW-VERSION/ezcomponents installdir/livehelperchat/ezcomponents
      $ cp -R /PATH-TO-NEW-VERSION/lib installdir/livehelperchat/lib
      $ cp -R /PATH-TO-NEW-VERSION/modules installdir/livehelperchat/modules
      $ cp -R /PATH-TO-NEW-VERSION/pos installdir/livehelperchat/pos
      $ cp -R /PATH-TO-NEW-VERSION/translations installdir/livehelperchat/translations
      $ cp -R /PATH-TO-NEW-VERSION/design installdir/livehelperchat/design
  • Disable the cache by editing the following values in your installdir/livehelperchat/settings/settings.ini.php file:

      'templatecache' => false
      'templatecompile' => false
      'modulecompile' => false

Approach B: Self-contained Bitnami installations

  • Overwrite the following folders:

      $ cp -R /PATH-TO-NEW-VERSION/docs installdir/apps/livehelperchat/htdocs/docs
      $ cp -R /PATH-TO-NEW-VERSION/ezcomponents installdir/apps/livehelperchat/htdocs/ezcomponents
      $ cp -R /PATH-TO-NEW-VERSION/lib installdir/apps/livehelperchat/htdocs/lib
      $ cp -R /PATH-TO-NEW-VERSION/modules installdir/apps/livehelperchat/htdocs/modules
      $ cp -R /PATH-TO-NEW-VERSION/pos installdir/apps/livehelperchat/htdocs/pos
      $ cp -R /PATH-TO-NEW-VERSION/translations installdir/apps/livehelperchat/htdocs/translations
      $ cp -R /PATH-TO-NEW-VERSION/design installdir/apps/livehelperchat/htdocs/design
  • Disable the cache by editing the following values in your installdir/apps/livehelperchat/htdocs/settings/settings.ini.php file:

      'templatecache' => false
      'templatecompile' => false
      'modulecompile' => false
  • Log in to the application administration panel.

  • Click the “System configuration” icon and browse to the “System” page. Click the “Clean cache” link.

  • Enable the cache.

For further information, refer to the official documentation.

Last modification January 19, 2021