Max_G
(Max G)
April 21, 2020, 8:27am
1
Platform information:
Hardware: Raspberry Pi 3 Model B Rev 1.2_
OS: Raspbian GNU/Linux 8 (stretch)
OpenJDK Runtime Environment (Zulu 8.31.1.122-linux_aarch32hf) (build 1.8.0_181-b122)
openHAB Version: OH2.5.4 (apt-get), text-based config
binding = expire1,fritzboxtr0641,mqtt1,weather1,astro,exec,network,ntp,systeminfo,logreader
ui = paper,basic,classic,restdocs
persistence = rrd4j,mapdb
action = mail,mqtt
transformation = map,javascript,xslt,scale,jsonpath
I just did an apt-get update/upgrade, resulting in a bunch of errors.
I think I was on 2.4.0-something before the upgrade.
One error is Failed installing openhab-misc-restdocs
and that despite removing ‘restdocs’ from the misc
section in addons.cfg
and moving it to the ui
section.
I since rebooted the rPi, however, I still have this error msg.
Review the thread that is stickied on the forums - 2.5 issues after upgrade
Max_G
(Max G)
April 21, 2020, 9:14am
3
Appreciate the link, which says “move restdocs from misc to ui” which I have done; I restarted OH since, issue remains.
On rare occasion I have had to review the /var/lib/openhab dir for changes that didn’t update. The issue might be in this file:
/var/lib/openhab2/config/org/openhab/addons.config
I would suggest only removing the restdocs from the file and updating your /etc/openhab/service/addons.cfg to let OH update it.
2 Likes
Max_G
(Max G)
April 21, 2020, 9:37am
5
Checked… was updated. Huh, no it wasn’t!!! Silly me.
It still had:
misc="restdocs"
in it… in addition to having it added to the ui
section.
Now fixed.
# [2020-04-21 19:33] maxg@rpi3ohv2 /var/lib/openhab2/config/org/openhab $
cat addons.config
:org.apache.felix.configadmin.revision:=L"1"
action="mail,mqtt"
binding="expire1,fritzboxtr0641,mqtt1,weather1,astro,exec,network,ntp,systeminfo,logreader"
legacy="true"
package="minimal"
persistence="rrd4j,mapdb"
remote="true"
service.pid="org.openhab.addons"
transformation="map,javascript,xslt,scale,jsonpath"
ui="paper,basic,classic,restdocs"