Simple Upgrade Steps for Openfire 2.x

Mindwatering Incorporated

Author: Tripp W Black

Created: 05/30/2018 at 05:43 PM

 

Category:
Ubuntu
General

Steps to Upgrade Openfire 2.x to newest release.

Prerequisites:
1. If server is running as a VM, take a snapshot.


2. Verify system is up-to-date.
$ sudo apt-get update
$ sudo apt-get upgrade

If kernel was updated, then reboot, and run the auto-remove. You may have to run auto-remove twice to remove the linux kernel libraries.
$ sudo reboot
$ sudo apt-get autoremove

Perform Upgrade:
3. Download the upgrade:
$ cd /myadmin/tmp

In the next line update the version number to the number below:
$ wget -O openfire.deb http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4.2.3_all.deb
$ dpkg --install openfire.deb

During the installation, dpkg will ask about updating the configuration files. Take the default "N".

Preparing to unpack openfire.deb ...
Unpacking openfire (4.2.3) over (4.1.6) ...
Setting up openfire (4.2.3) ...

Configuration file '/etc/openfire/openfire.xml'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** openfire.xml (Y/I/N/O/D/Z) [default=N] ?

Configuration file '/etc/openfire/security.xml'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** security.xml (Y/I/N/O/D/Z) [default=N] ?
Installing new version of config file /etc/openfire/security/truststore ...
Installing new version of config file /etc/openfire/log4j.xml ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...


4. Verify the new version is running.
The service will automatically be restarted by dpkg.
Login to the server.
https://myserver.mindwatering.local:9090/index.jsp

Under the Server Information, verify the version now says Openfire 4.2.3.


previous page

×