View previous topic :: View next topic |
Author |
Message |
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8718 Location: ~Brussels - Belgique
|
Posted: Mon Apr 08, 2024 6:24 am Post subject: unsing openhab-bin: how to upgrade? add-ons? |
|
|
Hi!
I'm using openhab for years, and before, I maintained it manually.
Since feb 2024, there is an ebuild.
I installed version 4.1.1 without any problem.
Then I upgraded to version 4.1.2
Portage sees it at version 4.1.2
Code: | [ebuild R *] app-misc/openhab-bin-4.1.2::gentoo 0 KiB |
but Openhab still reports being 4.1.1
Code: | 2024-04-07 23:46:01.533 [WARN ] [org.apache.felix.fileinstall ] - /opt/openhab/addons does not exist, please create it.
2024-04-07 23:46:01.625 [ERROR] [org.apache.felix.fileinstall ] - Cannot create folder /opt/openhab/userdata/tmp/bundles. Is the folder write-protected?
2024-04-07 23:46:01.643 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedServiceFactory, id=48, bundle=18/mvn:org.apache.felix/org.apache.felix.fileinstall/3.7.4]: Unexpected problem updating configuration org.apache.felix.fileinstall.fa231ee3-8ad8-4334-80cd-99df4e61c5c1
java.lang.RuntimeException: Cannot create folder: /opt/openhab/userdata/tmp/bundles
at org.apache.felix.fileinstall.internal.DirectoryWatcher.prepareDir(DirectoryWatcher.java:647) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.prepareTempDir(DirectoryWatcher.java:627) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.<init>(DirectoryWatcher.java:179) ~[?:?]
at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:250) ~[?:?]
at org.apache.felix.fileinstall.internal.FileInstall$ConfigAdminSupport$Tracker.updated(FileInstall.java:380) ~[?:?]
at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159) ~[bundleFile:?]
at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93) [bundleFile:?]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1266) [bundleFile:?]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1210) [bundleFile:?]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:122) [bundleFile:?]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:84) [bundleFile:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
2024-04-07 23:46:20.151 [INFO ] [org.openhab.core.Activator ] - Starting openHAB 4.1.1 (build Release Build) |
It seems the metadata are not upgraded.
How can I upgrade Openhab to 4.1.2 ?
Question 2 is : are the standard add-ons also installed? where ? I see in the logs that Openhab doens't know where to find them.
There is no wiki page at wiki.gentoo.org.
Some minimal documentation could be useful... _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8718 Location: ~Brussels - Belgique
|
Posted: Fri Jul 19, 2024 8:42 pm Post subject: |
|
|
Hi,
some updates:
After an update we need to run Code: | openhab-cli clean-cache | while openhab is stopped.
see bug 935737
I also filed a request to support openrc _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|