i need your assistance please. I would like to start from scratch instead of upgrading my current OH2 installation. So i downloaded the latest openhabian image. (Raspy 4 4GB)
After initial installation i executed openhabian-config and changed
the 01Branch to openHab3 and
selected 03 - openHab3 Testing.
Everything executed with success but i am not able to access the web gui.
If i check the service status
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Sun 2020-12-20 22:02:53 CET; 21s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 2640 (java)
Tasks: 31 (limit: 4915)
CGroup: /system.slice/openhab.service
└─2640 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/o
Dec 20 22:03:12 openhab3 karaf[2640]: ... 14 more
Dec 20 22:03:12 openhab3 karaf[2640]: Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-base/3.0.0.RC2: missing requirement [openhab-core-base/
Dec 20 22:03:12 openhab3 karaf[2640]: at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
Dec 20 22:03:12 openhab3 karaf[2640]: ... 15 more
Dec 20 22:03:12 openhab3 karaf[2640]: Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.automation/3.0.0.RC2: missing requirement [org.open
Dec 20 22:03:12 openhab3 karaf[2640]: at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
Dec 20 22:03:12 openhab3 karaf[2640]: ... 16 more
Dec 20 22:03:12 openhab3 karaf[2640]: Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core/3.0.0.RC2: missing requirement [org.openhab.core/3.
Dec 20 22:03:12 openhab3 karaf[2640]: at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
Dec 20 22:03:12 openhab3 karaf[2640]: ... 17 more
I also tried to manually uninstall OpenHab via apt.
After reinstall i received:
[openHAB] Please install the current version of Java 11 or check the openHAB documentation for details.
[openHAB] openHAB was not running so will not start after upgrade.
[openHAB] Please use the command:
sudo /bin/systemctl start openhab.service
Ìf i check the JAVA Version:
java - version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.51.263-CA-linux_aarch32hf) (build 1.8.0_275-b01)
OpenJDK Client VM (Zulu 8.50.51.263-CA-linux_aarch32hf) (build 25.275-b01, mixed mode)
I did this now 3times to exclude myself as error source please give me some hints to solve this.
Thank you!
Why does openhabian-config remove the Java 11 installation and not (re)install it by itself when installing openHAB 3 stable? That didn’t happen when upgrading through the milestones and the release candidates…
Hey.
I’ve got pretty much the same problem, but still no solution …
I tried to upgrade from 2.5 to 3.0 and followed the instruction here in the community, which said something like “u will need java 11, which will be provided by openhab installation”, so i was like ‘oh, you got java 8 installed, but well then, openhab will fix this’ …
It does not ^^
I installed openhab 3.0, which told me after installation, that java 11 is missing …
So after all i purged all java 8 installations (zulu and openjdk), but still when i type “java -version” i get java 8 shown as installed.
Nevermind, i installed zulu 11 manually (as openhab_knx tells in his post) configured it to be used, so when i type “java -version” now i get zulu 11 as active java framework.
Still the problem is there, that openhab 3.0 does not start.
When checking open oports, i see no service listening on :8080
Maybe you got another hint for this?
Yep, did several reboots.
Also did update & dist-upgrade everything else before and after installation / migration.
I’m confused, as any other service on my RPi is running well (grafana ; pihole ; deconz / phoscon etc.)
EDIT:
oh wait … openhab just came up with initial setup.
Wow … ths took over 15 mins now.
And seems like some settings i made in 2.5 are gone.
Of course i made a backup, as it was mentioned in the upgrade tutorial.
Should i restore all settings, or will this break the new 3.0 version?
It’s now like, my rules are there, and my items also are.
But all things are gone and are now shown as “new” in the inbox.
also my location is lost and api keys for opwnweather
Hi,
None of my mqtt links worked after OH3 migration. I am getting the following errors. What should I do? Can you help me please?
2020-12-22 17:18:42.580 [ERROR] [nhab.core.thing.binding.ThingFactory] - Thing factory (class org.openhab.binding.icloud.internal.ICloudHandlerFactory) returned null on create thing when it reports to support the thing type (icloud:device).
2020-12-22 17:18:42.582 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type icloud:device.
2020-12-22 17:18:42.586 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'icloud:device:XXXXXXXXXXXXXXX' to inbox.
2020-12-22 17:18:43.850 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = XXXXXXXXXXXXXXXXXXXXXXXXXXX, base URL = http://localhost:8080)
2020-12-22 17:19:25.879 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'mqttitude1' does not exist - ignoring it.
2020-12-22 17:19:25.883 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'mqtt1' does not exist - ignoring it.
2020-12-22 17:19:25.898 [WARN ] [core.karaf.internal.FeatureInstaller] - The misc add-on 'gcal1' does not exist - ignoring it.
2020-12-22 17:19:25.903 [WARN ] [core.karaf.internal.FeatureInstaller] - The misc add-on 'ruleengine' does not exist - ignoring it.
2020-12-22 17:19:25.910 [WARN ] [core.karaf.internal.FeatureInstaller] - The persistence add-on 'mysql' does not exist - ignoring it.
2020-12-22 17:19:25.928 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'classic' does not exist - ignoring it.
2020-12-22 17:19:25.932 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'paper' does not exist - ignoring it.