Upgrading from 3.2 to 3.3 (after several restarts and cache cleaning), I face the following infinite loop preventing openhab starting :
18:50:16.350 [WARN ] [.core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
18:50:16.351 [INFO ] [.core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
What looks strange in your case is this error: “Could not determine addons folder, its content or the list of installed repositories!”
In my case, at first startup, I have to wait but I don’t thing I got this error.
If that directory does not exist, try config:delete org.apache.felix.fileinstall.1b253c7d-1033-4848-8708-c778e47abccc and restart. Did you restore the configuration from another system? That could explain why that configuration is there.
I neved restored from anywhere else, I’m using the same server since openhab 2 and I updated to every 3.x
Please also note that I first deleted the configuration on 3.2, then installed (with debian aptitude) the 3.3 and the configuration for /opt/openhab/addons came back again. It is only after deleting it on 3.3 and restarting that it began to work.
I suggest a bugfix on the released 3.3 because I think I won’t be the only user impacted.
This can‘t be fixed for everyone. It‘s an issue with the local configuration and it‘s impossible to detect which configuration is correct. There have also been reports in the past with two invalid (and one valid) configurations.
No file-install configuration is as bad as two configurations. Please check if there is any org.apache.felix.fileinstall*.cfg in /var/lib/openhab/etc and post the content if it is. If not, please create one with the content linked above by @wborn.
But it still doesn’t work. The following entry still comes up in the openhab.log:
2022-07-03 23:03:00.065 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-07-03 23:03:00.066 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.