Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Heroku Toolbelt v4 failing in Raspberry Pi #96

Closed
gugol2 opened this issue Oct 16, 2015 · 25 comments
Closed

Installing Heroku Toolbelt v4 failing in Raspberry Pi #96

gugol2 opened this issue Oct 16, 2015 · 25 comments

Comments

@gugol2
Copy link

gugol2 commented Oct 16, 2015

I had the heroku-toolbelt installed on my raspberry pi. With the new v4 release of the heroku-toolbelt it started to fail and I had to reinstall it:

wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
Now when checking the installation it looks heroku is under the right path:

$ which heroku /usr/local/heroku/bin/heroku
But when running any heroku commands it tries to update itself and fails:

$ heroku --version
Installing Heroku Toolbelt v4... done.
For more information on Toolbelt v4: https://github.com/heroku/heroku-cli
Illegal instruction
Illegal instruction
! error getting commands pid 3275 exit 132

Note: I am under Raspbian GNU/Linux 7 (wheezy)

@jdx
Copy link
Contributor

jdx commented Oct 29, 2015

I'm waiting on a raspberry pi to test this myself. May take another week or so for it to arrive.

@jdx
Copy link
Contributor

jdx commented Nov 25, 2015

mind testing? this should be resolved.

@jdx jdx closed this as completed Nov 30, 2015
@gugol2
Copy link
Author

gugol2 commented Dec 7, 2015

Now the error shown is different:

$ heroku login
heroku-cli: Installing Toolbelt v4... done
For more information on Toolbelt v4: https://github.com/heroku/heroku-cli
heroku-cli: Adding dependencies... done
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/pi/.heroku/error.log for more information.

 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/pi/.heroku/error.log for more information.

 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
Enter your Heroku credentials.
Email:

/home/pi/.heroku/error.log does not help much:

2015/12/07 10:38:14 running heroku-cli/4.27.8-2294739 (arm-linux) go1.5.1 from /home/pi/.heroku/heroku-cli
2015/12/07 10:38:16 heroku-cli: Adding dependencies...
2015/12/07 10:39:16  done
2015/12/07 10:39:16 heroku-cli: Installing core plugins...
2015/12/07 10:39:17 Error reading plugin: heroku-cli-addons. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-apps. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-fork. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-git. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-local. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-run. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17 Error reading plugin: heroku-status. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:17 signal: segmentation fault

2015/12/07 10:39:17
2015/12/07 10:39:17  <E2><96><B8>    Error installing package.
 <E2><96><B8>
 <E2><96><B8>    Try running again with GODE_DEBUG=info to see more output.
2015/12/07 10:39:17 running heroku-cli/4.27.8-2294739 (arm-linux) go1.5.1 from /home/pi/.heroku/heroku-cli
2015/12/07 10:39:18 heroku-cli: Installing core plugins...
2015/12/07 10:39:18 Error reading plugin: heroku-cli-addons. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-apps. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-fork. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-git. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-local. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-run. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18 Error reading plugin: heroku-status. See /home/pi/.heroku/error.log for more information.
2015/12/07 10:39:18 signal: segmentation fault

2015/12/07 10:39:18
2015/12/07 10:39:18  <E2><96><B8>    Error installing package.
 <E2><96><B8>
 <E2><96><B8>    Try running again with GODE_DEBUG=info to see more output.
2015/12/07 10:39:18 running heroku-cli/4.27.8-2294739 (arm-linux) go1.5.1 from /home/pi/.heroku/heroku-cli
2015/12/07 10:39:18 Email:

Info:

  • I purged the installation of heroku and heroku-toolbelt first following this instructions and also update&upgrade my distro before installing the Debian/Ubuntu heroku toolbelt.
  • My distro:
    PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
    NAME="Raspbian GNU/Linux"
    VERSION_ID="7"
    VERSION="7 (wheezy)"
    ID=raspbian
    ID_LIKE=debian

@AndrewKvalheim
Copy link

I can confirm this result on a Raspberry Pi 1 Model B.

@dkasak
Copy link

dkasak commented Dec 21, 2015

The same thing (the new error) happens for me on Arch x86_64.

@jdx
Copy link
Contributor

jdx commented Dec 21, 2015

I wish I had more insight into this one. If you run it with HEROKU_DEBUG=1 does it show more information?

@jdx jdx reopened this Dec 21, 2015
@maxcanna
Copy link

Here's the output you requested. Hope to help.

maxcanna@maspberry ~ $ HEROKU_DEBUG=1 heroku
running heroku-cli/4.27.9-cce0260 (arm-linux) go1.5.2 from /home/maxcanna/.heroku/heroku-cli
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/maxcanna/.heroku/error.log for more information.                                           Error reading plugin: heroku-apps. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/maxcanna/.heroku/error.log for more information.                           Error reading plugin: heroku-git. See /home/maxcanna/.heroku/error.log for more information.                            Error reading plugin: heroku-local. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/maxcanna/.heroku/error.log for more information.

 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:118 (0x1a350)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:409 (0x1fcc0)
/Users/jdickey/src/github.com/heroku/heroku-cli/command.go:155 (0x24c0c)
/Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:66 (0x11508)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:79 (0x1d390)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/proc.go:111 (0x589b4)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_arm.s:1036 (0x87304)
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/maxcanna/.heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/maxcanna/.heroku/error.log for more information.

 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:118 (0x1a350)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:409 (0x1fcc0)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x1d3a4)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/proc.go:111 (0x589b4)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_arm.s:1036 (0x87304)
Usage: heroku COMMAND [--app APP] [command-specific-options]
Primary help topics, type "heroku help TOPIC" for more details:

  addons    #  manage add-on resources
  apps      #  manage apps (create, destroy)
  auth      #  authentication (login, logout)
  config    #  manage app config vars
  domains   #  manage domains
  logs      #  display logs for an app
  ps        #  manage dynos (dynos, workers)
  releases  #  manage app releases
  run       #  run one-off commands (console, rake)
  sharing   #  manage collaborators on an app

Additional topics:

  2fa         #  manage two-factor authentication settings
  buildpacks  #  manage the buildpack for an app
  certs       #  manage ssl endpoints for an app
  drains      #  display drains for an app
  features    #  manage optional features
  help        #  list commands and display help
  keys        #  manage authentication keys
  labs        #  manage optional features
  login       #  Login with your Heroku credentials.
  members     #  manage membership in organization accounts
  orgs        #  manage organization accounts
  pg          #  manage heroku-postgresql databases
  pgbackups   #  manage backups of heroku postgresql databases
  plugins     #  manage plugins to the heroku gem
  regions     #  list available regions
  stack       #  manage the stack for an app
  twofactor   #  manage two-factor authentication settings
  update      #  update the heroku client
  version     #  display version

maxcanna@maspberry ~ $

@dkasak
Copy link

dkasak commented Dec 23, 2015

Here's mine. I get very similar output:

[dkasak@telperion]% HEROKU_DEBUG=1 heroku
running heroku-cli/4.27.9-cce0260 (amd64-linux) go1.5.2 from /home/dkasak/.heroku/heroku-cli
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/dkasak/.local/share/heroku/error.log for more information.

 ▸    Error installing package. 
 ▸    
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:118 (0x40b622)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:409 (0x411de2)
/Users/jdickey/src/github.com/heroku/heroku-cli/command.go:155 (0x417a86)
/Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:66 (0x4015c8)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:79 (0x40edef)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/proc.go:111 (0x449400)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_amd64.s:1721 (0x4793a1)
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/dkasak/.local/share/heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/dkasak/.local/share/heroku/error.log for more information.

 ▸    Error installing package. 
 ▸    
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:118 (0x40b622)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:409 (0x411de2)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x40ee08)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/proc.go:111 (0x449400)
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_amd64.s:1721 (0x4793a1)
Usage: heroku COMMAND [--app APP] [command-specific-options]

Primary help topics, type "heroku help TOPIC" for more details:

  addons    #  manage add-on resources
  apps      #  manage apps (create, destroy)
  auth      #  authentication (login, logout)
  config    #  manage app config vars
  domains   #  manage domains
  logs      #  display logs for an app
  ps        #  manage dynos (dynos, workers)
  releases  #  manage app releases
  run       #  run one-off commands (console, rake)
  sharing   #  manage collaborators on an app

Additional topics:

  2fa         #  manage two-factor authentication settings
  buildpacks  #  manage the buildpack for an app
  certs       #  manage ssl endpoints for an app
  drains      #  display drains for an app
  features    #  manage optional features
  help        #  list commands and display help
  keys        #  manage authentication keys
  labs        #  manage optional features
  login       #  Login with your Heroku credentials.
  members     #  manage membership in organization accounts
  orgs        #  manage organization accounts
  pg          # 
  pgbackups   #  manage backups of heroku postgresql databases
  plugins     #  manage plugins to the heroku gem
  regions     #  list available regions
  stack       #  manage the stack for an app
  twofactor   #  manage two-factor authentication settings
  update      #  update the heroku client
  version     #  display version

@gugol2
Copy link
Author

gugol2 commented Dec 23, 2015

So is mine:

$ HEROKU_DEBUG=1 heroku
running heroku-cli/4.27.8-2294739 (arm-linux) go1.5.1 from /home/pi/.heroku/heroku-cli
2015/12/23 11:14:24 GET /master/manifest.json HTTP/1.1
Host: cli-assets.heroku.com


Updating Heroku v4 CLI to 4.27.9-cce0260 (master)... 2015/12/23 11:14:26 GET /master/4.27.9-cce0260/linux/arm/heroku-cli.gz HTTP/1.1
Host: cli-assets.heroku.com


done
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli-addons. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-apps. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-fork. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-git. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-local. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-run. See /home/pi/.heroku/error.log for more information.
Error reading plugin: heroku-status. See /home/pi/.heroku/error.log for more information.

 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:118 (0x1a350)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:409 (0x1fc84)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x1d270)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc.go:111 (0x58628)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_arm.s:1036 (0x86d44)
Usage: heroku COMMAND [--app APP] [command-specific-options]

Primary help topics, type "heroku help TOPIC" for more details:

  addons    #  manage add-on resources
  apps      #  manage apps (create, destroy)
  auth      #  authentication (login, logout)
  config    #  manage app config vars
  domains   #  manage domains
  logs      #  display logs for an app
  ps        #  manage dynos (dynos, workers)
  releases  #  manage app releases
  run       #  run one-off commands (console, rake)
  sharing   #  manage collaborators on an app

Additional topics:

  2fa         #  manage two-factor authentication settings
  buildpacks  #  manage the buildpack for an app
  certs       #  manage ssl endpoints for an app
  drains      #  display drains for an app
  features    #  manage optional features
  help        #  list commands and display help
  keys        #  manage authentication keys
  labs        #  manage optional features
  login       #  Login with your Heroku credentials.
  members     #  manage membership in organization accounts
  orgs        #  manage organization accounts
  pg          #
  pgbackups   #  manage backups of heroku postgresql databases
  plugins     #  manage plugins to the heroku gem
  regions     #  list available regions
  stack       #  manage the stack for an app
  twofactor   #  manage two-factor authentication settings
  update      #  update the heroku client
  version     #  display version

@marclennox
Copy link

Anyone figure out how to get past this issue?

@gglanzani
Copy link

Having this problem as well. Output similar to above

@jprockbelly
Copy link

Slightly different output for me

 $ HEROKU_DEBUG=1 heroku
running heroku-cli/4.27.14-a663ce1 (arm-linux) go1.5.3 from /home/pi/.heroku/heroku-cli
heroku-cli: Installing core plugins...
 ▸
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:364 (0x20014)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:81 (0x1d9d4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)

 ▸    signal: segmentation fault
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:365 (0x2003c)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:81 (0x1d9d4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)
heroku-cli: Installing core plugins (retrying)...
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:152 (0x1ae00)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:367 (0x20120)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:81 (0x1d9d4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)
running heroku-cli/4.27.14-a663ce1 (arm-linux) go1.5.3 from /home/pi/.heroku/heroku-cli
heroku-cli: Installing core plugins...
 ▸
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:364 (0x20014)
/Users/jdickey/src/github.com/heroku/heroku-cli/command.go:160 (0x25530)
/Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 (0x11528)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x1d9c0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)

 ▸    signal: segmentation fault
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:365 (0x2003c)
/Users/jdickey/src/github.com/heroku/heroku-cli/command.go:160 (0x25530)
/Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 (0x11528)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x1d9c0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)
heroku-cli: Installing core plugins (retrying)...
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:122 (0x1a938)
/Users/jdickey/src/github.com/heroku/heroku-cli/io.go:152 (0x1ae00)
/Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:367 (0x20120)
/Users/jdickey/src/github.com/heroku/heroku-cli/command.go:160 (0x25530)
/Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 (0x11528)
/Users/jdickey/src/github.com/heroku/heroku-cli/main.go:80 (0x1d9c0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 (0x591b4)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_arm.s:1036 (0x87b04)
 !    error getting commands pid 3158 exit 1

@jdx
Copy link
Contributor

jdx commented Jan 20, 2016

I did improve the debugging here a bit. I still don't know what's causing the segmentation fault though. It might be because I updated the version of node.js it uses under the hood.

I don't have access to a raspberry pi right now either. I tried to get an emulator setup but wasn't successful. Until I can get on that environment again, could someone try to see if the node binaries here work on ARM? https://nodejs.org/en/download/stable/

@maxcanna
Copy link

Hi, I can confirm that those binaries work correctly on ARM

@jdx
Copy link
Contributor

jdx commented Mar 31, 2016

Following up on this, had a chance to test on a new raspberry pi and I didn't see this issue.

Is anyone still experiencing this?

@rohalla2
Copy link

rohalla2 commented Apr 6, 2016

@dickeyxxx I'm still unable to install the toolbelt. My error has been different from others in this thread, though, so it's possibly unrelated

Heroku CLI submits usage information back to Heroku. If you would like to disable this, set `skip_analytics: true` in /home/pi/.heroku/config.json
heroku-cli: Installing Toolbelt v4... done
For more information on Toolbelt v4: https://github.com/heroku/heroku-cli
heroku-cli/4.29.1-08b889f (arm-linux) go1.6 /home/pi/.heroku/heroku-cli cmd: version
2016/04/06 17:24:41 GET /master/manifest.json HTTP/1.1
Host: cli-assets.heroku.com


heroku-cli: Adding dependencies...   5.8 MB/5.8 MB8 MB
heroku-cli: Adding dependencies... 2.57 MB/2.57 MB
truncating error log...
cleaning up tmp dirs...
heroku-cli: Installing core plugins...
 ▸
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f4f018, 0x1094e9b8, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:360 +0x1b4
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:95 +0x10c

 ▸    signal: illegal instruction
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f70190, 0x1099ae30, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:361 +0x1dc
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:95 +0x10c
heroku-cli: Installing core plugins (retrying)...
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f4f018, 0x1094eb20, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.ExitIfError(0xb6f4f018, 0x1094eb20, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:161 +0x34
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:363 +0x2c0
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:95 +0x10c
heroku-cli/4.29.1-08b889f (arm-linux) go1.6 /home/pi/.heroku/heroku-cli cmd: commands
heroku-cli: Installing core plugins...
 ▸
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f02018, 0x107267b8, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:360 +0x1b4
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:225 +0x30
main.(*Cli).Run(0x55cd40, 0x1070a300, 0x3, 0x4, 0x0, 0x0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 +0x528
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:94 +0xf8

 ▸    signal: illegal instruction
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f06458, 0x107b6150, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:361 +0x1dc
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:225 +0x30
main.(*Cli).Run(0x55cd40, 0x1070a300, 0x3, 0x4, 0x0, 0x0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 +0x528
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:94 +0xf8
heroku-cli: Installing core plugins (retrying)...
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.PrintError(0xb6f02018, 0x107268f0, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:131 +0x84
main.ExitIfError(0xb6f02018, 0x107268f0, 0x1)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:161 +0x34
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:363 +0x2c0
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:225 +0x30
main.(*Cli).Run(0x55cd40, 0x1070a300, 0x3, 0x4, 0x0, 0x0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:79 +0x528
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:94 +0xf8
 !    error getting commands pid 3018 exit 1

@jdx
Copy link
Contributor

jdx commented Apr 8, 2016

which model are you running @rohalla2?

@rohalla2
Copy link

rohalla2 commented Apr 8, 2016

I'm using a Model B+

@jdx
Copy link
Contributor

jdx commented Apr 10, 2016

I put a lot more debugging in around this. Can you try again with HEROKU_DEBUG and GODE_DEBUG set again?

@rohalla2
Copy link

heroku-cli: Installing Toolbelt v4... done
heroku-cli/4.29.4-6a9494e (arm-linux) go1.6 /home/pi/.heroku/heroku-cli cmd: version
2016/04/10 09:43:49 GET /master/manifest.json HTTP/1.1
Host: cli-assets.heroku.com


heroku-cli: Adding dependencies...   5.8 MB/5.8 MB
heroku-cli: Adding dependencies... 2.57 MB/2.57 MB
heroku-cli: Installing core plugins...2016/04/10 09:48:26 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
2016/04/10 09:48:26 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js list --json --depth=0 --loglevel=info
 !
 ▸
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.WarnIfError(0xb6f0b018, 0x10972c40)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:142 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:376 +0x94
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10741f64)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.Update(0x4498dc, 0x6, 0x3b8228, 0x5)
    /Users/jdickey/src/github.com/heroku/heroku-cli/update.go:66 +0x58
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:97 +0x1c8
 !
 ▸    signal: illegal instruction
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.WarnIfError(0xb6f2ca80, 0x1099cd80)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:142 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:377 +0xb4
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10741f64)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.Update(0x4498dc, 0x6, 0x3b8228, 0x5)
    /Users/jdickey/src/github.com/heroku/heroku-cli/update.go:66 +0x58
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:97 +0x1c8
heroku-cli: Installing core plugins (retrying)...2016/04/10 09:48:26 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
 !
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.ExitIfError(0xb6f0b018, 0x10973558)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:186 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:379 +0x198
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10741f64)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.Update(0x4498dc, 0x6, 0x3b8228, 0x5)
    /Users/jdickey/src/github.com/heroku/heroku-cli/update.go:66 +0x58
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:97 +0x1c8
heroku-cli/4.29.4-6a9494e (arm-linux) go1.6 /home/pi/.heroku/heroku-cli cmd: commands
heroku-cli: Installing core plugins...2016/04/10 09:48:28 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
2016/04/10 09:48:28 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js list --json --depth=0 --loglevel=info
 !
 ▸
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.WarnIfError(0xb6f04018, 0x107267b0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:142 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:376 +0x94
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10739e4c)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:227 +0x30
main.(*Cli).Run(0x560e38, 0x1070a3a0, 0x3, 0x4, 0x5fa00)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:83 +0x524
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:102 +0x124
 !
 ▸    signal: illegal instruction
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.WarnIfError(0xb6f08410, 0x107bcc70)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:142 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:377 +0xb4
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10739e4c)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:227 +0x30
main.(*Cli).Run(0x560e38, 0x1070a3a0, 0x3, 0x4, 0x5fa00)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:83 +0x524
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:102 +0x124
heroku-cli: Installing core plugins (retrying)...2016/04/10 09:48:28 running npm from /home/pi/.heroku: /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
 !
 ▸    Error installing package.
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:24 +0x84
runtime/debug.PrintStack()
    /usr/local/Cellar/go/1.6/libexec/src/runtime/debug/stack.go:16 +0x14
main.ExitIfError(0xb6f04018, 0x10726fa0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:186 +0x1f4
main.SetupBuiltinPlugins.func1()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:379 +0x198
main.action(0x404bf8, 0x23, 0x3b8740, 0x4, 0x10739e4c)
    /Users/jdickey/src/github.com/heroku/heroku-cli/io.go:288 +0x160
main.SetupBuiltinPlugins()
    /Users/jdickey/src/github.com/heroku/heroku-cli/plugins.go:381 +0xd0
main.glob.func1(0x10796200)
    /Users/jdickey/src/github.com/heroku/heroku-cli/command.go:227 +0x30
main.(*Cli).Run(0x560e38, 0x1070a3a0, 0x3, 0x4, 0x5fa00)
    /Users/jdickey/src/github.com/heroku/heroku-cli/cli.go:83 +0x524
main.main()
    /Users/jdickey/src/github.com/heroku/heroku-cli/main.go:102 +0x124
 !    error getting commands pid 2805 exit 1

@jdx
Copy link
Contributor

jdx commented Apr 10, 2016

If you run '/home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info' does it still show the illegal instruction error?

@rohalla2
Copy link

No, all it does is print Illegal Instruction:

$ /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
Illegal instruction

@jdx
Copy link
Contributor

jdx commented Apr 10, 2016

Well we are getting somewhere, seems to be a problem with the precompiled
node. You could try compiling it yourself and putting it into
~/.heroku/node-5.10.1-linux-arm/node
On Sun, Apr 10, 2016 at 12:17 PM Jeff Rohalla notifications@github.com
wrote:

No, all it does is print Illegal Instruction:

$ /home/pi/.heroku/node-5.10.1-linux-arm/node /home/pi/.heroku/npm-3.8.5/cli.js install heroku-apps heroku-cli-addons heroku-fork heroku-git heroku-local heroku-orgs heroku-pipelines heroku-run heroku-spaces heroku-status --loglevel=info
Illegal instruction


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#96 (comment)

@dskrad
Copy link

dskrad commented May 11, 2016

I am running latest raspbian wheezy on a raspberry pi model B. I did not experience the exact same problem, but I was pointed in your direction for help. Here is what I did...hopefully this helps.

Thank you for pointing me in the direction of nodejs not working properly. I went ahead and downloaded the ARMv6 LTS binary from node website (https://nodejs.org/dist/v4.4.4/node-v4.4.4-linux-armv6l.tar.xz) and extracted it. Then I went into the folder containing heroku's node (which is broken on the raspberry pi armv6 model B) and ran the following code:

cd /home/pi/.local/share/heroku/cli/lib
mv node node_broken
ln -s /home/pi/node-v4.4.4-linux-armv6l/bin/node ./node

heroku create ran successfully.
I have not tried any other commands yet, but I am hopeful that they will work.

@jdx
Copy link
Contributor

jdx commented May 11, 2016

I recently changed it to use armv6l, but this hasn't been released yet. It should make this not a problem in the future: 11dfbb6

Gonna close since it seems like this is working, but if anyone is having pi issues, just comment and I'll reopen.

@jdx jdx closed this as completed May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants