OMS, the apache guys just can’t stick to a standard. But anyhow, here are some configs to do:

Issue 1 (Where is my config.php)

Most likely it is in /var/www/owncloud/config/config.php

Issue 2 (when starting Apache)

AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message

I didn’t test the below but it should work

Solution (Didnt test, but should work)

This can be overcome by two way.

Add ServerName localhost as the last line in /etc/apache2/apache2.conf file.

Create a file named /etc/apache2/conf-available/servername.conf and add the string ServerName localhost inside and save it. Create a soft link under /etc/apache2/conf-enabled as follows

ln -s /etc/apache2/conf-available/servername.conf .

# or

a2enconf servername

and restart the server.

The string localhost can be replaced with any valid domain name (ie. example.com).

Issue3 (Enable SSL in Apache)

Just check this youtube video: https://www.youtube.com/watch?v=fgOTvPSC-rg

Issue 4 (Cannot access owncloud from local network)

It is probably a firewall issue

Open up rules for your local network e.g. 

Source: 192.168.80.0/24

Destination: 192.168.80.34 (port 80,8080, and 443 if you’re using SSL)

Change owncloud default data directory:

Install BitTorrent Sync by following this guide:

https://www.digitalocean.com/community/tutorials/how-to-use-bittorrent-sync-to-synchronize-directories-in-ubuntu-12-04

Categories: Uncategorized