[GUIDE] Installing OwnCloud Server on My Book Live

I’m gonna have to try this guide 1 more time. I THINK it broke my ZNC server which I had running on the MBL for IRC

PHP5 installs a lot of packages, but they do not conflict with anything installed. PHP5-GD will NOT work with the WD-installed version of PHP5. It has to be updated.

Everything is good to go :slight_smile:

Transmission

NzbGet

SabNZB

webfs

ZNC

pyLoad

OwnCloud

WOL Mod

FXP Mod

Reset Button OS install Mod

nfodiz wrote:

Everything is good to go :slight_smile:

 

Transmission

NzbGet

SabNZB

webfs

ZNC

pyLoad

OwnCloud

WOL Mod

FXP Mod

Reset Button OS install Mod

Nice! I’ll have to get pyLoad on there now. Probably after subsonic

Hi, thx for your guide. It works. Can you describe how I can use the original UI from WD? This is broken. And maybe you can add the upgrade to PHP 5.3.2 to your guide?

Hi addchild314,

Great guide, really! Thanks a lot!!!

Nevertheless I have a problem accessing my owncloud after setting the symbolic link. I followed the tutorial, but after setting the symbolic links and copiing everything to the new location I can not enter into owncloud anymore. Only a white page apears. Before doing that I could access owncloud via the webbrowser and finish the setup of owncloud.

Any idea what’s going wrong?

Thanks,

ponce10

rhartinger wrote:

Hi, thx for your guide. It works. Can you describe how I can use the original UI from WD? This is broken. And maybe you can add the upgrade to PHP 5.3.2 to your guide?

 The UI shouldn’t have been affected at all. You should still be able to access it from http://mybooklive/ or http://mybooklive/UI

You have to access it from a local network, you cannot access it remotely.

PHP is updated in the command

apt-get install php5

ponce10 wrote:

Hi addchild314,

 

Great guide, really! Thanks a lot!!!

 

Nevertheless I have a problem accessing my owncloud after setting the symbolic link. I followed the tutorial, but after setting the symbolic links and copiing everything to the new location I can not enter into owncloud anymore. Only a white page apears. Before doing that I could access owncloud via the webbrowser and finish the setup of owncloud.

 

Any idea what’s going wrong?

 

Thanks,

 

ponce10

I got that at one point after I changed some modules. I was able to repair it by downloading setup-owncloud.php and re-running the installation. It didn’t overwrite any of my data files or anything, and repaired the installation. Give it a shot…

Also, did you make the symlink then copy? Or copy then symlink. Because only the second way works.

Hi addchild314,

Refering to your question if I did first the copy and then the symlink: I followed strictly your tutorial.

I also tried to rerrun the owncloud setup by runing again

but no luck at all. I will keep on trying.

cd /var/www/wget https://download.owncloud.com/download/community/setup-owncloud.php --no-check-certificatechmod 755 setup-owncloud.php

Keep you informed!

No luck, I could run again the setup, but no luck. I only get a white page…

When you guys did the apt-get did you notice by chance if the files were coming from the squeeze or wheezy repo?

I have run into issues with wheezy on one of my guides, so I reinstalled a fresh OS and commented out the wheezy repos and it fixed the issue I was having. Wondering if it is the same thing here

I just looked back at my sources.list, and I have squeeze and wheezy both in there. However, I have squeeze listed before wheezy, which may make a difference?

Also, I have the contrib and non-free repositories added. Here is my /etc/sources.list:

chris@MyBookLive:~$ sudo cat /etc/apt/sources.list
[sudo] password for chris:
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://repo.ajenti.org/debian main main
#deb http://ftp.us.debian.org/debian/ sid main

 (Yes, I use sudo. Don’t judge.)

ponce10 wrote:

No luck, I could run again the setup, but no luck. I only get a white page…

Can you run the following commands, and post the output? Let’s make sure your permissions are correct.

ls -al /var/www/
ls -al /var/www/owncloud/
ls -al /DataVolume/owncloud_data

 Before posting, look at the output and make sure it doesn’t contain any personal information, of course.

Let me check a factory firmware and see how they are listed… When I followed your guide, I installed out of squeeze btw. I’ll post back

nfodiz wrote:

When I followed your guide, I installed out of squeeze btw.

So did I. I had assumed that it was default, but I may have been wrong. Some older firmwares had wheezy only, I know that.

Factory firmware 02.42.02-012 sources.list

deb http://ftp.us.debian.org/debian/ squeeze main
deb http://ftp.us.debian.org/debian/ wheezy main
#deb-src http://ftp.us.debian.org/debian/ wheezy main
#deb http://ftp.us.debian.org/debian/ sid main

When I installed 02.42.02-012 this morning to install python-imaging with apt-get it used the wheezy repo and python imaging installed but it did not show up under the pyload system check. I reinstalled fresh 02.42.02-012 and commented out

#deb http://ftp.us.debian.org/debian/ wheezy main

and then did apt-get install python-imaging again and this time it installed from squeeze, then I did the pyLoad system check and python-imaging showed installed.

I’m not sure how the sources.list picks which repo to install from though when there is more than 1

If I get time I can install a factory 02.42.02-012 and see which repo it installs from and if it is wheezy I can report back if it works.

nfodiz wrote:

 

I’m not sure how the sources.list picks which repo to install from though when there is more than 1

Neither do I… interesting

It works based off of apt.conf

In firmware 02.42.02-012 apt.conf looks like this

APT::Default-Release "lenny";

 Which is strange as there are no lenny repos in the sources.list

Only one way to find out what’s up :stuck_out_tongue: Off to factory 02.42.02-012 land I go

Factory 02.42.02-012 is using wheezy

login as: rootroot@192.168.1.6's password:Linux MyBookLive 2.6.32.11-svn70860 #1 Thu May 17 13:32:51 PDT 2012 ppcDisclaimer: SSH provides access to the network device and all itscontent, only users with advanced computer networking and Linux experienceshould enable it. Failure to understand the Linux command line interfacecan result in rendering your network device inoperable, as well as allowingunauthorized users access to your network. If you enable SSH, do not sharethe root password with anyone you do not want to have direct access to allthe content on your network device.MyBookLive:~# rm -f /var/lib/dpkg/info/wd-nas.*MyBookLive:~# apt-get updateGet:1 http://ftp.us.debian.org squeeze Release.gpg [1672B]Get:2 http://ftp.us.debian.org wheezy Release.gpg [836B]Get:3 http://ftp.us.debian.org squeeze Release [99.8kB]Ign http://ftp.us.debian.org squeeze ReleaseGet:4 http://ftp.us.debian.org wheezy Release [248kB]Ign http://ftp.us.debian.org wheezy ReleaseGet:5 http://ftp.us.debian.org squeeze/main Packages [6493kB]Get:6 http://ftp.us.debian.org wheezy/main Packages [5747kB]Fetched 12.6MB in 49s (254kB/s)Reading package lists... DoneMyBookLive:~# apt-get install php5 php5-gd php-xml-parser php5-intl zlib1gReading package lists... DoneBuilding dependency treeReading state information... DoneThe following extra packages will be installed:  fontconfig-config libapache2-mod-php5 libdb5.1 libfontconfig1 libgd2-xpm libic  php5-cli php5-common php5-curl php5-sqlite psmisc ttf-dejavu-coreSuggested packages:  libgd-tools php5-devThe following NEW packages will be installed:  fontconfig-config libdb5.1 libfontconfig1 libgd2-xpm libicu48 libjpeg8 liblzmaThe following packages will be upgraded:  libapache2-mod-php5 libpcre3 libsqlite3-0 libxml2 php-apc php5 php5-cli php5-c12 upgraded, 17 newly installed, 0 to remove and 298 not upgraded.Need to get 17.3MB of archives.After this operation, 40.3MB of additional disk space will be used.Do you want to continue [Y/n]? yWARNING: The following packages cannot be authenticated!  zlib1g libssl1.0.0 liblzma5 libtinfo5 libdb5.1 libpcre3 libsqlite3-0 libxml2 t  libapache2-mod-php5 php5-curl php5-sqlite php-apc php5-cli php5-common php-peaInstall these packages without verification [y/N]? yGet:1 http://ftp.us.debian.org wheezy/main zlib1g 1:1.2.7.dfsg-13 [87.0kB]Get:2 http://ftp.us.debian.org wheezy/main libssl1.0.0 1.0.1e-2 [1183kB]Get:3 http://ftp.us.debian.org wheezy/main liblzma5 5.1.1alpha+20120614-2 [205kBGet:4 http://ftp.us.debian.org wheezy/main libtinfo5 5.9-10 [272kB]Get:5 http://ftp.us.debian.org wheezy/main libdb5.1 5.1.29-5 [725kB]Get:6 http://ftp.us.debian.org wheezy/main libpcre3 1:8.30-5 [240kB]Get:7 http://ftp.us.debian.org wheezy/main libsqlite3-0 3.7.13-1+deb7u1 [448kB]Get:8 http://ftp.us.debian.org wheezy/main libxml2 2.8.0+dfsg1-7+nmu1 [852kB]Get:9 http://ftp.us.debian.org wheezy/main ttf-dejavu-core 2.33-3 [1021kB]Get:10 http://ftp.us.debian.org wheezy/main fontconfig-config 2.9.0-7.1 [233kB]Get:11 http://ftp.us.debian.org wheezy/main libfontconfig1 2.9.0-7.1 [297kB]Get:12 http://ftp.us.debian.org wheezy/main libjpeg8 8d-1 [130kB]Get:13 http://ftp.us.debian.org wheezy/main libxpm4 1:3.5.10-1 [48.5kB]Get:14 http://ftp.us.debian.org wheezy/main libgd2-xpm 2.0.36~rc1~dfsg-6.1 [231kGet:15 http://ftp.us.debian.org wheezy/main libicu48 4.8.1.1-12 [4576kB]Get:16 http://ftp.us.debian.org wheezy/main psmisc 22.19-1+deb7u1 [131kB]Get:17 http://ftp.us.debian.org squeeze/main libonig2 5.9.1-1 [142kB]Get:18 http://ftp.us.debian.org wheezy/main libqdbm14 1.8.78-2 [127kB]Get:19 http://ftp.us.debian.org wheezy/main libapache2-mod-php5 5.4.4-14 [2613kBGet:20 http://ftp.us.debian.org wheezy/main php5-curl 5.4.4-14 [29.5kB]Get:21 http://ftp.us.debian.org wheezy/main php5-sqlite 5.4.4-14 [27.4kB]Get:22 http://ftp.us.debian.org wheezy/main php-apc 3.1.13-1 [87.5kB]Get:23 http://ftp.us.debian.org wheezy/main php5-cli 5.4.4-14 [2471kB]Get:24 http://ftp.us.debian.org wheezy/main php5-common 5.4.4-14 [585kB]Get:25 http://ftp.us.debian.org wheezy/main php-pear 5.4.4-14 [367kB]Get:26 http://ftp.us.debian.org wheezy/main php-xml-parser 1.3.4-6 [27.2kB]Get:27 http://ftp.us.debian.org wheezy/main php5-gd 5.4.4-14 [34.9kB]Get:28 http://ftp.us.debian.org wheezy/main php5-intl 5.4.4-14 [70.6kB]Get:29 http://ftp.us.debian.org wheezy/main php5 5.4.4-14 [1016B]Fetched 17.3MB in 8s (2032kB/s)Preconfiguring packages ...(Reading database ...dpkg: warning: files list file for package `wd-nas' missing, assuming package hadpkg: warning: files list file for package `ramlog' missing, assuming package hadpkg: warning: files list file for package `libparted0' missing, assuming packag(Reading database ... 18524 files and directories currently installed.)Preparing to replace zlib1g 1:1.2.3.3.dfsg-12 (using .../zlib1g_1%3a1.2.7.dfsg-1Unpacking replacement zlib1g ...Setting up zlib1g (1:1.2.7.dfsg-13) ...Selecting previously deselected package libssl1.0.0.(Reading database ...dpkg: warning: files list file for package `wd-nas' missing, assuming package hadpkg: warning: files list file for package `ramlog' missing, assuming package hadpkg: warning: files list file for package `libparted0' missing, assuming packag(Reading database ... 18525 files and directories currently installed.)Unpacking libssl1.0.0 (from .../libssl1.0.0_1.0.1e-2_powerpc.deb) ...Selecting previously deselected package liblzma5.Unpacking liblzma5 (from .../liblzma5_5.1.1alpha+20120614-2_powerpc.deb) ...Selecting previously deselected package libtinfo5.Unpacking libtinfo5 (from .../libtinfo5_5.9-10_powerpc.deb) ...Selecting previously deselected package libdb5.1.Unpacking libdb5.1 (from .../libdb5.1_5.1.29-5_powerpc.deb) ...Preparing to replace libpcre3 8.02-1.1 (using .../libpcre3_1%3a8.30-5_powerpc.deUnpacking replacement libpcre3 ...Preparing to replace libsqlite3-0 3.7.3-1 (using .../libsqlite3-0_3.7.13-1+deb7uUnpacking replacement libsqlite3-0 ...Preparing to replace libxml2 2.7.7.dfsg-2 (using .../libxml2_2.8.0+dfsg1-7+nmu1_Unpacking replacement libxml2 ...Selecting previously deselected package ttf-dejavu-core.Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-3_all.deb) ...Selecting previously deselected package fontconfig-config.Unpacking fontconfig-config (from .../fontconfig-config_2.9.0-7.1_all.deb) ...Selecting previously deselected package libfontconfig1.Unpacking libfontconfig1 (from .../libfontconfig1_2.9.0-7.1_powerpc.deb) ...Selecting previously deselected package libjpeg8.Unpacking libjpeg8 (from .../libjpeg8_8d-1_powerpc.deb) ...Selecting previously deselected package libxpm4.Unpacking libxpm4 (from .../libxpm4_1%3a3.5.10-1_powerpc.deb) ...Selecting previously deselected package libgd2-xpm.Unpacking libgd2-xpm (from .../libgd2-xpm_2.0.36~rc1~dfsg-6.1_powerpc.deb) ...Selecting previously deselected package libicu48.Unpacking libicu48 (from .../libicu48_4.8.1.1-12_powerpc.deb) ...Preparing to replace psmisc 22.6-1 (using .../psmisc_22.19-1+deb7u1_powerpc.deb)Unpacking replacement psmisc ...Selecting previously deselected package libonig2.Unpacking libonig2 (from .../libonig2_5.9.1-1_powerpc.deb) ...Selecting previously deselected package libqdbm14.Unpacking libqdbm14 (from .../libqdbm14_1.8.78-2_powerpc.deb) ...Preparing to replace libapache2-mod-php5 5.2.6.dfsg.1-1+lenny9 (using .../libapaUnpacking replacement libapache2-mod-php5 ...Preparing to replace php5-curl 5.2.6.dfsg.1-1+lenny9 (using .../php5-curl_5.4.4-Unpacking replacement php5-curl ...Preparing to replace php5-sqlite 5.2.6.dfsg.1-1+lenny9 (using .../php5-sqlite_5.Moving obsolete conffile /etc/php5/conf.d/sqlite.ini out of the way...Unpacking replacement php5-sqlite ...Preparing to replace php-apc 3.0.19-2 (using .../php-apc_3.1.13-1_powerpc.deb) .Unpacking replacement php-apc ...Preparing to replace php5-cli 5.2.6.dfsg.1-1+lenny9 (using .../php5-cli_5.4.4-14Unpacking replacement php5-cli ...Preparing to replace php5-common 5.2.6.dfsg.1-1+lenny9 (using .../php5-common_5.Unpacking replacement php5-common ...Selecting previously deselected package php-pear.Unpacking php-pear (from .../php-pear_5.4.4-14_all.deb) ...Processing triggers for man-db ...Setting up libtinfo5 (5.9-10) ...Setting up psmisc (22.19-1+deb7u1) ...Setting up php5-common (5.4.4-14) ...Configuration file `/etc/cron.d/php5' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer.   What would you like to do about it ?  Your options are:    Y or I  : install the package maintainer's version    N or O  : keep your currently-installed version      D     : show the differences between the versions      Z     : start a shell to examine the situation The default action is to keep your current version.*** php5 (Y/I/N/O/D/Z) [default=N] ? NCreating config file /etc/php5/mods-available/pdo.ini with new versionSetting up libdb5.1 (5.1.29-5) ...Setting up libonig2 (5.9.1-1) ...Setting up libpcre3 (1:8.30-5) ...Setting up libqdbm14 (1.8.78-2) ...Setting up libssl1.0.0 (1.0.1e-2) ...Setting up liblzma5 (5.1.1alpha+20120614-2) ...Setting up libxml2 (2.8.0+dfsg1-7+nmu1) ...Setting up php5-cli (5.4.4-14) ...update-alternatives: warning: forcing reinstallation of alternative /usr/bin/phpSetting up php-pear (5.4.4-14) ...Selecting previously deselected package php-xml-parser.(Reading database ...dpkg: warning: files list file for package `wd-nas' missing, assuming package hadpkg: warning: files list file for package `ramlog' missing, assuming package hadpkg: warning: files list file for package `libparted0' missing, assuming packag(Reading database ... 18922 files and directories currently installed.)Unpacking php-xml-parser (from .../php-xml-parser_1.3.4-6_all.deb) ...Selecting previously deselected package php5-gd.Unpacking php5-gd (from .../php5-gd_5.4.4-14_powerpc.deb) ...Selecting previously deselected package php5-intl.Unpacking php5-intl (from .../php5-intl_5.4.4-14_powerpc.deb) ...Preparing to replace php5 5.2.6.dfsg.1-1+lenny4 (using .../archives/php5_5.4.4-1Unpacking replacement php5 ...Setting up libsqlite3-0 (3.7.13-1+deb7u1) ...Setting up ttf-dejavu-core (2.33-3) ...Setting up fontconfig-config (2.9.0-7.1) ...Setting up libfontconfig1 (2.9.0-7.1) ...Setting up libjpeg8 (8d-1) ...Setting up libxpm4 (1:3.5.10-1) ...Setting up libgd2-xpm (2.0.36~rc1~dfsg-6.1) ...Setting up libicu48 (4.8.1.1-12) ...Setting up libapache2-mod-php5 (5.4.4-14) ...Installing new version of config file /etc/apache2/mods-available/php5.conf ...6834: old priority 0, new priority 0Reloading web server config: apache2.Setting up php5-curl (5.4.4-14) ...Creating config file /etc/php5/mods-available/curl.ini with new versionSetting up php5-sqlite (5.4.4-14) ...Removing obsolete conffile /etc/php5/conf.d/sqlite.ini ...Creating config file /etc/php5/mods-available/sqlite3.ini with new versionCreating config file /etc/php5/mods-available/pdo_sqlite.ini with new versionSetting up php-apc (3.1.13-1) ...Setting up php-xml-parser (1.3.4-6) ...Setting up php5-gd (5.4.4-14) ...Creating config file /etc/php5/mods-available/gd.ini with new versionSetting up php5-intl (5.4.4-14) ...Creating config file /etc/php5/mods-available/intl.ini with new versionSetting up php5 (5.4.4-14) ...Processing triggers for libapache2-mod-php5 ...7358: old priority 0, new priority 0MyBookLive:~#

I got to this step

In your web browser, navigate to http://mybooklive/setup-owncloud.php and follow the instructions. I had it install to the subdirectory owncloud. I recommend you do the same. It may not be necessary, but it helps with security a bit, at least.

Dashboard is NOT working and OwnCloud Setup is NOT working

BRICKED

wheezy=BAD