User Tools

Site Tools


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 or newer to iMSCP or newer is supported.

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 the current version of i-mscp from here (
  • Untar the downloaded file

# cd /usr/local/src # rm -fR imscp # wget«version».tar.gz # tar xzf «version».tar.gz # 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.

# perl imscp-autoinstall

Until you see the i-mscp setup screen. SAY NO, because you've to continue using the console

  • Copy the generated files into their destination, after this point there's NO POSSIBLE ROLLBACK

# 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

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


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

# 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

# ./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

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

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

/var/www/virtual/ · Last modified: 2014/02/06 23:59 by nuxwin