Is the WD Interface working?I could make mine work but I lost the WD interface.
Yes I got mine working without losing the WD Dashboard interface (see my pointer #3). But it’s a bit slow though, can’t expect much from an arm7v1 600Mhz dual core. I would prefer if we could integrate the existing WD users without having a separate pool but this would need a lot of effort to achieve.
It’s actually a pretty straight forward installation following the existing My Book Live guide from the TS. The only tricky part is the “php5-gd” installation where you can risk losing the WD interface.
Since WSGVET hasn’t got the guide started yet, I’ll give a few pointers that differs from My Book Live from the original Guide:
UPDATED : Guide is only for v3 firmwares as apt-get will not work on newer v4 firmwares due to the 64K page size memory! For v4 firmwares, you’ll need tough luck to manually build and install a 64K patched php5-gd deb. Read more about the 64K stuffs here http://community.wd.com/t5/WD-My-Cloud/Building-packages-for-the-new-firmware-someone-tried-it/td-p/768007
Of course with root ssh access keeping in mind warranty=null, skip everything in the guide from start to the part where the author has updated " EDIT: <NEW_STEP>". Just after “rm -f /var/lib/dpkg/info/wd-nas.*” which you don’t have to perform for this case.
For “/etc/apt/sources.list”, just comment out the 1st line “wheezy main” and un-comment the 2nd line “sid main” before you do the “apt-get update” command. You may revert back once OwnCloud has been installed.
This is the most crucial part else you’ll lose the WD Dashboard. Do not install anything else and only run “apt-get install php5-gd”. When you run this, there’ll be prompts to install and upgrade, choose yes (make sure nothing is to be removed). There’ll be another few prompts to overwrite some php *.ini files (you won’t miss this), choose to keep them.
For the apache2 conf file, assuming you are installing in “/var/www/htdocs/owncloud/”, create a new file “/etc/apache2/conf.d/owncloud.conf” and paste the “<Directory… >” lines from the guide in it. You only need this one file for both http and https.
Finally when you try to install OwnCloud from your browser http://wdmycloud/setup-owncloud.php and encountered some SSL errors, edit the /var/www/htdocs/setup-owncloud.php line 139, change to " FALSE" for “curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE );”. If you receive permission write errors, as pointed out in the original guide, temporarily add write access to the www-data group “chmod g+w /var/www/htdocs”.
Edit #1 : I just noticed the WD email notification was broken after installing php5-gd. Fixed with below, run in shell:
ln -s /var/www/rest-api/lib/pear/includes /usr/share/pear
Edit #2 : Speed up Apache2. This will help to improve OwnCloud. Change the values in file below to 256. You can play around with the rest of the settings but only changes below will not greatly impact memory usage when the server is idle.
MaxRequestWorkers 10 -> 256
MaxConnectionsPerChild 10 -> 256
For edits above to take effect, httpd restart is required:
service apache2 restart