Git Product home page Git Product logo

heroku-taps's Introduction

heroku-taps

A plugin containing taps (db:push and db:pull) functionality for the Heroku CLI.

Installation

$ heroku plugins:install https://github.com/heroku/heroku-taps.git

Usage

For usage see:

$ heroku help db

heroku-taps's People

Contributors

geemus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

menuitem sael-you

heroku-taps's Issues

Heroku Taps Server giving 404 Error

Hi there!

heroku db:push and db:pull stopped working all of a sudden (as of Sept 25th).

This is what happens:

$ heroku db:push
Loaded Taps v0.3.24
Auto-detected local database: sqlite://db/development.sqlite3
Warning: Data in the app 'stormy-earth-9119' will be overwritten and will not be recoverable.
Sending schema
Schema:          0% |                                                                       | ETA:  --:--:--
Saving session to push_201209260012.dat..
!!! Caught Server Exception
HTTP CODE: 404
$

Nothing has changed in my setup, so I was surprised that it suddenly broke like that. I hadn't updated the heroku toolbelt in a while, so checked if the update would solve the problem, but no luck

It seems like something on server-side.

Here's another person experiencing the same problem from earlier today: http://stackoverflow.com/questions/12591322/404-error-on-heroku-dbpush

Is there any debug info I can give you?

heroku db:pull error with ruby 2.0

When I use ruby 2.0.0-p195 with rvm and taps-0.3.24.gem
I get the following error running heroku db:pull --app my-app sqlite://production.sqlite

Failed to connect to database:
  Sequel::DatabaseConnectionError -> TypeError: wrong argument type nil (expected Hash)

Switching to ruby 1.9.3 resolved this issue. You should fix it for ruby 2.0

Installation typo

heroku plugins:install https://github.com:heroku/heroku-taps.git

should be

heroku plugins:install https://github.com/heroku/heroku-taps.git

(the path needs a forward slash instead of a semi-colon)

Cannot install on Ubuntu

me@n50:~/dev/app$ heroku plugins:install https://github.com/heroku/heroku-taps.git
Installing heroku-taps... failed
! Unable to load plugin heroku-taps.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       cannot load such file -- heroku/command/db (LoadError)
Backtrace:   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
             /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
             /home/clyfe/.heroku/plugins/heroku-taps/init.rb:5:in `<top (required)>'
             /usr/local/heroku/lib/heroku/plugin.rb:70:in `load'
             /usr/local/heroku/lib/heroku/plugin.rb:70:in `load_plugin'
             /usr/local/heroku/lib/heroku/command/plugins.rb:46:in `block in install'
             /usr/local/heroku/lib/heroku/helpers.rb:236:in `action'
             /usr/local/heroku/lib/heroku/command/plugins.rb:44:in `install'
             /usr/local/heroku/lib/heroku/command.rb:213:in `run'
             /usr/local/heroku/lib/heroku/cli.rb:28:in `start'
             /usr/local/heroku/bin/heroku:25:in `<main>'

Command:     heroku plugins:install https://github.com/heroku/heroku-taps.git
Plugins:     heroku-taps
Version:     heroku-toolbelt/3.0.1 (x86_64-linux) ruby/1.9.3

Does not work with heroku toolbelt

03:25 PM ~/projects/wecora (develop) => heroku db:push
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       uninitialized constant Heroku::API (NameError)
Backtrace:   /Users/jlippiner/.heroku/client/lib/heroku/command.rb:214:in `rescue in run'
             /Users/jlippiner/.heroku/client/lib/heroku/command.rb:260:in `run'
             /Users/jlippiner/.heroku/client/lib/heroku/cli.rb:28:in `start'
             /usr/bin/heroku:24:in `<main>'

Command:     heroku db:push
Plugins:     heroku-taps
Version:     heroku-toolbelt/2.34.0 (x86_64-darwin10.8.0) ruby/1.9.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.