Outils pour utilisateurs

Outils du site


tech:notes_dolibarr

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_dolibarr [2025/05/24 12:14] Jean-Baptistetech:notes_dolibarr [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon app php}}
 +
 +# Notes Dolibarr
 +
 +Voir aussi :
 +  * openconcerto
 +  * erpnext
 +
 +
 +## Install
 +
 +http://wiki.dolibarr.org/index.php/Installation_-_Upgrade
 +
 +~~~bash
 +apt-get install php5-gd php5-pgsql postgresql
 +
 +adduser --system --home /var/www/dolibarr dolibarr
 +
 +su - dolibarr -s /bin/bash
 +git clone https://github.com/Dolibarr/dolibarr/
 +git tag
 +git checkout 3.8.3
 +
 +exit
 +
 +chown dolibarr: /var/www/dolibarr/dolibarr/htdocs/conf
 +~~~
 +
 +`/etc/php5/fpm/pool.d/dolibarr.conf`
 +~~~ini
 +[dolibarr]
 +user = dolibarr
 +group = dolibarr
 +listen = /var/run/php5-fpm-dolibarr.sock
 +listen.owner = www-data
 +listen.group = www-data
 + 
 +pm = dynamic
 +pm.max_children = 5
 +pm.start_servers = 2
 +pm.min_spare_servers = 1
 +pm.max_spare_servers = 3 
 + 
 +chdir = /
 +
 +php_admin_value[error_log] = /var/log/fpm-php.dolibarr.log
 +php_admin_flag[log_errors] = on
 +~~~
 +
 +
 +### Post install
 +
 +Après l'install on bloque les urls /install*
 +`/etc/nginx/sites-available/dolibarr`
 +~~~nginx
 +        location ~ /install* {
 +                deny all;
 +        }
 +~~~
 +
 +
 +~~~bash
 +touch /var/www/dolibarr/dolibarr/documents/install.lock
 +~~~
 +
 +Php ne doit plus pouvoir écrire ici
 +~~~
 +chown -R www-data: /var/www/dolibarr/dolibarr/htdocs/conf/
 +~~~
 +
 +
 +## Pb
 +
 +Erreur à l'intall
 +
 +http://nongnu.13855.n7.nabble.com/Bug-1882-Error-installing-with-PostgreSQL-td198863.html
 +
 +Apparemment on peut ignorer
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki