Help Needed: Using DOLI_ENABLE_MODULES in Docker Installation

Hello Dolibarr Community,

I am trying to set up Dolibarr using Docker and I’m having trouble getting the DOLI_ENABLE_MODULES variable to work correctly. I have specified the following modules in my Docker setup:

DOLI_ENABLE_MODULES: MODSOCIETE,MODFACTURE,MODBANQUE,MODCOMPTABILITE,SERVICES,MODDBADMIN

However, after the installation, these modules are not active. I am not sure if I am using the correct module names or if there is a specific way to implement them.

Could someone please guide me on the correct usage of the DOLI_ENABLE_MODULES variable and confirm if the module names I am using are accurate? Any help or suggestions would be greatly appreciated.

Thank you in advance!

hey

what does your docker log say when you start it for setup?

Hello,

Thank you for your answer.
So the logs say

Activating module MODSOCIETE ... FAILED. Unable to load module. Be sure to check the case
Activating module MODFACTURE ... FAILED. Unable to load module. Be sure to check the case
Activating module MODBANQUE ... FAILED. Unable to load module. Be sure to check the case
Activating module MODCOMPTABILITE ... FAILED. Unable to load module. Be sure to check the case
Activating module SERVICES ... FAILED. Unable to load module. Be sure to check the case
Activating module MODDBADMIN ... FAILED. Unable to load module. Be sure to check the case

So they are case sensitive, But I can’t find a precise reference in the documentation as to how to write the name of the modules in my variables.

I tried all uppercase, camelCase, and all lowercase …

Ok so the issue you linked to was helpful.

This comment in particular:

the output is produced with this input from var file

dolibarr_modules: >'Accounting,Adherent,Agenda,Api,banque,barcodecommande,cron,eventorgani>zation,expensereport,export,facture,gravatar,import,notification,product,projet,p>ropal,service,socialnetworks,society,stock,stripe,paypal,syslog,takepos,tax,user>,variants,webhook'

BUT, it was not society but societe

I wish there were clearer instructions about this.

Again, thanks for your help.

1 Like