cachet icon indicating copy to clipboard operation
cachet copied to clipboard

Drop Heroku support

Open jbrooksuk opened this issue 11 years ago • 36 comments

Heroku are changing their pricing structure (from what we've seen), the "free" tier is no longer useful for Cachet anymore. On top of that, I've had terrible customer support - i.e. no replies - and supporting the Heroku config via Laravel 5's environment configurations is near impossible until 5.1.

  • [x] Remove the "Deploy to Heroku" button.
  • [x] Remove the heroku configuration.
  • [x] Remove any mention of the "Deploy to Heroku" support.

We will not be supporting Heroku any longer.

CC @cachethq/owners.

jbrooksuk avatar Mar 31 '15 14:03 jbrooksuk

@jbrooksuk Bummer. Do you have suggestions on where we can deploy this easily/free elsewhere? I have a CentOS server and an AWS Instance (Micro) using ServerPilot. However, I really enjoyed Heroku for having it completely disconnected from any other infrastructure that we use for hosting the sites that I display the status of using Cachet.

Thanks...

brianjking avatar Mar 31 '15 15:03 brianjking

@jbrooksuk -- Perhaps viaduct.io? https://viaduct.io/features

brianjking avatar Mar 31 '15 15:03 brianjking

Some people have suggested OpenShift; https://www.openshift.com/products/pricing/plan-comparison

I myself will be moving the demo and Cachet's own status page to a $5/pm droplet.

jbrooksuk avatar Mar 31 '15 15:03 jbrooksuk

I have an openshift deployment diy at https://github.com/StartledPhoenix/openshift-diy-cachet if you want to test.

I should have a cartridge to muck around with soon.

Cachet does not work on OpenShift by default (without this compiling mess) due to multiple issues, mainly

  • ~~PHP incompatible version~~ - Fixed
  • No ext-apcu
[cachettest-sphoenix.rhcloud.com php]\> /usr/bin/php $OPENSHIFT_DATA_DIR/composer.phar install
Failed loading /opt/rh/php54/root/usr/lib64/php/modules/opcache.so:  /opt/rh/php54/root/usr/lib64/php/modules/opcache.so: undefined symbol: zend_new_interned_string
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ldap.so' - /usr/lib64/php/modules/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so' - /usr/lib64/php/modules/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysql.so' - /usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysqli.so' - /usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysqlnd.so' - /usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - This package requires php >=5.4 but your PHP version does not satisfy that requirement.
  Problem 2
    - The requested PHP extension ext-apcu * is missing from your system.
  Problem 3
    - Installation request for cachethq/segment 1.0.0 -> satisfiable by cachethq/segment[1.0.0].
    - cachethq/segment 1.0.0 requires php >=5.4.7 -> your PHP version does not satisfy that requirement.
  Problem 4
    - Installation request for dingo/api v0.8.2 -> satisfiable by dingo/api[v0.8.2].
    - dingo/api v0.8.2 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 5
    - Installation request for graham-campbell/binput v2.1.3 -> satisfiable by graham-campbell/binput[v2.1.3].
    - graham-campbell/binput v2.1.3 requires php >=5.4.7 -> your PHP version does not satisfy that requirement.
  Problem 6
    - Installation request for graham-campbell/markdown v2.0.7 -> satisfiable by graham-campbell/markdown[v2.0.7].
    - graham-campbell/markdown v2.0.7 requires php >=5.4.7 -> your PHP version does not satisfy that requirement.
  Problem 7
    - Installation request for graham-campbell/security v2.1.3 -> satisfiable by graham-campbell/security[v2.1.3].
    - graham-campbell/security v2.1.3 requires php >=5.4.7 -> your PHP version does not satisfy that requirement.
  Problem 8
    - Installation request for graham-campbell/throttle v2.0.2 -> satisfiable by graham-campbell/throttle[v2.0.2].
    - graham-campbell/throttle v2.0.2 requires php >=5.4.7 -> your PHP version does not satisfy that requirement.
  Problem 9
    - Installation request for guzzlehttp/guzzle 5.1.0 -> satisfiable by guzzlehttp/guzzle[5.1.0].
    - guzzlehttp/guzzle 5.1.0 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 10
    - Installation request for guzzlehttp/ringphp 1.0.6 -> satisfiable by guzzlehttp/ringphp[1.0.6].
    - guzzlehttp/ringphp 1.0.6 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 11
    - Installation request for guzzlehttp/streams 3.0.0 -> satisfiable by guzzlehttp/streams[3.0.0].
    - guzzlehttp/streams 3.0.0 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 12
    - Installation request for laravel/framework v4.2.17 -> satisfiable by laravel/framework[v4.2.17].
    - laravel/framework v4.2.17 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 13
    - Installation request for mccool/laravel-auto-presenter 2.2.2 -> satisfiable by mccool/laravel-auto-presenter[2.2.2].
    - mccool/laravel-auto-presenter 2.2.2 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 14
    - Installation request for pragmarx/google2fa v0.1.0 -> satisfiable by pragmarx/google2fa[v0.1.0].
    - pragmarx/google2fa v0.1.0 requires php >=5.3.7 -> your PHP version does not satisfy that requirement.
  Problem 15
    - Installation request for react/promise v2.2.0 -> satisfiable by react/promise[v2.2.0].
    - react/promise v2.2.0 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 16
    - Installation request for roumen/feed v2.8.1 -> satisfiable by roumen/feed[v2.8.1].
    - roumen/feed v2.8.1 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 17
    - Installation request for watson/validating 0.10.7 -> satisfiable by watson/validating[0.10.7].
    - watson/validating 0.10.7 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
  Problem 18
    - laravel/framework v4.2.17 requires php >=5.4.0 -> your PHP version does not satisfy that requirement.
    - thujohn/rss 1.0.3 requires illuminate/support 4.*|5.* -> satisfiable by laravel/framework[v4.2.17].
    - Installation request for thujohn/rss 1.0.3 -> satisfiable by thujohn/rss[1.0.3].

[cachettest-sphoenix.rhcloud.com php]\> php -v
PHP 5.4.16 (cli) (built: Oct 23 2014 05:04:35) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.2, Copyright (c) 1999-2013, by Zend Technologies

eveandcats avatar Mar 31 '15 17:03 eveandcats

Thanks @StartledPhoenix I've mentioned your project in our recent blog post https://blog.cachethq.io/dropping-native-heroku-support/

jbrooksuk avatar Mar 31 '15 19:03 jbrooksuk

Never been a fan of Heroku so Openshift has my vote for this!

sammcj avatar Mar 31 '15 20:03 sammcj

@jbrooksuk ~~~Almost done fixing some things, afterwards, it should allow me to give you a one-click button to install into openshift online. I've got some spare time for the next few days, so I can probably work all the kinks out by the end of this week.~~~

Everything is done and working with a shiny new button, forked at https://github.com/StartledPhoenix/openshift-cachet, will sync, and create a PR after youve fixed the below issue. At the moment, I've changed the link on the button to point to my repo. That will be changed before the PR, I just have that there for people to test.

composer.json has ext-apcu listed, however OpenShift uses ext-apc, can you add ext-apc as an alternative - thanks

eveandcats avatar Mar 31 '15 21:03 eveandcats

@StartledPhoenix I don't think we can tell composer.json to use ext-apcu or ext-apc, @GrahamCampbell any advice?

jbrooksuk avatar Apr 01 '15 07:04 jbrooksuk

Apparently, ext-apc covers both ext-apc & ext-apcu https://github.com/composer/composer/issues/3865

eveandcats avatar Apr 01 '15 07:04 eveandcats

Make a PR :)

By the way @StartledPhoenix you'll want to be supporting the L5 branch, which will become master soon.

jbrooksuk avatar Apr 01 '15 07:04 jbrooksuk

Ill get on L5 after master is confirmed to be working :)

eveandcats avatar Apr 01 '15 14:04 eveandcats

Hi James- we'd certainly be sad to see you purposely remove support for Heroku. If you have issues or feedback or Heroku, I'd encourage you to open a support ticket and we can route to the right teams/personnel. I can also try to direct you to the right people to @ mention on Github if you need help with something.

wuputah avatar Apr 01 '15 23:04 wuputah

@wuputah thank you, but I feel it's a little too late now. Plus, what use is a status page that is only available for 12 hours of the day (when on the free plan). The free plan is what encouraged Cachet users to deploy to Heroku, without it, it seems silly supporting Heroku out of the box.

jbrooksuk avatar Apr 02 '15 07:04 jbrooksuk

The pricing beta feedback is @pvh's wheelhouse — it quite far from being final. We think the pricing experiment is a reasonable target for the service we provide (i.e., in this case, a 24x7 production status site), but we're open to feedback.

If you have technical concerns/feedback, we'd love to hear it as well! We always want it to be as easy as possible to run apps on Heroku—so you shouldn't have to go out of your way to support Heroku. So, we want to know about any pain points.

wuputah avatar Apr 03 '15 01:04 wuputah

Hello! I'm sorry you've had a negative experience with Heroku. I can understand why you would draw the conclusions you have with the data you've got, but I hope I can offer a little counterbalancing perspective.

We have presented a hypothesis for how to structure our free tier based on our reasonable but non-comprehensive understanding of the myriad ways people consume the platform. That said, the specific details of the free offering are very much up in the air. We love projects like yours and would hope that for people with light-duty applications a free deployment would work just fine.

Should the deployment became heavily trafficked or frequently used enough to require 24x7 availability, we'd hope people would upgrade to a paid solution. After all, we pay (mostly) when the dyno is running. It's our ability to put applications to sleep during idle periods that lets us offer mostly a unlimited number of applications for free.

I'm certainly open to discussing this further, though I suspect this Issue is not the most ideal venue. I'd be quite happy to hear more about how we could make the free tier appealing to you. It's definitely not our intent to drive projects like yours away.

You can shoot me an email at [email protected] with your thoughts, but if you're past that point I'll just say that I'm very sad to see you go and I hope someday we'll earn your trust again.

pvh avatar Apr 03 '15 01:04 pvh

Thanks @pvh and @wuputah, I appreciate you getting back to me. I completely understand and appreciate that you need to charge people as you can't continue to run a service without paying customers. I believe that it's because of your paying customers that you can even do the free tier in its existing form - please don't think that I don't realise how important it is for you as a company.

The problem I have with Heroku isn't your pricing restructure (I kind of get it), instead it's built up over the last few months of developing Cachet. Here is a list of the tweets where I've mentioned @heroku:

  • https://twitter.com/jbrooksuk/status/562678418425516035
  • https://twitter.com/jbrooksuk/status/546610493973344256
  • https://twitter.com/jbrooksuk/status/546366756294762498
  • https://twitter.com/jbrooksuk/status/538095816582639616
  • https://twitter.com/jbrooksuk/status/537369563755986945

Considering that I even went as far as to write a blog post on how to implement the Heroku Button because of the little documentation, I figured we'd get some kind of support? I know that I, myself do not pay for Heroku, but even if some of our users do, we've helped you out.

Apart from one or two people (whom I believe aren't Heroku employees) reaching out to me, I've had zero replies from yourselves.

As an aside, according to our anonymous (and optional) tracking we've seen 400 Heroku deployments:

image

If you'd like to speak further about this, then you can email me [email protected] - I wanted to make my reasons public for dropping Heroku.

jbrooksuk avatar Apr 03 '15 10:04 jbrooksuk

can you check out dotcloud.org plz? thanks.

wfjsw avatar Apr 03 '15 12:04 wfjsw

@wfjsw nice. Spam has arrived at GitHub. Nice. Awesome. Your service doesn't even offer a free plan -.-

lenovouser avatar Apr 03 '15 12:04 lenovouser

@ApfelUser All right maybe I make something wrong...

P.S. dotcloud is not my service...just mention it →_→

wait...It does not have a free plan ?! All right......

wfjsw avatar Apr 03 '15 12:04 wfjsw

@wfjsw it's not the fact that Heroku doesn't have a free plan that I won't support it...

jbrooksuk avatar Apr 03 '15 15:04 jbrooksuk