Can't connect to http://myip:8080

Hi everybody,

I was looking for a new project with my older APU1 boards from pcengines. So I found this project and it`s sounds like a lot of fun. But I have some problems after the the installtion. I am using Debian 4.9.168-1 on a AMD G series T40E APU, 1 GHz dual core (Bobcat core) with 64 bit support, 32K data + 32K instruction + 512KB L2 cache per core, 4 GB DDR3-1066 DRAM with a 64 bit bus and 16 GB mSATA. I was using the installation guide from this site. After I wrote systemctl start openhab2.service
to start the service I got:

root@openHAB:/home/openhab# systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-05-13 00:49:13 CDT; 4s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 13980 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=3)
 Main PID: 14121 (java)
    Tasks: 18 (limit: 4915)
   CGroup: /system.slice/openhab2.service
           └─14121 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenhab.logdir=/var/log/openhab2 -Dfelix.cm.dir=/var/lib/openhab2/config -Djava.library.path=/var/lib/openhab2/tmp/lib

May 13 00:49:13 openHAB systemd[1]: Started openHAB 2 - empowering the smart home.

This is my java version:

root@openHAB:/home/openhab# java -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment Zulu12.2+3-CA (build 12.0.1+12)
OpenJDK 64-Bit Server VM Zulu12.2+3-CA (build 12.0.1+12, mixed mode, sharing)

My Problem is I can`t connect with my browser to http://myip:8080. Maybe someone could help me. I am not a Linux crack but this was the only version which is running without any problems on my hardware.

Thanks for help.

You need to downgrade to version 8 of java, see prerequisites:

Thanks. I changed the java version but its still the same.

root@openHAB:/home/openhab# systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-05-13 02:39:44 CDT; 6s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 31089 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=3)
 Main PID: 31441 (java)
    Tasks: 31 (limit: 4915)
   CGroup: /system.slice/openhab2.service
           └─31441 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenhab.logdir=/var/log/openhab2 -Dfelix.cm.dir=/var/lib/openhab2/config -Djava.library.path=/var/lib/openhab2/tmp/lib

May 13 02:39:44 openHAB systemd[1]: Started openHAB 2 - empowering the smart home.
lines 1-12/12 (END)


root@openHAB:/home/openhab# java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (Zulu 8.38.0.13-CA-linux64) (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (Zulu 8.38.0.13-CA-linux64) (build 25.212-b04, mixed mode)

I found some entries in the logfile:

May 13, 2019 2:33:43 AM org.apache.karaf.main.Main main
SEVERE: Could not launch framework
java.lang.RuntimeException: Error occurred while checking the system module.
        at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:311)
        at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:87)
        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:68)
        at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
        at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:24)
        at org.apache.karaf.main.Main.launch(Main.java:256)
        at org.apache.karaf.main.Main.main(Main.java:178)
Caused by: org.osgi.framework.BundleException: Invalid manifest header Export-Package: "org.osgi.dto;version="1.0",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0";uses:="org.osgi.dto",org.osgi.framework;version="1.8",org.osgi.framework.dto;version="1.8";uses:="org.osgi.dto",org.osgi.framework.hooks.bundle;version="1.1";uses:="org.osgi.framework",org.osgi.framework.hooks.resolver;version="1.0";uses:="org.osgi.framework.wiring",org.osgi.framework.hooks.service;version="1.1";uses:="org.osgi.framework",org.osgi.framework.hooks.weaving;version="1.1";uses:="org.osgi.framework.wiring",org.osgi.framework.launch;version="1.2";uses:="org.osgi.framework",org.osgi.framework.namespace;version="1.1";uses:="org.osgi.resource",org.osgi.framework.startlevel;version="1.0";uses:="org.osgi.framework",org.osgi.framework.startlevel.dto;version="1.0";uses:="org.osgi.dto",org.osgi.framework.wiring;version="1.2";uses:="org.osgi.framework,org.osgi.resource",org.osgi.framework.wiring.dto;version="1.2";uses:="org.osgi.dto,org.osgi.resource.dto",org.osgi.service.condpermadmin;version="1.1.1";uses:="org.osgi.framework,org.osgi.service.permissionadmin",org.osgi.service.packageadmin;version="1.2";uses:="org.osgi.framework",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.resolver;version="1.0";uses:="org.osgi.resource",org.osgi.service.startlevel;version="1.1";uses:="org.osgi.framework",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.5.1";uses:="org.osgi.framework",org.apache.karaf.version;version="4.2.1",org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version="4.2.1",org.apache.karaf.jaas.boot;uses:="javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework";version="4.2.1",, org.apache.karaf.branding, sun.misc, org.apache.karaf.jaas.boot;uses:="javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework";version=4.2.1, org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version=4.2.1, org.apache.karaf.diagnostic.core;uses:=org.osgi.framework;version=4.2.1, org.apache.karaf.diagnostic.core.common;uses:=org.apache.karaf.diagnostic.core;version=4.2.1"
        at org.eclipse.osgi.util.ManifestElement.parseHeader(ManifestElement.java:353)
        at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.createBuilder(OSGiManifestBuilderFactory.java:85)
        at org.eclipse.osgi.storage.Storage.getBuilder(Storage.java:632)
        at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:263)
        ... 6 more

May 13, 2019 2:39:48 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
May 13, 2019 2:39:49 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
May 13, 2019 2:39:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /var/lib/openhab2/tmp/lock
May 13, 2019 2:39:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
May 13, 2019 2:39:49 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100

Sorry about the stupid questions :smiley: its all new for me.

Maybe you need to clean the cache: