User Tools

Site Tools


migration:ispcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
migration:ispcp [2014/02/06 23:58]
nuxwin
migration:ispcp [2016/03/09 20:38]
nuxwin
Line 1: Line 1:
 ====== Migration from ispCP to i-MSCP ====== ====== Migration from ispCP to i-MSCP ======
  
-This howto explain how to migrate from ispCP to iMSCP by using the miration script provided by the iMSCP team. Currently, only migration from ispCP version 1.0.7 or newer to iMSCP 1.0.3.0 or newer is supported.+This howto explain how to migrate from ispCP to i-MSCP ​by using the miration script provided by the i-MSCP ​team. Currently, only migration from ispCP version 1.0.7 is supported.
  
-<WRAP round important>​ +<​WRAP ​center ​round important ​60%
-Before doing the migration, it's greatly recommended to make a backup of your server data and even, test the migration with a clone of your system to detect any problem and the way to solve them.+Be aware that migration ​from ispCP is no supported by i-MSCP >= **1.2.16**
 </​WRAP>​ </​WRAP>​
  
 +<WRAP round important 60%>
 +Before doing the migration, it's greatly recommended to make a **backup** of your data and even, test the migration with a clone of your system to detect any problem and the way to solve them.
 +</​WRAP>​
  
-[[migration:​ispcp:​releasedversion|Migrate from ispCP to iMSCP (released version)]] 
  
-  * Download ​the current version of i-mscp from [[http://​i-mscp.net/​download|here]] (i-mscp.net) +=====Download ​and untar i-MSCP archive=====
-  * Untar the downloaded file+
  
-<konsole root+    # cd /​usr/​local/​src 
- # tar -xzf i-mscp-1.0.3.0.tar.gz +    # wget https://​github.com/​i-MSCP/​imscp/​archive/​<<version>>.tar.gz 
- # cd imscp +    # tar xzf <<​version>>​.tar.gz 
-</konsole>+    # cd imscp-<<​version>​>
  
-  * Start the installation of the system ​(as you would for a new install), but **IMPORTANT**,​ when you see the i-mscp setup screen. SAY NO, because you've to continue using the console instead of this installer.+=====Start the installation of the system ​in buildonly mode===== ​
  
-<konsole root> +    ​# perl imscp-autoinstall ​-db
- # perl imscp-autoinstall +
-</​konsole>​+
  
-Until you see the i-mscp setup screen. **SAY NO**, because you've to continue using +=====Copy ​i-MSCP files on your file system=====
- the console+
  
-  * Copy the generated files into their destinationafter this point there'​s NO POSSIBLE ROLLBACK+Once the build step is donecopy the files on your file system
  
-<konsole root> 
- # cp -Rv /​tmp/​imscp/​* / 
-</​konsole>​ 
  
-  * It's interesting to have the debug enabled to inspect possible problems, you have to change it in /etc/imscp/imscp.conf+    # cp -Rv /tmp/imscp/* /
  
-<konsole root> +====Run ​the migration script=====
- # apt-get install nano +
- # nano /​etc/​imscp/​imscp.conf +
-</​konsole>​ +
-  +
-Find the DEBUG option in that file with Ctrl w and change 0 to 1 (DEBUG ​0 is Debug Disabled), DEBUG 1 is Debug Enabled):+
  
-<konsole root> 
- DEBUG = 1 
-</​konsole>​ 
  
-  * Now you have to use the migration script which will be already in place. +    ​# cd  /​var/​www/​imscp/​engine/​setup/​ 
-<konsole root> +    # perl imscp-migrate-from-ispcp
- # cd  /​var/​www/​imscp/​engine/​setup/​ +
- # perl imscp-migrate-from-ispcp +
-</​konsole>​+
  
-  * After the run of this script you'll have to run the regular ​setup +=== Run the i-MSCP ​setup script===== 
-<konsole root> + 
- # ​./imscp-setup +    perl imscp-setup ​-d
-</​konsole>​+
  
 If all the steps are fine, you should be able to enter in the new control panel If all the steps are fine, you should be able to enter in the new control panel
Line 62: Line 45:
  
   * The logs for either a failed or successful setup will be at /​var/​log/​imscp/​imscp-setup.log   * The logs for either a failed or successful setup will be at /​var/​log/​imscp/​imscp-setup.log
 +  * The SQL user which is used by i-MSCP **MUST** have full privileges (or else it won't be able to create and populate the imscp table). You have two options, either using the SQL root user or having a specific SQL user which have full access to your SQL server.
  
-<konsole root> ​ 
- # nano /​var/​log/​imscp/​imscp-setup.log 
-</​konsole>​ 
- 
-  * The database user MUST have full privileges (or else it won't be able to create and populate the imscp table). You have two options, either using the root database user or having a database user with full rights: 
- 
-<konsole root> 
- # mysql -u root -p 
- # GRANT ALL PRIVILEGES ON *.* TO '​your_database_user'​@'​localhost'​ 
-</​konsole>​ 
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/migration/ispcp.txt · Last modified: 2016/03/09 20:38 by nuxwin