Using owncloud with an external HDD

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?

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

Hi, I get this:

Could not open input file: occ

Where have you executed this command?

you have to do it in your ownCloud folder.

Usually its this path:

/var/www/owncloud/