Linux upgrade to 3.9 but version number won't update

Hello,

Just update the Openfire installation from Openfire 3.8.2 to 3.9.0 with the tar.gz method.

The server is running ClearOS 6.5 and used the upgrade guide included in the tar.

ZIP or TAR.GZ

  1. Stop Openfire.–> done
  2. Backup the Openfire installation directory. This step is critical because the data will be overwritten with the new .tar.gz install. --> done
  3. Backup the Openfire database. Note that the embedded database is backed up in step 2. --> done
  4. Install the .tar.gz file (extract it over the current directory). --> done
  5. Copy the conf directory from the backup to the installation directory. --> done
  6. Copy the embedded-db directory from the backup to the installation directory. --> using mysql
  7. Copy the enterprise directory from the backup to the installation directory, if it exists. --> not having this directory so I asume I can ignore this
  8. Copy the plugins directory from the backup to the installation directory except for plugins/admin. --> done
  9. Copy modified files located in resources/security from the backup to the installation directory. --> done
  10. Start Openfire --> done

But when loggin in the console it still is running 3.8.2 instead of 3.9.0.

Is there MySQL upgrade script I missed?

How to upgrade correctly?

Thanks!

I can verify that I’m seeing the same thing here.

Even getting a complaint in stdout log about search plugin wanting 3.9.0

Openfire 3.8.2 [Feb 5, 2014 9:24:03 PM]

Starting Client Control Plugin

Ignoring plugin search: requires server version 3.9.0

Ignoring plugin search: requires server version 3.9.0

Ignoring plugin search: requires server version 3.9.0

FYI, I decided to download the source and compile it myself and after doing that and copying openfire/lib/*.jar from the target over the top of my install, all is well…looks to me like the 3.8.2 jar didn’t get put in the new package correctly or somehting

Openfire 3.9.0 [Feb 5, 2014 9:42:37 PM]

Sorry, I am not sure what is going on here. The file coming from Amazon S3 is not correct. The md5sum should be: 37250e97df3096619ed75f54abbc2722

For posterity, the md5sum on all the release files are:

96772f0119079da8ef01875b13b30327 openfire_3_9_0.dmg

71929668be855bc04376b0dae4182b05 openfire_3_9_0.exe

37250e97df3096619ed75f54abbc2722 openfire_3_9_0.tar.gz

0fdb66e59fb2c789c5064740193c4a0a openfire_3_9_0.zip

6c1e45f43ea39e4d135017ba655b1ed6 openfire_src_3_9_0.tar.gz

2e68e6a0df0f0621a94afec0eb141412 openfire_src_3_9_0.zip

673be928a9dbbf4e95be7a785854737a JSopenfire-3.9.0-ALL.pkg.gz

7bb2aa94ec0d44176269b047cad4b4ff openfire-3.9.0-1.i386.rpm

226fefa333b4cee140ba41d8f31432d6 openfire-3.9.0-1.src.rpm

f60a5ed658016277243a2d049bc8fa9c openfire_3.9.0_all.deb

I’ve attempted to resend this file to S3, but the file I get back is still an older file. Augh.

1 Like

I have come across a phenomenon that I can not start to Upgrade as well.

cat error.log

2014.02.06 15:47:05 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /opt/openfire/plugins/admin

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:107)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:216)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :483)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1073)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:178)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:293)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:220)

at java.util.jar.JarVerifier.processEntry(JarVerifier.java:231)

at java.util.jar.JarVerifier.update(JarVerifier.java:218)

at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:473)

at sun.misc.Resource.getBytes(Resource.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.bouncycastle.jce.provider.BouncyCastleProvider.(Unknown Source)

at org.jivesoftware.util.CertificateManager.(CertificateManager.java:95)

… 12 more

Ok no problem

I will wait until this is fixed.

Thanks.

I have also hit a similar problem, when loading the Admin plugin, my OS is Windows 7 Professional (64 bit). I get this error, when I try to start up the Admin console.

================================================================================ =========

2014.02.06 22:09:39 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: C:\Program Files (x86)\Openfire\plugins\admin

java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:107)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:216)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :483)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1073)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)

at java.util.jar.JarVerifier.processEntry(Unknown Source)

at java.util.jar.JarVerifier.update(Unknown Source)

at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)

at sun.misc.Resource.getBytes(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.bouncycastle.jce.provider.BouncyCastleProvider.(Unknown Source)

at org.jivesoftware.util.CertificateManager.(CertificateManager.java:95)

================================================================================ =========

The download hash is still wrong.

Maybe an idea to upload it somewhere else for the time beeing?

Actually, that should be fixed just now. Please try once more and if does not work, please report which file you got and its md5sum.

Downloaded openfire_3_9_0.tar.gz and the MD5 value: 0d5258e6d41b0dc5a173547cb58cd70f

This is downloaded 5 minutes ago.

Hmmmm,

$ wget http://download.igniterealtime.org/openfire/openfire_3_9_0.tar.gz

–2014-02-06 13:01:38-- http://download.igniterealtime.org/openfire/openfire_3_9_0.tar.gz

Resolving download.igniterealtime.org… 216.137.39.245, 54.230.32.185, 54.230.33.50, …

Connecting to download.igniterealtime.org|216.137.39.245|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 7559492 (7.2M) [application/x-tar]

Saving to: “openfire_3_9_0.tar.gz”

100%[======================================>] 7,559,492 12.9M/s in 0.6s

2014-02-06 13:01:39 (12.9 MB/s) - “openfire_3_9_0.tar.gz” saved [7559492/7559492]

$ md5sum openfire_3_9_0.tar.gz

37250e97df3096619ed75f54abbc2722 openfire_3_9_0.tar.gz

Strange?

$ wget http://download.igniterealtime.org/openfire/openfire_3_9_0.tar.gz

–2014-02-06 20:04:25-- http://download.igniterealtime.org/openfire/openfire_3_9_0.tar.gz

Resolving download.igniterealtime.org… 54.230.196.52, 54.230.199.175, 54.230.198.34, …

Connecting to download.igniterealtime.org|54.230.196.52|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 7559478 (7.2M) [application/x-tar]

Saving to: “openfire_3_9_0.tar.gz”

100%[======================================>] 7,559,478 9.20M/s in 0.8s

2014-02-06 20:04:27 (9.20 MB/s) - “openfire_3_9_0.tar.gz” saved [7559478/7559478]

$ md5sum openfire_3_9_0.tar.gz

0d5258e6d41b0dc5a173547cb58cd70f openfire_3_9_0.tar.gz

I am located in the Netherlands…

------------ update

Tried it again, and it worked!

Thanks!

md5sum openfire_3_9_0.tar.gz

37250e97df3096619ed75f54abbc2722 openfire_3_9_0.tar.gz

Darn, our attempts to invalidate files on cloud front are not as instantaneous as hoped. Regardless, there is another bug with the ‘good’ file anyway, we are attempting to resolve.

Tried it again, now the checksum is right.

Hmm getting this error right now…

Upgrade is not working at the moment?


java.lang.ExceptionInInitializerError

at org.jivesoftware.openfire.net.SSLConfig.<clinit>(SSLConfig.java:159)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.isClientSSLListenerEnabled( ConnectionManagerImpl.java:625)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createClientSSLListeners(Co nnectionManagerImpl.java:423)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.createListeners(ConnectionM anagerImpl.java:136)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:912)

at org.jivesoftware.openfire.XMPPServer.startModules(XMPPServer.java:627)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:493)

at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:216)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:534)

at java.lang.Class.newInstance(Class.java:374)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:622)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

Caused by: java.lang.SecurityException: SHA1 digest error for org/bouncycastle/jcajce/provider/asymmetric/DSA$Mappings.class

at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:210)

at java.util.jar.JarVerifier.processEntry(JarVerifier.java:218)

at java.util.jar.JarVerifier.update(JarVerifier.java:205)

at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:426)

at sun.misc.Resource.getBytes(Resource.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:273)

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:323)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:268)

at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)

at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(Unknown Source)

at org.jivesoftware.util.CertificateManager.<clinit>(CertificateManager.java:95)

Upgrade worked like a charm thanks!

I was confirmed that the person I also work with 3.9.1.

Thank you for support.