Cannot run workflows on Knime server after updating local Knime to 4.1.3

Hi,

today Knime updated to 4.1.3. Now we cannot execute workflows on the Knime server. It gives us this error:

This is a screenshot of our About page on the local Knime:

There seems to be something off as the version number should match.

Do we have to update the server as well when updating the local Knime version?

Edit: I tried to downgrade the local Knime version to 4.1.2, but now we cannot open the edited workflows any more. This is very annoying. I suppose there should be a warning or something about this problem when updating Knime.

Edit2: I checked the admin page in the Knime portal for the server version: 4.10.2.0049-7b4f0f3b6

Is this correct?

Thanks,
Johannes

It seems to me that you need to update the KNIME server executor. There is documentation on this on the KNIME website. Depending on what machine your server is on, the process may be simple or more complex.

1 Like

Thanks for the quick answer. I had a look at the Server documentation. It says we should just run this script: ./update-rmi.sh https://update.knime.com/analytics-platform/4.1/

This is the output

knime@Knime:/opt/knime/knime-latest$ ./update-rmi.sh https://update.knime.com/analytics-platform/4.1/
Retrieving list of installed features, this shouldn't take long...
May 18, 2020 11:24:40 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (254) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
May 18, 2020 11:24:40 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (255) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.ConduitInitiator]
May 18, 2020 11:24:45 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 254
May 18, 2020 11:24:45 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 255
Retrieving list of available updates, this may take some time...
May 18, 2020 11:24:50 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (254) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
May 18, 2020 11:24:50 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (255) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.ConduitInitiator]
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.SingleClientConnManager).
log4j:WARN Please initialize the log4j system properly.
May 18, 2020 11:24:58 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 254
May 18, 2020 11:24:58 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 255
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
May 18, 2020 11:25:01 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (254) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
May 18, 2020 11:25:01 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (255) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.ConduitInitiator]
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.SingleClientConnManager).
log4j:WARN Please initialize the log4j system properly.
Installing com.knime.features.enterprise.client.exampleserver.feature.group 4.1.0.v202004060712.
Installing com.knime.features.enterprise.slave.feature.group 4.10.4.v202005112253.
Installing com.knime.features.explorer.serverspace.feature.group 4.10.3.v202004060712.
Installing com.knime.features.gateway.explorer.feature.group 4.10.1.v202003251043.
Installing com.knime.features.gateway.remote.feature.group 4.10.0.v202003251043.
Installing org.knime.features.activelearning.feature.group 4.1.3.v202005112252.
Installing org.knime.features.bigdata.connectors.feature.group 4.1.3.v202005121354.
Installing org.knime.features.bigdata.spark.feature.group 4.1.1.v202005121354.
Installing org.knime.features.bigdata.spark.local.feature.group 4.1.0.v202005121354.
Installing org.knime.features.cloud.aws.feature.group 4.1.3.v202005112253.
Installing org.knime.features.cloud.azure.feature.group 4.1.3.v202005112253.
Installing org.knime.features.database.feature.group 4.1.1.v202002010716.
Installing org.knime.features.ext.chem.tools.feature.group 4.1.3.v202005112253.
Installing org.knime.features.ext.h2o.feature.group 4.1.3.v202005112253.
Installing org.knime.features.ext.itemset.feature.group 4.1.3.v202005112253.
Installing org.knime.features.ext.r.bin.feature.group 3.4.2.v202004301344.
Installing org.knime.features.ext.spotfire.feature.group 4.1.3.v202005112254.
Installing org.knime.features.ext.tableau.hyper.bin.feature.group 4.1.0.v202005112254.
Installing org.knime.features.ext.tableau.hyper.feature.group 4.1.3.v202005112254.
Installing org.knime.features.ext.textprocessing.feature.group 4.1.3.v202005112254.
Installing org.knime.features.js.plotly.feature.group 4.1.3.v202005112253.
Installing org.knime.features.python2.feature.group 4.1.3.v202005112253.
Installing org.knime.features.rest.feature.group 4.1.3.v202005112253.
Installing org.knime.product.desktop 4.1.3.v202005121100.
Uninstalling com.knime.features.enterprise.client.exampleserver.feature.group 4.1.0.v202004060712.
Uninstalling com.knime.features.enterprise.slave.feature.group 4.10.4.v202005112253.
Uninstalling com.knime.features.explorer.serverspace.feature.group 4.10.3.v202004060712.
Uninstalling com.knime.features.gateway.explorer.feature.group 4.10.1.v202003251043.
Uninstalling com.knime.features.gateway.remote.feature.group 4.10.0.v202003251043.
Uninstalling org.knime.features.activelearning.feature.group 4.1.3.v202005112252.
Uninstalling org.knime.features.bigdata.connectors.feature.group 4.1.3.v202005121354.
Uninstalling org.knime.features.bigdata.spark.feature.group 4.1.1.v202005121354.
Uninstalling org.knime.features.bigdata.spark.local.feature.group 4.1.0.v202005121354.
Uninstalling org.knime.features.cloud.aws.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.cloud.azure.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.database.feature.group 4.1.1.v202002010716.
Uninstalling org.knime.features.ext.chem.tools.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.ext.h2o.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.ext.itemset.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.ext.r.bin.feature.group 3.4.2.v202004301344.
Uninstalling org.knime.features.ext.spotfire.feature.group 4.1.3.v202005112254.
Uninstalling org.knime.features.ext.tableau.hyper.bin.feature.group 4.1.0.v202005112254.
Uninstalling org.knime.features.ext.tableau.hyper.feature.group 4.1.3.v202005112254.
Uninstalling org.knime.features.ext.textprocessing.feature.group 4.1.3.v202005112254.
Uninstalling org.knime.features.js.plotly.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.python2.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.features.rest.feature.group 4.1.3.v202005112253.
Uninstalling org.knime.product.desktop 4.1.3.v202005121100.
Operation completed in 22637 ms.
May 18, 2020 11:25:23 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 254
May 18, 2020 11:25:23 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 255

It looks to me that the script ist first installing some extensions but it removes them afterwards again. Is this correct? How should we procede? The error message is still the same one.

Thanks
Johannes

Hello,

Please see below for how to fix the issue:

com.knime.server.executor.reject_future_workflows=<true|false> [RT]
Specifies whether the executor should reject loading workflows that have been create with future versions of Knime AP. For new installations the value is set to true. If no value is specified the executor will always try to load and execute any workflow by default. Please set this to False if you would like to run workflows created by any Analytics Platform newer than your server/executor version.

This server setting can be configured to allow workflows to run from any newer version of the AP on the server. Although it may work, if nodes have changed in the difference between 4.1 and 4.2 they may not function properly.

Here is the link to the configuration settings for your reference.

https://docs.knime.com/2019-12/server_admin_guide/index.html#knime-server-configuration-file-options

Please let us know if you have any questions.

1 Like

Hi,
updating the server using the update-rmi.sh script and restarting everything worked for us.
Thank you all for your help.

Best
Johannes

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.