platformsh / platformsh-magento2-configuration

☠ DEPRECATED
9 stars 33 forks source link

Production deployment not working : missing statics #25

Closed shavounet closed 6 years ago

shavounet commented 6 years ago

I've had an issue while deploying a new instance :

web@7t4s4mly5f4hi-uat-nvcvooy--magento:~/var/report$ cat 1512340609666 
{"0":"Unable to retrieve deployment version of static files from the file system.", [...]

Indeed the pub/static folder was empty... I think it is due to the line of code below : we should do this on production mode, not developer mode https://github.com/platformsh/platformsh-magento2-configuration/blob/9af92227940630c54d049912192c1d751c8ee250/Platformsh.php#L518

Manually executing the command solved my issue