After following the wiki from top to bottom (https://github.com/openhab/openhab/wiki/Ubuntu-on-x64) but I am a bit confused because OpenHAB site says to put in all in /opt/openhab and the wiki says /etc/openhab is there any major issue there? I have put the repository in Ubuntu Software Center and tired to load it that way but I did not get any success. Here is where I am at right now I built a 16.04 Ubuntu server that will be used to operate all home automation. I create a user in my name but I think I should have created an “openhab” user since several sites mention that. I tired to follow what they had on the Get Starting part of OpenHaB but extracting the files to /opt/openhab but found I was missing a bunch of steps like MySQL, Samba, OpenSSH, and Mosquitto so no workie there. Then followed the Wiki but go to the bottom and no joy. I have rebuilt the server 10 times and frankly about to give up any help in the right direction would be great…
In both cases the openhab use will be created as part of the install and everything gets put in the standard places fit debian based Linux like Ubuntu.
Thanks I will try that. I did do it the first time by using apt-get but no joy in the end. I will go by these instruction then. I am glad to see a Openhab2 instruction I wanted to go that route but couldn't figure it out.
I just started my openhab 2 projekt. I installed Ubuntu 16 and also Java, and maybe OpenHab2, when i try to use ubunty seach I cant find any Ubunty, so maybe the installation did not work?
Shall I try to install Open hab again, and if so, what is the most simple way?
Looks like this
camilla@CamillasDator:~$ sudo systemctl restart openhab2.service
Failed to restart openhab2.service: Unit openhab2.service not found.
camilla@CamillasDator:~$
Yes I got that folder and I did nopt got any error messages. However when I tried to install Openhab when I hade win8 installed I got to a setup pager during the end off the install. But not when I installed OpenHab on Ubunty, and I dont understand how to login to my openHab so can try to setup my IP camera and do my basic setup.
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.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Thread.java:748)