Bindings shutting down on upgrade to 2.2 stable

I am seeing many of my bindings start and then stop with nothing obvious in the logs:

18-Dec-2017 12:28:17.412 [DEBUG] [org.openhab.binding.http                          ] - BundleEvent [unknown:512] - org.openhab.binding.http
18-Dec-2017 12:28:17.415 [DEBUG] [org.openhab.binding.http                          ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.http.HttpBindingProvider}={component.name=org.openhab.binding.http.genericbindingprovider, component.id=17, service.id=122, service.bundleid=213, service.scope=bundle} - org.openhab.binding.http
18-Dec-2017 12:28:17.462 [DEBUG] [org.openhab.binding.http                          ] - BundleEvent STARTING - org.openhab.binding.http
18-Dec-2017 12:28:17.462 [DEBUG] [org.openhab.binding.http.internal.HttpActivator   ] - HTTP binding has been started.
18-Dec-2017 12:28:17.462 [DEBUG] [org.openhab.binding.http                          ] - BundleEvent STARTED - org.openhab.binding.http
18-Dec-2017 12:28:19.510 [DEBUG] [org.openhab.binding.http                          ] - BundleEvent STOPPING - org.openhab.binding.http
18-Dec-2017 12:28:19.513 [DEBUG] [org.openhab.binding.http                          ] - ServiceEvent UNREGISTERING - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.http.HttpBindingProvider}={component.name=org.openhab.binding.http.genericbindingprovider, component.id=17, service.id=122, service.bundleid=213, service.scope=bundle} - org.openhab.binding.http
18-Dec-2017 12:28:19.514 [DEBUG] [org.openhab.binding.http.internal.HttpActivator   ] - HTTP binding has been stopped.
18-Dec-2017 12:28:19.514 [DEBUG] [org.openhab.binding.http                          ] - BundleEvent STOPPED - org.openhab.binding.http

18-Dec-2017 12:28:17.404 [DEBUG] [org.openhab.action.mail                           ] - BundleEvent [unknown:512] - org.openhab.action.mail
18-Dec-2017 12:28:17.406 [DEBUG] [org.openhab.action.mail                           ] - ServiceEvent REGISTERED - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.mai
l.action, component.id=14, service.id=121, service.bundleid=208, service.scope=bundle} - org.openhab.action.mail
18-Dec-2017 12:28:17.406 [DEBUG] [org.openhab.action.mail                           ] - BundleEvent STARTING - org.openhab.action.mail
18-Dec-2017 12:28:17.407 [DEBUG] [org.openhab.action.mail.internal.MailActivator    ] - Mail action has been started.
18-Dec-2017 12:28:17.407 [DEBUG] [org.openhab.action.mail                           ] - BundleEvent STARTED - org.openhab.action.mail
18-Dec-2017 12:28:19.515 [DEBUG] [org.openhab.action.mail                           ] - BundleEvent STOPPING - org.openhab.action.mail
18-Dec-2017 12:28:19.517 [DEBUG] [org.openhab.action.mail                           ] - ServiceEvent UNREGISTERING - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.
mail.action, component.id=14, service.id=121, service.bundleid=208, service.scope=bundle} - org.openhab.action.mail
18-Dec-2017 12:28:19.519 [DEBUG] [org.openhab.action.mail.internal.MailActivator    ] - Mail action has been stopped.
18-Dec-2017 12:28:19.520 [DEBUG] [org.openhab.action.mail                           ] - BundleEvent STOPPED - org.openhab.action.mail

expire.log:18-Dec-2017 12:28:30.296 [DEBUG] [org.openhab.binding.expire                        ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.expire.ExpireBindingProvider}={component.name=org.openhab.binding.expire.genericbindingprovider, component.id=206, service.id=320, service.bundleid=212, service.scope=bundle} - org.openhab.binding.expire
openhab.log:2017-12-18 12:28:30.296 [INFO ] [b.core.service.AbstractActiveService] - Expire Refresh Service has been started
openhab.log:2017-12-18 12:28:41.298 [INFO ] [b.core.service.AbstractActiveService] - Expire Refresh Service has been shut down

I had the same problem and solve it by starting by adding the server parameter to start.sh

What ‘server’ parameter did you change? Btw, your link is bad.

After upgrading from 2.1 to 2.2 I found I had to uninstall the Exec 2.2 binding and then re-install. None of the other bindings seem affected.

I had MQTT issues. Had to reinstall MQTT binding and MQTT Action. Maybe other binding problems as well but havent noticed yet

I changed this in my /etc/rc.local:

/bin/su -c '/opt/openhab/start.sh server >/dev/null 2>&1 &' openhab

I have non idea why this forum added the link.

It’s caused by the forum. If you put anything, a dot, and a valid root domain the forum will automatically turn it into a link. Since sh is a valid domain, start.sh becomes a URL.

Annoying.

1 Like

Ah Saint Helena :slight_smile:

2 Likes