In an effort to have local storage of email addresses, calendars and the like, I've tried to setup Owncloud on a Raspberry Pi but it isn't working.
Perhaps somebody can point out where I'm going wrong.
Here's the story so far.
The IP address of the Pi is set by DHCP with the address being fixed by the router at 192.168.1.27. Using a browser from this linux box, if I try to go to https://192.168.1.27 I get a 404 Not Found displayed.
There are no errors immediately displayed in the /var/log/nginx/error.log
If I then try going to https://192.168.1.27/owncloud I get the same error displayed still with nothing in the above log file.
Logging into the Pi itself rather than going through ssh, I started up the Midori browser and tried to go to https://192.168.1.27/owncloud and I then get two entries in the log. They are as follows :- 2014/02/26 18:11:21 [error] 2221#0: *4 directory index of "/var/www/owncloud/" is forbidden, client: 192.168.1.27, server: cloud.wymondham.lan, request: "GET /owncloud/ HTTP/1.1", host: "192.168.1.27" 2014/02/26 18:11:21 [error] 2221#0: *4 open() "/var/www404" failed (2: No such file or directory), client: 192.168.1.27, server: cloud.wymondham.lan, request: "GET /owncloud/ HTTP/1.1", host: "192.168.1.27"
While I'm here, can I ask another query? In this file - /etc/nginx/sites-available/owncloud.vhost I've left this entry untouched but I need to ask if it's correct # Path to the root of your installation root /var/www/;
The reason I ask is that there is an owncloud folder at /var/www/owncloud but it's empty. That makes me wonder if that's the main cause of all the problems.