Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (33 loc) · 2.19 KB

2014-07-07-how-to-configure-owncloud-7-with-swift.markdown

File metadata and controls

44 lines (33 loc) · 2.19 KB
layout title categories lang author
post
How to configure Owncloud 7 with Openstack Swift?
Object-Storage
en
ArnaudJost

Owncloud is a software application which allows you to host, sync and share files, hosted on your own dedicated or virtual server.

The past few releases of OwnCloud allo users to host files on external storage, using a module. For example, you can use FTP or Openstack swift as a second backend storage.

With Owncloud 7, you can now use Openstack swift as [u]main storage[/u], and benefit with fast and secure storage from RunAbove without local storage problem (drive failure..).

Prerequistes :

Configure Owncloud 7 to use Runabove storage:

You have to manually configure Openstack storage in Owncloud's config file. You'll find it in Owncloud's http storage directory: config/config.php.

Edit this file, and add this new configuration element in $CONFIG array :

'objectstore' => array(
    'class' => 'OC\\Files\\ObjectStore\\Swift',
    'arguments' => array(
        'username' => '[email protected]', // Runabove username
        'password' => 'mypassword', // Runabove password
        'container' => 'owncloud', // Container name. Ownclound store files using it's own metadata,
        // so, keep a container only for Owncloud use.
        'autocreate' => true, // Create the container if it does not exist. default is false
        'region' => 'SBG-1', // Region where you want to store files
        'url' => 'https://auth.Runabove.io/v2.0', // Runabove identity endpoint
        'tenantName' => '1234567', // project name
        'serviceName' => 'swift', // service name, should be 'swift' on Runabove[
    ),
)

Then, just reload Owncloud on your favorite browser. Every users now store files on Runabove instead of using local storage. Please note that local storage is not longer used, so, please use a fresh install of Owncloud 7 or backup your files before.