Heroku: failed to create symbolic link ‘./heroku-hhvm-apache2’: File exists

Posted 3 years ago by SergioGregorutti

Hi all,

Based on this article: https://mattstauffer.co/blog/installing-a-laravel-app-on-heroku

Im trying to deploy my app to Heroku but when I do the push I get this error:

...
remote: -----> Preparing runtime environment...
remote: ln: failed to create symbolic link ‘./heroku-hhvm-apache2’: File exists
remote: ln: failed to create symbolic link ‘./heroku-hhvm-nginx’: File exists
remote: ln: failed to create symbolic link ‘./heroku-php-apache2’: File exists
remote: ln: failed to create symbolic link ‘./heroku-php-nginx’: File exists
remote: 
remote:  !     Push rejected, failed to compile Multipack app
remote: 
remote: Verifying deploy....
remote: 
remote: !   Push rejected to studapp-stage.
remote: 
To git@heroku.com:studapp-stage.git
! [remote rejected] studapp_laravel -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:studapp-stage.git'

I made this change on Heroku: heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-php

Can someone help me?

Thanks in advance!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.