mp3lll
(mp)
January 26, 2017, 9:04pm
1
Hello,
i try to add the file default.sitemap to “/etc/openhab2/sitemaps” still same issue
what more can i do?
HTTP ERROR 500
Problem accessing /openhab.app. Reason:
Sitemap 'default' could not be found
Caused by:
org.openhab.ui.webapp.render.RenderException: Sitemap ‘default’ could not be found
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:115)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
Which installation did you take? Simple, Standart, Expert or Demo?
If you are new to openHAB I would highly suggest you should use the Demo.
Also check this out Creating a sitemap
mp3lll
(mp)
January 26, 2017, 9:20pm
3
Standart…
what now? how can i make it to run? i get this error
Dim
(Angelos)
January 26, 2017, 9:21pm
4
post the contents of the default.sitemap
file to check
mp3lll
(mp)
January 26, 2017, 9:25pm
5
Hey Dim,
The file is empty i just create it, the file wes missing…
Dim
(Angelos)
January 26, 2017, 9:26pm
6
Put something within the file.
The name of the sitemap is important, not the filename (these 2 should be the same anyway).
Use something simple like:
sitemap default label="My default test" {
Frame label="Test" { }
}
For more details, see: http://docs.openhab.org/configuration/sitemaps.html
1 Like
mp3lll
(mp)
January 26, 2017, 9:28pm
7
Done!
/etc/openhab2/sitemaps
file o past default.sitemap and add what you tell me.
i read http://docs.openhab.org/configuration/sitemaps.html i do not understand it
every time same error on http://192.168.31.39:8080/openhab.app
Dim
(Angelos)
January 26, 2017, 9:31pm
8
Does it work ok now? (does the new sitemap load correctly?)
To set is as default, go to Paper UI -> Configuration -> Services -> Basic UI -> Configure -> Default Sitemap
mp3lll
(mp)
January 26, 2017, 9:32pm
9
Nop still same error, need to restart the system?
i’m try with systemctl restart openhab2
Dim
(Angelos)
January 26, 2017, 9:33pm
10
it’s not needed to restart OH2 when managing sitemaps… it loads them up automatically…
does the following URL work ?
http://192.168.31.39:8080/basicui/app?sitemap=default
mp3lll:
/etc/openhab2/sitemaps
Isn’t his path wrong? My path is /openhab2/conf/sitemaps/default.sitemap
mp3lll
(mp)
January 26, 2017, 9:35pm
12
No, still i try it i read it here…
i just add one item and after that is stop working,
Thanks for try to help
Dim
(Angelos)
January 26, 2017, 9:35pm
13
Not necessarily.
Most likely, you are using openHABian or a manual deployment (correct?) and this uses another subdirectory structure.
The most usualy deployment is via apt-get and this puts the config files in /etc/openhab2
. For more details, see here: http://docs.openhab.org/installation/linux.html#file-locations
1 Like
mp3lll
(mp)
January 26, 2017, 9:36pm
14
i do not have this path …
Dim
(Angelos)
January 26, 2017, 9:40pm
15
I typed wrong the URL in the previous post (I fixed it)
Try:
http://192.168.31.39:8080/basicui/app?sitemap=default
mp3lll
(mp)
January 26, 2017, 9:41pm
16
HTTP ERROR 404
Problem accessing /basicui/app. Reason:
ProxyServlet: /basicui/app
Dim
(Angelos)
January 26, 2017, 9:44pm
17
Ok… let’s do some basic troubleshooting then…
Which version of OH2 are you running? (Beta, RC1, Final, Snapshot). Check file /var/lib/openhab2/etc/version.properties
or use Karaf console.
Does Paper UI work? What do you see when you navigate to http://192.168.31.39:8080
?
In Paper UI -> Add-Ons -> User Interfaces, does Basic UI appear as installed?
mp3lll
(mp)
January 26, 2017, 9:46pm
18
Dim.
Maybe I was not clear, I can not even enter to the HO2.
So i cannot enter to any of item on HO2
openHAB Distribution Version Information
build-no : Build #752
online-repo : https://dl.bintray.com/openhab/mvn/online-repo/2.1.nightly
Repository Version
openhab-distro : 2.1.0-SNAPSHOT
smarthome : 0.9.0-SNAPSHOT
openhab-core : 2.1.0-SNAPSHOT
openhab1-addons : 1.10.0-SNAPSHOT
openhab2-addons : 2.1.0-SNAPSHOT
karaf : 4.0.8
Dim
(Angelos)
January 26, 2017, 9:50pm
19
mp3lll:
openhab.app
What happens when you navigate to http://192.168.31.39:8080
? (or http://192.168.31.39:8080/paperui/index.html )
This error comes up automatically?
I don’t recall using openhab.app
in my OH2 system… maybe this is from the OH1 world…?
mp3lll
(mp)
January 26, 2017, 9:53pm
20
HTTP ERROR 404
Problem accessing /paperui/index.html. Reason:
ProxyServlet: /paperui/index.html
for http://192.168.31.39:8080/paperui/index.html1
for http://192.168.31.39:8080 add automatic openhab.app.
i see also openhab and openhab2 via SSH,
can i uninstall openhab1? may this the issue?