I have a meteor project created with meteorite under version control and I'm trying to deploy it to Heroku using the heroku buildpack oortcloud/heroku-buildpack-meteorite but I this error:
! Heroku push rejected, no Cedar-supported app detected
Is it a problem with the build package or I need extra configuration in my app?, It's the first time I deploy an App to heroku so I'm not very familiarized with it.
As I mentioned in the question I'm very new to Heroku and this time I made a silly mistake.
In the buildpackage documentation it says you just need to use heroku create --stack cedar --buildpack https://github.com/oortcloud/heroku-buildpack-meteorite.git command and then git push. What I did't realized was that the command creates a new app in heroku and I had mine created already.
So the solution is:
heroku config:add BUILDPACK_URL=https://github.com/oortcloud/heroku-buildpack-meteorite.git
Related
I have an old neglected Heroku stack (bamboo-mri-1.9.2) that I now want to upgrade to Heroku-20. I know bamboo-mri-1.9.2 has long ago stopped being supported, but when I attempt to upgrade via the CLI I get this:
heroku stack:set heroku-20 -a my_app
Setting stack to heroku-20... !
▸ this stack migration path is not available.
Via the Heroku dashboard gets a similar result.
I cannot find anything within Heroku or on Google to help - what do I need to do here?
So it turns out (via Heroku support) that you cannot upgrade from something this old, in this way.
You need to go through the process of creating a new Heroku app from within your original codebase.
https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack#manually-created-test-app
Go to the section 'Manually Created test App' and follow the instructions there.
When I try to deploy my app to heroku then I received:
App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git
The steps that I follow are:
as mentioned in here, I created a project on heroku by using heroku create -b https://github.com/kr/heroku-buildpack-go.git command
then I run heroku config:set BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go command to set buildpack again
then I tried to git push heroku master but I receive App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git error
I also connected my GitHub account to heroku and tried deploy from master branch which was on GitHub. But I am still facing this error(App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git)
How to solve it?
The reason here is because you should not use your git url as buildpack. https://github.com/mars/create-react-app-buildpack.git is the default. Try this:
heroku buildpacks:clear
heroku buildpacks:set mars/create-react-app
I created a Hugo application which I wanted to deploy through Heroku.
Following Hugo's instructions on their github readme, it says to create a Heroku app with the command:
$ heroku create --buildpack https://github.com/roperzh/heroku-buildpack-hugo.git
followed by:
$ git push heroku master
$ heroku open
Upon doing so, however, I keep getting an error:
remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/go.tgz buildpack
and the push ultimately fails.
Most of what I've looked up tells me that it needs a specification of what language is being used, which in this case is Go.
But even when doing:
heroku buildpacks:set -a myproject heroku/go
It tells me:
! The buildpack heroku/go is already set on your app.
So, if it's already set on my app, then why can't it detect an app matching the buildpack?
Check your hugo version using
hugo version
and then set your hugo version on heroku
for example 0.40
heroku config:set HUGO_VERSION=0.40 -a <your app name>
When deploying a parse-dashboard app to heroku, I get this error:
Unexpected token '<'
What I do:
Clone parse-dashboard repo to desktop
Add remote to heroku
git push heroku master
When reading similar threads, like this, the recommendation is to "install from npm".
How do I go about doing this on heroku?
Thanks in advance
Ok, I'm an idiot. Here's the solution if someone has the same problem.
I tried to deploy the parse-dashboard to heroku, the main repo.
Instead I should have created a new app, run "npm install parse-dashboard" and then deploy that app.
Trying to push to heroku.
When I type: heroku create
getting this message.
! No account specified.
!
! Run this command with --account
!
! You can also add it as a git config attribute with:
! git config heroku.account work
Using Rails 3.1.1
Help would be appreciated.
Looks like you've installed the Heroku Accounts plugin which allows you switch between multiple heroku accounts - follow the instructions here https://github.com/ddollar/heroku-accounts to add an account for it to use
type in gem install heroku
Then upload rsa key of github to heroku
$ heroku keys:add
Uploading ssh public key /Users/adam/.ssh/id_rsa.pub
Once you key in configured with heroku and github with command all your code goes to github and from there to Heroku
git push heroku master
and soon you will see these messages
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Detected Rails is not set to serve static_assets