My php.ini for Apache was set at 128M of memory_limit, while the cli php.ini was at 32M. Drush "hosting tasks" failed and no error was reported ("Status: Succesful", but "Log message" nearly empty).
Increasing the memory_limit to 128M made it all work, but I had to run the command without --backend and with -v 2 to find the problem.
Comments
Comment #1
anarcat commentedThis bug lies probably in the provision module, not in hosting.
Comment #2
anarcat commentedNote that this is similar to #459652: Remote server error catching broken, I think. I have regrouped both issues in #462234: drush_backend_invoke not handling php and ssh errors correctly..
Comment #3
adrian commentedI fixed this upstream in drush, unfortunately it's very difficult to get the error output to be clearer, as both cases involve a return code of 255.
so there's a general 'application error' that occurs, and the output is logged (due to php logging errors to stdout)
Comment #4
adrian commented