bundle:update file:// syntax#2658
Conversation
✅ Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
florian-h05
left a comment
There was a problem hiding this comment.
For me, this works on Linux:
bundle:update 187 file:///usr/share/openhab/org.openhab.core.io.rest.core-5.2.0-SNAPSHOT.jar
|
For me with three slashes after |
|
What path is localhost? |
I do not understand the question. |
|
|
||
| ```text | ||
| openhab>bundle:update 303 file:///localhost/srv/openhab-sys/org.openhab.binding.my-5.0.0-SNAPSHOT.jar | ||
| openhab>bundle:update 303 file://localhost/srv/openhab-sys/org.openhab.binding.my-5.0.0-SNAPSHOT.jar |
There was a problem hiding this comment.
Either use absolute paths or explain how localhost gets resolved:
| openhab>bundle:update 303 file://localhost/srv/openhab-sys/org.openhab.binding.my-5.0.0-SNAPSHOT.jar | |
| openhab>bundle:update 303 file:///srv/openhab-sys/org.openhab.binding.my-5.0.0-SNAPSHOT.jar |
There was a problem hiding this comment.
Currently the openHAB-documentation at https://www.openhab.org/docs/administration/bundles.html#using-bundle-install-and-bundle-update says literally:
openhab>bundle:update 303 file:///localhost/srv/openhab-sys/org.openhab.binding.my-5.0.0-SNAPSHOT.jar
I do not know how localhost is resolved, but this example does not work. To get it working one slash has to be removed.
The documentation for Apache Karaf - https://karaf.apache.org/manual/latest/ - does not mention bundle:update.
There is one slash too much, which causes: