• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Problems with App Installation 11.5

MBecker

New Pleskian
Good Evening,
i got some trouble with updating and the installation of Applications from the aps catalog.
The machine runs with Ubuntu 10.04.4 LTS and Plesk Panel 11.5.30 Update #18.
Plesk was updated without any problems or warnings from 11.0.x to 11.5.30.
No further Updates are available.
I use AfterLogic WebMail Light.
At first i get the error "Message could not be send." from the WebMail.
So i looked in the settings and seen that an Update is possible.
I updated without any errors from 6.xx to 7.0.1.
Then i only get a blank page, no output, a PHP Error i think.
I deinstalled, reinstalled and rebooted in various orders.

I tried to install SquirrelMail instead, with an error too, then WordPress, which installation wasn't possible too.

Here the error notification from AfterLogic:
Fehler: Die Installation von AfterLogic WebMail Lite unter http://mail.bemit.eu/ ist fehlgeschlagen. Non-zero exit status returned by script. Output stream: 'PHP Warning: include_once(/libraries/afterlogic/api.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 13 PHP Warning: include_once(): Failed opening '/libraries/afterlogic/api.php' for inclusion (include_path='.:') in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 13 PHP Fatal error: Class 'CApi' not found in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 16 '. Error stream: 'PHP Warning: include_once(/libraries/afterlogic/api.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 13 PHP Warning: include_once(): Failed opening '/libraries/afterlogic/api.php' for inclusion (include_path='.:') in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 13 PHP Fatal error: Class 'CApi' not found in /opt/psa/var/apspackages/apscatalog5Or050.zipa027c358-ca03-ae/cache/scripts/configure on line 16 '.

Here WordPress:
Fehler: Die Installation von WordPress unter http://mail.bemit.eu/ ist fehlgeschlagen. Non-zero exit status returned by script. Output stream: 'PHP Warning: fopen(/var/www/vhosts/bemit.eu/subdomains/mail2//wp-config.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalog10ovmd.zip9e0bc945-3c29-06/cache/scripts/file-util.php on line 15 '. Error stream: 'PHP Warning: fopen(/var/www/vhosts/bemit.eu/subdom/s_mail//wp-config.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalog10ovmd.zip9e0bc945-3c29-06/cache/scripts/file-util.php on line 15 '.

On Line 13 from the AfterLogic Document /cache/scripts/configure
Code:
include_once WM_ROOTPATH.'libraries/afterlogic/api.php';
On Line 16:
Code:
if( ! CApi::IsValid() ) {
	exit(1) ;
}

The function where line 15 from the Wordpress document /cache/scripts/file-util.php is inside:
Code:
function write_file($file, $content)
{
    $fp = fopen($file, 'wb');
    if (!$fp)
    {
        print "Unable to write file $file.\n";
        exit(1);
    }
    fputs($fp, $content, strlen($content));
    fclose($fp);
}
Only Line 15:
Code:
$fp = fopen($file, 'wb');

If you need any further information just say it.

With the hope of a fast help.
Michael Becker
 
It seems that problem in vhosts permissions. You may try to run:

# plesk bin repair --update-vhosts-structure

and/or

# plesk bin repair --restore-vhosts-permissions
 
Back
Top