I can’t figure out why openhab refuses to load any addons in the addons folder, it does not even try, there’s absolutely nothing in any logs. I use the /usr/share/openhab/addons as is the default for a repos installation.
Double checked file permissions, chown’ed the addon file to openhab:openhab, used the openhab-cli to explicitly fix permission issues.
sh#:/usr/share/openhab/addons# ls -l
total 284
-rwxr-xr-x 1 openhab openhab 141463 May 18 08:53 org.openhab.binding.lgthinq-3.4.3-SNAPSHOT.jar
Is there a command to forceload a file ? other suggestions?
AFAIK bindings that you add into addons folder will not show under installed bindings in UI, but you should still be able to add things (binding will be listed when you try to add a new thing). Not sure if that is the case for you, just FYI …
When I install the bundle with bundle:install, where does the .jar file end up on the drive ? I can’t find it. It for sure is not in the addons folder. (OH 4.2.0 & OH 4.3.0 M2 ) When I put it there, it was ignored anyway.
Note to future_me: do use the ?raw=true at the end of the url and then do bundle:start ID
The ID is shown when doing bundle:list
Depends on your installation. Please read the installation docs which describe where folders are located. In a plain debian package installation, it is under /etc/openhab.
Thanks. I think I am way beyond this. I run docker and have been searching inside the container too. There is a folder /openhab/userdata/tmp/mvn/org/openhab/addons but that does not contain the addon I installed via the cli. There is the /openhab/addon folder, this is mapped in docker compose. I checked - can see the files from within the container and on the host. Permissions are openhab:openhab like the config and userdata folder (where they work). I was so desperate to make them 777, of course that didn’t help.
Actually I did not. The folders I found had no trace of my binding.
bundle:install solved the problem for now, still
the addons folder is not functional for me and
I would really like to know where the bundle:install command put the jar file. Just to understand what happened and make sure its still there next time I boot the RPi
.