Closed piejanssens closed 5 years ago
I enabled the DSM "User's Home" option (strange requirement! and not documented) to get passed this error. Now the OpenHAB install completed and I could start and load up OH.
PS. I don't use a 'public' folder and would prefer to have the option to specify the share location for OH or have an option for the share 'openHAB': /volume1/openHAB
instead of /volume1/public/openHAB
Is the UH_SERVICE check done only because enabling the home service would create the public share?
Yes, I think the option is only for that. So if in Wizzard another option than the share folder in the user home settle, then the user home service can remain disabled.
There is nothing 'public' about openHAB config files and therefore I don't see a particular reason to want it as part of the 'Public' shared folder Please note that enabling the user home folder on DSM6+ (at least my version) does not create the public folder, so to use the home UH_SERVICE check to assume the 'Public' share will be there makes no sense.
The best (IMO) solution for the wizard would be to let the user select the destination for the conf files and if possible create the 'conf', 'userdata' and 'addons' folders in that selected directory automatically. So replace the radio buttons with a single input field where the user needs to enter the path to the root folder for the OH files starting with the name of a shared folder. There is already code in place to check if that folder exists. e.g. I would enter 'openHAB'. If you want it in public you could enter 'Public/openHAB'.
@SchoppAx What do you think about?
That’s an easy enhancement.
I will change the destination settings in the holidays ;-)
Hi,
I think this is related to this new option that we get during installation:
Just want to suggest that the setup description would make a reference to the first two being shared folders - at least I didn't figure it out for "SmartHome" at first. Something like "(share must exist..." should suffice...
Cheers
@acseven Sounds good and should be easy to implement...
I made a pull request to add the missing step
This issue can be closed
I installed the official Java 8 pkg before installing openHAB. I created the shared folder 'openHAB' and gave r/w permissions to 'guest' (is this necessary?).