Reese Knowledgebase

The file php is part of Plesk distribution. It cannot be run outside of Plesk environment

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 108
by: Reese K.
Posted: 26 Jun, 2013
Last updated: 26 Jun, 2013
Views: 2215

While upgrading from Plesk 8.6 to 9.5.4, I've come across the following notifications while loading Plesk upon a successful upgrade / update:

  • The file client.domain.report.traffic.php is part of Plesk distribution. It cannot be run outside of Plesk environment
  • The file server.ip-addresses.php is part of Plesk distribution. It cannot be run outside of Plesk environment
  • etc.

In most cases, I've successfully resolved the problem by running autoinstaller again:

~# /usr/local/psa/admin/sbin/autoinstaller --select-release-latest --upgrade-installed-components

If that doesn't work, then I've noticed the php files Plesk says cannot be run outside of Plesk environment belong to the previous version of plesk that was installed, meaning that the autoinstaller must've previously failed on upgrade attempts and these files stayed behind.  This can simply be verified by querying the file to see what package it belongs to:

-bash-3.1# rpm -qf /usr/local/psa/admin/plib/ui/server.ip-addresses.php
file /usr/local/psa/admin/plib/ui/server.ip-addresses.php is not owned by any package

Now that we know this doesn't belong to the version of plesk that's currently installed, we should be able to safely rename the file, essentially moving it out of the way of the login sequence to the plesk panel:

-bash-3.1# mv /usr/local/psa/admin/plib/ui/client.domain.report.traffic.php /usr/local/psa/admin/plib/ui/client.domain.report.traffic.php.bak
-bash-3.1# mv /usr/local/psa/admin/plib/ui/server.ip-addresses.php /usr/local/psa/admin/plib/ui/server.ip-addresses.php.bak

Once this is done for each file Plesk complains about, plesk should load.

This article was:   Helpful | Not Helpful
Prev   Next
which IPs are establishing the most connections     Obtain Plesk User Account Information

RSS