Upgrade Ubuntu 12.04 LTS and backup full i-MSCP

  • Hi, I need tu Upgrade my Ubuntu 12.04 Lts to latest Ubuntu release.


    I would like to full backup my i-MSCP system.


    I copied this folders to my backup:


    /etc/imscp
    /var/www
    /var/mail
    /var/lib/mysql


    Do I need anything else to backup?


    Thanks!

  • @BInspiron


    This should be ok but I would recommend you to also create a dump of all your databases using mysqldump because sometime, restoring /var/lib/mysql directory doesn't work as expected.

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

  • Thanks Nuxwin!


    Ok, I did the mysqldump with this nice script.


    And now?
    Normal Ubuntu release upgrade.
    And after that?
    Reinstall i-MSCP?



  • @BInspiron


    Well, the backup is is just a security measure for the case where something go wrong during Ubuntu migration. In order, you must now:


    • Upgrade your Ubuntu system
    • Rerun i-MSCP installer to rebuild all i-MSCP (the one from the i-MSCP version you're using)


    That's all.

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

  • @Nuxwin


    I upgraded to Ubuntu 14.04.


    Run the script: /var/www/imscp/engine/setup/imscp-setup --reconfigure


    Everything is fine until the end:


    Servers:httpd::apache_php_fpm::start: Unable to start apache2 service


    See the attached file!


    What can I do?

    Files

  • @BInspiron


    Without further info, we can't help you.


    What is the result of the following command:


    Code
    1. # apache2ctl -t

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

  • AH00526: Syntax error on line 55 of /etc/apache2/apache2.conf:
    Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
    Action '-t' failed.
    The Apache error log may have more information.



    This is the line 55:


    LockFile ${APACHE_LOCK_DIR}/accept.lock

  • @BInspiron



    Ok, not a big issue. This is surely due to incompatibility with the newest apache version which is provided by your new Ubuntu version. Here, you can either solve the problem by editing the file manually or by employing the pig way that consist to purge any apache related package.



    In both cases, once done, you must rerun the i-MSCP installer.

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

  • Fixed through online support. Thread closed.

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