Closed igorrKurr closed 8 years ago
+1
+1
usually running heroku repo:purge_cache -a APPNAME fixes this issue. doesn't seem to help today
working now.
I have the same error. heroku repo:purge_cache -a APPNAME
fails with
...
~/tmp/repo_tmp $ cd unpack
~/tmp/repo_tmp/unpack $ tar -zxf ../repo-cache.tgz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Any idea?
Could you paste the entire output log? Have you set heroku buildpacks:set https://github.com/tonycoco/heroku-buildpack-ember-cli
? And have you then run heroku repo:purge_cache -a APPNAME
Yes, here's what I did:
> heroku create APPNAME --buildpack https://github.com/tonycoco/heroku-buildpack-ember-cli
Creating APPNAME... done, stack is cedar-14
Buildpack set. Next release on APPNAME will use https://github.com/tonycoco/heroku-buildpack-ember-cli.
https://APPNAME.herokuapp.com/ | https://git.heroku.com/APPNAME.git
> heroku plugins:install https://github.com/heroku/heroku-repo.git
Installing https://github.com/heroku/heroku-repo.git... done
> heroku repo:purge_cache -a APPNAME
Running bash on APPNAME... up, run.6set -e
mkdir -p tmp/repo_tmp/unpack
cd tmp/repo_t938
mp
curl -o repo-cache.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/cache/44149283.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=cAd3jG9vEhs849ESs%2FIsrUpeWyI%3D&Expires=1448114656'
cd unpack
tar -zxf ../repo-cache.tgz
METADATA="vendor/heroku"
if [ -d "$METADATA" ]; then
TMPDIR=`mktemp -d`
cp -rf $METADATA $TMPDIR
fi
cd ..
rm -rf unpack
mkdir unpack
cd unpack
TMPDATA="$TMPDIR/heroku"
VENDOR="vendor"
if [ -d "$TMPDATA" ]; then
mkdir $VENDOR
cp -rf $TMPDATA $VENDOR
rm -rf $TMPDIR
fi
tar -zcf ../cache-repack.tgz .
curl -o /dev/null --upload-file ../cache-repack.tgz 'https://s3-external-1.amazonaws.com/heroku_repos/heroku.com/cache/44149283.tgz?AWSAccessKeyId=AKIAJWLOWWHPBWQOPJZQ&Signature=vSbwLR1gVUcDg%2BiggOarWJE27wQ%3D&Expires=1448114656'
exit
~ $ set -e
~ $ mkdir -p tmp/repo_tmp/unpack
~ $ cd tmp/repo_tmp
ature=cAd3jG9vEhs849ESs%2FIsrUpeWyI%3D&Expires=1448114656'AJWLOWWHPBWQOPJZQ&Sign
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 300 0 300 0 0 7585 0 --:--:-- --:--:-- --:--:-- 7692
~/tmp/repo_tmp $ cd unpack
~/tmp/repo_tmp/unpack $ tar -zxf ../repo-cache.tgz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I'll have to try to reproduce this
It works now for some reason...
I just ran into the same issue:
@dahoo : I tried your commands I am still getting the same issue.
Hi! I have problem with using this buildpack. It seems like heroku can't fetch ot for some reason. Here what i did:
My heroku toolbelt version command shows next: