Tag Archives: web

Setting up ownCloud

I recently set up ownCloud (version 6.0.2) at my web hoster domainfactory. While the actual installation is quite straight forward I bumped into some minor problems.

At first I set up subdomain the ownlcoud.notmydomain.com and set the path to /my/dummy/path/owncloud in the domainfactory dash board. I SSHed to the server of domainfactory, downloaded and installed ownCloud’s files:

$ cd /my/dummy/path/
$ wget http://download.owncloud.org/community/owncloud-6.0.2.tar.bz2
$ tar xfj owncloud-6.0.2.tar.bz2

This generated the folder owncloud which contains all the required files in the configured location.

When I opend ownlcoud.notmydomain.com in a webbrowser I got the following error:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /my/dummy/path/owncloud/index.php on line 33

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /my/dummy/path/owncloud/index.php on line 33

Parse error: syntax error, unexpected T_STRING in /my/dummy/path/owncloud/index.php on line 33

I figured out that this can be fixed by using a newer PHP version so I switched from 5.2.17 to 5.4.9 using the dash board of my domainfactory account. When I visited the subdomain in the webbrowser the following welcome screen was presented:


By clicking “Advanced” the database options are shown and can be configured.


Per default sqlite is used but I wanted to use MySQL.


I entered the details.


And clicked “Finish setup”. This the dash board of my ownCloud instance showed that there are some folders and files had been parked for me already.


I clicked the plus at the bottom left and activated the Encryption app for server-side file encryption. To initiate the key I had to logout and login again.


Additionally if I went to the settings and activated forcing of SSL-encrypted login.


When uploading the first files I saw that the upload limit was 8Mb. To change this the values upload_max_filesize and post_max_size in the php.ini had to be adapted. This can be done via the domainfactory dash board. And voilĂ , here is the dropbox/google drive/$YourNSAaccessibleCloudStorage replacement!