When trying to run the repo:purge_cache command it kept failing with the following errors:
tar: ./heroku-16/vendor/bundle/ruby: Directory renamed before its status could be extracted
tar: ./heroku-16/vendor/bundle: Directory renamed before its status could be extracted
tar: ./heroku-16/vendor: Directory renamed before its status could be extracted
tar: ./heroku-16: Directory renamed before its status could be extracted
tar: Exiting with failure status due to previous errors
I think something in our existing slug was using relative paths (../) which was causing the tar to fail. The tar is extracted successfully if we simply add the --absolute-names (-P) flag 1
When trying to run the
repo:purge_cache
command it kept failing with the following errors:I think something in our existing slug was using relative paths (
../
) which was causing the tar to fail. The tar is extracted successfully if we simply add the--absolute-names
(-P
) flag 1