openHAB 5.2 Release discussion

@stas-dovgodko can you put the binding in DEBUG mode and try streaming ? I’m curious if there something being printed there, i would expect a 404 vs 415 error is why i ask. Is there a proxy in front or something ?

Here is full unifi debug when I tried to open webrtc in oh-video

405 status, not 415 my fault

OK, thats a big difference and make more sense and confirms the fix i just put in, i’ll have something posted shortly.

Ok new unifi jar can be downloaded at

I would uninstall the old one first before dropping in the addons folder. And this says 5.3, but will work on a 5.2 system. Give this a try and let me know, i’ll open a PR up once confirmed.

Same problem for me when upgrading to 5.2.0, but not sure I understand the workaround to be applied to make it work:

Refreshing the cache...
Starting server...
Finalizing startup sequence...
org.apache.karaf.features.internal.util.MultiException: Error:
        Error downloading mvn:org.openhab.addons.bundles/org.openhab.binding.avmfritz/5.2.0
        at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
        at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
        at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:474)
        at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:469)
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:223)
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399)
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
        Suppressed: java.io.IOException: Error downloading mvn:org.openhab.addons.bundles/org.openhab.binding.avmfritz/5.2.0
                at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77)
                at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
                at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                ... 3 more

The issue went on long after @Lolodomo made that reference, and what was the end when he wrote it, isn’t anymore. But, to sum up, it doesn’t look like there is a single reason that give these symptoms, but several different situations.

One was that the Ecovacs binding didn’t have the dependencies it needed available on the server, so anybody that had that binding installed would have the binding installation halted by that. I’ve verified that the AVM FRITZ! binding installs fine on a test installation of mine, so that’s not the cause here.

Another was that Docker containers with many network interfaces could take so long to initialize mDNS that the installation would time out and give up installing bindings. It doesn’t look like that is your problem either, as far as I can tell.

There might be other reasons as well that isn’t well understood yet. But, in your case, it seems like the download of the binding itself fails, and it works for me. Thus: Are you sure that the installation has internet access when you try to start it up after upgrading?

Hi @Nadahar - internet access was always available. I never had any issues with any OH update. This is the first time a binding can’t be downloaded.

I will try to run some packet captures.

I assume that you use JavaScript? We’re working on finding a way to handle this, in short, there are problems if you try to run another rule and you send JS objects to the other rule. The way to solve it seems to be to only send Java objects between rules, but we’re trying to find a way to do that “automatically” without users having to change their scripts.

I think this issue is on my side… But I don’t understand why in this case…

As I said, if you try to run another rule/script, and send JS objects as “context”, you will get this error.

Yes but the error confuses me. Fixed that, but the multi threaded access is still there. Yes, I use Blockly Javascript.

lag 16:57:00.477 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.
flag 16:57:00.481 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.
flag 16:57:00.484 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.
flag 16:57:00.487 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.
flag 16:57:00.490 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.
flag 16:57:00.493 WARN org.openhab.core.automation.internal.RuleEngineImpl Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: Multi threaded access requested by thread Thread[#4280,OH-rule-dewPointCalcFunction-1,5,main] but is not allowed for language(s) js.

Hint: In the log viewer, open the “toolbar” and switch from “table” to “text” view. It’s much easier to read, not to mention that it’s actually suitable to post places like here :wink:

I don’t know much about Blockly, but I’m not sure that it’s possible to convert the objects to Java objects using Blockly. Somebody that knows it would have to chip in, but the potential is that there’s nothing you can do but to wait for the fix if you’re using Blockly.

Now I change my script that there is no object any more and I get this now:

17:05:35.147[WARN] [org.openhab.core.automation.internal.RuleEngineImpl] - Failed to execute action ‘script’ of rule ‘dewPointCalcFunction’: The Context is already closed.

That is a different problem that I thought should be already solved. Restart OH and that error should go away.

Thank you for your time and help! Now it’s working everything as expected… Main issue was the object. After restart everything is fine now.

You would have to use the inline script block and hand code that.

I’ve noticed behavior that I haven’t seen before recently. I’m not sure exactly what might have introduced it, but I’m pretty sure this behavior is in 5.2.0. Basically, if you enter/refresh MainUI while OH is starting up, you will be taken to the “create new admin account” screen for a while. If you refresh it will eventually take you to the login screen instead, but it didn’t use to be like this (at least I’ve never seen it in the past).

I haven’t tried to actually create a new account when the window appears, so I don’t know if that would work or not, but it’s not “good” that this is even offered for a system where the account has already been created.

Hello,

I run OH via Docker, and I have been upgrading it seamlessly (the Docker part) for many years. This time around, the migration failed due to permissions, although the permissions are 100% correct (meaning the user ID and group ID are the owners of the.

I am moving from OH 5.1.1. Not sure what’s different (nothing in breaking changes). Per docker I am running it with my own uid/gid

"Or run the Docker container with your own user AND pass the uid and gid to openHAB with environment variables

docker run \
(...)
-e USER_ID=<myownuserid> \
-e GROUP_ID=<myowngroupid> \
(...)
"

Openhab.5.2.0		
		
date	stream	content
2026/07/13 13:09:28	stdout	./runtime/bin/karaf: 395: cannot create /openhab/userdata/cache-refresh-lock: Permission denied
2026/07/13 13:09:27	stdout	mkdir: cannot create directory ‘/openhab/userdata/tmp’: Permission denied
2026/07/13 13:09:27	stdout	Launching the openHAB runtime...
2026/07/13 13:09:27	stdout	+ exec su-exec openhab tini -s ./start.sh
2026/07/13 13:09:27	stdout	+ '[' true == false ']'
2026/07/13 13:09:27	stdout	+ sync
2026/07/13 13:09:27	stdout	+ '[' -d /etc/cont-init.d ']'
2026/07/13 13:09:24	stdout	+ sync
2026/07/13 13:09:24	stdout	+ chown -R openhab:openhab /openhab
2026/07/13 13:09:24	stdout	
2026/07/13 13:09:24	stdout	SUCCESS: openHAB updated from 5.1.1 to 5.2.0
2026/07/13 13:09:24	stdout	
2026/07/13 13:09:24	stdout	
2026/07/13 13:09:24	stdout	JSON database updated successfully.
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Kitchen_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Master_Shutter_Big_Window_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'GuestToiletWirelessSwitch_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Walkin_Window_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'LivingRoomSmallCurtain_RollerShutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Salon_Right_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'KitchenMotionSensor_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Kids_Window_Shutter_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Master_Shutter_Small_Window_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'KidsToiletWirelessSwitch_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Salon_Left_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Master_Curtain_Small_Window_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:24	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Salon_Shutter_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'KitchenKettleWirelessSwitch_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'LivingRoomLeftCurtain_RollerShutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Kids_Window_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'LivingRoomWirelessSwitch_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Walkin_Window_Shutter_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'KitchenWindowMotionSensor_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Walkin_Balcony_Curtain_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'LivingRoomRightCurtain_RollerShutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Master_Curtain_Big_Window_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'Walkin_Balcony_Shutter_Roller_shutter' has Property tag 'Opening' without Point tag, added Point tag 'Status'
2026/07/13 13:09:23	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader -   Item 'MasterToiletWirelessSwitch_LowBattery' has Property tag 'LowBattery' without Point tag, added Point tag 'Status'
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader - Cleaning item semantic tags '/openhab/userdata/jsondb/org.openhab.core.items.Item.json'
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader - Semantic tags database '/openhab/userdata/jsondb/org.openhab.core.semantics.SemanticTag.json' does not exist, no tags to update.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.internal.SemanticTagUpgrader - Deduplicating custom semantic tags '/openhab/userdata/jsondb/org.openhab.core.semantics.SemanticTag.json'
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Executing deduplicateSemanticTags: Correct custom semantic tags and item semantic tags for changes in provided default semantic tags
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'persistenceCopyDefaultStrategy' on 2025-12-26T08:48:25.679818982Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'homieAddonUpgrader' on 2025-12-26T08:48:25.573914182Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'homeAssistantAddonUpgrader' on 2025-12-26T08:48:25.478193681Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'yamlTagsListToMap' on 2025-07-23T06:59:57.173363850Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'linkUpgradeScriptProfile' on 2025-07-23T06:59:57.151556971Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'linkUpgradeJSProfile' on 2025-07-23T06:59:57.059200177Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] INFO org.openhab.core.tools.UpgradeTool - Already executed 'itemCopyUnitToMetadata' on 2025-07-23T06:59:56.987245494Z[Etc/UTC]. Use '--force' to execute it again.
2026/07/13 13:09:22	stdout	[main] ERROR org.openhab.core.storage.json.internal.JsonStorage - Couldn't deserialize value 'org.openhab.core.storage.json.internal.StorageEntry@163e4e87'. Root cause is: org.openhab.core.tools.internal.Upgrader$UpgradeRecord
2026/07/13 13:09:21	stdout	Starting JSON database update...
2026/07/13 13:09:21	stdout	
2026/07/13 13:09:21	stdout	Clearing cache...
2026/07/13 13:09:21	stdout	Replacing userdata system files with newer versions...
2026/07/13 13:09:21	stdout	
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Teleinfo Binding : This binding has been rewritten to support the D2L ERL dongle. As a result, channels and channel types have changed, so you may need to recreate your Things and update your configuration.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Piper TTS Voice: Voice UIDs now contain the model quality. You need to setup your default voice again and adjust your rules & scripts for the changed voice UIDs.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  MyBMW Binding: Due to BMW security changes, this add-on does not work anymore and has been removed.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  MongoDB Persistence: Support for database 3.6.x has been dropped. The add-on requires database version 4.0 or later.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Xiaomi Wifi devices (Mi IO) Binding: Cloud login details have been depreciated at binding level. Add a new Cloud Connector Thing to to login with QR or userId.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Matter Binding: Contact sensors have now a contact-statevalue (mapping to Contact items) instead of the previous booleanstate-statevalue (mapping to Switch items).
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Corona Stats Binding: Due to EOL of the website, this add-on has been removed.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  AirParif Binding: Due to API evolutions pollens related information have been removed. They are now provided by Atmo France Binding.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Main UI: oh-category-axis startOnSunday parameter has been removed. For chartType = week, the chart will either start on Sunday or on Monday depending on your locale. For chartType = isoWeek, the chart will always start on Monday. 
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  Main UI: oh-canvas-items now use 100% of the height their bounding box and center vertically in that bounding box. While this fixes incorrect behaviour, it might change the appearance of your oh-canvas-layout pages. In that case, you need to adjust the bounding boxes through their resize handles.
2026/07/13 13:09:21	stdout	  e[31mWarning:e[m  CORE: Persistence extensions with QuantityType as input now return results in the item unit or logically derived unit instead of the system unit. This may require changes to rules if you relied on the return values to be in the system unit.
2026/07/13 13:09:21	stdout	Important notes for version 5.2.0:
2026/07/13 13:09:21	stdout	
2026/07/13 13:09:21	stdout	Please read the following e[32mnotese[m and e[31mwarningse[m:
2026/07/13 13:09:21	stdout	The script will attempt to update openHAB to version 5.2.0
2026/07/13 13:09:21	stdout	
2026/07/13 13:09:21	stdout	################################################
2026/07/13 13:09:21	stdout	          openHAB Docker update script          
2026/07/13 13:09:21	stdout	################################################
2026/07/13 13:09:21	stdout	
2026/07/13 13:09:21	stdout	+ tee -a /openhab/userdata/logs/update.log
2026/07/13 13:09:21	stdout	+ exec /openhab/runtime/bin/update
2026/07/13 13:09:21	stdout	You can find backup of userdata in /openhab/userdata/backup/userdata-2026-07-13T13-09-17.tar
2026/07/13 13:09:21	stdout	+ tee -a /openhab/userdata/logs/update.log
2026/07/13 13:09:19	stdout	+ echo 'You can find backup of userdata in /openhab/userdata/backup/userdata-2026-07-13T13-09-17.tar'
2026/07/13 13:09:17	stdout	tar: Removing leading `/' from member names
2026/07/13 13:09:17	stdout	+ tar --exclude=/openhab/userdata/backup -c -f /openhab/userdata/backup/userdata-2026-07-13T13-09-17.tar /openhab/userdata
2026/07/13 13:09:17	stdout	+ '[' '!' -d /openhab/userdata/backup ']'
2026/07/13 13:09:17	stdout	+ backup_file=userdata-2026-07-13T13-09-17.tar
2026/07/13 13:09:17	stdout	++ date +%FT%H-%M-%S
2026/07/13 13:09:17	stdout	Image and userdata versions differ! Starting an upgrade.
2026/07/13 13:09:17	stdout	+ echo 'Image and userdata versions differ! Starting an upgrade.'
2026/07/13 13:09:17	stdout	+ tee /openhab/userdata/logs/update.log
2026/07/13 13:09:17	stdout	+ '[' '!' -z '/openhab/userdata/etc/version.properties /openhab/dist/userdata/etc/version.properties differ: byte 267, line 8' ']'
2026/07/13 13:09:17	stdout	++ cmp /openhab/userdata/etc/version.properties /openhab/dist/userdata/etc/version.properties
2026/07/13 13:09:17	stdout	zigbee' ']'
2026/07/13 13:09:17	stdout	uuid
2026/07/13 13:09:17	stdout	tmp
2026/07/13 13:09:17	stdout	sonoff
2026/07/13 13:09:17	stdout	secrets
2026/07/13 13:09:17	stdout	persistence
2026/07/13 13:09:17	stdout	openhabcloud
2026/07/13 13:09:17	stdout	miio
2026/07/13 13:09:17	stdout	matter
2026/07/13 13:09:17	stdout	logs.delete
2026/07/13 13:09:17	stdout	logs
2026/07/13 13:09:17	stdout	kar
2026/07/13 13:09:17	stdout	jsondb
2026/07/13 13:09:17	stdout	ipcamera
2026/07/13 13:09:17	stdout	ffmpeg
2026/07/13 13:09:17	stdout	etc
2026/07/13 13:09:17	stdout	config
2026/07/13 13:09:17	stdout	cache
2026/07/13 13:09:17	stdout	backup
2026/07/13 13:09:17	stdout	+ '[' -z 'androidtv
2026/07/13 13:09:17	stdout	++ ls -A /openhab/userdata
2026/07/13 13:09:17	stdout	+ source=/openhab/dist/userdata
2026/07/13 13:09:17	stdout	+ volume=/openhab/userdata
2026/07/13 13:09:17	stdout	+ initialize_volume /openhab/userdata /openhab/dist/userdata
2026/07/13 13:09:17	stdout	transform' ']'
2026/07/13 13:09:17	stdout	things
2026/07/13 13:09:17	stdout	static
2026/07/13 13:09:17	stdout	sounds
2026/07/13 13:09:17	stdout	sitemaps
2026/07/13 13:09:17	stdout	services
2026/07/13 13:09:17	stdout	scripts
2026/07/13 13:09:17	stdout	rules
2026/07/13 13:09:17	stdout	persistence
2026/07/13 13:09:17	stdout	items.archive.fromOH2
2026/07/13 13:09:17	stdout	items
2026/07/13 13:09:17	stdout	icons
2026/07/13 13:09:17	stdout	html
2026/07/13 13:09:17	stdout	+ '[' -z 'automation
2026/07/13 13:09:17	stdout	++ ls -A /openhab/conf
2026/07/13 13:09:17	stdout	+ source=/openhab/dist/conf
2026/07/13 13:09:17	stdout	+ volume=/openhab/conf
2026/07/13 13:09:17	stdout	+ initialize_volume /openhab/conf /openhab/dist/conf
2026/07/13 13:09:17	stdout	+ id -u openhab
2026/07/13 13:09:17	stdout	Starting with openhab user id: 1026 and group id: 100
2026/07/13 13:09:17	stdout	+ echo 'Starting with openhab user id: 1026 and group id: 100'
2026/07/13 13:09:17	stdout	+ NEW_GROUP_ID=100
2026/07/13 13:09:17	stdout	+ NEW_USER_ID=1026
2026/07/13 13:09:17	stdout	+ rm -f /openhab/userdata/tmp/instances/instance.properties
2026/07/13 13:09:17	stdout	+ rm -f '/var/lock/LCK..*'
2026/07/13 13:09:17	stdout	+ grep -E Current:.+,cap_net_admin,cap_net_raw,.+
2026/07/13 13:09:17	stdout	+ capsh --print
2026/07/13 13:09:17	stdout	+ sed -i 's/^crypto.policy=limited/crypto.policy=unlimited/' /usr/lib/jvm/java-21-openjdk-amd64/conf/security/java.security
2026/07/13 13:09:17	stdout	Configuring Java unlimited strength cryptography policy...
2026/07/13 13:09:17	stdout	+ echo 'Configuring Java unlimited strength cryptography policy...'
2026/07/13 13:09:17	stdout	+ '[' unlimited = unlimited ']'
2026/07/13 13:09:17	stdout	+ JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
2026/07/13 13:09:17	stdout	+ export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
2026/07/13 13:09:17	stdout	++ find /usr/lib/jvm -mindepth 1 -maxdepth 1 -type d
2026/07/13 13:09:17	stdout	+ ln -sf /usr/share/zoneinfo/Asia/Beirut /etc/localtime
2026/07/13 13:09:17	stdout	+ '[' '!' -f /usr/share/zoneinfo/Asia/Beirut ']'
2026/07/13 13:09:17	stdout	+ mountpoint -q /etc/localtime
2026/07/13 13:09:17	stdout	+ '[' -n Asia/Beirut ']'
2026/07/13 13:09:17	stdout	'
2026/07/13 13:09:17	stdout	+ IFS='
2026/07/13 13:02:39	stdout	./runtime/bin/karaf: 395: cannot create /openhab/userdata/cache-refresh-lock: Permission denied
2026/07/13 13:02:38	stdout	mkdir: cannot create directory ‘/openhab/userdata/tmp’: Permission denied
2026/07/13 13:02:38	stdout	Launching the openHAB runtime...
2026/07/13 13:02:38	stdout	+ exec su-exec openhab tini -s ./start.sh
2026/07/13 13:02:38	stdout	+ '[' true == false ']'
2026/07/13 13:02:38	stdout	+ sync
2026/07/13 13:02:38	stdout	+ '[' -d /etc/cont-init.d ']'
2026/07/13 13:02:36	stdout	+ sync
2026/07/13 13:02:36	stdout	+ chown -R openhab:openhab /openhab
2026/07/13 13:02:36	stdout	+ '[' '!' -z ']'
2026/07/13 13:02:36	stdout	++ cmp /openhab/userdata/etc/version.properties /openhab/dist/userdata/etc/version.properties
2026/07/13 13:02:36	stdout	zigbee' ']'
2026/07/13 13:02:36	stdout	uuid
2026/07/13 13:02:36	stdout	sonoff
2026/07/13 13:02:36	stdout	secrets
2026/07/13 13:02:36	stdout	persistence
2026/07/13 13:02:36	stdout	openhabcloud
2026/07/13 13:02:36	stdout	miio
2026/07/13 13:02:36	stdout	matter
2026/07/13 13:02:36	stdout	logs.delete
2026/07/13 13:02:36	stdout	logs
2026/07/13 13:02:36	stdout	kar
2026/07/13 13:02:36	stdout	jsondb
2026/07/13 13:02:36	stdout	ipcamera
2026/07/13 13:02:36	stdout	ffmpeg
2026/07/13 13:02:36	stdout	etc
2026/07/13 13:02:36	stdout	config
2026/07/13 13:02:36	stdout	backup
2026/07/13 13:02:36	stdout	+ '[' -z 'androidtv
2026/07/13 13:02:36	stdout	++ ls -A /openhab/userdata
2026/07/13 13:02:36	stdout	+ source=/openhab/dist/userdata
2026/07/13 13:02:36	stdout	+ volume=/openhab/userdata
2026/07/13 13:02:36	stdout	+ initialize_volume /openhab/userdata /openhab/dist/userdata
2026/07/13 13:02:36	stdout	transform' ']'
2026/07/13 13:02:36	stdout	things
2026/07/13 13:02:36	stdout	static
2026/07/13 13:02:36	stdout	sounds
2026/07/13 13:02:36	stdout	sitemaps
2026/07/13 13:02:36	stdout	services
2026/07/13 13:02:36	stdout	scripts
2026/07/13 13:02:36	stdout	rules
2026/07/13 13:02:36	stdout	persistence
2026/07/13 13:02:36	stdout	items.archive.fromOH2
2026/07/13 13:02:36	stdout	items
2026/07/13 13:02:36	stdout	icons
2026/07/13 13:02:36	stdout	html
2026/07/13 13:02:36	stdout	+ '[' -z 'automation
2026/07/13 13:02:36	stdout	++ ls -A /openhab/conf
2026/07/13 13:02:36	stdout	+ source=/openhab/dist/conf
2026/07/13 13:02:36	stdout	+ volume=/openhab/conf
2026/07/13 13:02:36	stdout	+ initialize_volume /openhab/conf /openhab/dist/conf
2026/07/13 13:02:34	stdout	+ adduser openhab uucp3
2026/07/13 13:02:32	stdout	+ adduser openhab uucp2
2026/07/13 13:02:29	stdout	+ adduser openhab uucp
2026/07/13 13:02:27	stdout	+ adduser openhab gpio
2026/07/13 13:02:25	stdout	+ adduser openhab dialout4
2026/07/13 13:02:23	stdout	+ adduser openhab dialout3
2026/07/13 13:02:21	stdout	+ adduser openhab dialout2
2026/07/13 13:02:20	stdout	+ adduser openhab dialout
2026/07/13 13:02:17	stdout	+ adduser openhab audio5
2026/07/13 13:02:14	stdout	+ adduser openhab audio4
2026/07/13 13:02:12	stdout	+ adduser openhab audio3
2026/07/13 13:02:11	stdout	+ adduser openhab audio2
2026/07/13 13:02:09	stdout	+ adduser openhab audio
2026/07/13 13:02:08	stdout	+ groupadd -g 997 gpio
2026/07/13 13:02:06	stdout	+ groupadd -g 492 audio5
2026/07/13 13:02:04	stdout	+ groupadd -g 490 dialout4
2026/07/13 13:02:03	stdout	+ groupadd -g 63 audio4
2026/07/13 13:02:01	stdout	+ groupadd -g 32 uucp3
2026/07/13 13:01:59	stdout	+ groupadd -g 18 dialout3
2026/07/13 13:01:58	stdout	+ groupadd -g 17 audio3
2026/07/13 13:01:57	stdout	+ groupadd -g 16 dialout2
2026/07/13 13:01:54	stdout	+ groupadd -g 14 uucp2
2026/07/13 13:01:53	stdout	+ groupadd -g 11 audio2
2026/07/13 13:01:53	stdout	warn: The group `users' does not exist.
2026/07/13 13:01:53	stdout	usermod: no changes
2026/07/13 13:01:53	stdout	warn: Warning: The home directory `/openhab' does not belong to the user you are currently creating.
2026/07/13 13:01:53	stdout	warn: The home directory `/openhab' already exists.  Not touching this directory.
2026/07/13 13:01:52	stdout	
2026/07/13 13:01:52	stdout	warn: The home dir /openhab you specified already exists.
2026/07/13 13:01:52	stdout	+ adduser -u 1026 --disabled-password --gecos '' --home /openhab --gid 100 openhab
2026/07/13 13:01:52	stdout	Create user openhab with id 1026
2026/07/13 13:01:52	stdout	+ echo 'Create user openhab with id 1026'
2026/07/13 13:01:51	stdout	+ groupmod --new-name openhab users
2026/07/13 13:01:51	stdout	Rename group users to openhab
2026/07/13 13:01:51	stdout	+ echo 'Rename group users to openhab'
2026/07/13 13:01:51	stdout	+ group_name=users
2026/07/13 13:01:51	stdout	++ cut -d: -f1
2026/07/13 13:01:51	stdout	++ getent group 100
2026/07/13 13:01:51	stdout	+ '[' -z users:x:100: ']'
2026/07/13 13:01:51	stdout	++ getent group 100
2026/07/13 13:01:51	stdout	+ id -u openhab
2026/07/13 13:01:51	stdout	Starting with openhab user id: 1026 and group id: 100
2026/07/13 13:01:51	stdout	+ echo 'Starting with openhab user id: 1026 and group id: 100'
2026/07/13 13:01:51	stdout	+ NEW_GROUP_ID=100
2026/07/13 13:01:51	stdout	+ NEW_USER_ID=1026
2026/07/13 13:01:51	stdout	+ rm -f /openhab/userdata/tmp/instances/instance.properties
2026/07/13 13:01:51	stdout	+ rm -f '/var/lock/LCK..*'
2026/07/13 13:01:51	stdout	+ capsh --print
2026/07/13 13:01:51	stdout	+ grep -E Current:.+,cap_net_admin,cap_net_raw,.+
2026/07/13 13:01:51	stdout	+ sed -i 's/^crypto.policy=limited/crypto.policy=unlimited/' /usr/lib/jvm/java-21-openjdk-amd64/conf/security/java.security
2026/07/13 13:01:51	stdout	Configuring Java unlimited strength cryptography policy...
2026/07/13 13:01:51	stdout	+ echo 'Configuring Java unlimited strength cryptography policy...'
2026/07/13 13:01:51	stdout	+ '[' unlimited = unlimited ']'
2026/07/13 13:01:51	stdout	+ JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
2026/07/13 13:01:51	stdout	+ export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
2026/07/13 13:01:51	stdout	++ find /usr/lib/jvm -mindepth 1 -maxdepth 1 -type d
2026/07/13 13:01:51	stdout	+ ln -sf /usr/share/zoneinfo/Asia/Beirut /etc/localtime
2026/07/13 13:01:51	stdout	+ '[' '!' -f /usr/share/zoneinfo/Asia/Beirut ']'
2026/07/13 13:01:51	stdout	+ mountpoint -q /etc/localtime
2026/07/13 13:01:51	stdout	+ '[' -n Asia/Beirut ']'
2026/07/13 13:01:51	stdout	'
2026/07/13 13:01:51	stdout	+ IFS='

any ideas?

Thank you

Espresso

These are all outputs from the entrypoint script. The container needs to be started as root. It will then drop to your user id and group id to start openHAB itself. These errors tell me you are trying to start the container as some other user.