Failure on deploy: The command "/usr/bin/php /var/www/html/laravel-app/releases/1/artisan optimize" failed
This is my first time with DigitalOcean and deploy. I am trying to deploy a fresh Laravel project to the “thainurses” droplet. If this works, I plan to permanently move my web sites to DigitalOcean. However it failed with one significant error. And I cannot find a solution after several hours.
Here is the full log https://pastebin.com/raw/FPiSmJpi
As we can see in the log, there is another minor error:
[22.214.171.124] < chmod: missing operand
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×