Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Owncloud installed and working, but I want it to use my secondary hard drive as opposed to the drive I have Ubuntu installed on. How is this possible?

The documentation is rather confusing and outdated (I'm using Owncloud 5).

share|improve this question
BTW, the documentation you are seeing is to make your own type of "External storage" for the External storage support module. – Braiam Sep 5 '13 at 4:04
up vote 4 down vote accepted

For allowing the use of a personalized storage media, you need the External Storage module enabled in your Apps.

enter image description here

Once you have enabled this module, you will have new options in the Admin page called External Storage. Configure the Folder name, the type (if it's Local, Google Drive, WebDAV, etc.), the configuration (in the case of a Local, the target directory) and the users with access.

enter image description here

Once you have ended, you can go to the main screen and you will find a directory with the name of the resource.

enter image description here

That's all.

share|improve this answer
Enabling the module worked, but the folder doesn't show up. It seems to be a permissions issue, but nothing seems to be fixing that. – RolandiXor Sep 5 '13 at 18:00
@RolandiXor did external storage module appear in the Admin dashboard? – Braiam Sep 5 '13 at 18:04
yes. However, it seems not work. I think Owncloud is just plain broken for me :( – RolandiXor Sep 5 '13 at 18:09

ownCloud save all files in /var/www/owncloud/data.

You may open '/var/www/ownclou/config/config.php' and search for ‘datadirectory’. Replace ‘/var/www/owncloud/data’ with your shared folder full path. Make sure ownCloud has enough privilege to write to that folder.

You may see detail in Assign a different Directory in ownCloud to Store All Backup Files.

share|improve this answer

Try to:

chown -R www-data:www-data /path/to/your/new_mnt_drive

More info at:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.