• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Prestashop application install fail

papak

Basic Pleskian
Hi,

We try to install for new customer Prestashop 1.7.0.4 through Plesk but installation stuck on 96% and fail.

We tried this:

https://support.plesk.com/hc/en-us/...script-process-usr-bin-php-killed-by-signal-1

Also we disabled Selinux, increased PHP memory limit but nothing helped.

/var/log/plesk/panel.log show:

[2017-02-22 14:13:34] ERR [panel] Exception:
[2017-02-22 14:13:34] ERR [panel] Script execution failed:
[2017-02-22 14:13:34] ERR [panel] CommonPanel_Aps_ServiceCreationHelper::installService Non-zero exit status returned by script.
[2017-02-22 14:13:40] ERR [panel] Task failed: id=900, pid=25169, type=aps-install, error=Non-zero exit status returned by script.
[2017-02-22 14:13:40] ERR [panel] APS Catalog error: Installation of Prestashop at http://domain.com/ failed. Non-zero exit status returned by script.
[2017-02-22 14:13:40] ERR [panel] The following error has occurred during the installation of application: <pre>Installation of Prestashop at http://domain.com/ failed. Non-zero exit status returned by script.</pre>
[2017-02-22 14:22:57] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=web531d' '--php-cli=/usr/bin/php' '--php-ini=/var/www/vhosts/system/domain.com/etc/php.ini' '--application-full-name=file:////usr/local/psa/var/apspackages/apscatalogHOxDEi.zipedc1b4c9-ed31-33/cache'] with exit code [123]
[2017-02-22 14:22:57] ERR [1] '/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=web531d' '--php-cli=/usr/bin/php' '--php-ini=/var/www/vhosts/system/domain.com/etc/php.ini' '--application-full-name=file:////usr/local/psa/var/apspackages/apscatalogHOxDEi.zipedc1b4c9-ed31-33/cache' failed with code 123.

stdout:


stderr:

[2017-02-22 14:22:57] ERR [panel] Exception:
[2017-02-22 14:22:57] ERR [panel] Script execution failed:
[2017-02-22 14:22:57] ERR [panel] CommonPanel_Aps_ServiceCreationHelper::installService Non-zero exit status returned by script.
[2017-02-22 14:23:01] ERR [panel] Task failed: id=901, pid=27397, type=aps-install, error=Non-zero exit status returned by script.
[2017-02-22 14:23:01] ERR [panel] APS Catalog error: Installation of Prestashop at http://domain.com/ failed. Non-zero exit status returned by script.
[2017-02-22 14:23:02] ERR [panel] The following error has occurred during the installation of application: <pre>Installation of Prestashop at http://domain.com/ failed. Non-zero exit status returned by script.</pre>

Any idea what could be wrong or is it bug in Plesk?

Thanks in advance.

Regards,
Mike
 
Try to run

# plesk bin aps --clear-cache

before aps installation and try again.
 
Try to run

# plesk bin aps --clear-cache

before aps installation and try again.

Good morning,
I have a similar issue but when I run the command to clear the cache I receive the following error message:

ERR [panel] Can not remove package from APS controller: ODBC error #HY000: [MySQL][ODBC 5.2(w) Driver][mysqld-5.5.52-MariaDB]Cannot delete or update a parent row: a foreign key constraint fails (`apsc`.`aps_application`, CONSTRAINT `FK_aps_application_aps_package` FOREIGN KEY (`package_id`) REFERENCES `aps_package` (`id`))

I have also tried to install prestashop 1.7 with the "standard" procedure, by creating the database beforehand, uploading the installer into the destination folder and launching the Prestashop install wizard but I receive a different erro message saying some tables cannot be created (I have already checked that the DB user I created has all necessary permissions).

Does anybody have any suggestion, please?

Thank you very much in advance for your help.
 
ERR [panel] Can not remove package from APS controller: ODBC error #HY000: [MySQL][ODBC 5.2(w) Driver][mysqld-5.5.52-MariaDB]Cannot delete or update a parent row: a foreign key constraint fails (`apsc`.`aps_application`, CONSTRAINT `FK_aps_application_aps_package` FOREIGN KEY (`package_id`) REFERENCES `aps_package` (`id`))
If you cannot delete entry with this error, try to run following SQL command

MariaDB [psa]l> SET FOREIGN_KEY_CHECKS = 0;

Then repeat your action and if it will be completed correctly, run

MariaDB [psa]l> SET FOREIGN_KEY_CHECKS = 1;
 
Back
Top