Astro binding doesn't initiate at start up

Hi,

I just updated to OH beta 3 and I found that Astro binding only works when I create the “thing”. After reseting the Raspberry, it doesn’t work any more.

I made some tests, and if add a “channel” (anyone that was not activated before) on Sun astro biding, it automatically start working. But again if the Raspberry is restarted it doesn’t work anymore.

I leave here the logs.

2016-06-13 21:14:16.845 [INFO ] [smarthome.event.ItemAddedEvent ] - Item ‘astro_moon_local_rise_start’ has been added.
2016-06-13 21:14:16.853 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link ‘astro_moon_local_rise_start-astro:moon:local:rise#start’ has been added.
2016-06-13 21:14:18.911 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:moon:local
2016-06-13 21:14:19.017 [INFO ] [marthome.event.ItemStateChangedEvent] - astro_moon_local_rise_start changed from NULL to 2016-06-13T13:10:00.000+0000
2016-06-13 21:14:19.023 [INFO ] [marthome.event.ItemStateChangedEvent] - astro_moon_local_phase_age changed from NULL to 8.00
2016-06-13 21:14:19.029 [INFO ] [marthome.event.ItemStateChangedEvent] - astro_moon_local_phase_illumination changed from NULL to 64.76
2016-06-13 21:14:19.038 [INFO ] [marthome.event.ItemStateChangedEvent] - astro_moon_local_phase_name changed from NULL to WAXING_GIBBOUS

2016-06-13 21:14:16.845 [ItemAddedEvent ] - Item ‘astro_moon_local_rise_start’ has been added.
2016-06-13 21:14:16.853 [ItemChannelLinkAddedEvent ] - Link ‘astro_moon_local_rise_start-astro:moon:local:rise#start’ has been added.
2016-06-13 21:14:19.017 [ItemStateChangedEvent ] - astro_moon_local_rise_start changed from NULL to 2016-06-13T13:10:00.000+0000
2016-06-13 21:14:19.023 [ItemStateChangedEvent ] - astro_moon_local_phase_age changed from NULL to 8.00
2016-06-13 21:14:19.029 [ItemStateChangedEvent ] - astro_moon_local_phase_illumination changed from NULL to 64.76
2016-06-13 21:14:19.038 [ItemStateChangedEvent ] - astro_moon_local_phase_name changed from NULL to WAXING_GIBBOUS

As far as I remember, if you define Things manually, you have to shutdown openHAB properly e.g. through

systemctl stop openhab.service

to save these settings. After that, openHAB should load the Thing at startup.

I checked it and still nothing.

Astro was working, I stopped OpenHab using
-sudo systemctl stop openhab
then
-sudo systemctl start openhab

Once started, astro data is not there…

I tried manually and also adding it as a thing, in both cases I have the same problem

There’s a Bug filed for for this (I had the same issue). I usually fix it by unlinking and relinking one of my astro items

Yes, unlinking and relinking solves it…

Can you please post here the bug link so everybody can follow it?

Thanks

As requested, here’s the issue for tracking purposes: https://github.com/openhab/openhab2-addons/issues/726