directory in debian linux

from which directory in debian linux to put the module I downloaded from dolistore?

I tried to extract the module in /usr/share/dolibarr/htdocs but no luck :unhappy:

I even tried to extract the module in /var/lib/dolibarr/documents but it seems that I am not getting the right directory… :unhappy: :unhappy:

please help me on this…

Hi,

Go Home -> Admin tools -> Upgrade / Extend Brwose module and clik Submit Query

1 Like

Hi Ndrosis,

Thank you very much for your reply. :happy:

I already extracted the zip module file to this directory /usr/share/dolibarr/htdocs/custom, which file I have to select?

or do I need to convert zip file to deb file in order for the linux to recognize the file? :unsure:

I tried also choosing the zip file and press submit query but nothing happened.

Also, I tried to extract it to /var/www/dolibarr/htdocs but also no luck

Hi guys i did my research and tried my best for any possible options and solutions but totally not working for me. I cannot find the external module in the list of modules… :unhappy:

To all Linux especially Debian users, please please please help me on how and where to put the external module in debian directory?

is it issue with file permission? or is it because I used and restored my database from my previous dolibarr installation that’s why I cannot find the external module in the list of modules?

Thanks…

I am using standalone debian linux server and not a web server…

Check the permissions on files and folders in module.
The directory for module is /usr/share/dolibarr/htdocs/custom

Permissions

files = 644 folders = 755

1 Like

I did the below command but it’s not working also…

Selection_001.png

Selection_002.png

Hi sarksloane try this command

for directories

find /usr/share/dolibarr/htdocs/custom -type d -exec chmod 755 {} \;

for files

[code]
find /usr/share/dolibarr/htdocs/custom -type f -exec chmod 644 {} ; [/code

1 Like

Hi ndrosis,

I tried the below command and it worked. For the information of everyone using debian linux. What I did was after issuing the below command, go to the file system and locate the module then right click on external module folder and click the properties. I changed the permission Access file as you can see in the below image. It worked for me! fortunately the module is included in the list.

setfacl -m user:sark:rwx /usr/share/dolibarr/htdocs/‘folder name of the module’

Selection_003.png

Thank you very much ndrosis for your help and support :happy: