Upgrade 1.1.2 to 1.3

  • Hallo,


    first sorry for my english.


    I have a server Debian 6 with I-MSCP 1.1.2.
    I would soon be moving to a new server with Debian 8.


    The I-MSCP version on the old server I can not update because Debian 6 no longer supported. :(


    How can I do best now ?


    On the new Server install I-MSCP 1.1 and import the old database and then update to I-MSCP 1.3 ?


    Then I need PHPSwitcher because I need PHP5.3.
    Can someone help me to install this with all PHP-Versions ?



    Kind regrads
    Viktor ;)

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • Hello,


    On new server:

    • install 1.3.x version using that archive https://github.com/i-MSCP/imscp/archive/1.3.x.tar.gz
    • rsync data from old server to new server (e.g: /var/www, /var/mail/virtual ...)
    • dump databases from old server and restore them on new server
    • run the following query on new server:
    SQL
    1. # mysql -u root -p<your_sql_root_password>
    2. > use imscp
    3. > UPDATE admin SET admin_sys_name = null, admin_sys_uid = 0, admin_sys_gname = null, admin_sys_gid = 0, admin_status = 'ok';
    4. > \q


    Once done, rerun the imscp installer on new server.


    About PhpSwitcher plugin


    This plugin is not free.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hallo,


    thank for your help.


    Quote


    also copy /etc/imscp/


    Is it ok then I have the old password. ?
    Or copy and than run the install again ?


    Quote


    About PhpSwitcher plugin


    This plugin is not free.


    Yes I now and this is not the problem I will pay it.
    I will also pay when you help me to install this with all needed PHP-Versionen.


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • @Viktor


    old password of what? just rsync your data and add my SSH key to the new server. Then, I'll do the upgrade if you want.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hallo,


    thanks for your help.


    When I have the new Server I will come back and ask you for help.


    Thanks
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • Hallo


    I working now to move everything to a new server.


    1. I have install i-mscp - 1.3.0
    2. I have import the database from my old server -1.1.2
    3. mysql -u root -p<password>
    > use imscp;
    > update domain set domain_status = 'ok';
    > update subdomain set subdomain_status = 'ok';
    > update domain_aliasses set alias_status = 'ok';
    > update subdomain_alias set subdomain_alias_status = 'ok';
    > update mail_users set status = 'ok';
    > update admin set admin_status = 'ok', admin_sys_name = null, admin_sys_uid = 0, admin_sys_gname = null, admin_sys_gid = 0;
    > update plugin set plugin_status = 'disabled', plugin_error = NULL;


    Now i start the setup again an I become a error.


    perl imscp-autoinstall -dr



    What can I do to solve this error.


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • @Viktor


    I can do the upgrade for you. Just add my ssh key to your server and send me the server data.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Viktor


    I can do the upgrade for you. Just add my ssh key to your server and send me the server data.

    Hallo,


    tanks and I send the data.


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • @Viktor


    Update done. In order, the following tasks were done:

    • Fixed your SQL root user password (I was unable to connect to MySQL (cli))
    • Fixed your SQL debian-sys-maint user password (mysql was unable to stop/restart)
    • Updated i-MSCP to latest Git version (fixed version manually to 1.3.1)
    • Deletion of the old IP address
    • Added your IPv6 into i-MSCP (manual configuration mode)
    • Updated ClamAV plugin to latest version
    • Updated Mailgraph plugin to latest version
    • Updated RoundcubePlugins plugin to latest version (also enabled sieve)
    • Updated SpamAssassin plugin to latest version
    • Installed PhpSwitcher plugin from our repository (version that is not released yet)
    • Compiled PHP 5.3.29 and registered through PhpSwitcher interface (admin level) as requested
    • Compiled PHP 5.6.23 and registered through PhpSwitcher interface (admin level) as requested
    • Compiled PHP 7.0.8 and registered through PhpSwitcher interface (admin level) as requested

    You can find source in /usr/local/src/nuxwin_support.


    Note: I've also added my SSH key for the root user. You can remove it at any time.


    For the payment see https://i-mscp.net/index.php/User/650-Nuxwin/#about
    I spend ~ 2 hours on your server.


    Thank you for using our services.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206