Questions tagged [cedar]

**'Celadon Cedar'** is the newest runtime stack for apps hosted on heroku.com. It is a polyglot platform, supporting multiple languages including Ruby, Python, Java, and Clojure.

'Celadon Cedar' is the newest runtime stack for apps hosted on heroku.com. It is a polyglot platform, supporting multiple languages including Ruby, Python, Java, and Clojure.

Cedar has several improvements over Heroku's earlier stacks:

  • It uses the process model to declare, manage, and run processes across a distributed environment
  • Different types of processes can to scale at different rates to meet demand
  • Aggregate logs and process transparency give users improved process visibility into app behaviour
  • Increased user control over app releases
  • Language support is implemented through modular, customizable buildpacks, allowing developers to add support for any language or framework they need

More information:

For general questions about heroku itself, see the tag.

117 questions
4
votes
2 answers

Heroku PHP cedar stack: can I do URL rewrites?

I'm running a PHP app on the Heroku cedar stack. Is there a way to set up URL rewrite rules? I had hoped to do this in .htaccess files, but only access control directives are recognized in this. I see that the Ruby advice is to use rake rewrite, but…
Tim Trampedach
  • 201
  • 2
  • 6
4
votes
1 answer

How do I clear a stale pypi package from Heroku/Cedar's virtualenv?

I am building my own flask-oauth in my app's src/lib and adding it to the web application's path via: sys.path.insert(0, os.getcwd() + '/src/lib/flask-oauth') I have to do this because the pypi package doesn't have support for access_token_params,…
rjurney
  • 4,824
  • 5
  • 41
  • 62
4
votes
1 answer

Heroku could not connect to server: 'Connection refused' when deploying a Rails 3.2.3 app on cedar stack

Since yesterday it worked, but this morning, I can't figure out why, my app on heroku is unable to connect to the shared DB. I can't even do a simple: $ heroku run rake db:reset (I'm on a cedar stack). And this is the console trace dump: ** Invoke…
Darme
  • 6,984
  • 5
  • 37
  • 52
3
votes
5 answers

RefineryCMS routes for Home page doesn't work

just started with RefineryCMS, sorry for newbie question. It runs fine locally and deployed luckily on Heroku Cedar stack. Created a page called Home. /pages/home responds fine. routes.rb root :to => 'pages#home' and works on localhost:3000 but on…
YogiZoli
  • 870
  • 1
  • 9
  • 17
3
votes
1 answer

Migrate down from Cedar to Bamboo?

Is it possible to downgrade an app from Cedar stack to Bamboo? Hirefire doesn't work in Cedar.
Jordan Warbelow-Feldstein
  • 10,510
  • 12
  • 48
  • 79
3
votes
1 answer

LoginViewController writing cedar specs

I would like to write test-cases for the login screen. I'm writing test cases for login action. The username and password should satisfy the minimum length 4. It should show alert view if the length is < 4 Want to write test cases for both cases <4…
Damodar
  • 707
  • 2
  • 10
  • 23
3
votes
0 answers

gm convert: FreeType library is not available after upgrading Heroku app to cedar 14

I have a Node.js app running on heroku. It has been working fine until it was upgraded to cedar-14 recently. When the app is trying to write a text on an image using gm library, this error will occur: "gm convert: FreeType library is not available…
mkto
  • 4,584
  • 5
  • 41
  • 65
3
votes
0 answers

Asset Pipeline not compiling png files on Heroku

Found a strange bug in Ruby on Rails 4.1 asset pipeline on Heroku. All of my PNG images are not being compiled. In Development: image_tag('icons/example.png') # => "/assets/icons/example-09adfasdfa7sfhpasodfuahsdas.png" In Production on…
Matt Bridges
  • 161
  • 9
3
votes
2 answers

Heroku domain registration configured to bamboo on a cedar stack

I have a DNS config issue with Heroku while running on the Cedar Stack. It keeps thinking I'm routing my Cedar stack to Bamboo when my custom domains have the correct pointing CNAME records and are properly configured to Heroku instruction. Here's…
Amy.js
  • 536
  • 4
  • 11
3
votes
1 answer

Heroku Node.js + Python

I am trying to build a web-app that has both a Python part and a Node.js part. The Python part is a RESTful API server, and the Node.js will use sockets.io and act as a push server. Both will need to access the same DB instance (Heroku Postgres in…
Nitzan Shaked
  • 13,460
  • 5
  • 45
  • 54
3
votes
5 answers

How do I fix a pgbackups error: backup url is invalid?

I'm trying to follow the instructions on migrating to Cedar (except I did a major rewrite so this isn't a branch of the previous app but a separate one) and stuck at the db migration step. I installed the pgbackup and heroku postgresql addons but…
BillSaysThis
  • 712
  • 6
  • 17
3
votes
0 answers

Long polling from Rails 3.2

I have a carrierwave upload that takes a lot of time to process, but is required to finish before the user can continue on to the next action in the browser. I'm using an Ajax file upload on the front-end, so the app UI gives progress updates on…
jamesotron
  • 65
  • 7
2
votes
3 answers

Upgrading from Heroku Bamboo stack to a Cedar stack

I am upgrading my app from Rails 3.0 to Rails 3.1. To do this I need to upgrade my Heroku stack to Cedar rather than Bamboo which is currently on. I am going through the following tutorial and am getting stuck at the part where I deploy git push…
Tony Beninate
  • 1,926
  • 1
  • 24
  • 44
2
votes
1 answer

Deploying multiple projects on Heroku with Django

I would like to deploy two separate Django applications to Heroku. Two applications, with two separate domain names, that are logically different from each other. I set up a venv that contain all the Python/Django stuff. Now, I could create…
Alexis
  • 23,545
  • 19
  • 104
  • 143
2
votes
2 answers

Changing app from one language to another in heroku

Is it possible to switch a Heroku app on the Cedar stack from one language to another? In this particular instance I am trying to migrate an app from PHP to NodeJS, which is being detected as a NodeJS app after performing a git push: -----> Heroku…
Scott Christopher
  • 6,458
  • 23
  • 26