Spark updates failing

All of my users are on 2.6.2. I have uploaded 2.6.3 to the OpenFire server. When some users receive the update notification and hit Yes, it pulls down the installer, prompts to shut down Spark, they hit Yes, Spark shuts down and the installer never runs. I have seen it using both the online and offline installer.

It seems to only be happening on Windows 7 machines. XP machines run it fine.

bump

Will test this later. Is it on 32 or 64 bit version?

Worked fine on Win7 32 bit for me. Same on x64. I was doing this logged in as administrator or user with administrative rights though.

I have a GPO that adds the domain users group to the local admin group on all workstations. When I login as the local administrator I am able to update. When I login as a domain user it does not. Problem occurs on Win 7 x32.

I think it’s got something to do with how Win 7 vs XP handles the GPO.

Or maybe it has something to do with UAC. What if you disable it? Also, are you able to do other administrative stuff with a domain user on a Win7 PC, like changing system settings, installing/uninstalling software?

I tested manually downloading and installing the update. UAC would pop up when trying to start the install. This did not happen at all using the automated updated method. I disabled UAC and it worked fine.

With UAC enabled I am able to login as a domain user and perform administrator level changes. The automated update must just not be compatible with UAC.

Not sure if my case is the same as the UAC problem mentioned here, but I am also trying to push out 2.6.3 to 2.6.0 client through OpenFire. Spark notifies the user that there is a new version and if they want to update, however nothing happens at all once they click yes.

You also cannot check twice for updates in the same session, meaning if you goto Help > Check for Updates one time in your session, it will see that there is an update available, and if you choose yes, nothing will happen. Subsequentially going back to Help > Check for Updates won’t display any messages whatsoever, you need to shut down Spark and restart if you want to check for updates again.

The clients are all on Windows 7 Professional, 32bit. We are all on a domain, however all users are local administrators of their own machines. Here is the log that my client produced through this process:

Aug 5, 2011 7:44:59 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NoSuchMethodError: org.jivesoftware.smackx.jingle.JingleManager.setJingleServiceEnabled()V

at org.jivesoftware.sparkplugin.JinglePlugin.initialize(JinglePlugin.java:103)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:565)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Aug 5, 2011 7:46:04 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.(Unknown Source)

at java.net.Socket.(Unknown Source)

at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocke t(DefaultProtocolSocketFactory.java:79)

at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocke t(DefaultProtocolSocketFactory.java:121)

at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:704)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDir ector.java:384)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirect or.java:170)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

at org.jivesoftware.sparkimpl.updater.CheckUpdates.downloadUpdate(CheckUpdates.jav a:204)

at org.jivesoftware.sparkimpl.updater.CheckUpdates$4$1.finished(CheckUpdates.java: 458)

at org.jivesoftware.spark.util.SwingWorker$2$1.run(SwingWorker.java:148)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Looking through the forums, I ensured that the install package is HTTP vs HTTPS which hasn’t helped any. Any assistance is appreciated.

If i remember right there were a bug with updates which was fixed in 2.6.2 only. So, probably you won’t be able to update 2.6.0 this way.

1 Like