Feature request: an easier way to get to your addon urls
Let's say I want to get to my app's New Relic page. Right now, I have to go to Heroku's website, log in, click My Apps, find my app, click the app's name, click Add-ons, click New Relic. Is there an easier way? Perhaps something on the command line, such as: heroku addons:open newrelic Thanks! - Trevor -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku db:push doesnt work
Update your heroku gem (gem update heroku), and try again. It should work now. There was a bug at their end, but they have fixed it now. --Asif On Jan 10, 7:14 am, ChrisWolf cw10...@gmail.com wrote: I am having the same issue. The exact error I get is: $ heroku db:push Taps 0.3 Load Error: dlsym(0x101df8ef0, Init_sqlite3_native): symbol not found - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/ sqlite3_native.bundle You may need to install or update the taps gem to use db commands. This is on MacOSX 10.6 (Snow Leopard), Ruby-1.8.7, and taps is definitely installed: gem list -d taps *** LOCAL GEMS *** taps (0.3.14) ...and if I run this test script: require 'rubygems' require 'sqlite3' tempname = test.sqlite#{3+rand} db = SQLite3::Database.new(tempname) puts db.execute('select sqlite_version()') db.close File.unlink(tempname) It reports the SQLite version correctly, so I assume the sqlite3-ruby gem is also properly installed. At this point, I'm totally stuck. Or maybe pushing from Snow Leopard isn't supported?, but I doubt it. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Feature request: an easier way to get to your addon urls
I agree, that would be quite useful. --Asif On Jan 11, 3:18 am, Trevor Turk trevort...@gmail.com wrote: Let's say I want to get to my app's New Relic page. Right now, I have to go to Heroku's website, log in, click My Apps, find my app, click the app's name, click Add-ons, click New Relic. Is there an easier way? Perhaps something on the command line, such as: heroku addons:open newrelic Thanks! - Trevor -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Internal Server Error After a db:push
Working for me as well now. Thanks David. --Asif Sheikh On Jan 10, 11:28 am, Scott LaBounty slabou...@gmail.com wrote: Looks like it's working now for me. Thanks David. Scott On Mon, Jan 10, 2011 at 7:54 AM, David Dollar da...@heroku.com wrote: This appears to have been an issue in the taps server itself. Please try your push/pull again and it should be working now, sorry about that! -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- Scotthttp://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: postgres tuning
Hey Guys, Any further thoughts on this? Thanks, Carson On Jan 7, 1:35 pm, Carson Gross carsongr...@gmail.com wrote: Sure. We've got a big, ugly database that we are constantly slamming data into (nearly constant appends on one table, with occasionally purges.) We'd like to increase the checkpoint segments to see if that boosts write performance. On the cache side, according to this website: http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server Setting effective_cache_size to 1/2 of total memory would be a normal conservative setting, and 3/4 of memory is a more aggressive but still reasonable amount. Again, as near as I can tell, the default in Heroku is to set it to 200MB. We are running a ronin database, which should have 1.7 Gigs of RAM, giving 850MB to 1.3 GB of cache as the ideal, at least according to that wiki entry. Our goal is to extract maximum performance with minimum effort and bug creation and, therefore, tweaking some postgres parameters would be an ideal way to do so. Let me know if you need any more details on our use case. Thanks! Carson On Jan 7, 12:40 pm, Matthew Soldo m...@heroku.com wrote: Hi Carson, We don't support tuning the dedicated database. I'd love to hear more about your requirements and needs around this. It's possible that this could be supported in the future. Matt On Fri, Jan 7, 2011 at 10:50 AM, Carson Gross carsongr...@gmail.com wrote: Is it possible to tune a dedicated postgres database? In particular, we'd like to change the effective cache size and checkpoint segments setting from the defaults (appear to be ~200MB and 40, respectively.) Cheers, Carson -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: postgres tuning
Your use case (high volume, low value writes) sounds like it would be a perfect match for one of heroku's nosql addons... mongo or couch in particular. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: postgres tuning
Yeah. Sadly, we are all very much stuck in the YesSQL mindset (our data is relational) and would prefer to stick with that horse as long as is possible. Our performance is good right now and appears to scale to the loads we'd like to see, but since perf is typically a non-linear sort of thing regardless of what solution you use, I want to buy us as much performance with as few radical, bug-introducing changes as possible. Tweaking two postgres parameters seems like an ideal match to that conservatism and, OK, I'll admit it, laziness. Cheers, Carson On Jan 11, 10:43 am, chris mcclellan...@gmail.com wrote: Your use case (high volume, low value writes) sounds like it would be a perfect match for one of heroku's nosql addons... mongo or couch in particular. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Killing Cron Process?
I tried Oren's suggestion about doing a heroku restart and that did not kill/restart an already-running cron task. Same with uninstalling the cron addon - that does not seem to kill the already-running cron process either. Any other ideas? Maybe a heroku kill might be in order... -Zach On Wed, Dec 29, 2010 at 1:50 PM, Zach Bailey znbai...@gmail.com wrote: I have a long-running cron process as a result of an out of control task that I need to kill. Is it possible to do this via the heroku gem or console somehow? -Zach -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Spanish Accents in ActiveRecord
Hi, Anyone knows how to setup a web application that needs to store spanish accents (such as á, é, or í) in the ActiveRecord models. When I use the Heroku Console and I try to insert a string with Spanish characters in the model, I always get the following error: ActiveRecord :: StatementInvalid: PGError: invalid byte of sequence for encoding UTF8 : 0x82. For example, let's suppose that I want to store the title of a book in the model called book. From the Heroku Console, I type the following: b = Book.new b.title = Configuración ( # title is the field for the title of a book. Note that the title has a spanish accent) b.save I GET THE ERROR! ActiveRecord :: StatementInvalid: PGError: invalid byte of sequence for encoding UTF8 : 0x82. I would really appreciate any hint to solve this problem. Many many thanks, Sergio -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Spanish Accents in ActiveRecord
What version of Ruby are you using Sergio? The issue is probably that the string is being interpreted as latin rather than UTF-8 but is then being saved as UTF-8. In 1.8.x you can use Iconv In 1.9.2 the strings have the encoding baked in. Take a look at force_encoding, and encoding and also the magic comment #encoding:. For example you could try ç.force_encoding('ISO-8859-1').encode('UTF-8') since you know that this is actually latin. We had a lot of issues with CloudMailin and encoding before we hit beta and unfortunately some of them still came out during the beta testing, making sure you have up to date versions of adapters will also help. I hope that's of use, Steve On 11 Jan 2011, at 21:42, sergi_heroku wrote: Hi, Anyone knows how to setup a web application that needs to store spanish accents (such as á, é, or í) in the ActiveRecord models. When I use the Heroku Console and I try to insert a string with Spanish characters in the model, I always get the following error: ActiveRecord :: StatementInvalid: PGError: invalid byte of sequence for encoding UTF8 : 0x82. For example, let's suppose that I want to store the title of a book in the model called book. From the Heroku Console, I type the following: b = Book.new b.title = Configuración ( # title is the field for the title of a book. Note that the title has a spanish accent) b.save I GET THE ERROR! ActiveRecord :: StatementInvalid: PGError: invalid byte of sequence for encoding UTF8 : 0x82. I would really appreciate any hint to solve this problem. Many many thanks, Sergio -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.