---
title: "Installation"
weight: 10
description: "Download, install and enable the DoliDrive module."
source_hash: "ae3a4f78"
---

# Installation

## Download

Download the module from the [DoliStore](https://www.dolistore.com/) or from your CAP-REL customer area.

## Module installation

1. Unzip the downloaded archive
2. Copy the `dolidrive` folder into the `htdocs/custom/` directory of your Dolibarr installation

## Activation

1. Log in as a Dolibarr administrator
2. Go to **Home > Setup > Modules/Applications**
3. Find "DoliDrive" in the list (DMS/ECM category)
4. Click the activation button

![DoliDrive module activation page in the Dolibarr module list](screenshots/activation-module.webp)

The module automatically creates:

- The required database tables (metadata cache)
- The working directories (`dolidrive/temp` and `dolidrive/cache`)
- The additional fields on user groups and bank accounts

## NextCloud-side prerequisites

Before configuring DoliDrive, prepare your NextCloud server:

1. Create a dedicated user account on your NextCloud server (the name "dolibarr" is **forbidden**)
2. Make sure this account has read and write rights on the relevant folders
3. Note the URL of your NextCloud server (for example `https://masociete.on1.dolizen.fr`)

> **Warning**: The word "dolibarr" is a reserved identifier on NextCloud servers and cannot be used as a username.

## Initial setup

After activation, go to **Home > Setup > Modules > DoliDrive** to perform the [initial configuration](/dolidrive/configuration).

## Update

1. Replace the `dolidrive` folder with the new version
2. Go to **Home > Setup > Modules/Applications**, disable DoliDrive then enable it again

Re-enabling is required: it applies the database updates and records the new tab definitions (for example the "DoliDrive" tab of a third party, hidden from users without the read permission). It removes neither the configuration nor the files.
