awsopenfire

Upgrade Openfire

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

You can upgrade the application only without modifying any other stack components. Follow these steps:

  • Stop your server:

      $ sudo /opt/bitnami/ctlscript.sh stop
    
  • Copy the etc/, var/ and openfire_home/ folders in the openfire/ folder:

      $ mkdir ~/openfire_backup
      $ sudo cp -r /opt/bitnami/openfire/conf ~/openfire_backup/
      $ sudo cp -r /opt/bitnami/openfire/scripts ~/openfire_backup/
    
  • Download the latest version of Openfire and uncompress it:

      $ tar -xvf openfire_4_0_2.tar.gz
    
  • Copy the uncompressed folder to /opt/bitnami/openfire:

      $ cp -r openfire_4_0_2.tar/* /opt/bitnami/openfire/
    
  • Recover your backup files:

      $ sudo cp -r ~/openfire_backup/* /opt/bitnami/openfire/
    
  • Restart your server:

      $ sudo /opt/bitnami/ctlscript.sh restart
    
Last modification December 21, 2022