Skip to content

Commit

Permalink
Fix Ledger docs (#8705)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
garious authored Mar 7, 2020
1 parent a817a7c commit cb28ac3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/src/install-solana.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# Installing Solana

Install the Solana release
[v1.0.0](https://github.com/solana-labs/solana/releases/tag/v1.0.0) on your
[v1.0.5](https://github.com/solana-labs/solana/releases/tag/v1.0.5) on your
machine by running:

```bash
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.0.0/install/solana-install-init.sh | sh -s - 1.0.0
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.0.5/install/solana-install-init.sh | sh -s - 1.0.5
```

If you are connecting to a different testnet, you can replace `1.0.0` with the
If you are connecting to a different testnet, you can replace `1.0.5` with the
release tag matching the software version of your desired testnet, or replace it
with the named channel `stable`, `beta`, or `edge`.

The following output indicates a successful update:

```text
looking for latest release
downloading v1.0.0 installer
downloading v1.0.5 installer
Configuration: /home/solana/.config/solana/install/config.yml
Active release directory: /home/solana/.local/share/solana/install/active_release
* Release version: 1.0.0
* Release URL: https://github.com/solana-labs/solana/releases/download/v1.0.0/solana-release-x86_64-unknown-linux-gnu.tar.bz2
* Release version: 1.0.5
* Release URL: https://github.com/solana-labs/solana/releases/download/v1.0.5/solana-release-x86_64-unknown-linux-gnu.tar.bz2
Update successful
```

Expand Down
28 changes: 26 additions & 2 deletions docs/src/remote-wallet/ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ secure transaction signing.
- [Install the Solana command-line tools](../install-solana.md)
- [Initialize your Ledger Nano S](https://support.ledger.com/hc/en-us/articles/360000613793)
- [Install the latest device firmware](https://support.ledgerwallet.com/hc/en-us/articles/360002731113-Update-Ledger-Nano-S-firmware)
- [Install Ledger Live](https://support.ledger.com/hc/en-us/articles/360006395553/) software on your computer

## Install the Solana App on Ledger Nano S

Expand All @@ -31,10 +30,35 @@ longer be displayed.
5. An installation window appears and your device will display Processing…
6. The app installation is confirmed

### Troubleshooting

If you encounter the following error:

```text
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "ledger-env/lib/python3.7/site-packages/ledgerblue/loadApp.py", line 197, in <module>
dongle = getDongle(args.apdu)
File "ledger-env/lib/python3.7/site-packages/ledgerblue/comm.py", line 216, in getDongle
dev.open_path(hidDevicePath)
File "hid.pyx", line 72, in hid.device.open_path
OSError: open failed
```

To fix, check the following:
1. Ensure your Ledger device is connected to USB
2. Ensure your Ledger device is unlocked and not waiting for you to enter your pin
3. Ensure the Ledger Live application is not open

### Future: Installation once the Solana app is on Ledger Live

- [Install Ledger Live](https://support.ledger.com/hc/en-us/articles/360006395553/) software on your computer

1. Open the Manager in Ledger Live
1. Connect your Ledger device via USB and enter your pin to unlock it
2. Connect your Ledger device via USB and enter your pin to unlock it
3. When prompted, approve the manager on your device
4. Find Solana in the app catalog and click Install
5. An installation window appears and your device will display Processing…
Expand Down

0 comments on commit cb28ac3

Please sign in to comment.