Astro binding install problem

Just tried to install the astro binding. getting this error in logs every 60 seconds or so

12:28:13.619 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-astro': Error:
	/var/lib/openhab2/tmp/dbd728ed-activation-1.1.1.jar (Permission denied)

cd /var/lib/openhab2/tmp
ls -l
reveals

-rw-------  1 openhab openhab  32461 Nov 30 01:10 c64c7424-dagger-2.20.jar
-rw-------  1 openhab openhab  70527 Dec 15 17:44 dbd728ed-activation-1.1.1.jar

does the jar need to be executable?
OpenHAB 2.5.0.M5 on a desktop pc I3 8 Gb Ram 1 Tb spiny H/D

Did you install the binding from PaperUI? If so then restart OH a few times and see if that helps.

sudo systemctl restart openhab2

If you installed the openhabian image then you can also use the openhabian-config tool and run fix permissions option.

ok thanks, so far one restart has not cured the error
the astro binding was installed from Paper UI but I have openhabian-config tool installed.

Open the tool and select number 10 Apply Improvements then select numbers 11, 13, and 14. This plus two restarts of OH should help.

bingo

12:52:25.687 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'binding-astro' has been installed.

14 fix permissions did it :+1:
this community is just amazing

2 Likes

Glad you got it fixed. :smiley: and yes everyone here does very well helping each other.

2 Likes