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
A plugin containing taps (db:push and db:pull) functionality for the Heroku CLI.
A plugin containing taps (db:push and db:pull) functionality for the Heroku CLI.
$ heroku plugins:install https://github.com/heroku/heroku-taps.git
For usage see:
$ heroku help db
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?
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
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)
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.