virtualMachinelivehelperchat

Upgrade Live Helper Chat

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 "/opt/bitnami/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 /opt/bitnami/livehelperchat/docs
    $ cp -R /PATH-TO-NEW-VERSION/ezcomponents /opt/bitnami/livehelperchat/ezcomponents
    $ cp -R /PATH-TO-NEW-VERSION/lib /opt/bitnami/livehelperchat/lib
    $ cp -R /PATH-TO-NEW-VERSION/modules /opt/bitnami/livehelperchat/modules
    $ cp -R /PATH-TO-NEW-VERSION/pos /opt/bitnami/livehelperchat/pos
    $ cp -R /PATH-TO-NEW-VERSION/translations /opt/bitnami/livehelperchat/translations
    $ cp -R /PATH-TO-NEW-VERSION/design /opt/bitnami/livehelperchat/design
    
  • Disable the cache by editing the following values in your /opt/bitnami/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 /opt/bitnami/apps/livehelperchat/htdocs/docs
    $ cp -R /PATH-TO-NEW-VERSION/ezcomponents /opt/bitnami/apps/livehelperchat/htdocs/ezcomponents
    $ cp -R /PATH-TO-NEW-VERSION/lib /opt/bitnami/apps/livehelperchat/htdocs/lib
    $ cp -R /PATH-TO-NEW-VERSION/modules /opt/bitnami/apps/livehelperchat/htdocs/modules
    $ cp -R /PATH-TO-NEW-VERSION/pos /opt/bitnami/apps/livehelperchat/htdocs/pos
    $ cp -R /PATH-TO-NEW-VERSION/translations /opt/bitnami/apps/livehelperchat/htdocs/translations
    $ cp -R /PATH-TO-NEW-VERSION/design /opt/bitnami/apps/livehelperchat/htdocs/design
    
  • Disable the cache by editing the following values in your /opt/bitnami/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 October 7, 2020