New to openfire, need upgrade\migration help

i have inherited an Openfire server that is fairly old. its an MS Server 2003 R2 server running OF version 3.8.2. Since OF is the only thing running on this old server we are trying to replace the server with a dedicated PC running Windows 11. i see the new version is 4.9.2 . My first question is can i upgrade to 4.9.2 from 3.8.2? if so, is there any special documentation i should be looking at? I would like to install a clean version of 4.9.2 on the new Server and import the data, if possible so i have a fallback if the migration does not work. Thoughts? Thank you for your time.

Hi! Although that’s more than 12 years worth of upgrades, it should ‘just work’. I do recommend you not chancing it. The approach that you suggest makes sense.

I’d recommend that, based on a backup from the preexisting system, you create a clone of that server on which you test the upgrade. A simple file-system copy and database clone should get you quite far, with regards to creating a clone.

The upgrade process is essentially just running the new installer on top of the old installation. The upgrade process is documented on this page: Openfire: Upgrade Guide

Thank you, i was just setting up a clone VM to test on. Sounds good. thank you.

I was able to install 3.8.2 on our new server and migrate the config and data to the new server then run the upgrade to 4.7.3 all the data looks good, but i do get an error on the Domain, in 4.7.3 as i copied over all the config files the old server name is still listed, how can i change that to the new server name? the client is Spark 3.0.2. i was going to upgrade to the newest version of OpenFire 4.9.2 but not sure if i should fix the server name here first then do the upgrade to 4.9.2 thanks again for the help

The XMPP domain name and the hostname of the server that runs Openfire do not need to be the same (even though they often are). You can map between the two with DNS records (DNS SRV is typically used for this).

I don’t recommend changing the XMPP domain name of Openfire, as that’s part of the addressing of entities (like users) on the server. If the underlying name gets changed, then any persisted address will suddenly be incorrect.

i am getting this after the migration, i see all users but i am not sure what the XMPP Domain Name is: Soms is the PC name?

The source server SOMS and its IPaddress in DNS are the same. we disconnected the old server and renamed the new server to SOMS and we also gave the new server the same IP address as the old one so not sure why we have to do anything in or DC DNS it should all be the same. is the XMPP domain a new feature? I did try to add the XMPP records to the existing DNS server but not sure if it did it correctly, service = -xmpp-client
Protocol is; _tcp
Priority: 0
Weight: 5
port: 5222
Host offering the service: soms.sunset.local.
not sure where the 86400 IN goes?

thank you for your help.