Page 1 of 1

[Solved] 404 when opening web interface

Posted: Monday 23 November 2015 14:22
by espenri
Hi,

I've gotten domoticz up and running on my Ubuntu 12.04 server, but if I try to connect to the web interface I get 404. This happens both on localhost and on remote computer.

I've added the "-verbose 1" flag at startup, and this is what gets written to the log file, as you can see it registers incoming connection, but I get "404 Not Found" on client.

Code: Select all

$ wget localhost:8282
--2015-11-23 14:21:16--  http://localhost:8282/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8282... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-11-23 14:21:16 ERROR 404: Not Found.

$ tail /tmp/domoticz.txt
2015-11-23 13:51:20.150  Scheduler stopped...
2015-11-23 13:51:20.204  Mainworker Stopped...
2015-11-23 13:51:21.187  Domoticz V2.3618 (c)2012-2015 GizMoCuz
2015-11-23 13:51:21.187  Build Hash: 1bd49fb, Date: 2015-11-20 09:05:30
2015-11-23 13:51:21.187  Startup Path: /home/domoticz/domoticz/build/
2015-11-23 13:51:21.310  Active notification subsystems: http (1/10)
2015-11-23 13:51:21.313  Webserver started on port: 8282
2015-11-23 13:51:21.315  Started shared server on: 0.0.0.0
2015-11-23 13:51:30.697  Incoming connection from: 192.168.1.150
2015-11-23 14:21:16.321  Incoming connection from: 127.0.0.1
Edit: Marked as solved, process did not have write permission to folder where it wanted to create the database. Rookie mistake, but I found it weird that nothing about this was written to the log file(s).