• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Update UBUNTU 12->14 Failed in Pre-Upgrade script

GIDATO

Basic Pleskian
Hello

I updated to Plesk 17 this morning... and all went well.

I'm now trying to bring UBUNTU up to date, and have got as far as the first stage...

on running /usr/local/psa/bin/distupgrade.helper.ubt12-ubt14_pre.x64.sh

I get 'some error'. The last few lines of the log are:

Hit http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en

Hit http://gb.archive.ubuntu.com precise-backports/restricted Translation-en

Hit http://gb.archive.ubuntu.com precise-backports/universe Translation-en

Ign http://autoinstall.plesk.com precise/extras Translation-en

Ign http://autoinstall.plesk.com precise/all Translation-en

Reading package lists...

Some error during dist-upgrade pre stage have occurred.

Check /var/log/plesk/install/plesk-distupgrade.log for error details.

Visit http://docs.plesk.com/en-US/current/administrator-guide/server-administration/distupgrade-support/ for information about troubleshooting and recovering from failed dist-upgrade.

STOP Distupgrade
Any ideas on what the error might be, and how I might fix it. I haven't even got to the dist-upgrade part yet!
 
Hi GIDATO,

we are as clever as you are right now and it will help absolutely no one, if we start guessing about ( possible ) issues - there are too many possibilities and neither of them may meet your issue(s)/error(s)/problem(s).

Check /var/log/plesk/install/plesk-distupgrade.log for error details.
If you only post the "last few lines", we have no chance to check for possible issues/errors/problems.

Pls. check as well for other logs at "/var/log/plesk/install/", which might help to investigate your issue(s). ;)
 
Yep - agreed. I had hoped someone might know what it was trying to do at that point in the script, as the error message "some error" isn't particularly helpful and I didn't know where to look next as the log only says to looks at it self.

Will check other logs you suggest.
 
OK - I'm still struggling. It's my first attempt at upgrading the OS on a plesk server, so apologies for a) lacking knowledge of where to look, and b) lacking knowledge of what you might need to help;

I've checked the logs, and the only thing that I see was the errors regarding:
  • NO_PUBKEY which I fixed (or at least I think I did) with
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
    and
    Code:
    sudo apt-get update
  • Resource Temporarily Open, which I fixed (?) with
    Code:
    sudo rm /var/lib/apt/lists/* -vf
    and
    Code:
    sudo apt-get clean

The whole log file is now attached. It's quite large, and that is why I didn't want to put it all in originally. I thought a similar issue may have been seen by someone else - my bad for this assumption.

Should I do a system update in PLESK Admin before I attempt the upgrade?
 

Attachments

  • plesk-distupgrade.log
    53.8 KB · Views: 0
Seems like the system update might have done the trick. I added a few extra "echo" statements in the script to find where the issue was happening, and it appears the script never gets to the point where it displays the error message which tells you what is wrong.

Anyway, i'm now at the stage where it is telling me I can do the dist-upgrade.
 
Back
Top