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

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