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

fix: startup on Debian 10 #1370

Merged
merged 1 commit into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ IPFS Desktop allows you to run your IPFS Node on your machine without having to
- [Contribute](#contribute)
- [Translations](#translations)
- [FAQ](#faq)
- [Troubleshooting](#troubleshooting)

## Features

Expand Down Expand Up @@ -164,6 +165,33 @@ Since we're using [ipfsd-ctl](https://github.com/ipfs/js-ipfsd-ctl), we have our

By default we use the flags `--migrate=true --routing=dhtclient ----enable-gc=true` when running the IPFS daemon. They can be changed via the configuration file, which can be easily accessed as mentioned above.

## Troubleshooting

### Does not start on Linux (Debian 10)

Some Linux users may see an error like this:

> The SUID sandbox helper binary was found, but is not configured correctly.
Rather than run without sandboxing I'm aborting now. You need to make sure that
chrome-sandbox is owned by root and has mode 4755.

or a very short one, when starting in a terminal:

```console
$ ipfs-desktop
$Trace/breakpoint trap
```

This is a known issue with Electron/Chrome and some hardened kernels.
If you are interested in details, read [this](https://github.com/ipfs-shipyard/ipfs-desktop/issues/1362#issuecomment-596857282).

The only reliable way to fix this at the moment is to start the app with additional parameter:

```console
$ ipfs-desktop --no-sandbox
```
Comment on lines +180 to +192
Copy link
Member Author

@lidel lidel Mar 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated troubleshooting section contains a single, clear advice now,
and is aligned with what we do in .desktop manifest.



## License

[MIT Protocol Labs, Inc.](./LICENSE)
2 changes: 2 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ nsis:
linux:
artifactName: ${name}-${version}-${os}-${arch}.${ext}
executableName: ipfs-desktop
executableArgs:
- --no-sandbox
icon: ipfs-desktop
category: Network;FileTransfer;P2P
synopsis: A desktop client for IPFS
Expand Down
Loading