• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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