Hi,
my problem is that Openmediavault does not allow to expose directories on the installation disk using Samba. Therefore I cannot edit the configuration files using Eclipse on my Windows PC.
I tried to work around the problem using symbolic links, but I was not successful with it.
Is there a way to configure openhab2 to read the configuration files from a different location than /etc/openhab2/ ? This would enable me to store the configuration files on a Samba share.
Hi Ude, many thanks for your suggestion.
I tried this, I created the symlinks in an existing and accessible samba share. However I could not manage to access the linked files using samab due to authorization conflicts. I double checked that the files in /etc/openhab2/ do have the same owners and user rights as the other files in the samab share which I can access, however the system seems to protect the files on /etc/. This might be a problem which could be addressed to the Openmediavault comunity.
But is there really no way to configure alternative locations for the configuration files?
Hi Odo, I also tried it the other way around, but it looks like Openhab does not read symlinked directories.
I now installed Virtualbox and I am running openhab in a virtual machine on Openmediavault. This works great, and maybe it is even the better solution as I can play around without the risk of damaging the main system and I can take snapshots very easy.
Not sure if this is still relevant but it comes up as first result if searching for openhab, omv and samba. I achieved this by adding a few options to the global extra options for SMB in OMV:
follow symlinks = yes
wide links = yes
unix extensions = no
Step by step:
Adding one of my personal users (joe) to the group openhab