Reputation: 1510
I can't clone my heroku app (more than 2 years older) using the clone command because I get this error:
bamboo-mri-1.9.2 stack not supported
What I have to do?
Upvotes: 3
Views: 1000
Reputation: 101
SSH transport has been disabled in March 2022:
I had to download the code for an old project using slugs:
heroku plugins:install heroku-slugs
heroku slugs:download -a yourapp
Which produced an error:
Downloading... ████████████████████████▏ 100% 00:00 564kB
tar: Error opening archive: Unrecognized archive format
▸ Command failed: tar -xf yourapp/slug.tar.gz -C yourapp
▸ tar: Error opening archive: Unrecognized archive format
▸
So I installed squashfs as suggested here:
brew install squashfs
cd yourapp
unsquashfs -f -d out slug.tar.gz
Which will leave you with the code in the out
directory.
Upvotes: 4
Reputation: 1085
You need to use ssh instead of https for the old stacks.
> heroku git:clone --ssh-git -a app
where app is the name of your heroku app
Upvotes: 5