OH 3.4.0: Could not determine addons folder

Hi,

i have upgraded to OH 3.4.0 on a raspberry pi 2 model. After upgrading yesterday to OH 3.4.0, i get the following error message in the log:

2023-04-16 10:12:31.961 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:12:46.971 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2023-04-16 10:12:46.978 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:13:01.986 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2023-04-16 10:13:01.992 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:13:17.000 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2023-04-16 10:13:17.005 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:13:32.014 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2023-04-16 10:13:32.019 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:13:47.027 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2023-04-16 10:13:47.032 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2023-04-16 10:14:02.040 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

These messages are constantly repeaded and the basic ui is not avalaible anymore.

The folder in /usr/share/openhab is acessable:

openhabian@openHABianDevice:/usr/share/openhab $ ls -la addons/
total 12
drwxrwxr-x 2 openhab openhab 4096 Apr 16 09:41 .
drwxrwxr-x 4 openhab openhab 4096 Apr 16 09:08 ..
-rw-r--r-- 1 openhab openhab   70 Dec 19 08:38 README

I’ve also cleaned the cache an restarted OH, but nothing changed.

Some hints, whats wrong?

BW

I would suggest to check this thread: [REGRESSION] 3.2 to 3.3 : don't start & infinite loop : Some .kar files are not installed yet. Delaying add-on installation by 15s

Hi,

i’ve also found this thread. In my point of view, everything seems to be okay in my installation:

openhabian@openHABianDevice:/usr/share/openhab $ cat /var/lib/openhab/etc/org.apache.felix.fileinstall-deploy.cfg
## Standard settings of Karaf

felix.fileinstall.start.level   = 80
felix.fileinstall.log.level     = 3

## Custom openHAB configuration

felix.fileinstall.dir           = ${openhab.home}/addons
felix.fileinstall.tmpdir        = ${karaf.data}/tmp/bundles
felix.fileinstall.filter        = .*\\.(jar|kar)
felix.fileinstall.poll          = 10000
felix.fileinstall.active.level  = 90
felix.fileinstall.subdir.mode   = skip
openhab> config:list "(service.pid=org.apache.felix.fileinstall*)"
----------------------------------------------------------------
Pid:            org.apache.felix.fileinstall.33965f20-c947-494d-b1b4-34702ab71fc                                                                                                                                                             d
FactoryPid:     org.apache.felix.fileinstall
BundleLocation: ?
Properties:
   felix.fileinstall.active.level = 90
   felix.fileinstall.dir = /usr/share/openhab2/addons
   felix.fileinstall.filename = file:/var/lib/openhab2/etc/org.apache.felix.file                                                                                                                                                             install-deploy.cfg
   felix.fileinstall.log.level = 3
   felix.fileinstall.poll = 10000
   felix.fileinstall.start.level = 80
   felix.fileinstall.subdir.mode = skip
   felix.fileinstall.tmpdir = /var/lib/openhab2/tmp/bundles
   service.factoryPid = org.apache.felix.fileinstall
   service.pid = org.apache.felix.fileinstall.33965f20-c947-494d-b1b4-34702ab71f                                                                                                                                                             cd
----------------------------------------------------------------
Pid:            org.apache.felix.fileinstall.5ea8ebcb-bf19-47e2-9afb-4021afc3fef                                                                                                                                                             b
FactoryPid:     org.apache.felix.fileinstall
BundleLocation: ?
Properties:
   felix.fileinstall.active.level = 90
   felix.fileinstall.dir = /usr/share/openhab/addons
   felix.fileinstall.filename = file:/var/lib/openhab/etc/org.apache.felix.filei                                                                                                                                                             nstall-deploy.cfg
   felix.fileinstall.filter = .*\.(jar|kar)
   felix.fileinstall.log.level = 3
   felix.fileinstall.poll = 10000
   felix.fileinstall.start.level = 80
   felix.fileinstall.subdir.mode = skip
   felix.fileinstall.tmpdir = /var/lib/openhab/tmp/bundles
   service.factoryPid = org.apache.felix.fileinstall
   service.pid = org.apache.felix.fileinstall.5ea8ebcb-bf19-47e2-9afb-4021afc3fe                                                                                                                                                             fb

/usr/share/openhab2/addons doesn’t look correct. Try config:delete org.apache.felix.fileinstall.33965f20-c947-494d-b1b4-34702ab71fc

Thanks a lot, that was the problem! Now my installation is working again.

1 Like