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        ] - [, 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( [8:org.apache.felix.fileinstall:3.5.8]

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

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

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

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

	at [7:org.apache.felix.configadmin:1.8.16]

	at [7:org.apache.felix.configadmin:1.8.16]

	at$ManagedServiceFactoryUpdate.provide( [7:org.apache.felix.configadmin:1.8.16]

	at$ [7:org.apache.felix.configadmin:1.8.16]

	at [7:org.apache.felix.configadmin:1.8.16]

	at [7:org.apache.felix.configadmin:1.8.16]

	at [?:?]

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?