Changes

Line 64: Line 64:  
*Check that main root or admin user/password couple for the server is known and works correctly. If this root or admin user/password is not known because not yet defined, read following chapter. Otherwise go on next step:
 
*Check that main root or admin user/password couple for the server is known and works correctly. If this root or admin user/password is not known because not yet defined, read following chapter. Otherwise go on next step:
   −
==== MySQL or MariaDB database ====
+
====MySQL or MariaDB database====
    
For Linux users, if you have just installed a MySQL or MariaDB server, the admin user is''' root'''. If the root password has never been set yet, you must run the following command to initialize the password:
 
For Linux users, if you have just installed a MySQL or MariaDB server, the admin user is''' root'''. If the root password has never been set yet, you must run the following command to initialize the password:
Line 82: Line 82:  
And type your password ''newrootpass'' then \q to quit if the connection has been successful.
 
And type your password ''newrootpass'' then \q to quit if the connection has been successful.
   −
==== PostgreSQL database ====  
+
====PostgreSQL database====  
    
For Linux users, if you have just installed a PostgreSQL server, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version)
 
For Linux users, if you have just installed a PostgreSQL server, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version)
Line 114: Line 114:       −
==== Install Web server ====
+
====Install Web server====
    
*Go into the directory where to install Dolibarr (the web root directory defined for your web server virtual host. Example of setup of virtual host are available on [[Webserver|this page]]).
 
*Go into the directory where to install Dolibarr (the web root directory defined for your web server virtual host. Example of setup of virtual host are available on [[Webserver|this page]]).
Line 267: Line 267:  
=Upgrade Dolibarr=
 
=Upgrade Dolibarr=
 
This chapter describe processes to upgrade an existing installation of Dolibarr from an old version to a new one. The process is the same, whatever version you are coming from and version you are going to, but it will differ according to the distribution/operating system you used for your first installation. You should use the same for upgrade.
 
This chapter describe processes to upgrade an existing installation of Dolibarr from an old version to a new one. The process is the same, whatever version you are coming from and version you are going to, but it will differ according to the distribution/operating system you used for your first installation. You should use the same for upgrade.
+
 
 +
 
 +
Note : (optional but recommended)
 +
 
 +
It's better to delete old scripts (and programms if included in the downloaded file) before installing new ones: old files can remain, causing bug and malfunctions.
 +
 
 +
Before deleting, remember to save what you have customiz in your installation:
 +
 
 +
* your data (documents folder and database)
 +
* /custom if you have external modules -> be sure your external modules are compatible with the new version before updating !
 +
* /conf/conf.php : main parameter of dolibarr
 +
* your customized models and/or customized php scripts (it's recommended to report your modification in the new files cause yours are based on old version)
 +
 
 
==[[File:Logo_windows.png]] With DoliWamp (Windows .exe package)==
 
==[[File:Logo_windows.png]] With DoliWamp (Windows .exe package)==
   Line 343: Line 355:       −
Note:  
+
Note1:  
    
If you want to script the database upgrade process (to avoid the upgrade process from web browser), you can run the 3 upgrade processes from command line:
 
If you want to script the database upgrade process (to avoid the upgrade process from web browser), you can run the 3 upgrade processes from command line:
emailconfirmed, Administrators
123

edits