How to upgrade openfire to latest version on linux

Openfire is a real time collaboration (RTC) server and groupchat server licensed under the Open Source Apache License. It uses widely adopted open protocol for instant messaging, XMPP (also called Jabber) server written in Java. Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance. Here i’m going to explain how to install Openfire Server in Linux such as RPM & DEB based system. The Ignite Realtime Community is pleased to announce the latest release of Openfire 4.0.0 on January 11, 2016. Here i’m going to show you how to upgrade openfire to latest version.

Upgrade Note:

  • Wrong URL generated for editing groups with space in the names
  • Apply encryption to secure properties during setup
  • TLS server to server connections are not working with 3.9.2
  • Joining new MUC room results in a 404 error
  • The initial 3.9.2 release had a packaging problem with the windows installer.
  • All the plugins are available under Availabel Plugins and its not showed in 3.8.2

1) How to check the current version of Openfire on server

Use the below rpm command to check the installed openfire version.

# rpm -qa | grep openfire

See the below screen shots which is clearly shows, we have installed openfire server version of (3.10.3) and new version (4.0.0) is available and ready to install.

2) Download latest version of Openfire package

Use the below link to download the Openfire server pack for RPM & DEB based system to install major Linux distribution such as RHEL, CentOS, Fedora, Ubuntu, Debian, openSUSE & Mint systems.

# Download RPM Package #
$ sudo wget

# Download DEB Package #
$ sudo wget

3) Stop the Openfire Server

Use the below command to stop the Openfire server before proceeding upgrade.

# service openfire stop

4) Backup the Openfire Installation Directory

For our safety purpose take the backup of openfire installation directory before perform upgrade.

5) Backup the Openfire Database

If you are using mysql database for your openfire server, take backup. If you using Embadded Database then no issues because while taking backup of installation directory it was backup.

6) Upgrading the Openfire Server

Use the below command to Upgrade the Openfire server.

# Upgrade Openfire to RHEL,CentOS, Fedora, openSUSE #
$ sudo rpm -Uvh openfire-4.0.0-1.i386.rpm

# Upgrade Openfire to Debian, Ubuntu, Mint #
$ sudo dpkg -i openfire_4.0.0_all.deb

7) Start the Openfire Server

Use the below command to start the Openfire server.

# service openfire start

8) How to check the Openfire installed version on server

Use the below command to check the Installed/Upgraded openfire server version.

# rpm -qa | grep openfire

Now, You have successfully upgraded your Openfire server to latest version (4.0.0)
We are preparing all articles in-depth to understand by all level/stage Linux administrators. If the article is useful for you, then please spend less than a minute to share your valuable comments in our commenting section.

Please stay tune with us…Good Luck.

About Magesh Maruthamuthu

Love to play with all Linux distribution

View all posts by Magesh Maruthamuthu

One Comment on “How to upgrade openfire to latest version on linux”

  1. For new versions of Openfire, when you restart systemctl service openfire, Fails to connect. The error is solved installing the next libraries:

    yum install libstdc++.i686

    It is also necesary to install Openjdk:

    yum install java-1.8.0-openjdk

Leave a Reply

Your email address will not be published. Required fields are marked *