# Wildfire to Openfire Upgrade Guide

## Introduction

This document provides the steps to follow in order to upgrade a Wildfire 3.2 installation into an Openfire installation. If you need to update an old version of Wildfire then first update it to Wildfire 3.2 following the standard steps described in the upgrade guide and the Upgrade guide to Wildfire Enterprise 3.2.0 if you are using the Enterprise Edition.

This document describes the upgrade process for these environments/distributions:

## Windows

1. Stop the server
2. Back up setup
3. If running as a service, remove the old service: `wildfire-service /uninstall`
4. Install 3.3.0
5. Delete `conf/openfire.xml` and rename `conf/wildfire.xml` to `conf/openfire.xml`
6. Search for `org.jivesoftware.wildfire.` and replace with `org.jivesoftware.openfire.` in `conf/openfire.xml`
7. If using embedded database then rename `embedded-db\wildfire\*` files to `embedded-db\openfire\*`
8. Delete all jar files in the plugin folder and drop new versions of plugins
9. Start up the server using new launch scripts localed in `bin`
10. Optionally install as a service again: `openfire-service /install`

## Unix/Linux (RPM)

1. Stop the server
2. Back up setup
3. Run `rpm -ivf openfire_3_3_0.rpm`
4. Go to `/opt/openfire` and copy configuration from old setup
   1. Copy `conf/wildfire.xml` and rename it to `conf/openfire.xml`
   2. Search for `org.jivesoftware.wildfire.` and replace with `org.jivesoftware.openfire.` in `conf/openfire.xml`
   3. If using embedded database then copy and rename `embedded-db\wildfire\*` files to `embedded-db\openfire\*`
   4. Copy new version of plugins to `opt/openfire/plugins` (except admin folder)
   5. Copy old certificates from `resources/security/` to same location in `openfire`
5. If running as a service update service to use new scripts located in `bin`
6. Start up the server using new launch scripts located in `bin`
7. To uninstall Wildfire run `rpm -e wildfire`

## Zip/Tar.gz

This process is similar to the RPM except that step 3 is replaced with:

3. Unzip content to `/opt/openfire` (unix/linux) or `C:\Program Files\openfire` (windows)

## Mac OS (DMG)

1. Install Openfire using the .pkg installer
2. Use the System Preferences pane to turn Openfire off
3. For steps 4-8 assume paths are relative to `/usr/local`
4. Copy `wildfire/conf/wildfire.xml` to `openfire/conf/openfire.xml`
5. Search for `org.jivesoftware.wildfire.` and replace with `org.jivesoftware.openfire.` in `conf/openfire.xml`
6. If using embedded database then copy and rename `embedded-db\wildfire\*` files to `embedded-db\openfire\*`
7. Copy new version of plugins to `openfire/plugins` (except admin folder)
8. Copy old certificates from `resources/security/` to same location in `openfire`
9. Use the System Preferences pane to turn Openfire back on