heroku

pgbackups on Heroku not found

我只是一个虾纸丫 提交于 2020-01-02 03:30:17
问题 I have been using pgbackups to capture databases and load them locally but since yesterday, I am getting this message when provisioning the add on for new apps. ! Add-on plan not found. Has pgbackups been disabled for new instances? It still works on apps it was previously integrated with. If it has been deprecated, what is the recommended replacement? 回答1: Heroku have recently made changes. " PG Backups as an add-on has been deprecated. " For new commands, see here: https://devcenter.heroku

The heroku command exists in these Ruby versions?

风流意气都作罢 提交于 2020-01-02 02:52:13
问题 After I updated my Ruby version with rbenv I wasn't able to use the Heroku command-line tool. I got this error: > heroku rbenv: heroku: command not found The `heroku' command exists in these Ruby versions: 2.0.0-p195 Reinstalling the tool belt from toolbelt.heroku.com didn't help. 回答1: I switched to my previous Ruby version 2.0.0p195 and uninstalled the gem 'heroku' rbenv global 2.0.0p195 gem uninstall heroku Then I switched to the latest Ruby version 2.0.0p353 and reinstalled Toolbelt

Using email w/ Heroku and CNAME

一笑奈何 提交于 2020-01-02 02:46:05
问题 I am in the process of setting up MX records on a HEROKU hosted app and am running into issues. I have two CNAME's setup: @ myapp.herokuapp.com www myapp.herokuapp.com Site works fine as setup above. I am now trying to add email support by adding Google Apps MX records. @ ASPMX.L.GOOGLE.COM. MX 10 1800 --as well as four other MX fall backs-- Google Apps is saying it can't read the MX records. Is this because they are conflicting with the @ CNAME record? If so, should I drop that and used the

Django migrations fail in heroku

回眸只為那壹抹淺笑 提交于 2020-01-02 02:19:17
问题 I'm trying to deploy a Django (1.8) app to Heroku, runtime Python 3.4.2. The app runs succesfully (except the fact that tables are not created), but when trying run the syncdb I get the following error: Running `python manage.py syncdb` attached to terminal... up, run.5851 /app/.heroku/python/lib/python3.4/site-packages/django/core/management /commands/syncdb.py:24: RemovedInDjango19Warning: The syncdb command will be removed in Django 1.9 warnings.warn("The syncdb command will be removed in

Heroku logs for Django projects missing errors

老子叫甜甜 提交于 2020-01-02 00:56:14
问题 I'm running a simple Django project on Heroku. It works, but if I get a server error it doesn't give me any details in the logs. This makes errors incredibly hard to deal with. Now I've set up a staging server and it has the same problem - the pages are failing and I don't get any feedback as to why. $ heroku logs ... 2012-08-08T13:55:58+00:00 app[web.1]: Development server is running at http://0.0.0.0:59048/ 2012-08-08T13:55:59+00:00 heroku[web.1]: State changed from starting to up 2012-08

heroku git clone gives fatal: index-pack failed

删除回忆录丶 提交于 2020-01-01 14:51:32
问题 I got a repo on heroku and I can push and clone it from my pc in office (win os). But when I got home I tried to clone it using the same command I did in office: git clone git@heroku.com:xxxxx.git and it gives me: Cloning into 'xxxxx'... remote: Counting objects: 110, done. remote: Compressing objects: 100% (109/109), done. Received disconnect from xx.xx.xx.xx: 10: user closed connection fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed my PC at home is a

Carrierwave and s3 with heroku error undefined method `fog_credentials='

[亡魂溺海] 提交于 2020-01-01 14:23:14
问题 I'm trying to setup carrierwave and s3 with heroku. I'm following the carrierwave docs exactly: https://github.com/jnicklas/carrierwave I've setup a bucket named testbucket in AWS, then I installed fog and created a new initializer with this inside : CarrierWave.configure do |config| config.fog_credentials = { :provider => 'AWS', # required :aws_access_key_id => 'my_key_inside_here', # required :aws_secret_access_key => 'my_secret_access_key_here', # required :region => 'eu-west-1' # optional

NameError: uninitialized constant CarrierWave::Storage::Fog in Heroku Logs

纵饮孤独 提交于 2020-01-01 11:59:06
问题 Hello i just added AWS S3 Bucket to my app. Here is the app error https://dry-atoll-6663.herokuapp.com/ In heroku logs when i $heroku restart this error appears 2015-04-28T09:13:15.009823+00:00 app[web.1]: [3] ! Unable to load application: NameError: uninitialized constant CarrierWave::Storage::Fog My Carrierwave.rb CarrierWave.configure do |config| config.fog_credentials = { # Configuration for Amazon S3 :provider => 'AWS', :aws_access_key_id => ENV['S3_ACCESS_KEY'], :aws_secret_access_key =

How to get shared database url in heroku

∥☆過路亽.° 提交于 2020-01-01 10:13:40
问题 How to get SHARED_DATABASE_URL in heroku.. while am trying to migrate it is asking for SHARED_DATABASE_URL how can i get it.. ?? heroku pg:reset --db SHARED_DATABASE_URL What should i add in the place of SHARED_DATABASE_URL?? am working in ruby on rails could anyone help me on this. 回答1: You can use command: heroku pg:info or just heroku pg to get information about your database. You will get something like this: HEROKU_POSTGRESQL_GRAY_URL (DATABASE_URL) Then run: heroku pg:reset HEROKU

Heroku error message no Cedar-supported app detected

梦想与她 提交于 2020-01-01 10:13:28
问题 So, I am running into more problems with heroku and this rails tutorial. The rails tutorial I am making had me develop a super basic app. They then had me create a bit bucket account. After this they had me create a Heroku account. Now they are asking me to push my origin master to my heroku host. When I do this, I am getting this error message and I cannot figure it out. Anyone have any hints as to how I could solve this? Thanks so much in advance! alopex@alopex-TH55-HD:~/work-space$ git