• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question osdetect failed: Error: Cannot determine version scanning ""

cool_sh

Basic Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
18.0.65 #2
Hi all,

which files or database tables does plesk use to determine th ecurrent OS ?

I have the problem that i can not install updates or plugins due to the named error:
Fehler: osdetect failed: Error: Cannot determine version scanning ""

But: the "standard" files exist and show correct information:
- cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

- uname -r
3.10.0-1160.119.1.el7.x86_64

And inside Plesk I see the correct version on different sides like the page after login or in server information:
Version: Plesk Obsidian v18.0.65_build1800241122.08 os_CentOS 7
Betriebssystem: CentOS Linux 7.9.2009 (Core)
 
Hello!

osdetect tries to check following files /etc/debian_version, /etc/CloudLinux-release, /etc/vzlinux-release, /etc/almalinux-release, /etc/rocky-release. If one of these files exists and has empty first line, osdetect can fail with such error. Could you please check your server?
 
Hello mizar,

none of the named files exists on my system. Plesk seems to read the information from another location.
 
Hello!

Very strange. Is any chance that /etc/redhat-release is modified? Plesk reads exactly first line from it. What rpm -V centos-release shows?
 
ls -al /etc/redhat-release
lrwxrwxrwx 1 root root 14 Jun 6 2024 /etc/redhat-release -> centos-release

rpm -V centos-release
S.5...... c /etc/issue
S.5...... c /etc/issue.net
S.5....T. c /etc/yum.repos.d/CentOS-Base.repo
S.5....T. c /etc/yum.repos.d/CentOS-CR.repo
.......T. c /etc/yum.repos.d/CentOS-Debuginfo.repo
.......T. c /etc/yum.repos.d/CentOS-Media.repo
.......T. c /etc/yum.repos.d/CentOS-Sources.repo
.......T. c /etc/yum.repos.d/CentOS-Vault.repo
S.5....T. c /etc/yum.repos.d/CentOS-fasttrack.repo
S.5....T. c /etc/yum.repos.d/CentOS-x86_64-kernel.repo
 
Hello!

Looks good. Unfortunately, I'm out of ideas what else can be wrong. Could you please send me output of strace -f -v -s400 /usr/local/psa/admin/sbin/osdetect 2>&1 in PM? Or, if you have a contract with support, create a support ticket?
 
Back
Top