Ubuntu 16.04, Openhab new install. Have installed 2 bindings, network and zwave. Using PaperUI, but the “inbox” is blank. Control, Inbox, Configuration, Add-ons and Preferences is down lefthand side, and there is an orange bar across the main frame that has “inbox” in it, but the rest of the browser display is simply blank. The tutorials indicate I should have some “search” and “add” functionality on there. I can find no errors in the logs.
When you click on Inbox you should have a little radio antenna looking icon in the upper right hand corner. When you click on that it should give you a choice of bindings and then go discover all the discover able Things for that binding.
I can’t tell from your description exactly what you are seeing.
When you go to configuration do you find entries there? Do you find your installed bindings in the services submenu of configuration? If you go back to addons and browse to the ones you think are installed, do they actually show as being installed? Are there errors in your logs?
[quote=“rlkoshak, post:6, topic:28412, full:true”]
When you go to configuration do you find entries there?[/quote]
Yes.
No, only BasicUI and Habpanel
Yes.
none in /var/log/openhab2/events.log or openhab.log. These logs seem very minimal, like:
> 2017-05-07 19:36:07.299 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-05-07 20:42:40.782 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-05-13 12:09:54.764 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-05-14 17:17:12.684 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-05-14 17:17:12.733 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-05-14 17:17:12.820 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-05-15 09:47:04.981 [INFO ] [ore.internal.i18n.LocaleProviderImpl] - Locale set to en_US
2017-05-17 09:18:26.776 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-05-17 09:18:26.779 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-05-17 09:18:26.788 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-05-17 09:18:26.793 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-05-17 09:19:19.138 [INFO ] [ore.internal.i18n.LocaleProviderImpl] - Locale set to en_US
2017-05-17 09:19:24.692 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-05-17 09:19:25.070 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-05-17 09:19:25.206 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-05-17 09:19:25.317 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
I appreciate your time and attention in trying to help the newb figure out what is wrong…
This is not the “standard” one… (http://<IP>:8080/paperui/index.html#/inbox/search)
Press F12 in your Firefox browser to bring up the debug console to see what might be wrong and try to fix (if possible) your Apache reverse proxy configs.
We know that changing the path prefix is a PITA… I wouldn’t use this method…
[quote=“Dim, post:9, topic:28412, full:true”]This is not the “standard” one… (http://<IP>:8080/paperui/index.html#/inbox/search)
Press F12 in your Firefox browser to bring up the debug console to see what might be wrong and try to fix (if possible) your Apache reverse proxy configs.
[/quote]
This means I have something wankered in my rewrite rules?
RewriteEngine On
RewriteRule "/openhab/openhab/(.*)" "/openhab/$1" [R,L]
RewriteRule "/openhab/?(.*)" "http://localhost:8080/$1" [P,L]
I must admit to being lost in what these rules are doing, but from your post I would think that I have an extra “/openhab” in all of the lines, but it wont seem to work without it.
A guess here…the path in the CSS is looking for /js/variousstuff.js and this doesnt seem to be in the rewrite rules, so, for example, in the paperui inbox, the /js/search.filters.js is not being found by the browser, is this my problem?
I (who wrote the “Apache 2 reverse-proxy…” tutorial) never used the “Inbox”, so far (my configuration is completely manual). I assume that the “Inbox” uses other paths that are not yet rewritten to contain the “openhab/”-path-prefix. Hence, the problem is very likely not that substitute-rules are wrong, but that substitute-rules are missing.
As already stated in my tutorial: It totally sucks that OH does not support a path-prefix. Thus, all paths of the various OH-components need to be rewritten individually – which is easily incomplete.
Unfortunately, I can’t check this “Inbox” right now, because I’m on a 2 month business trip. I’m going to take a look at it, when I come back.
And @OH-team: You really should add a path-prefix! Even a hard-coded path-prefix would be better than none, because rewriting e.g. */openhab/* would be far easier than rewriting dozens of individual paths!