How to perform dist-upgrade procedure on server with Plesk

Follow

Comments

17 comments

  • Avatar
    Sebastian M. Braun

    Unfortunately my vserver hosted by hosteurope does not come online again after running

    # /opt/psa/bin/distupgrade.helper.ubt14-ubt16.x64.sh

    and rebooting after. Although there were no errors.

     

  • Avatar
    Andy

    @Sebastian: Same here ... I've read your comment too late :-(

  • Avatar
    Nikolay Voytko

    @Sebastian, @Andy it will be great if you can shed some light on the issues that you faced.

  • Avatar
    Andy

    Only the pre-installed version and their updates are usable.
    A dist-upgrade attempt will result in a system that is no longer running after a reboot.

    I'm still waiting for the backup process of 300 gigabytes (for 6 hours) to repair this bullshit ... please put a hint right over the call.


    Reason: 
    The virtualization software of hosteurope is probably not compatible with the updated kernel and no longer find the VM.
    @See: https://www.hosteurope.de/faq/server/server-allgemeines/selbst-installation-sicherheitsupdates/

  • Avatar
    Dimitar Mustakov

    Hi,

    @Sebastian and @Andy are problems solved?

    I need to upgrade my debian server with plesk12.5 from wheezy to jessie this weekend. Can you share any recommendations about this upgrade?

     

  • Avatar
    Alexander Tsmokalyuk

    @Andy please tell me what virtualization type is used. You can use "virt-what" utility to check it.

  • Avatar
    Sebastian M. Braun (Edited )

    My "Solution": I ordered a new clean ubuntu 16.04 and installed plesk by myself. Very disappointing.

  • Avatar
    Marco Marsala

    Prevent do-release-upgrade to be run directly or at least inject on it a clear warning message requesting confirmation.

    Plesk adds its pretty text to the SSH greeting message, so it should be doable. As per this KB article, you have to run a Plesk script; forgetting that and running do-release-upgrade directly may cause high troubles.

     

  • Avatar
    Marco Marsala

    Updating from Ubuntu 14.04 to Ubuntu 16.04.1 using do-release-upgrade will fail because MySQL is updated from 5.5 to 5.7, that is unsupported update path as per MySQL official documentation. Your script should do these pre-checks and prevent upgrade or automatically solve the issue before the upgrade.

  • Avatar
    Bulat Tsydenov

    @Marco, did you check Dist-upgrade potential issues article? Maybe it contains the issue you are talking about and the solution for that.

  • Avatar
    Marco Marsala

    @Bulat Tsydenov Yes I do and this is not listed. It seems like a bug, infact running the script as described in this article on a clean Ubuntu 14.04 installation, will upgrade MySQL 5.5 to 5.7 that is an unsupported upgrade. Too, command 'update-alternatives' is not run. This will work only if MySQL was manually upgraded to 5.6 before, but this is not mentioned anywhere.

  • Avatar
    Marco Marsala (Edited )

    Beware after upgrading from Ubuntu 14 to 16, cron jos set to be run with "PHP from OS vendor" won't run anymore, failing with error "/bin/sh: /usr/bin/php5: No such file or directory" because PHP 5 is not available anymore.

    "plesk repair" tool won't regenerate cron jobs.

    You have to fix them manually, just open them one by one from Plesk UI, and hit OK button. This will be enough to regenerate cron files.

    The issue maybe related to the fact that the "Use PHP version" dropdown still shows PHP 5.5.9 from OS vendor after upgrade. This maybe happens because there are residual 5.5.9 packages in the system that wasn't purged during upgrade.

  • Avatar
    Denis Bykov

    @Marco, I have reproduced the behavior on a test server and created a request to developers to find out if this is a bug.

    All updates regarding the investigation will be sent to your email.

    Thank you for the feedback.

  • Avatar
    Marco Marsala (Edited )

    Please note that after upgrade, MySQL event scheduler won't be enabled again, if it was before the upgrade, and you should fix that manually.

  • Avatar
    Robert Asilbekov

    @Marco we have created an internal request. You'll be notified via email.

    Thank you for the feedback.

     
  • Avatar
    Alexander Tsmokalyuk

    @Marco a solution was found and sent to your email. "General information" section of this article was updated. Thank you.

Please sign in to leave a comment.

Have more questions? Submit a request