Do it again with openfire

How do you reset everything to start all over with an Openfire server? Answer below.

Where $OPENFIRE_HOME is the directory that Openfire is installed (for example /opt/openfire/im-server), go to $OPENFIRE_HOME/conf and insert the following text at the bottom of openfire.xml:


Then restart the server:

./openfire stop
./openfire start

When next you go to the web administration console url, http://localhost:9090, you should once again be presented with the first setup page (asking you to select a language).