How to automatically install HabPanel?

Had similar problems after updating from beta3 to b4 with apt. Solution for me: sudo rm -rf /var/lib/openhab2/cache/* (Taken from: openHAB 2.0 beta4 has been released! - #23 by ThomDietrich)