No, I ran openfire_4_0_0.exe and selected the “upgrade” option. First of all a file wouldn’t copy because the service was running so I stopped the service and installation continued and finished. Restarted the service and the the 500 error and the service immediately stops. This upgrade option shouldn’t be available it it promises to break good running installations of 3.x.
FYI, i’ve done the same upgrade option and it worked fine for me. So it works. But in your case something went wrong and we are trying to find out what. Maybe it’s not the case, but still do check C:\Program files\Openfire\lib and make sure every file in the is of “2016.01.11 08:16” modify date. Maybe running the setup with a service running first time didn’t allow it to replace all the files needed.
I think the service part is a separate binary and installer is not aware of it running. We’ve added a note about stopping the service before upgrade into Install Guide a while ago (though, maybe it should be in the Upgrade Guide, but the Install Guide tells about service installation). Also, Upgrade Guide says to stop Openfire before doing upgrade. To me this this sounds like stopping everything related
Just a FYI, I experienced the same issue after performing an upgrade.
Windows Server 2008 R2
Previous Openfire 3.10.2 (installed as service)
I had started the install with the service still running, the install paused at a locked file. At this point I stopped the service and allowed the upgrade to continue.
After installation, I started the service, and while IM clients could connect to the server, the web console was presenting the errors.
To resolve, I stopped the service again, and then began the upgrade again and let it finish. When I started the service again, all is working normally.
Although it would be nice for the installer to check for running openfire service instances, it is definitely a good idea to stop the service first before upgrading. I blame myself for this little error.
I had the same problem. I stopped the service as you did, restarted the install and still had the error. I went into the C:\Program files\Openfire\lib folder as mentioned above and removed the old files. Then I installed it again selecting the Upgrade option and everything worked.
Going forward, I think it would be nice to have a check on the installer to see if the service is running for people who forget to turn it off