openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[OH2] Openhab 2 warning "Root path does not exist ...\addons" #4848

Closed nurgaleevarman closed 7 years ago

nurgaleevarman commented 7 years ago

Current Behavior

Default configuration from distro. All works, but there are some warning in log file

2016-12-01 16:12:35.932 [WARN ] [org.apache.felix.fileinstall        ] - C:\Users\MYUSER\DOWNLO~1\OPENHA~2.0-S\addons does not exist, please create it.
2016-12-01 16:12:35.936 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: C:\Users\MYUSER\Downloads\OPENHA~2.0-S\addons
2016-12-01 16:12:40.218 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'AGroup.items'
2016-12-01 16:12:40.304 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Climat.items'
2016-12-01 16:12:40.334 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Dimmer.items'
2016-12-01 16:12:40.342 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Light.items'
2016-12-01 16:12:40.357 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'PowerSocket.items'
2016-12-01 16:12:40.366 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Rules.items'
2016-12-01 16:12:40.372 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'WarmFloor.items'
2016-12-01 16:12:40.404 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-12-01 16:12:40.943 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SMS.rules'
2016-12-01 16:12:41.411 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartHome.sitemap'
2016-12-01 16:12:42.248 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-12-01 16:12:42.334 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-12-01 16:12:42.535 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-12-01 16:12:42.659 [INFO ] [nx.internal.connection.KNXConnection] - KNXBinding configuration is not present. Please check your configuration file or if not needed remove the KNX addon.
2016-12-01 16:12:42.734 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

Why warn to folder path

C:\Users\MYUSER\Downloads\OPENHA~2.0-S\addons

Openhab run from next folder

c:\openhab-offline-2.0.0-SNAPSHOT\

Steps to Reproduce (for bugs)

  1. Download and extract distro OH-2.
  2. Run OH2. Wait 1 min. Stop OH2
  3. Move OH2 to other folder
  4. Run OH2

Your Environment

9037568 commented 7 years ago

Workaround: Don't move OH2 after running it.

Since the error is coming from felix, this problem isn't an addon problem.

You should check the community forum to see if there's anyone else who's encountered this. If it turns out there's really a defect, they should be able to tell you where it should be logged.

nurgaleevarman commented 7 years ago

Steps was:

  1. Download and extract distro OH-2.
  2. Run OH2. Wait 1 min
  3. Stop OH2
  4. Move OH2 to other folder
  5. Run OH2
nurgaleevarman commented 7 years ago

I,m extract OH2 to folder

C:\NewFolder\openhab-offline-2.0.0-SNAPSHOT

Then run it and wait 1 min. Stop OH2.

Then MOVE OH to next folder

C:\NewFolder2\openhab-offline-2.0.0-SNAPSHOT

Delete C:\NewFolder

Then Start OH2 from C:\NewFolder2\openhab-offline-2.0.0-SNAPSHOT

Log file:

2016-12-02 09:09:10.987 [WARN ] [org.apache.felix.fileinstall        ] - C:\NEWFOL~1\OPENHA~1.0-S\addons does not exist, please create it.
2016-12-02 09:09:10.992 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: C:\NewFolder\openhab-offline-2.0.0-SNAPSHOT\addons
2016-12-02 09:09:16.455 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-12-02 09:09:16.537 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-12-02 09:09:16.570 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-12-02 09:09:16.612 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

And OH2 create folder with OLDPATH.

C:\NewFolder\openhab-offline-2.0.0-SNAPSHOT\userdata\tmp\bundles