Owncloud

Last article I wrote about my Pi and the web server that I had running on it. Well, in the past few days I have completely changed it. So, now it is running Nginx (Supposedly slower than Pancake, but Pancake doesn’t yet have support for secure http (https://mysite)) with an Owncloud installation on it. Only thing, it helps to have the server’s address in the Common Name of your certificate, otherwise the browser says the site isn’t secure (Or implies it.) The hard part was getting Owncloud to use a USB flash drive. The way I finally made it work was a symbolic link from /var/www/owncloud/owncloud_data from /home/pi/owncloud_data (But mounted the USB drive to /home/pi/owancloud_data.) The only problem is that owncloud wants to a) Be the only user that can access it (chmod 0770 /var/www/owncloud/owncloud_data) and to b) have access to the data directory (chown -R www-data:www-data /var/www/owncloud/owncloud_data) but none of this really works at first (Unless your drive is formatted as Ext3 already.) So, I looked up a tutorial on formatting a drive as Ext3, and it worked immediately.

On the Owncloud installation, you can cheat and just use OwnCloudPie, an installation script from PetRockBlock(.com)

4 thoughts on “Owncloud

  1. First off, the Raspbian Wheezy image that I *was* using pretty much takes up the entire *2* GB partition that it makes. This can be fixed with the expand root partition option in the setup script. Also, the Wheezy image has lots ‘o junk that I didn’t need. Right now I am using Nginx, not Pancake. Pancake has no https support. When I used Pancake it was from a USB flash drive.

    Now I am using Mobius (A minimal installation) on my Pi. So far I am fine with the 4 GB sd card it currently has, but I have a Class 10 16GB SD card that I haven’t used yet, and a 16 GB USB flash drive (But probably won’t use it for this purpose.)

      1. Yes, I do. However, there is a Pi/Amazon AWS server that supposedly should be capable of 10,000 hits per day for free.

Leave a Reply

Your email address will not be published. Required fields are marked *