Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| admin:dolibarr [2015/01/18 22:20] – daamien | admin:dolibarr [2018/10/07 09:55] (Version actuelle) – daamien | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Dolibarr ====== | ====== Dolibarr ====== | ||
| - | ===== Installation | + | ===== Reconstruction de l' |
| + | |||
| + | Il y a une environement https:// | ||
| + | |||
| + | Des playbooks ansible sont disponibles pour maintenir cet environement à jour : | ||
| + | |||
| + | https:// | ||
| + | |||
| + | 1. Re-Synchroniser l' | ||
| + | |||
| + | <code sh> | ||
| + | make dolibarr_sync_test_env | ||
| + | </ | ||
| + | |||
| + | 2. Tester la montée de version | ||
| + | |||
| + | <code sh> | ||
| + | make dolibarr_upgrade_test_env | ||
| + | </ | ||
| + | |||
| + | Le playbook extrait les logs de l' | ||
| + | |||
| + | <code sh> | ||
| + | less / | ||
| + | </ | ||
| + | |||
| + | Les scripts d' | ||
| + | |||
| + | ===== Upgrade 6.0 vers 7.0 ===== | ||
| < | < | ||
| - | cd /tmp | + | sudo cp -pr /var/www/erp.postgresql.fr backup_dolibarr_20181007 |
| - | wget http://www.dolibarr.fr/ | + | sudo -u postgres pg_dump |
| - | tar xzvf dolibarr-3.1.0-rc.tgz | + | |
| - | sudo mv dolibarr-3.1.0-rc/htdocs/ / | + | |
| </ | </ | ||
| - | Puis : | + | < |
| + | git clone https:// | ||
| + | cd dolibarr | ||
| + | git checkout 7.0 | ||
| + | sudo cp -pr htdocs/* / | ||
| + | sudo rm / | ||
| + | </ | ||
| - | * création du vhost apache2 | + | -> http:// |
| - | * création du couple user/base dolibarr/dolibarr dans postgres | + | |
| - | * création du domaine | + | |
| - | Fin de l' | ||
| + | < | ||
| + | sudo touch / | ||
| + | sudo mv / | ||
| + | </ | ||
| - | ===== Upgrade 3.4 vers 3.6 ===== | + | |
| + | ===== Upgrade 5.0 vers 6.0 ===== | ||
| + | |||
| + | |||
| + | < | ||
| + | cd | ||
| + | mkdir backup_dolibarr_20150118 | ||
| + | cd backup_dolibarr_20150118 | ||
| + | sudo cp -pr / | ||
| + | sudo su postgres | ||
| + | pg_dump dolibarr > / | ||
| + | exit | ||
| + | cp / | ||
| + | </ | ||
| + | |||
| + | ==== Install ==== | ||
| + | |||
| + | |||
| + | < | ||
| + | cd | ||
| + | git clone https:// | ||
| + | cd dolibarr | ||
| + | git checkout 3.5 | ||
| + | sudo cp -pr htdocs/* / | ||
| + | sudo rm / | ||
| + | </ | ||
| + | |||
| + | -> http:// | ||
| + | |||
| + | |||
| + | < | ||
| + | sudo touch / | ||
| + | sudo mv / | ||
| + | </ | ||
| + | |||
| + | ==== FIX ==== | ||
| + | |||
| + | < | ||
| + | \i / | ||
| + | </ | ||
| + | |||
| + | ===== Upgrade 3.4 vers 3.5 ===== | ||
| ==== Sauvegarde ==== | ==== Sauvegarde ==== | ||
| Ligne 32: | Ligne 107: | ||
| pg_dump dolibarr > / | pg_dump dolibarr > / | ||
| exit | exit | ||
| - | cp / | + | cp / |
| </ | </ | ||
| Ligne 42: | Ligne 117: | ||
| git clone https:// | git clone https:// | ||
| cd dolibarr | cd dolibarr | ||
| - | git checkout 3.6 | + | git checkout 3.5 |
| sudo cp -pr htdocs/* / | sudo cp -pr htdocs/* / | ||
| sudo rm / | sudo rm / | ||
| Ligne 52: | Ligne 127: | ||
| < | < | ||
| sudo touch / | sudo touch / | ||
| - | sudo mv / | + | sudo mv / |
| </ | </ | ||
| + | |||
| + | ===== Installation version 3.1.x ===== | ||
| + | |||
| + | < | ||
| + | cd /tmp | ||
| + | wget http:// | ||
| + | tar xzvf dolibarr-3.1.0-rc.tgz | ||
| + | sudo mv dolibarr-3.1.0-rc/ | ||
| + | </ | ||
| + | |||
| + | Puis : | ||
| + | |||
| + | * création du vhost apache2 | ||
| + | * création du couple user/base dolibarr/ | ||
| + | * création du domaine erp.postgresql.fr | ||
| + | |||
| + | Fin de l' | ||
| + | |||
| + | |||