Looking for a Newbie Bananian OC Tutorial

help

#1

Hello,

I am googling around and could not find a good tutorial on Bananian (Banana Pro) with ownCloud, can any good and expert members here point me a good tutorial for ownCloud on Banana pro (Bananian) for me?

Many Thank


#2

Bananian, I suppose, is a debian for banana pi? Once you've installed the OS, the installation process should be very similar to other debian-like systems. So tutorials for raspberry pi should be good as well.
Just a quick search brought me to this: http://www.owncluster.de/2015/11/11/installing-owncloud-on-a-banana-pi/
It looks not bad, your data are actually stored on an external hard drive, redis-caching is done as well.

What might be interesting: The performance of php7.0 is much better than php5.x, so especially on less powerful devices, this is a real benefit. I would check two options: either how to add php7.0 to your bananian (for debian8 you have 3rd party packages from dot-deb but unfortunately not for ARM devices) or use an image based on Ubuntu 16.04 which already comes with php7.0.


#3

Hi,

Thank you for the input, I have try to install ownCloud using the tutorial above - although I think I may mess up with the fact I am changing the Version ownCloud to 9.0.2 instead of 8.2.0 anyway I will try its again tomorrow, although as I read up to the very bottom, there is no walk through for me to attach my SSD drive to Banana Pro.

Will its work if I choose this tutorial https://pimylifeup.com/raspberry-pi-owncloud/ to attach my external drive to my system?

Thank You


#4

If you want to use this disk only for owncloud, I would perhaps choose a Linux-filesystem on it (ext4). NTFS works in general but performance and reliability are better with a Linux filesystem. Only downside, if you connect the drive to your Windows computer, you won't be able to read the data (though you can boot a Linux live system or use Linux in a virtual machine).

This could be a guide: http://unixetc.co.uk/2015/02/21/simple-owncloud-installation-on-raspberry-pi-2/
go to this section (especially create the data/-directory before you install ownCloud, you must specify the data/-directory during the install of owncloud): Move the Owncloud Data Directory (optional)


#5

Hi,

When I follow the tutorial and fire this command

su www-data -s /bin/bash -c 'php occ maintenance:install --database "mysql" --database-name "owncloud" --database-user "root" --database-pass "password" --admin-user "admin" --admin-pass "password" --data-dir "/mnt/data"'

I got this error

[InvalidArgumentException]
Database is not supported.

maintenance:install [--database DATABASE] [--database-name DATABASE-NAME] [--database-host DATABASE-HOST] [--database-user DATABASE-USER] [--database-pass [DATABASE-PASS]] [--database-table-prefix [DATABASE-TABLE-PREFIX]] [--admin-user ADMIN-USER] [--admin-pass ADMIN-PASS] [--data-dir DATA-DIR]

Please help


#6

Install and enable the mysql PHP database driver (something like php5-mysql or php7.0-mysql).