Talk:OwnCloud

From SME Server
Revision as of 13:19, 7 December 2012 by Mmccarn (talk | contribs) (Remove 'imap auth' section from 'talk')
Jump to navigation Jump to search

Mmccarn 08:14, 2 December 2012 (MST)

Notes: Installing from a git clone generated a blank screen during installation, with the following error in /var/log/messages:

httpd: PHP Fatal error:  Cannot access protected property MDB2_Driver_mysql::$varchar_max_length in /home/e-smith/files/ibays/owncloud/html/3rdparty/MDB2/Driver/Datatype/mysql.php on line 156

This was reported to owncloud and determined to be "not a bug": http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1583

However, I suspect that it's related to this change in PEAR: http://pear.php.net/bugs/bug.php?id=19582

As reported, downloaded release v4.5.3 installed fine.

I made the following changes to the settings for the 'owncloud' ibay:

db accounts owncloud setprop \
AllowOverride All \
FollowSymLinks enabled \
Group www \
PHPBaseDir /home/e-smith/files/ibays/owncloud/:/tmp/ \
PublicAccess global \
UserAccess wr-group-rd-everyone


  • Shall we include your iBay settings on the front page of the how-to, and why these settings are applied? [HF]
    • Sure. As for the reasoning:
      • AllowOverride: because until I added this, owncloud complained about .htaccess not working, and consequent security issues.
      • FollowSymLinks: well, we may not need this. I was originally trying to set it up symlinked to the git downloads in another location.
      • Group: I *think* this maintains useable file ownership and access rights through an execution of "signal-event ibay-modify" - at least it has been working for me for Wordpress.
      • PHPBaseDir: per your note.
    • I'd suggest adding the other settings that get things going (I've added these to the block above)
      • PublicAccess global
      • UserAccess wr-group-rd-everyone
    • I will test in the coming week whether "FollowSymLinks" is required or not.