• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Project: 100% Manual Upgrades

M

madcat

Guest
Hello. I am interested in figuring out how to update Plesk in a manner that is as manual as possible, and if you search this forum for "updater screwed up AGAIN! :-(" or something similar, you'll see why.

I've recently upgraded a server from 8.3, to 8.4, then to 8.6, and not one of the upgrades was without problems. An example of this is:

Stop running named daemon
Trying to stop service named... done
Trying to untar named run-root directory structure... mknod: `dev/random': File exists
mknod: `dev/urandom': File exists
done
Trying to set up default permissions... chown: cannot access `/var/named/run-root/var/run/named/named.pid': No such file or directory

ERROR while trying to set up default permissions

Aborting...

STOP psa-8.4.0-cos4.build84080425.19 upgrading AT Thu Jul 31 16:03:40 PDT 2008

The problem here is that the file /var/named/run-root/var/run/named/named.pid doesn't exist. This is because I have stopped the nameserver, because DNS for all domains is handled by a different server. What does the installer do? Properly written software would handle this problem gracefully, note the "error" and continue. Instead, this "auto updater" just dies, with the server 1/2 way between 8.3 and 8.4. I managed to fix it by forcefully installing the /tmp/PSA_8.4.0/dist-rpm-CentOS-4.3-x86_64/base/psa-8.4.0-cos4.build84080425.19.x86_64.rpm . It wouldn't do it without "--force" because it thought the RPM was already installed.

I grow tired of this.

For future upgrades, I'd like to download the RPM's from the website and install them manually. I don't want to use the "Update" icon in the control panel, nor do I want to use /usr/local/psa/bin/autoinstaller, as both always have been, and probably always will be broken.

Question: Does anybody know what order to install the RPM's, and if any other commands have to be run to perform an upgrade?

Thanks.
 
Hi,

Question: Does anybody know what order to install the RPM's, and if any other commands have to be run to perform an upgrade?

There should not be a specific order. Just download plesk distributive archive, unpack and install all packages using
rpm -Uvh list_of_all_rpms_from_archive

This will update plesk base packages and all its modules/components. However it may give you some dependency errors and you will need to download packages needed and add them to list of rpms you are updating with rpm -Uvh.
 
Back
Top