Update from 1.3.16 to 1.4.2 failed

  • Code
    1. Error while performing step: │
    2. │ │
    3. │ Processing setup tasks │
    4. │ │
    5. │ Error was: │
    6. │ │
    7. │ main::setupDbTasks: iMSCP::Stepper::_callback: Couldn't bring up the `eth0:1012' network interface: RTNETLINK answers: File exists at │
    8. │ /usr/local/src/imscp-1.4.2/engine/PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 101.

    Server: Ubuntu 16.04 LTS


    Looking at Debian.pm at Line 101 didn't tell me which file is addressed by this error. My server isn't reachable via http any more and downgrade to 1.3.16 is not supported. So how to finish the upgrade to 1.4.2 to get http up again?

  • @symphosius


    • Show us your /etc/network/interfaces file (privately if needed)
    • Show us the result of the following command: ifconfig (privately if needed)

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

  • Files

    • imscp.png

      (61.81 kB, downloaded 3 times, last: )
  • @symphosius


    Please execute ifup --force eth0:1012 and show us the full output.


    Thanks.

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

  • @symphosius


    Can I access the server?

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

  • @symphosius


    Got it. I'll investigate and fix your server in few minutes. Please don't do anything more on the server.

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

  • @symphosius


    Problem fixed. This was due to broken sendmail packages, resulting to following hidden error:

    Code
    1. /etc/network/if-up.d/sendmail: 44: .: Can't open /usr/share/sendmail/dynamic
    2. run-parts: /etc/network/if-up.d/sendmail exited with return code 2
    3. Failed to bring up eth0:1012.

    To solve the problem, I've processed as follow:

    • I've purged the broken package: apt-get purge sendmail-base sendmail-bin sendmail-cf
    • I've down and up all your aliased network card

    Then, I have been able to upgrade to i-MSCP 1.4.2 without any problem. You can rerun the installer if you want see by yourself ;)

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