Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
m
Line 109: Line 109:


* Go into the directory where you installed Dolibarr (it might be the root directory of your web, for example /var/www under Debian)
* 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
<source lang="bash">
$ cd /var/www
</source>


* Get archive of last version
* Get archive of last version
$ wget http://www.nltechno.com/files/dolibarr.tgz
<source lang="bash">
$ wget http://www.nltechno.com/files/dolibarr.tgz
</source>


* Uncompress the archive
* Uncompress the archive
$ tar xvfz dolibarr.tgz
<source lang="bash">
$ tar xvfz dolibarr.tgz
</source>


* Copy all new extracted files (the one uncompressed into directory dolibarr-x.y.z) to the directory where you put your old Dolibarr version. This will overwrite old files with new ones without removing files specifics to your installation (like conf.php file or complementary non official installed modules).
* Copy all new extracted files (the one uncompressed into directory dolibarr-x.y.z) to the directory where you put your old Dolibarr version. This will overwrite old files with new ones without removing files specifics to your installation (like conf.php file or complementary non official installed modules).
$ cp -r dolibarr-x.y.z/* dolibarr
<source lang="bash">
$ cp -r dolibarr-x.y.z/* dolibarr
</source>


* If no error, you can now remove the directory of source files
* If no error, you can now remove the directory of source files
$ rm -fr dolibarr-x.y.z
<source lang="bash">
$ rm -fr dolibarr-x.y.z
</source>


* Now call the install/ page of Dolibarr in your browser
* Now call the install/ page of Dolibarr in your browser
Line 131: Line 141:
* For security reason, we recommend, once setup is finished, to create a file install.lock into Dolibarr installed directory that only root user can delete. This will lock the call of the install process again (you will have to remove it for upgrades)  
* For security reason, we recommend, once setup is finished, to create a file install.lock into Dolibarr installed directory that only root user can delete. This will lock the call of the install process again (you will have to remove it for upgrades)  
If this is not done, Dolibarr will show you a warning once logged with an administrator user.
If this is not done, Dolibarr will show you a warning once logged with an administrator user.
$ echo > dolibarr/install.lock
<source lang="bash">
$ chmod 444 dolibarr/install.lock
$ echo > dolibarr/install.lock
$ chmod 444 dolibarr/install.lock
</source>


= Setup a LDAP connexion =
= Setup a LDAP connexion =

Navigation menu