• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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