Hello Albert,
the homegear image comes preinstalled with openhab and judging by this line it’s still openHAB 1.8. I would guess that’s your problem, you have now two conflicting versions installed. The mentioning of “wiringPiSetup” is also uncommon to me. Not sure if it’s part of the normal openHAB setup.
To solve your problem, you should uninstall both versions and then start fresh with openHAB 2 following the guide.
However this will be bothersome. Consider installing openHABian on your Raspberry Pi. It’s an extended Raspbian setup with openHAB pre-installed. From the included menu (sudo openhabian-config
) you can install homegear with one click. So it’s similar to the homegear image but “the other way around”.