• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PreUpgrade Checkfile Issue/Bug

onycro

Basic Pleskian
Hey Team
I just found out that your "panel_preupgrade_checker.php" got a bug.

It failed for my server at check #24 and stopped there:
Code:
[2012-07-06 03:20:56][INFO] ==> STEP 24: Checking the availability of Plesk Panel TCP ports...
[2012-07-06 03:20:56][FATAL_ERROR] Unable to get IP address

The problem is there on line 3032
Code:
if (!preg_match_all('/inet addr:([0-9\.]+)/', $output, $matches)) {

Because I've got a german version of ifconfig, it isn't "inet addr" it is "inet Adresse".
Maybe I'm to late or smth. I used this file:
http://mirror.1und1.de/software/parallels/PSA_11.0.9/examiners/panel_preupgrade_checker.php

The rest of it worked very well.

So my fix for that file (only German language):

line 3032
Code:
if (!preg_match_all('/inet addr:([0-9\.]+)/', $output, $matches)) {
change that to
Code:
if (!preg_match_all('/inet Adresse:([0-9\.]+)/', $output, $matches)) {

line 3061
Code:
if (!preg_match_all('/inet6 addr: ?([^ ][^\/]+)/', $output, $matches)) {
change that to
Code:
if (!preg_match_all('/inet6-Adresse: ?([^ ][^\/]+)/', $output, $matches)) {

line 3071
Code:
if (!preg_match_all('/inet addr: ?([^ ]+)/', $output, $matches)) {
change that to
Code:
if (!preg_match_all('/inet Adresse: ?([^ ]+)/', $output, $matches)) {

Here is the complete code: http://pastebin.com/ebHnHPBi

Good luck for you guys.
 
Interesting, so parallels should provide a checker for almost every major language supported :)
 
I suggest a method which would work for every language:
preg match without a language specific string
 
Hello,
I have the same problem on my centos server with the plesk115_preupgrade_checker.php

i have change the "/inet addr:" to "/inet adr:"
and the "inet6:" to "adr inet6:"

now it's work !
 
Back
Top