After Plesk Upgrade I receive ERROR: PleskFatalException - StatInfo->getProductVersion failed


After you upgrade Plesk you receive:


ERROR: PleskFatalException
StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead

0: /usr/local/psa/admin/plib/common_func.php3:108
psaerror(string 'StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead')
1: /usr/local/psa/admin/plib/common_func.php3:66
getProductLoginVersion()
2: /usr/local/psa/admin/plib/sso/SP.php:101
ssoGetSpName()
3: /usr/local/psa/admin/plib/sso/SP.php:393
SsoSpConfig->load()
4: /usr/local/psa/admin/plib/sso/SP.php:215
SsoSpConfig->__construct()
5: /usr/local/psa/admin/plib/sso/SP.php:223
SsoSpConfig::getInstance()
6: /usr/local/psa/admin/plib/sso/SP.php:447
SsoSpConfig()
7: /usr/local/psa/admin/plib/sso/RelyingParty.php:19
isSsoEnabled()
8: /usr/local/psa/admin/auto_prepend/auth.php3:195

 

What this means: You will find that the /usr/local/psa/version file is 0 byte or empty

This file must be edited with one line including the current Plesk and CentOS Version

Here is an EXAMPLE (DO NOT USE THIS ONE) of the contents: 9.5.3 CentOS 5 95101022.10

In order to find the information for YOUR server,

  1. Run rpm -qi psa, the output will look like this:
  2. Name        : psa                          Relocations: (not relocatable)
    Version     : 9.5.3                             Vendor: Parallels
    Release     : cos5.build95101022.10         Build Date: Fri 22 Oct 2010 12:21:21 AM EDT

  3. Pay attention to the following (example):
  • Version: 9.2.3
  • Release: cos5.build95101022.10
  • Server type being used (such as CentOS 5 in this EXAMPLE) - you need to KNOW this!!!

With this information build the line for the "version" file: 9.2.3 CentOS 5 95101022.10

  • The first part is the installed psa version = 9.2.3
  • The second portion is the Server Type = CentOS 5
  • The third portion (IN OUR EXAMPLE) is the build information you see at after "cos5.build" in the Release: line you obtained running rpm-qi psa = 95101022.10

Comments

Please login to comment