See:
I’m sure the problem has something to do with the fact that it is running as the openhab user and something isn’t configured right for that user.