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]
You can try Clear the Cache and if that doesnāt work try creating a defauly.sitemap file in the $OH_CONF/sitemaps folder ($OH_CONF is /etc/openhab2 for apt-get and openhabian installations).
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:
openhab2.service openhab.service
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:
Not Found
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?