Dear Team,
First of all, thanks for your unbelievable efforts that you are investing in the development and maintenance of openhab2!
Allow me to report an issue after the upgrade to OH 2.3 (which was done overnight by a cron job containing āsudo apt-get update/upgrade/dist-upgradeā sequence of commands).
Symptoms:
- Even though the openhab2 service seems to be up (please see below the output of āsudo service openhab2 statusā), the only available web ui is the LogViewer.
- Also, the rules are no longer being executed.
- The openhab2 cloud instance is in āofflineā status since tonight right after the restart of openhab2 service after the apt-get update set of commands.
Logs:
- extract from /var/log/openhab2/openhab.log:
2018-05-29 15:46:32.946 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Bucharest'.
2018-05-29 15:46:32.969 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '44.4239065,26.0739061'.
2018-05-29 15:46:36.937 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-voice-mactts, openhab-voice-marytts, openhab-misc-restdocs, openhab-misc-openhabcloud, openhab-binding-network, openhab-persistence-influxdb, openhab-ui-habpanel, openhab-persistence-mysql, openhab-misc-hueemulation, openhab-binding-mqtt1, openhab-binding-chromecast, openhab-action-nma, openhab-transformation-map, openhab-ui-classic, openhab-binding-kodi, openhab-ui-habmin, openhab-action-mqtt, openhab-ui-paper, openhab-binding-wol1, openhab-binding-http1, openhab-voice-voicerss, openhab-ui-homebuilder, openhab-misc-market, openhab-binding-weather1, openhab-misc-ruleengine, openhab-transformation-jsonpath, openhab-binding-mihome, openhab-binding-wifiled, openhab-ui-basic, openhab-action-mail': Error:
Resource mvn:org.openhab.binding/org.openhab.binding.wifiled/2.3.0 does not contain a manifest
2018-05-29 15:46:42.359 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'weather.items'
2018-05-29 15:46:42.477 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.items'
2018-05-29 15:46:42.567 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'sonoff.items', using it anyway:
Duplicate ModelItem 'Sonoff_SC_Light'
Duplicate ModelItem 'Sonoff_SC_Light'
2018-05-29 15:46:42.576 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'sonoff.items'
2018-05-29 15:46:43.275 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2018-05-29 15:46:43.313 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2018-05-29 15:46:46.123 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-05-29 15:46:49.845 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'sonoff.rules'
2018-05-29 15:46:50.706 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'smoke_alarm.rules'
2018-05-29 15:46:50.833 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'button.rules'
2018-05-29 15:46:50.917 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'water_leakage.rules'
2018-05-29 15:46:51.840 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'entrance_door_gw_light_on.rules'
2018-05-29 15:46:52.282 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'kids_bedroom.rules'
2018-05-29 15:46:52.465 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'kitchen.rules'
2018-05-29 15:46:52.526 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'refresh.rules' has errors, therefore ignoring it: [8,3]: mismatched input 'else' expecting 'end'
2018-05-29 15:46:53.286 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'tlc.sitemap'
2018-05-29 15:46:53.671 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'kodi.things'
2018-05-29 15:46:56.080 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://10.0.0.4:8080
2018-05-29 15:46:56.089 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://10.0.0.4:8443
2018-05-29 15:47:34.941 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-voice-mactts, openhab-voice-marytts, openhab-misc-restdocs, openhab-misc-openhabcloud, openhab-binding-network, openhab-persistence-influxdb, openhab-ui-habpanel, openhab-persistence-mysql, openhab-misc-hueemulation, openhab-binding-mqtt1, openhab-binding-chromecast, openhab-action-nma, openhab-transformation-map, openhab-ui-classic, openhab-binding-kodi, openhab-ui-habmin, openhab-action-mqtt, openhab-ui-paper, openhab-binding-wol1, openhab-binding-http1, openhab-voice-voicerss, openhab-ui-homebuilder, openhab-misc-market, openhab-binding-weather1, openhab-misc-ruleengine, openhab-transformation-jsonpath, openhab-binding-mihome, openhab-binding-wifiled, openhab-ui-basic, openhab-action-mail': Error:
Resource mvn:org.openhab.binding/org.openhab.binding.wifiled/2.3.0 does not contain a manifest
2018-05-29 15:48:34.771 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-voice-mactts, openhab-voice-marytts, openhab-misc-restdocs, openhab-misc-openhabcloud, openhab-binding-network, openhab-persistence-influxdb, openhab-ui-habpanel, openhab-persistence-mysql, openhab-misc-hueemulation, openhab-binding-mqtt1, openhab-binding-chromecast, openhab-action-nma, openhab-transformation-map, openhab-ui-classic, openhab-binding-kodi, openhab-ui-habmin, openhab-action-mqtt, openhab-ui-paper, openhab-binding-wol1, openhab-binding-http1, openhab-voice-voicerss, openhab-ui-homebuilder, openhab-misc-market, openhab-binding-weather1, openhab-misc-ruleengine, openhab-transformation-jsonpath, openhab-binding-mihome, openhab-binding-wifiled, openhab-ui-basic, openhab-action-mail': Error:
Resource mvn:org.openhab.binding/org.openhab.binding.wifiled/2.3.0 does not contain a manifest
(the last message is repeated every 1 minute).
- output of āsudo service openhab2 statusā:
openhabian@pi:~ $ sudo service openhab2 status
ā openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-05-29 15:46:21 EEST; 3min 9s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 22511 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=0/SUCCESS)
Main PID: 22715 (java)
CGroup: /system.slice/openhab2.service
āā22715 /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/o
May 29 15:46:21 pi systemd[1]: Started openHAB 2 - empowering the smart home.
May 29 15:46:56 pi karaf[22715]: java.lang.IllegalArgumentException: No enum constant com.yeelight.sdk.enums.DeviceType.bslamp1
May 29 15:46:56 pi karaf[22715]: at java.lang.Enum.valueOf(Enum.java:238)
May 29 15:46:56 pi karaf[22715]: at com.yeelight.sdk.enums.DeviceType.valueOf(DeviceType.java:1)
May 29 15:46:56 pi karaf[22715]: at com.yeelight.sdk.device.DeviceFactory.build(DeviceFactory.java:29)
May 29 15:46:56 pi karaf[22715]: at com.yeelight.sdk.services.DeviceManager$2.run(DeviceManager.java:130)
May 29 15:46:56 pi karaf[22715]: at java.lang.Thread.run(Thread.java:748)
So far I have tried the following without success:
- The below sequence of commands:
- sudo service openhab2 stop
- rm -fr /var/lib/openhab2/cache
- rm -fr /var/lib/openhab2/tmp
- sudo service openhab2 start
- removing the wifiled bundle via karaf
- the ābundle:listā command does not show up any wifiled bundle, so I cannot get the ID of the bundle needed for the ābundle:uninstallā command.
I need your advice on how to force-start the Paper UI web interface (I assume I can manage from there) or any other method to start openhab2 after the upgrade to v2.3.
Thanks a lot,
Cristian