From b41eea68a6d89401add2ed4db47cce4c907ba8dc Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Thu, 27 Feb 2025 15:16:49 +0100 Subject: [PATCH] Restore initial permission fix --- Readme.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index dc3984b..0420732 100644 --- a/Readme.md +++ b/Readme.md @@ -13,10 +13,16 @@ 6. This will create 2 directories `dolibarr_src` : dolibarr code source and logs and `dolibarr_db`: mysql files 7. Create a link to the dolibarr custom directory (where you should put your modules): - `ln -s dolibarr_src/htdocs/custom/ src` -8. Configuration of dolibarr with web interface (see below for database configuration) -9. Fix permissions `./doli perms` +8. Give the permissions for dolibarr to write the dolibarr_src directory, these rights will be fixed later by `./doli perms` +``` +./doli bash +chmod -R g+w dolibarr +chown -R :www-data dolibarr +``` +9. Configuration of dolibarr with web interface (see below for database configuration) +10. Fix permissions `./doli perms` -10. Go to [http://localhost:8080/](http://localhost:8080/) or your production instance and start configuration +11. Go to [http://localhost:8080/](http://localhost:8080/) or your production instance and start configuration  @@ -26,8 +32,8 @@ Setup following fields : - Identifiant `dolibarr` - Mot de passe : Password from `PASS` variable in your .env -11. Go to Configuration > Email and configure the mail server -12. Go to Configuration > Societe / Organisation and configure the organisation +12. Go to Configuration > Email and configure the mail server +13. Go to Configuration > Societe / Organisation and configure the organisation ## Databases (For developpement) -- GitLab