31,026
edits
mNo edit summary |
|||
| Line 1: | Line 1: | ||
{{TemplateDocUser}} | {{TemplateDocUser}} | ||
The following documentation describes processes to install or upgrade Dolibarr on a Unix like platform without using any particular packages provided by your Linux distribution. | The following documentation describes processes to install or upgrade Dolibarr on a Unix like platform without using any particular packages provided by your Linux distribution. | ||
| Line 48: | Line 47: | ||
$ touch /var/www/dolibarr/install.lock; chmod ug-w /var/www/dolibarr; | $ touch /var/www/dolibarr/install.lock; chmod ug-w /var/www/dolibarr; | ||
= | = Upgrade Dolibarr manually = | ||
This chapter describes a manual upgrade process of Dolibarr (from an old existing version) to a more recent one. | |||
It works for any Dolibarr version that is >= 2.0.0 | |||
* | * Go into the directory where you installed Dolibarr (it might be the root directory of your web, for example /var/www under Debian) | ||
$ cd /var/www | $ cd /var/www | ||
* | * Get archive of last version | ||
$ wget http://www.nltechno.com/files/dolibarr.tgz | $ wget http://www.nltechno.com/files/dolibarr.tgz | ||
* | * Uncompress the archive | ||
$ tar xvfz dolibarr.tgz | $ tar xvfz dolibarr.tgz | ||
* | * Copy all new extracted files (the one uncompressed into directory dolibarr-x.y.z) to the directory where you put your old Dolibarr version | ||
$ cp -r dolibarr-x.y.z/* dolibarr | $ cp -r dolibarr-x.y.z/* dolibarr | ||
* | * If no error, you can now remove the directory of source files | ||
$ rm -fr dolibarr-x.y.z | $ rm -fr dolibarr-x.y.z | ||
* | * Now call the install/ page of Dolibarr in your browser | ||
http://127.0.0.1/dolibarr/install/ | http://127.0.0.1/dolibarr/install/ | ||
* | * Choose ''Update'' in proposed menu | ||
* Pour des raisons de sécurité nous vous conseillons, une fois la mise à jour terminée, de verrouiller le répertoire d'installation. Dans le cas contraire, Dolibarr vous avertira d'un message dans l'interface une fois loggé | * Pour des raisons de sécurité nous vous conseillons, une fois la mise à jour terminée, de verrouiller le répertoire d'installation. Dans le cas contraire, Dolibarr vous avertira d'un message dans l'interface une fois loggé | ||