Update to 1.1.9 - main::setupUpdateDatabase - Database update 176 failed

  • While upgrading to 1.1.9 the installer fails with the error message seen in the screenshot I attached (main::setupUpdateDatabase: [ERROR] Database update failed: Database update 176
    failed.).


    The version I upgraded from was propably the following:
    i-MSCP Git Master
    Build: 20131121
    Codename: Eagle


    I'm not sure though. The upgrade was on Debian Wheezy.

  • We have since a long Time only Git Stable branch.. thats why i asked


    Well, it's quite an old installation ;). I took another look and this is the version I updated from.
    2013-11-21 - RELEASE i-MSCP 1.1.0-rc4.7

  • @zddr


    Hello ;


    You have upgraded from a very old version. I'll check that issues in next minutes.

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

  • Re;


    Bug found:


    In the downloaded archive, edit the gui/library/iMSCP/Update/Database.php file and change the r176() method by:



    Once it's done, run the installer again.

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

  • We have since a long Time only Git Stable branch.. thats why i asked


    Well, normally, master branch is pointing to the stable branch. I means, the stable branch is the default branch since some weeks. To resume, if you run


    Shell-Script
    1. # git clone https://github.com/i-MSCP/imscp.git


    you'll be on the stable branch directly.


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


  • Thanks for your quick help, this time the installer got further. It's now stuck at the following error:


  • @zddr


    Re;


    It's not a bug from i-MSCP... You must disable the mailgraph plugin which is not compatible with that version of i-MSCP, run the installer again and after, update the mailgraph plugin to latest version (as available in our plugin store).


    How to process


    Connect to MySQL and run the following query:

    SQL
    1. # mysql -u root -p<password>
    2. > use imscp;
    3. > UPDATE plugin SET plugin_status = 'disabled';
    4. > quit


    Here I disable all plugins.


    BTW: Next time, open a new thread because this is another problem.


    Thanks

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