Moving from windows to openhabian, get error from felix.fileinstall

  • Platform information:
    from windows machine, to raspi 3 openhabian with OH 2.2.0

  • Issue of the topic: I have copied most of userdata and conf folder last year from windows machine to openhabian, now it looks my SD card got corrupt, so I installed on new SD card and copied from latest backup (copied userdata and conf folder) and I noticed this log entry that looks like from Windows machine configuration.

  • If logs where generated please post these here using code fences:

2018-05-26 08:23:08.539 [WARN ] [org.apache.felix.fileinstall        ] - D:\OpenHab/addons does not exist, please create it.

2018-05-26 08:23:08.565 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: /var/lib/openhab2/D:\OpenHab/addons

2018-05-26 08:23:08.569 [WARN ] [org.apache.felix.fileinstall        ] - C:\OpenHab/addons does not exist, please create it.

2018-05-26 08:23:08.574 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: /var/lib/openhab2/C:\OpenHab/addons

2018-05-26 08:23:08.579 [WARN ] [org.apache.felix.fileinstall        ] - /Users/myusername/openHAB/addons does not exist, please create it.

2018-05-26 08:23:08.582 [ERROR] [org.apache.felix.fileinstall        ] - Cannot create folder /Users/myusername/openHAB/userdata/tmp/bundles. Is the folder write-protected?

2018-05-26 08:23:08.587 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.cm.ManagedServiceFactory, id=37, bundle=8/mvn:org.apache.felix/org.apache.felix.fileinstall/3.5.8]: Unexpected problem updating configuration org.apache.felix.fileinstall.28fa93d1-046a-43f0-9e7b-01be7e568683

java.lang.RuntimeException: Cannot create folder: /Users/myusername/openHAB/userdata/tmp/bundles

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.prepareDir(DirectoryWatcher.java:638) [8:org.apache.felix.fileinstall:3.5.8]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.prepareTempDir(DirectoryWatcher.java:618) [8:org.apache.felix.fileinstall:3.5.8]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.<init>(DirectoryWatcher.java:175) [8:org.apache.felix.fileinstall:3.5.8]

	at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:247) [8:org.apache.felix.fileinstall:3.5.8]

	at org.apache.felix.fileinstall.internal.FileInstall$ConfigAdminSupport$Tracker.updated(FileInstall.java:377) [8:org.apache.felix.fileinstall:3.5.8]

	at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159) [7:org.apache.felix.configadmin:1.8.16]

	at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93) [7:org.apache.felix.configadmin:1.8.16]

	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1640) [7:org.apache.felix.configadmin:1.8.16]

	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1582) [7:org.apache.felix.configadmin:1.8.16]

	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) [7:org.apache.felix.configadmin:1.8.16]

	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) [7:org.apache.felix.configadmin:1.8.16]

	at java.lang.Thread.run(Thread.java:748) [?:?]

what can I do to remove that error permanently? thanks in advance

Copy only the conf-files and setup the userdata via PaperUI.

1 Like

so, uh, since I didn’t backup the userdata folder, is there any way to remove all my configuration copied to userdata folder?