-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
openHAB directory is not relocatable #860
Labels
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/migrating-from-3-4-on-debian-to-4-0-docker/148074/7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
openHAB writes absolute paths to
userdata
and hence moving its directory is not trivial (one has to do something likesed
ing theuserdata
).oH sets the directory to the absolute path here:
openhab-distro/distributions/openhab/src/main/resources/bin/oh2_dir_layout
Line 35 in 14a9fd1
Here's an example from my test installation:
Note that majority of these are keys
felix.fileinstall.dir
andfelix.fileinstall.filename
— can these be fixed en masse? There are few other absolute paths:The text was updated successfully, but these errors were encountered: