Cannot open admin since upgrade to latest version of OpenFire

Let me start by saying that I did NOT back-up OpenFire (sigh, won’t make that mistake again) before upgrading. It installed with errors. It works, and users are still able to use Spark - however - I can no longer log in to the Admin.

I do have back-ups on a back-up drive, so I’d like to reinstall the older version of OpenFire then copy my DB info into it - but I’m not sure exactly which folders. Just “DB”…?

Any help is appreciated, I am completely new to Spark/OpenFire!

Here’s the error I get:

HTTP ERROR 500

Problem accessing /index.jsp. Reason:

org.jivesoftware.openfire.spi.ConnectionManagerImpl.getSocketAcceptor()Lorg/apache/mina/transport/socket/nio/NioSocketAcceptor;

Caused by:

java.lang.NoSuchMethodError: org.jivesoftware.openfire.spi.ConnectionManagerImpl.getSocketAcceptor()Lorg/apache/mina/transport/socket/nio/NioSocketAcceptor; at org.jivesoftware.openfire.admin.index_jsp._jspService(index_jsp.java:131) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Unknown Source)

Powered by Jetty://

What OS? What version was before the upgrade? You can try simply installing older one on top or do uninstall of the current and then install older (at least on Windows should/could work). Uninstalling leaves the config and database in place (Windows again).

Hello. I had this same issue and reverted to backup after trying to tinker with it for a while. Maybe the information below will help. The error makes me think my version of Java could be missing the function that index.js is trying to use… or there is a required file that the running user isn’t allowed to access (this shouldn’t be my issue).

What I’m running now and works:

Server Properties
Server Uptime:
15 minutes – started May 25, 2015 10:21:23 PM
Version:
Openfire 3.9.3
Server Directory:
Server Name:
Environment
Java Version:
1.7.0_79 Oracle Corporation – OpenJDK Server VM
Appserver:
jetty/7.x.y-SNAPSHOT
Host Name:
chat
OS / Hardware:
Linux / i386 (Debian 8)

Thanks Wroot! I re-installed the older version of Openfire and (after two reboots) everything works again. Based on Gabriel I think I may try uninstalling and reinstalling Java before I upgrade again.

Reverting to an old version doesn’t sound like a fix to me. Do I have to start a new thread for that? I need help getting the admin page to work after upgrading to 3.10.0.

Well, you can start a new thread as Kaeri has already marked this one as solved. Though maybe he would be interested in a fix, if you’ll find one.

HI!!!

be careful, when you copy the old plugin folder, do not update the new version of the admin folder and the search.war app.

If you copy the entire old plugin folder, you also copy the old version of the admin app and you can’t log in at the new OpenFire version.