…would love to have it, but I’m really afraid to brick my device - and since there is no unbrickification manual for this device yet, I better won’t try…
In the manual you linked to, it said something like “simply using apt-get without further ado could easily make your device unusable” - so better be careful with that… The good thing is - the Debian version used already seems to have php5…
Anyone got some experience with owncloud in mycloud ?
I tried to install opencart and had those same issues, in every way (although, I am a novice) I couldn’t manage to do it, and in the end I bricked my system, restored it now. So good luck and keep me updated haha, I’m quite interested in using owncloud too.
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:
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:
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.
I somehow managed to install owncloud, the web installer said it was successful, the only problem I encountered was an error when installing the php5-gd package and when I tried to restart the apache server it wouldn’t start again. This is why I now can access neither the Web-UI nor the Owncloud via html.
I also had a different sources.list on my device - maybe this was the problem - Mine was when i tried to install php5-gd:
“Starting web server: apache2apache2: Syntax error on line 141 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: libonig.so.2: ELF load command alignment not page-aligned
Action ‘-k graceful’ failed.
The Apache error log may have more information.”
Apt-get gives an error of unmet dependencies:
“You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
php5-apcu : Depends: phpapi-20121212+lfs but it is not installable
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).”
Does anyone have an idea what to do? I would be very grateful!
That explains a lot. Unfortunately it was the V4 so I better reflash the firmware… I don’t feel to confident about this 64k thingy - is it possible to flash a V3 firmware and downgrade or would that rather wreck everything?