Using owncloud with an external HDD

external_storage

#1

Hello, I recently installed owncloud on my home raspberry pi running Ubuntu Server 16.04.4 LTS. Everything works, however, I have an external drive attached to the Pi and is auto mounted using fstab. While installing owncloud, I gave the path of this mount as the data to be saved into. However, when I open the dashboard, I do not see the files that were already present at that path. Also, I enabled external storage from the settings and I do not see the option to add a Local storage path there. How do store all files in this external hdd?


#2

Hi,

have you tried running a "occ files:scan"?

https://doc.owncloud.com/server/10.0/admin_manual/configuration/server/occ_command.html?highlight=occ#file-operations


#3

Hi, I get this:

Could not open input file: occ


#4

Where have you executed this command?

you have to do it in your ownCloud folder.

Usually its this path:

/var/www/owncloud/