Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
856 votes
34 answers
225k views

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

I'm attempting to deploy my code to heroku with the following command line: git push heroku master but get the following error: Permission denied (publickey). fatal: The remote end hung up ...
197 votes
4 answers
93k views

How to customize a requirements.txt for multiple environments?

I have two branches, Development and Production. Each has dependencies, some of which are different. Development points to dependencies that are themselves in development. Likewise for Production. I ...
Charles R's user avatar
  • 18.8k
168 votes
37 answers
220k views

Heroku deployment error H10 (App crashed)

I have a RoR app working on my local computer, but when I send it to heroku, it crashes. The error log gives an error H10 & says: 2012-11-21T15:26:47+00:00 app[web.1]: from /app/vendor/...
bskool's user avatar
  • 2,078
157 votes
25 answers
215k views

H14 error in heroku - "no web processes running"

error H14 happen while deploying to heroku this is my procfile: web: gunicorn -w 4 -b 0.0.0.0:$PORT -k gevent main:app log on heroku: 2017-01-23T10:42:58.904480+00:00 heroku[router]: at=error code=...
Ron Miles's user avatar
  • 1,593
108 votes
7 answers
87k views

Understanding Heroku server status 143

I'm wondering about Heroku server status and can't find any documentation about this topic. Example: Process exited with status 143 Can anyone explain this example? And where would I find ...
Tien Nguyen's user avatar
  • 4,328
88 votes
21 answers
113k views

Collectstatic error while deploying Django app to Heroku

I'm trying to deploy a Django app to Heroku, it starts to build, download and installs everything, but that's what I get when it comes to collecting static files $ python manage.py collectstatic --...
Stefano De Rosso's user avatar
86 votes
5 answers
20k views

Staging instance on Heroku

I'd like to be able to push code to dev.myapp.com for testing and then to www.myapp.com for production use. Is this possible with Heroku?
Tom Lehman's user avatar
  • 88.2k
77 votes
9 answers
36k views

Automated heroku deploy from subfolder

I know you can deploy automatically to heroku from github, but I haven't found a way to only push a subfolder from github to heroku. From the command-line I know it is possible to do this with: git ...
Divino Neto's user avatar
45 votes
6 answers
82k views

From virtualenv, pip freeze > requirements.txt give TONES of garbage! How to trim it out?

I'm following this tutorial: http://devcenter.heroku.com/articles/django At some point I'm suposed to do: pip freeze > requirements.txt (Ofc. from virtualenv created instance of python) And I ...
przemo_li's user avatar
  • 4,003
43 votes
8 answers
15k views

How can I detect Heroku's environment?

I have a Django webapp, and I'd like to check if it's running on the Heroku stack (for conditional enabling of debugging, etc.) Is there any simple way to do this? An environment variable, perhaps? I ...
aviraldg's user avatar
  • 9,124
42 votes
4 answers
20k views

Heroku + node.js: I have a server which uses multiple ports. How can I get Heroku to allocate them?

Umm I'll try to be more clear.. In an application server I have written in node.js, I have inner-proxy for multiple ports: in my 8080 port I have my rest api. in my 3000 port I have my push server ...
Amit Evron's user avatar
40 votes
7 answers
20k views

Deploying RoR app to Heroku with SQLite 3 fails

I'm trying to deploy my first app to Heroku. I'm using SQLite as the database. As far as I know Heroku doesn't use SQLite - it switches to Postgres in the backend. When I'm deploying I get the ...
Jaco Pretorius's user avatar
39 votes
4 answers
55k views

How to deploy to Heroku directly from my Gitlab repository

In my team, we use Gitlab as a remote repository, so we are looking for a solution to auto deploy our apps to Heroku. We found Codeship for auto deploying apps to Heroku from Github. Any tips? Tricks?...
Toanalien's user avatar
  • 669
38 votes
8 answers
48k views

How can I clear rails cache after deploy to heroku?

I applied cache to my heroku rails app and it works well. But everytime I deploy to heroku, I also want to clear cache automatically. so I googled and I found this. task :after_deploy, :env, :...
kikiki.blue's user avatar
36 votes
7 answers
50k views

Django: Not Found static/admin/css

I just deployed my first Django app on Heroku but I notice that it doesn't have any CSS like when I runserver on the local machine. I know there's something wrong with static files but I don't ...
user avatar
36 votes
7 answers
12k views

Hot deploy on Heroku with no downtime

A bad side of pushing to Heroku is that I must push the code (and the server restarts automatically) before running my db migrations. This can obviously cause some 500 errors on users navigating the ...
zetarun's user avatar
  • 787
32 votes
1 answer
16k views

Deploying Ruby on Rails - Is there a good alternative for Heroku? [closed]

I'm starting a new small venture, a POC if you would like, and I want to deploy my Rails application for free somewhere. I found that there is Heroku, are there another options?
Oz Ben-David's user avatar
  • 1,637
31 votes
3 answers
35k views

Deploy the backend and frontend on the same Heroku app/dyno

At the root of my project, I have a frontend and backend folder. Both folders contain a package.json that list their dependencies. How do I tell Heroku to run npm install on both folders when ...
Maxime Dupré's user avatar
29 votes
7 answers
21k views

How to deploy heroku app with secret yaml configuration file without committing the file?

In other rails projects, I'd have a local database.yml and in source code repository only commit the database.sample file. When deploying, a capistrano script that would symlink a shared version of ...
Homan's user avatar
  • 26.3k
28 votes
3 answers
10k views

Good Git deployment using branches strategy with Heroku?

What is a good deployment strategy to use with Git + Heroku (Ruby on Rails)? Currently, the way I work with my origin Git repository: All features (or 'stories') are first checked out as branches, ...
Zaqintosh's user avatar
  • 349
28 votes
9 answers
35k views

Heroku Cannot GET /

I am new to Heroku and believe I am following all of the steps outlined on Heroku's website to deploy via node.js – https://devcenter.heroku.com/articles/getting-started-with-nodejs – but despite ...
bullcitydave's user avatar
28 votes
2 answers
25k views

How to deploy .Net application to heroku [closed]

I do not see much help when it comes to deploying .Net app to Heroku. So, how to deploy .Net application to Heroku?
Nick Kahn's user avatar
  • 20k
24 votes
4 answers
12k views

Heroku and Github integration (how to structure the project)

I'm creating a webservice and I want to store the source on github and run the app on heroku. I haven't seen my exact scenario addressed anywhere on the 'net so far, so I'll ask it here: I want to ...
user avatar
23 votes
1 answer
11k views

Overwriting an existing Heroku app

I have a Sinatra app, hosted on Heroku. Lately, I've been developing that same app from a different folder. It's not a branch, it's just a parallel app / directory with identical contents but ...
fullstackplus's user avatar
22 votes
2 answers
12k views

Separate frontend and backend with Heroku

I have an application, let's call it derpshow, that consists of two repositories, one for the frontend and one for the backend. I would like to deploy these using Heroku, and preferably on the same ...
altschuler's user avatar
  • 3,842
21 votes
5 answers
7k views

How can I deploy 'private' gems that my apps can access but no one else can get?

I have several apps which I want to share some common code. I'd like to gem the code and share/version it across the apps that way, although I don't want to publish it to a public gem server. What ...
Kevin Bedell's user avatar
  • 13.4k
19 votes
7 answers
17k views

Pushing Rails with SQLite3 to Heroku fails [duplicate]

I experience the same scenario as described in Heroku deployment issue when I try to deploy my Rails 3 app to Heroku and sqlite3 is defined in the gems file. /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/...
John Korsnes's user avatar
  • 2,275
19 votes
6 answers
18k views

Heroku deployment failed because of sqlite3 gem error

I just started the ruby.railstutorial.org book by Michael Hartl and have been working through the first chapter. I am using mac book OS X, Terminal, and Sublime Text. Everything has gone according to ...
xuamox's user avatar
  • 461
19 votes
2 answers
9k views

Deploying 2 different heroku apps with same code and git repository

I'm trying to create 2 different Heroku apps using the same code with the same git repository. App1 is created in Heroku by my friend and i'm not a collaborator and app2 is the branch of the same git ...
Sayanee's user avatar
  • 5,147
18 votes
6 answers
12k views

Most of my assets suddenly return 404 after a push to heroku

I have deployed this app (rails 3.2.11) a million times, I haven't messed with any settings, but now I'm greeted with this: Why did this happen out of the blue? My conents of application.rb include ...
dsp_099's user avatar
  • 5,961
18 votes
3 answers
12k views

Deploying a Sails.js app to Heroku?

I have limited experience deploying Node.js apps -- how can I deploy a Sails.js app to Heroku? I've heroku logined and heroku created my app already.
Evan Hahn's user avatar
  • 12.5k
18 votes
3 answers
8k views

DB management for Heroku apps

I'm fairly new to both Rails and Heroku but I'm seriously thinking of using it as a platform to deploy my Ruby/Rails applications. I want to use all the power of Heroku, so I prefer the "embedded" ...
zetarun's user avatar
  • 787
17 votes
13 answers
61k views

No web processes running Django in heroku

I was trying to deploy my application in heroku, but when i finally try to run my application in heroku I het in the browser this: Application Error An error occurred in the application and your page ...
Cris Towi's user avatar
  • 1,191
17 votes
2 answers
7k views

App pushed to heroku still shows standard index page

I went through the steps to install git and the heroku gem and successfully pushed my app to heroku. The problem is, it shows a standard "You're Riding Ruby on Rails" page even though the local app I ...
dsp_099's user avatar
  • 5,961
17 votes
1 answer
3k views

How to deploy .gitignored compiled files in Heroku?

I have a compiled folder named /target where my server.js lives. Since it's compiled files, I added /target to .gitignore since I don't want all those changes checked it into my GitHub. But Heroku ...
hzhu's user avatar
  • 3,789
16 votes
5 answers
2k views

Would have removed .. in heroku deploy log

a few days ago I started to see Would have removed best_in_place (2.0.2) Would have removed thor (0.16.0) in my heroku deploy output. It used to say that it removed the gem. anyone know what's ...
Nick Ginanto's user avatar
  • 31.8k
16 votes
4 answers
13k views

Deploy HTML only app to Heroku?

Can I use Heroku to deploy an HTML prototype? My HTML prototypes live on Github and Heroku would be a nice way to deploy them so clients can view them. It seems that this is unsupported, since ...
Wolfr's user avatar
  • 5,114
16 votes
4 answers
30k views

Heroku Error H12 (Request timeout) issue

I know its another Heroku Error H12 (Request timeout) issue. It seems the issue is caused by many different reason. I deployed a Rails 3.2.2 app on heroku few days ago. When I try to access my app ...
Seadaniel's user avatar
  • 209
15 votes
4 answers
3k views

Heroku + Github deployment strategies

I am working on a web app, hosting the source code on Github and running the app on Heroku. Everything works fine, but I have on issue I can't wrap my head around. Before the deploying my code, I run ...
mbuchetics's user avatar
  • 1,410
14 votes
2 answers
5k views

Can not deploy my rails app to heroku after getting asset not present in asset pipeline error

My app works fine on my localhost but now am trying to deploy it to heroku and it says: We're sorry, but something went wrong. If you are the application owner check the logs for more information. ...
craftdeer's user avatar
  • 1,025
14 votes
3 answers
15k views

Heroku/python failed to detect set buildpack

I'm a Django newbie, I created an app and want to deploy it using Heroku. However, when I do git push heroku master (I follow Heroku's getting started), this is what I got: Counting objects: 36, done....
user avatar
14 votes
5 answers
6k views

deploying rails to heroku - unauthorized public key access

So I'm trying to deploy my app to heroku but it keeps giving me this error whenever I push to master: ! Your key with fingerprint cb:e1:5c:31:cd:6b:78:6e:30:ff:eb:11:e2:4b:2e:b3 is not authorized to ...
Nosayr Yassin's user avatar
14 votes
2 answers
5k views

Heroku : tensorflow 2.2.1 too large for deployment

im trying to deploy a keras project to heroku but pushing to the repository master branch seems to be problematic for me as the following error is reported every time I try it: remote: -----> ...
Αποστολης Καρασμανογλου's user avatar
14 votes
2 answers
7k views

Running Spring app built with gradle on Heroku

I have problem with my Spring application built with Gradle. App includes MongoDB(MongoHQ from Heroku). I managed how to push everything on heroku, I've added this code to my project: @Configuration ...
Forin's user avatar
  • 1,599
13 votes
3 answers
9k views

Rails 3.1 Deployment to Heroku Error

I'm trying to deploy my app to Heroku, I've done this before on my Windows machine, and now I am currently using a mac. I'm trying to use Postgresql for the first time. I have the following in my ...
ardavis's user avatar
  • 9,885
12 votes
3 answers
9k views

Errors of pushing rails app to Heroku error occurred while installing sqlite3, and Bundler cannot continue [duplicate]

I was trying to push my rails app to heroku and received errors as below: - Counting objects: 177, done. Delta compression using up to 2 threads. Compressing objects: 100% (161/161), done. ...
Lixiang Jiang's user avatar
12 votes
3 answers
20k views

Deployment to Heroku Error: Cannot find module '/app/server.js'

I'm deploying an Angular 6 application created with the angular-cli to Heroku. The build completes successfully, however, when I go to the deployed application, I get a blank page. After running the ...
Kode_12's user avatar
  • 4,618
11 votes
2 answers
12k views

Is there a way to delete a branch on heroku

I am using heroku to host my application. With merges and rebases i got 2 different stages of my app. Local master is different from master on heroku. pushing to heroku master failed with: ! [...
bulleric's user avatar
  • 2,117

1
2 3 4 5
45