Task for site applications (Joomla, Wordpress, etc.) "APS application 'APPLICATION NAME', id *, instance *: executing configuration script" fails with error:
lstat /var/www/vhosts/2/WEBSPACE_ID/webspace/siteapps/WordPress-***/scripts: No such file or directory
Scripts directory is missing in site application folder:
#ls /var/www/vhosts/2/WEBSPACE_ID/webspace/siteapps/WordPress-***/ htdocs images test
Dumping content of scripts directory for instance of APS site application with id *** in some cases executes with success without creating scripts folder on web server. The issue has been reported to the development team as APS-17526 and fixed in OA 5.5 update 8 http://kb.odin.com/en/123369.
Schedule update of OA to version 5.5 update 8 or later. Workarounds:
Check task parameters - if task executes configuration script with argument "remove" and there are tasks to remove application files and database in task manager then this failed task can be canceled.
- Another workaround is to copy application zip archive from
/usr/local/pem/APS/packages/, extract scripts folder from archive and copy it to webspace folder.