Error 403 Forbidden When insert Logo in Company Setup

I just installed dolibarr, when setting up the company, I get a 403 error message only if I fill in the logo field.
what should I do so that I can insert my logo

Thank you in advance

Which version of Dolibarr are you using? Have you got the permissions right for all the directories?

Dolibarr ver. 19.0.2
i don’t know how to check the permissions for each directories.
can you let me know how to chech it?

thanks for your reply

If you are using a shared hosting coming with cPanel, you can use its in build file manager to check all your files and folder permissions

what folder should i check, and what permissionn it should be?

The logo’s are stored in the folder ~/documents/mycompany/…

i don’t see any folder with that names (documents or mycompany)

Please go to “Home–>Admin Tools–>About Dolibarr”
then search for “dolibarr_main_data_root” and you will find the documents folder on the right.

i found “dolibarr_main_data_root” and i found mycompany folder. permission 755
what should i change?

edited: i change it’s permission to 777, but it still gave me 403 error

that is the wrong permissions. Use 755.

Send us a screenshot of the error.

Send us the output from the apache log, and apache error log, and also the output of dolibarr.log

NO not all of the text, just the relevant text related to this upload that fails.


i’m using cpanel and i installing dolibar from softaculous.
in cpanel error log, i only find;
2024-07-23 17:46:02.228654 [INFO] [373934] [T0] [138.199.39.3:47299#APVH_citrainternusa.webstation.my.id:443] File not found [/home/webstati/citrainternusa.my.id/404.shtml]
2024-07-23 17:46:02.228617 [INFO] [373934] [T0] [138.199.39.3:47299#APVH_citrainternusa.webstation.my.id:443] File not found [/home/webstati/citrainternusa.my.id/Login.php]

i installing dollibar on https://citrainternusa.my.id/crm/

which folder path was that photo from?

i’m trying to upload my logo (local folder from my latop) in company setup

that answer was not what I meant.

You posted a screenshot of a folder. What was the path of that folder in that screenshot?

/home/webstati/citrainternusa.my.id/crm/


and this was at /home/webstati/dolibarrdata/

are the folders and files owned by the same user that the software runs as?

yes the folders and files owned by the same user