• 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.

Resolved Plesk insist on wrong os version after dist-upgrade

saferag

New Pleskian
Server operating system version
Debian 10
Plesk version and microupdate number
Plesk Obsidian Web Pro Edition Version 18.0.43 Update #1
I have a problem with the Plesk updater insisting I have Debian 8

There are no products for your operating system ( 'Debian' 'Linux' '8' 'x86_64' ) available from the selected source.

My dist-upgrade completed without any problems, everything is working great on the OS side.

/etc/os-release is debian 10
PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

Even if I go inside Plesk into the "Server Information" page it has the CORRECT version

VersionPlesk Obsidian v18.0.43_build1800220414.18 os_Debian 10.0
OSDebian 10.0
Key numberPLSK.03807877.0072

How can I fix this?
 
I am not sure how to solve it. I'd start with Tools & Settings > Server Components > "Refresh". I remember a case where I had a similar issue with wrong versions of files displayed in Plesk. The "Refresh" told Plesk to re-read all the lib information. Maybe that works for you, too? It cannot really damage anything.
 
Thanks Peter but refreshing the components didn't fix the problem.

From poking around the plesk tools it seems that "osdetect" is the source of the wrong version information.

# /opt/psa/admin/bin/osdetect {"name":"Debian","version":"8","short-version":"8","arch":"x86_64","pkgtype":"deb","codename":"jessie"}
 
Fixed the problem myself. For future refence, osdetect checks /etc/lsb-release and in my case that file had not been updated correctly.

So after I fixed the version information inside /etc/lsb-release everything works.
 
in earlier versions this file was provided by package lsb-release.
in newest versions there is no such file and OS version information provided by command lsb_release.

probably it would be better to remove this file (or temporary move like mv /etc/lsb-release{,.bkp} ) and check that plesk installer works correctly.
it should help to avoid problems after future dist-upgrades.
 
I renamed /etc/lsb-release to /etc/lsb-release.bkp and the installer works correctly.

Thanks Nik, I appreciate your input.
 
Back
Top