• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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