<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/index.php?action=history&amp;feed=atom&amp;title=Module_DoliDrive</id>
	<title>Module DoliDrive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/index.php?action=history&amp;feed=atom&amp;title=Module_DoliDrive"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_DoliDrive&amp;action=history"/>
	<updated>2026-12-04T22:53:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_DoliDrive&amp;diff=69768&amp;oldid=prev</id>
		<title>Eric.seigne: DoliDrive 1.0.20</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_DoliDrive&amp;diff=69768&amp;oldid=prev"/>
		<updated>2026-12-04T22:07:21Z</updated>

		<summary type="html">&lt;p&gt;DoliDrive 1.0.20&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[fr:Module_DoliDrive_FR]]&lt;br /&gt;
[[Category:Complementary modules]]&lt;br /&gt;
[[Category:CAP-REL]]&lt;br /&gt;
[[Category:DoliDrive]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
=Information=&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=DoliDrive&lt;br /&gt;
|editor=CAP-REL&lt;br /&gt;
|web=[https://cap-rel.fr cap-rel.fr]&lt;br /&gt;
|webbuy={{LinkToPluginDownloadDoliStore|keyword=dolidrive}}&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=A NextCloud server reachable over HTTPS&lt;br /&gt;
|minversion=18.0.0&lt;br /&gt;
|note=Your NextCloud files inside Dolibarr: a DoliDrive tab on every third party and every project, folder trees created automatically, archiving of quotes, orders and invoices, share links, versions and an activity log.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The native Dolibarr document management stores files on the server, with no access from outside. DoliDrive connects your ERP to a NextCloud server over WebDAV: your documents live in NextCloud, where your team opens them from the desktop, a phone or the web, and stay reachable from Dolibarr.&lt;br /&gt;
&lt;br /&gt;
==At a glance==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For whom&amp;#039;&amp;#039;&amp;#039;: companies that want their documents in NextCloud without losing access from Dolibarr, filed per customer and per project with no double entry.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;What the module does&amp;#039;&amp;#039;&amp;#039;: it shows the NextCloud files of a third party or a project inside Dolibarr, creates the folder trees, archives the documents Dolibarr generates into NextCloud and synchronises the product files.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;What it does not do&amp;#039;&amp;#039;&amp;#039;: it does not provide the NextCloud server, which stays yours to run; it renames files from Dolibarr, not folders.&lt;br /&gt;
&lt;br /&gt;
==Feature list==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;File browser&amp;#039;&amp;#039;&amp;#039; - a DoliDrive tab on every third party and every project, as a list or as a photo gallery with a fullscreen viewer; a folder holding only images or videos switches to the gallery on its own.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Rename&amp;#039;&amp;#039;&amp;#039; - a pencil next to the name of a file renames it on NextCloud, never overwriting a file of the same name.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Search&amp;#039;&amp;#039;&amp;#039; - by file name, and by content when the NextCloud server indexes the text of the documents.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Versions&amp;#039;&amp;#039;&amp;#039; - the versions NextCloud keeps of a file can be browsed and restored from Dolibarr.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Share links&amp;#039;&amp;#039;&amp;#039; - create, edit and delete public NextCloud links, protected by a password and an expiry date, read only or editable.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Send by email&amp;#039;&amp;#039;&amp;#039; - the selected files go as attachments from the Dolibarr email form.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Automatic folder trees&amp;#039;&amp;#039;&amp;#039; - sub-folders created per customer, supplier, project or task from a template, with the &amp;lt;code&amp;gt;__THIRDPARTY_NAME__&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;__SUPPLIER_NAME__&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;__BANK_NAME__&amp;lt;/code&amp;gt; variables.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Archiving&amp;#039;&amp;#039;&amp;#039; - quotes, orders and invoices copied into NextCloud when their PDF is generated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Product files&amp;#039;&amp;#039;&amp;#039; - synchronised both ways between the Dolibarr document management and NextCloud.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Access zones&amp;#039;&amp;#039;&amp;#039; - a sub-folder reserved to the user groups of your choice.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Queue&amp;#039;&amp;#039;&amp;#039; - a failed upload is retried instead of being lost, and its author is emailed when it finally fails.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activity log&amp;#039;&amp;#039;&amp;#039; - every operation is recorded, with filters by level, action, user and period.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Quota&amp;#039;&amp;#039;&amp;#039; - the NextCloud quota and the size of the current folder are shown, with a warning near the limit.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Webhook&amp;#039;&amp;#039;&amp;#039; - NextCloud can notify DoliDrive of a change, through a request signed with HMAC-SHA256.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Languages&amp;#039;&amp;#039;&amp;#039; - interface in English, French, German, Spanish and Italian.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=&amp;quot;300px&amp;quot; heights=&amp;quot;200px&amp;quot;&amp;gt;&lt;br /&gt;
File:DoliDrive onglet-tiers-fichiers.png|DoliDrive tab of a third party: the list of NextCloud files and folders&lt;br /&gt;
File:DoliDrive configuration-connexion.png|Setup of the connection to the NextCloud server&lt;br /&gt;
File:DoliDrive configuration-archivage.png|Automatic archiving of quotes, orders and invoices&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Links=&lt;br /&gt;
&lt;br /&gt;
* [https://doc.cap-rel.fr/dolidrive/?lang=en Module documentation]&lt;br /&gt;
* [https://doc.cap-rel.fr/dolidrive/nouveautes-1-0#version-1-0-20 What&amp;#039;s new in version 1.0.20]&lt;br /&gt;
* [https://dolinews.com/en/projets/dolidrive Get update notifications]&lt;br /&gt;
* [https://cap-rel.fr/sav-module-dolibarr/ Support form]&lt;br /&gt;
* [https://dolitry.fr/dolidrive/ Online demo]: a Dolibarr created for you in less than 20 seconds and removed after the session&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Item !! Version or condition&lt;br /&gt;
|-&lt;br /&gt;
| Dolibarr || 18.0 or later&lt;br /&gt;
|-&lt;br /&gt;
| PHP || 7.4 or later&lt;br /&gt;
|-&lt;br /&gt;
| NextCloud || a server reachable over HTTPS and a dedicated account, whose login is not &amp;quot;dolibarr&amp;quot; (a word NextCloud reserves)&lt;br /&gt;
|-&lt;br /&gt;
| Permissions || an administrator account to install, enable and set up the module&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
{{InstallModuleDoliStoreEn|keyword=dolidrive}}&lt;br /&gt;
&lt;br /&gt;
==Upgrade==&lt;br /&gt;
&lt;br /&gt;
# Install the new version from &amp;#039;&amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Modules/Applications &amp;gt; Deploy/install external app/module&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Disable then enable DoliDrive again: re-enabling applies the database updates and records the tabs and the permissions. It removes neither the configuration nor the files.&lt;br /&gt;
&lt;br /&gt;
==Uninstall==&lt;br /&gt;
&lt;br /&gt;
Disable the module from &amp;#039;&amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Modules/Applications&amp;#039;&amp;#039;&amp;#039;. The files stay on the NextCloud server.&lt;br /&gt;
&lt;br /&gt;
=Setup=&lt;br /&gt;
&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
The setup is in &amp;#039;&amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Modules &amp;gt; DoliDrive&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==NextCloud connection==&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Configuration&amp;#039;&amp;#039;&amp;#039; tab holds the server address, the NextCloud login, the BASE sub-folder at the root of the whole tree and the name of the customers folder. The &amp;#039;&amp;#039;&amp;#039;Generate an API key&amp;#039;&amp;#039;&amp;#039; button opens a NextCloud window where you grant access; the key is then saved on its own. The &amp;#039;&amp;#039;&amp;#039;Test connection&amp;#039;&amp;#039;&amp;#039; button checks that DoliDrive reaches the server.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting !! Role !! Default&lt;br /&gt;
|-&lt;br /&gt;
| Customer folder tree || sub-folders created for every customer, one per line || empty&lt;br /&gt;
|-&lt;br /&gt;
| Active customers only || only handles customers with a commercial activity in the last twelve months || no&lt;br /&gt;
|-&lt;br /&gt;
| HMAC secret key || signature required from the webhook requests; empty, the webhook refuses everything || empty&lt;br /&gt;
|-&lt;br /&gt;
| Maximum file size || size above which a file is not downloaded || 50 MB&lt;br /&gt;
|-&lt;br /&gt;
| Cache lifetime || how long file information is kept, in seconds || 86,400 (24 h)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other tabs==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Projects&amp;#039;&amp;#039;&amp;#039;: a folder tree per project and per task, and the destination folders of the documents linked to the project.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Archives&amp;#039;&amp;#039;&amp;#039;: archiving of quotes, orders and invoices, with their destination folder.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Linked files&amp;#039;&amp;#039;&amp;#039;: synchronisation of the product files and propagation of deletions.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Access zones&amp;#039;&amp;#039;&amp;#039;: sub-folders reserved to user groups.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Logs&amp;#039;&amp;#039;&amp;#039;: the activity log, kept 90 days by default.&lt;br /&gt;
&lt;br /&gt;
==Scheduled job==&lt;br /&gt;
&lt;br /&gt;
DoliDrive records the &amp;#039;&amp;#039;&amp;#039;SyncNextCloudToDolibarr&amp;#039;&amp;#039;&amp;#039; job, every 15 minutes, disabled at installation. Enable it in &amp;#039;&amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Scheduled jobs&amp;#039;&amp;#039;&amp;#039;: it processes the upload queue, synchronises the product files and purges the cache and the log.&lt;br /&gt;
&lt;br /&gt;
=Permissions=&lt;br /&gt;
&lt;br /&gt;
Three permissions are granted from &amp;#039;&amp;#039;&amp;#039;Home &amp;gt; Users &amp;amp; Groups&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Permissions&amp;#039;&amp;#039;&amp;#039; tab:&lt;br /&gt;
* read: browse and download files, granted by default;&lt;br /&gt;
* write: upload and rename files, create folders, manage share links;&lt;br /&gt;
* delete: delete files and share links.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Once enabled and set up, a &amp;#039;&amp;#039;&amp;#039;DoliDrive&amp;#039;&amp;#039;&amp;#039; tab appears on every third party and every project.&lt;br /&gt;
&lt;br /&gt;
==Browse the files==&lt;br /&gt;
&lt;br /&gt;
Click a folder to enter it, a file to download it. The &amp;#039;&amp;#039;&amp;#039;Album&amp;#039;&amp;#039;&amp;#039; button switches to a thumbnail gallery. The infinity button opens the current folder in the NextCloud web interface. When the customer folder does not exist yet, &amp;#039;&amp;#039;&amp;#039;Create home folder&amp;#039;&amp;#039;&amp;#039; creates it, and &amp;#039;&amp;#039;&amp;#039;Create folder tree&amp;#039;&amp;#039;&amp;#039; adds the configured sub-folders without touching the existing ones.&lt;br /&gt;
&lt;br /&gt;
==Rename a file==&lt;br /&gt;
&lt;br /&gt;
When you hover over a file, a pencil appears next to its name, or among the buttons of the tile in the gallery. Type the new name and confirm with Enter; Escape cancels. A name already used in the same folder is refused.&lt;br /&gt;
&lt;br /&gt;
==Share a file==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Create share link&amp;#039;&amp;#039;&amp;#039; asks for a label, a password, an expiry date and the permissions of the link. The existing links are copied, edited and deleted from the same window.&lt;br /&gt;
&lt;br /&gt;
Every screen is described in the [https://doc.cap-rel.fr/dolidrive/utilisation?lang=en usage guide].&lt;br /&gt;
&lt;br /&gt;
=FAQ=&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The connection test fails.&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Check that the server address uses HTTPS, that the login is not &amp;quot;dolibarr&amp;quot;, that the API key was generated and that the BASE folder exists on NextCloud.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How do I generate a new API key?&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Empty the &amp;#039;&amp;#039;&amp;#039;Connection key to your NextCloud server API&amp;#039;&amp;#039;&amp;#039; field and save: the &amp;#039;&amp;#039;&amp;#039;Generate an API key&amp;#039;&amp;#039;&amp;#039; button is active again.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Documents are not archived.&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Archiving must be enabled for that document type in the &amp;#039;&amp;#039;&amp;#039;Archives&amp;#039;&amp;#039;&amp;#039; tab, with a destination folder the NextCloud account is allowed to write.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The rename pencil does not show.&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
It is reserved to users with the DoliDrive write permission, and only shows on files, not on folders.&lt;br /&gt;
&lt;br /&gt;
Every question: [https://doc.cap-rel.fr/dolidrive/faq?lang=en FAQ of the documentation].&lt;br /&gt;
&lt;br /&gt;
=Development=&lt;br /&gt;
&lt;br /&gt;
Developments and improvements can be suggested to the project lead by email (see the headers of the source files) or through the [https://cap-rel.fr/sav-module-dolibarr/ support form].&lt;/div&gt;</summary>
		<author><name>Eric.seigne</name></author>
	</entry>
</feed>