You are not logged in.
Hey has anyone gotten this working. Owncloud works fine when the data directory in usr/share/webapps/owncloud is used, but when I change 'data' to a symlink to /mnt/warehouse/share/owncloud/data all I get is a blank screen upon connecting to my server.
Owncloud works fine if I revert the symlink back to a true directory.
Following the instructions here does not work for me: Owncloud Forums
I have /mnt/warehouse/share/owncloud/data in the open_basedir option in php.ini as well as httpd.conf. (In addition to /usr/share/webapps/owncloud and /srv/http/owncloud).
The user/group of /mnt/warehouse/share/owncloud are http:http and permissions are 770.
I must be missing something obvious as I can't seem to find anything out there. Any suggestions?
Thanks,
Greg
Offline
Offline
Thank you, Yeah I have tried doing that. Both from the very beginning when owncloud prompts you to set up an admin account and database server (and data dir), as well as changing it in config.php after the intial set up, as well as replacing the data dir with a symlink to my preferred location. The result is the same, a blank page on server connect. Whether I have the data directory configured specifically in config.php, or as a symlink, the error message is the same.
I will give it another try, configuring a non-standard data directory from the initial set up, but pretty sure the result will be the same.
I feel like this must somehow be an apache config or php config issue, but I'm not too well versed with either.
I am using the non-aur package, and followed the wiki instructions for setting up the lamp/owncloud.
From /var/log/httpd/error_log, while data is a symlink located in /usr/share/webapps/owncloud:
[Fri Feb 14 15:52:24 2014] [error] [client ::1] PHP Fatal error: Call to a member function warning() on a non-object in /usr/share/webapps/owncloud/lib/private/log/errorhandler.php on line 51
Offline
While this does not answer your question directly: Every time I am tempted to use symlinks for folders with many files, I end up using bind mounts lately. They rarely fail.
Offline
Thank you Awebb for the tip. Everything works perfectly. Cannot for the life of me figure out why a symlink will not achieve the same. I guess I'll save researching that for later.
Thanks,
Greg
Last edited by rollenwiese (2014-02-15 00:00:03)
Offline
How did you get it work?
If I change the datadirectory to another directory and after apply the permissions I get the blank page as well.
Offline