Questions tagged [heroku]

Heroku is a cloud platform for Ruby, Node.js, Python, Scala, Clojure, Go, PHP, and JVM-based applications. It features Git-based, GitHub, and API deployment strategies, a large number of services offered as add-ons, and a full API.

Heroku (pronounced her-OH-koo) is a cloud platform for , , , and -based (, , , etc.) applications. It features, among other things:

Git-based deployment strategy

Applications on Heroku are managed with Git. Simply pushing your codebase to Heroku is all it takes to deploy your application.

Add-Ons

Heroku offers a growing number of add-ons via its add-on provider program. Additional services, such as error tracking and reporting, incoming and outgoing email services, hosted no-SQL databases, full-text search and more, are available via a few clicks or commands on the prompt.

Dev Center

Heroku Dev Center contains official guides for platform, languages and add-ons etc.,

Buildpacks

Any language not supported by default can be enabled by creating a custom 'buildpack'.

Configuration

For greater safety and portability, Heroku allows you to manage environment-specific configuration separately from your source code.

Fully Managed, Multi-Tenant Architecture

Heroku's architecture is designed to keep your app running smoothly with minimal interaction on your part. The Heroku site has a detailed explanation of its architecture.

Full API

All of Heroku's functionality can be accessed from the command line (via the Heroku gem), including managing SSH keys, increasing or decreasing the number of dynos, managing SSL certificates, adding or removing add-ons, and more.

Rails 4

Prior to Rails 4, Heroku uses the plugin system to inject some code into your application when you deploy. Plugins are no longer supported in Rails 4, so Heroku has provided some gems. Please see the Rails 4 Documentation

Reference Links:

43716 questions
10
votes
1 answer

uninitialized constant ActiveStorage::Analyzer::ImageAnalyzer::MiniMagick

I'm getting this error on a Rails app on Heroku: NameError: uninitialized constant ActiveStorage::Analyzer::ImageAnalyzer::MiniMagick /app/vendor/bundle/ruby/3.0.0/gems/activestorage-6.1.3/lib/active_storage/analyzer/image_analyzer.rb:46:in `rescue…
10
votes
2 answers

How can I make my staging and production have the same data? (Heroku)

I've looked at Heroku's Taps project (http://devcenter.heroku.com/articles/taps) but there's a huge constraint on foreign keys, so I'm uncomfortable with using this. All I want to do is get my production data safely and put it on my staging app so…
dmonopoly
  • 3,251
  • 5
  • 34
  • 49
10
votes
1 answer

Apple push notifications with Heroku

I'm going to implement Apple push notifications for my iOS app, and I'd like to do it using an heroku-hosted rails app. Do you know if this is possible? Or there will be heroku-related problems?
Abramodj
  • 5,709
  • 9
  • 49
  • 75
10
votes
3 answers

Mapbox production error in console. "Uncaught ReferenceError: y is not defined"

I have a full-stack React.js application deployed on Heroku. Everything deployed fine except for Mapbox. In development, everything works nice. As soon as I open my application in Heroku, Mapbox displays a black screen. I have added config vars in…
Abdul
  • 150
  • 1
  • 8
10
votes
3 answers

Selenium app redirect to Cloudflare page when hosted on Heroku

I have made a discord bot that uses selenium to access a website and get information, when I run my code locally I don't have any problem but when I deploy to Heroku the first URL I get redirects me to the page Attention Required! | Cloudflare. I…
rafalou38
  • 576
  • 1
  • 5
  • 16
10
votes
3 answers

Heroku Go app crashes, version `GLIBC_2.32' not found, required by bin/main

So I have a very simple web app that just serves an html file right now, and my code works on my laptop, but not on heroku's servers. There are no errors while compiling, but when I try to visit the site. the app crashes. version `GLIBC_2.32' not…
MikunoNaka
  • 103
  • 1
  • 1
  • 5
10
votes
2 answers

Couldn't connect to GitHub while authenicating to github on heroku

I had created a app on heroku on authenticating to github it say Error: remote was closed, authorization was denied, or an authentication message otherwise not received before the window closed.. How can i fix that
Rishu Pandey
  • 388
  • 1
  • 2
  • 11
10
votes
2 answers

Issues deploying to heroku path="/" path="/favicon.ico"

Hoping someone might be able to help me with an issue I'm experiencing when pushing my react app to heroku. The heroku logs show the following errors repeatedly. at=error code=H10 desc="App crashed" method=GET path="/"…
Jennifer Powell
  • 103
  • 1
  • 1
  • 7
10
votes
3 answers

Why does the Heroku Rails App crash after upgrading Rails to 6.0.0?

I have an application that I successfully uploaded to Heroku and everything worked fine. After updating with the rails app:update command from version 6.0.0rc1 to 6.0.0, I deployed the application to heroku and after that the Heroku is crashed when…
Daniel Pogosyan
  • 431
  • 5
  • 11
10
votes
2 answers

Heroku python app failing to build when installing sqlite3

My Python app on Heroku failed to build consistently: -----> Python app detected ! Python has released a security update! Please consider upgrading to python-3.6.8 Learn More: https://devcenter.heroku.com/articles/python-runtimes ----->…
Samuel
  • 101
  • 4
10
votes
3 answers

redirect all routes to https in nuxt project hosted in heroku

I'm trying to create a middleware to redirect all my routes to https, I think I need a middleware so I've created a redirect.js file in the middleware folder of Nuxt and then I've added this to nuxt.config.js: router: { middleware:…
yoyojs
  • 1,723
  • 5
  • 24
  • 41
10
votes
3 answers

How do I run Docker in Docker on Heroku?

Why? I'm trying to create a general purpose solution for running docker-compose on Heroku. I want to make a one click deployment solution through the use of Heroku Button deployment. This way, a user does not need any knowledge of git, Heroku cli…
Tin Nguyen
  • 5,250
  • 1
  • 12
  • 32
10
votes
3 answers

400 (Bad Request) and cannot find manifest.json

When deploying, heroku tells me that my build succeeds but I get Failed to load resource: the server responded with a status of 400 (Bad Request) for the favicon and the manifest as well as Manifest: Line: 1, column: 1, Unexpected token. Lighthouse…
ajstack
  • 101
  • 1
  • 1
  • 6
10
votes
2 answers

Nodejs Express on Heroku App EACCES 0.0.0.0:80

I am trying to run a Node app on a newly created Heroku App from their web. I followed their steps and still I am getting errors when displaying app status. I followed the Node.js getting started section without the heroku create command since I…
Martin Fernandez
  • 368
  • 5
  • 16
10
votes
5 answers

Nest.JS deploy to Heroku

I'm currently trying to deploy the basic starter template generated by the Nest.JS CLI (as of version 5.3.0) and seem to be getting a timeout on app startup. I'm wondering if anyone has managed to deploy to Heroku? I'm not sure whether or not I need…
Kyle Bennett
  • 121
  • 1
  • 1
  • 5