Open EnziinSystem opened 1 month ago
Shouldn't the command to start OH be the following?
sudo -u openhab /opt/openhab/start.sh
Is there a reason you are not installing from the package manager?
Shouldn't the command to start OH be the following?
sudo -u openhab /opt/openhab/start.sh
Is there a reason you are not installing from the package manager?
I choose the manual installation method so that I always have the version I want and it is only located in the /opt/openhab directory.
What's wrong with installing it manually?
There is no problem with installing it manually in general, but looking at your console output, you have problems with permissions, I don‘t think this is an Karaf issue.
/opt/openhab/runtime/bin/karaf: 54: cd: can't cd to /home/developer
/opt/openhab/runtime/bin/karaf: 67: .: cannot open ./inc: Permission denied
Probably your environment variables or openhab user homedir is not configured properly. E.g. the Karaf scripts use $HOME
which in your case is set to /home/developer
for which the openhab user has no write permission.
My environment:
Install OpenHAB 4.1.2
Grant permission
Execute as restricted user openhab:
I think I do very basic, things and nothing special. Everything is there, permissions have been granted, but a permissions error occurs.