Re: db:pull => Internal server error
problem solved using ruby 1.8.7, but I am sure I successfully used more recent versions.. > Did I miss any update? -- 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.
db:pull => Internal server error
Hello All! Did I miss any update? I am not able to pull or push my databases anymore! Last successful operation around Nov, Sun the 21st! E/ Gems: taps (0.3.14) sqlite3-ruby (1.3.2) mysql (2.8.1) sequel (3.17.0) heroku (1.14.5, 1.14.3) Ruby: ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-darwin9.8.0] https://gist.github.com/721215 -- 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.
shared database
Simple Question! I have two separate apps that are using the same database (admin & user app): is it possible to share the 20GB database add-on between the apps? E/ -- 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: Taps Server Error: Read-only file system
thanks! I'm aware of the read-only filesystem and I forgot to mention that I get this error doing a db:push, so it's tap that fails.. any other hints? thanks, E/ On Sep 14, 9:09 pm, Daniel Spangenberg wrote: > Hi, > > Heroku is an Read-only file system, this means, after pushing your git repo > you can't write any files in your system. > Only in tmp/* and logs/*. > > http://docs.heroku.com/constraints#read-only-filesystem > > Use S3 for file upload and other services for sth. other. > > Daniel > > Am 15.09.2010 um 05:33 schrieb Emanuele Tozzato: > > > > > Hello! > > > I'm having this issue today on one application! It seems like I can't > > find anything specific on google! > > > Saving session to push_201009142028.dat.. > > !!! Caught Server Exception > > HTTP CODE: 500 > > Taps Server Error: Read-only file system - dump.11970.dat > > ./lib/taps/data_stream.rb:194:in `initialize' > > > I tried with 1.9.1p376 and 1.8.7 p249 > > > :( > > > -- > > 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 > > athttp://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.
Taps Server Error: Read-only file system
Hello! I'm having this issue today on one application! It seems like I can't find anything specific on google! Saving session to push_201009142028.dat.. !!! Caught Server Exception HTTP CODE: 500 Taps Server Error: Read-only file system - dump.11970.dat ./lib/taps/data_stream.rb:194:in `initialize' I tried with 1.9.1p376 and 1.8.7 p249 :( -- 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: reading database.yml
.. and the .yml file can only be written to the tmp folder, right? > [fetch db.yml and reconnect] -- 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.
can my APP execute `heroku domain:add #{variable}` ?
Hello! I'm testing one application that uses custom domains. Virtually I would setup a domain for every user activation: I figured out that I can't use the heroku gem on production as my credentials are missing, but is there an API or an automated method to do it, or I'll have to parse incoming emails on my machine and trigger a local script for the eternity? what if the application scales? :O :) E/ -- 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: reading database.yml
Thanks for your help! It's not really sharing the same database, but having some models connected to a second database; I was thinking of a web service, but there is a a lot of interaction and using AR is just easier.. I now have: class Remote < ActiveRecord::Base self.abstract_class = true config = YAML::load(IO.read("#{RAILS_ROOT}" + '/config/remote.yml')) self.establish_connection(config[(Rails.env.production? ? 'production' : 'development')]) end and it's working great! A `Website` object in the Rails application has_one `Integration` opbject in the Sinatra application, and it makes very easy to keep the relation between the two database.. I will probably fetch the database.yml from SI to RoR; my question is: should I do it on deployment ? Every time the RoR application is started? onRescue trying to connect? How often and why a database can change for my app? I can change it to: class Remote < ActiveRecord::Base self.abstract_class = true config = YAML::load(IO.read("#{RAILS_ROOT}" + '/config/remote.yml')) begin self.establish_connection(config[(Rails.env.production? ? 'production' : 'development')]) rescue [fetch db.yml and reconnect] end end On Nov 27, 4:40 pm, David Dollar wrote: > Would it be possible to have your applications expose an API to talk to each > other rather than sharing a physical database? -- 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.
reading database.yml
I'm aware that database.yml is generated by the deployment script, but I need to share some models between two applications. Can I read the generated database.yml and use it or is it going to change over time? -- Emanuele Tozzato http://hi.im/mek -- 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: DNS question
My message was finally approved :) In the meantime I've implemented this practice and it seems to work; I noticed that proxy.heroku.com has many IPs.. I guess (hope) none of them will become invalid.. Thanks! On Nov 20, 7:46 pm, Emanuele Tozzato wrote: > Hello! > > I would like to switch from the current DNS configuration: > > search.domain.ext CNAME proxy.heroku.com > > to > > search.domain.ext CNAME dns.mydomain.ext > search.domain1.ext CNAME dns.mydomain.ext > search.domain2.ext CNAME dns.mydomain.ext > search.domain3.ext CNAME dns.mydomain.ext > > + > > dns.mydomain.ext A 174.129.212.2 (proxy.heroku.com) > > Would this work? -- 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.
DNS question
Hello! I would like to switch from the current DNS configuration: search.domain.ext CNAME proxy.heroku.com to search.domain.ext CNAME dns.mydomain.ext search.domain1.ext CNAME dns.mydomain.ext search.domain2.ext CNAME dns.mydomain.ext search.domain3.ext CNAME dns.mydomain.ext + dns.mydomain.ext A 174.129.212.2 (proxy.heroku.com) Would this work? -- 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.