Giter Site home page Giter Site logo

elestio / docker-desktop-vnc-knime Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.84 MB

Knime desktop app in the browser

License: Apache License 2.0

Dockerfile 0.43% Shell 1.26% Jinja 0.17% Python 14.67% JavaScript 66.31% HTML 7.17% Vue 0.63% Makefile 0.20% CSS 1.72% Perl 0.04% C# 0.33% Roff 0.68% Clojure 0.83% C 4.06% Ruby 1.49%

docker-desktop-vnc-knime's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

t-bond

docker-desktop-vnc-knime's Issues

Support for Knime Analytics Platform 4.7 & 5.1

Dear Elestio,

Is there a plan to upgrade this docker image to support Knime's new Analytics Platform version 5.1 - https://docs.knime.com/?category=analytics_platform&version=5.1?

I tried myself on EKS:

  1. Updating the package version - It fails due to missing system libraries
RUN mkdir -p /opt/ && cd /opt && curl https://download.knime.org/analytics-platform/linux/knime_5.1.0.linux.gtk.x86_64.tar.gz > knime.tar.gz && tar -xzf knime.tar.gz && rm knime.tar.gz && mv knime_5.1.0 knime

image

See error log:

root@knime-1692867052-6bff589b75-mv7kt:~# cat /opt/knime/configuration/1692875209180.log 
!SESSION 2023-08-24 11:06:48.861 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.5
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2023-08-24 11:06:59.554
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /opt/knime/plugins/com.equo.chromium.cef.gtk.linux.x86_64_106.0.10/chromium-5249/libequochro.so: libnss3.so: cannot open shared object file: No such file or directory
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
	at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.base/java.lang.Runtime.load0(Unknown Source)
	at java.base/java.lang.System.load(Unknown Source)
	at com.equo.chromium.internal.Engine$1.loadLibrary(Engine.java:80)
	at org.cef.SystemBootstrap.loadLibrary(SystemBootstrap.java:36)
	at org.cef.CefApp.startup(CefApp.java:569)
	at com.equo.chromium.internal.Engine.loadLib(Engine.java:87)
	at com.equo.chromium.internal.Engine.<clinit>(Engine.java:46)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at com.equo.chromium.ChromiumBrowser.earlyInit(ChromiumBrowser.java:145)
	at org.knime.js.cef.CEFEarlyStartup.run(CEFEarlyStartup.java:71)
	at org.knime.core.util.IEarlyStartup.executeEarlyStartup(IEarlyStartup.java:106)
	at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:129)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
  1. Based on this post and after installing some extra system libs it appears to work but then the driver seems to crash (see libva errors) and the IDE window becomes white/empty/blank. It is not really stable/usable.
# RUN apt-get install libnss
# RUN apt update \
#     && apt-get install -y libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev

image

See error log:

root@knime-1692877958-75c5d74c8b-nqnzl:~# /opt/knime/knime 

(knime:1875): dbind-WARNING **: 12:12:28.777: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
CompileCommand: exclude javax/swing/text/GlyphView.getBreakSpot bool exclude = true

(java:1891): dbind-WARNING **: 12:12:29.152: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

Sometimes it works:

image

Do you have any plans on update the image? Or at least do you have any recommendations as I am not really familiar on what exactly is required so that Knime runs smoothly. For now switching back to classic UI seems like the only way to use 5.1 but even that is not reliable as sometimes you cannot even reach the Preferences menu to switch the UI option. The problem seems to be related to the chrome/chromium driver.

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.