0
Answered

I can't start the server on my Raspberry Pi 4

draco2143 1 month ago updated 1 month ago 2

Hey

I can't start the server and I get everytime the same error


20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /opt/ubooquity
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - #############################
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - #############################
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_212
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK Client VM
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 247 MB
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - OS version: 5.4.83-v7l+
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - OS architecture: arm
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20210118 09:59:01 [main] INFO com.ubooquity.Ubooquity - Saving preferences
20210118 09:59:02 [main] INFO org.eclipse.jetty.util.log - Logging initialized @2867ms to org.eclipse.jetty.util.log.Slf4jLog
java.lang.NoClassDefFoundError: javafx/fxml/Initializable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at com.ubooquity.e.a.d(SourceFile:597)
at com.ubooquity.e.a.loadClass(SourceFile:962)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.ubooquity.a.(SourceFile:19)
at com.ubooquity.Ubooquity.main(SourceFile:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.ubooquity.e.a.a(SourceFile:823)
at com.ubooquity.Launcher.main(SourceFile:10)
Caused by: java.lang.ClassNotFoundException: Failure to load: javafx.fxml.Initializable
at com.ubooquity.e.a.loadClass(SourceFile:992)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 13 more
20210118 09:59:02 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20210118 09:59:02 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20210118 09:59:03 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: null
at com.ubooquity.d.e.a(SourceFile:99) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.Ubooquity.C(SourceFile:216) [Ubooquity.jar:2.1.2]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_212]
20210118 09:59:03 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20210118 09:59:03 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.


+2
Answered

--headless

Use it if you don’t want the Ubooquity interface to be displayed, or to

avoid compatibility issues on devices with no graphical environment

(e.g. NAS).

From the manual.

thank you

it worked for me