I guess I have openhab and openhab2 (I could say that owing to in /etc I have those folders, but not sure if that means I have both installed and also “openhab-cli”) as described in the previous post, but not 100% sure… could someone told me how to check it? Also can someone help me on telling which commands execute and what to drop please?
I have that log in mi system, but it is not updated when trying to access the web. I have another log: “/var/log/openhab/openhab.log” with the folowing information
01:08:31.751 [DEBUG] [c.internal.ModelRepositoryImpl:64 ] - Configuration model ‘default.sitemap’ can not be found
01:08:31.755 [DEBUG] [s.internal.SitemapProviderImpl:46 ] - Sitemap default can not be found
01:08:31.779 [WARN ] [e.jetty.servlet.ServletHandler:553 ] - /openhab.app
org.openhab.ui.webapp.render.RenderException: Sitemap ‘default’ could not be found
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:115) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) ~[na:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) ~[org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
I have been trying several things… but not results at all…
when trying to clean cache:
** sudo openhab-cli stop
Can’t connect to the container. The container is not running.
** sudo openhab-cli start
There is a Root instance already running with name openhab and pid 13454
Also, when restarting openhab, I can see those two services:
may I have 2 openhabs intalled?
following your steps I have created at /etc/openhab2/sitemaps an empty file defauly.sitemap and if I do echo $OH_CONF nothing is displayed…
that was something I tried already, but openhab2 says:
HTTP ERROR 404
Problem accessing /openhab.app. Reason:
which I think it is more critical error.
I have not manually installed any openhab… or at least I am 99.9% sure of that. it was an OS with it already. Could it be update and upgrade? I have seen it in several times. I think what that does is upgrade same oph instance not installing a new one right?
In case deleting OH1, all of it is in /etc/openhab?