I do the same with my OH2 Snapshot after each upgrade.
I also have 2 manually installed bindings ([1] & [2]) and they fail to become active upon first restart when cache & temp have been cleared.
warn messages
2017-07-21 08:03:57.898 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.unifi-2.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.unifi [10]
Unresolved requirement: Import-Package: com.fasterxml.jackson.annotation
[...]
2017-07-21 08:04:29.990 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.mpower-2.0.02-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mpower [9]
Unresolved requirement: Import-Package: com.google.common.base; version="10.0.1"
The dependencies are not loaded at the moment when OH2 tries to start them (with cache & temp empty).
It seems that if OH2 has already populated cache & temp, the dependencies are loaded fine (maybe this happens first).
See also here:
This is strange… this shouldn’t happen
Try to debug more this case…