User Tools

Site Tools


migration:ispcp

This is an old revision of the document!


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.

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.

  • Download and untar i-MSCP archive

ROOT
# cd /usr/local/src # wget https://github.com/i-MSCP/imscp/archive/«version».tar.gz # tar xzf «version».tar.gz # cd imscp-«version»

  • Start the installation of the system (as you would for a new install), and choose the build option

ROOT
# perl imscp-autoinstall

Once the build step is done, copy the files on your file system

ROOT
# cp -Rv /tmp/imscp/* /

  • It's interesting to have the debug enabled to inspect possible problems, you have to change it in /etc/imscp/imscp.conf

ROOT
# apt-get install nano # nano /etc/imscp/imscp.conf

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):

ROOT
DEBUG = 1

  • Now you have to use the migration script which will be already in place.

ROOT
# cd /var/www/imscp/engine/setup/ # perl imscp-migrate-from-ispcp

  • After the run of this script you'll have to run the regular setup

ROOT
# ./imscp-setup

If all the steps are fine, you should be able to enter in the new control panel

Some considerations

  • The logs for either a failed or successful setup will be at /var/log/imscp/imscp-setup.log

ROOT
# nano /var/log/imscp/imscp-setup.log

  • 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:

ROOT
# mysql -u root -p # GRANT ALL PRIVILEGES ON *.* TO 'your_database_user'@'localhost'

/var/www/virtual/i-mscp.net/wiki/htdocs/data/attic/migration/ispcp.1391731355.txt.gz · Last modified: 2014/02/07 00:02 by nuxwin