Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link addons and conf data to /volume1/homes/openhab2/ #63

Closed
andreabisiach opened this issue Mar 22, 2017 · 9 comments
Closed

link addons and conf data to /volume1/homes/openhab2/ #63

andreabisiach opened this issue Mar 22, 2017 · 9 comments

Comments

@andreabisiach
Copy link

andreabisiach commented Mar 22, 2017

Hello,

this is a suggestion.
The idea of being able to manage configuration from a share is great but I would suggest the following approach in the spk installer (since you are creating the user openhab2)

Test if conf is found under /volume1/homes/openhab2/
If yes link to it
if not try /volume1/public/openhab2/
if yes link to it
otherwise keep it to /volume1/@appstore/openHAB2

Same procedure for addons

Lastly,
during uninstallation, do not remove the user openhab2

@cniweb
Copy link
Member

cniweb commented Jul 19, 2017

Is it still relevant?
What do others think about this?

@Baumi1245
Copy link

/volume1/homes/openhab2/
is deleted if openhab is uninstalled...

no matter what happens... i want to delete these files myselfe.

I still hope, that i can select the installation-folder - I want to have my stuff in "SmartHome" not in "public"

;-)

@andreabisiach
Copy link
Author

Yes still relevant :-)

And yes, do not delete the openhab2 user or the home folder :-)

"
Lastly,
during uninstallation, do not remove the user openhab2
"

@cniweb
Copy link
Member

cniweb commented Jul 20, 2017

This could be requested during the installation and deinstallation.

  1. User to be created / deleted
  2. Installation folder for config files

@Baumi1245
Copy link

/volume1/public/openhab2/
/volume1/homes/openhab2/
/volume1/SmartHome/openhab2/

Maybe it´s possible to select the installation folder via Drop-Down (public by default) - so we both have what we want...

@cniweb
Copy link
Member

cniweb commented Jul 27, 2017

@cniweb
Copy link
Member

cniweb commented Aug 8, 2017

I think it works, so I close this issue?

@cniweb cniweb closed this as completed Sep 17, 2017
@rberger
Copy link

rberger commented Nov 11, 2018

It looks like conf and addons are not being copied over from /volume1/@appstore/openHAB into /volume1/SmartHome/openHAB/ and then linked back to /volume1/@appstore/openHAB

I.E. after I just did a fresh install, /volume1/@appstore/openHAB/userdata was properly set up but there was no conf or addons in /volume1/@appstore/openHAB/ but they were still in /volume1/@appstore/openHAB

It made it difficult to do a manual install of an add-on.

Not sure if this is a bug or feature.

@cniweb
Copy link
Member

cniweb commented Nov 18, 2018

What is the different between /volume1/@appstore/openHAB/ and /volume1/@appstore/openHAB in your comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants