As many others say this is not the case, Sensio \ Bundle \ DistributionBundle \ Composer \ ScriptHandler :: installAssets will make the cache transparent if necessary, which will cause problems if you cannot write to the cache (I do this after rsynced from the build agent to live server).
The only way I can find at the moment to get around this is to remove 2 lines from composer.json:
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
and then, when you are on a server with access to your cache, execute the following 2 commands (at this point you should already have installed / updated the composer):
php bin/console cache:clear
php bin/console assets:install
: . , "" , , /web/bundles/bundleName. .
, (git clone composer install) , rsync , . / ( -, , ) , - , .