ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.16k stars 3.01k forks source link

Cannot mount ipfs Error: cannot locate OSXFUSE #4618

Open navinamin opened 6 years ago

navinamin commented 6 years ago

Output From

ipfs mount

Version information:

OS X EI Capitan 10.11.3 (15D21) Protocol Version ipfs/0.1.0

Type:

go/src/github.com/jbenet/go-fuse-version/version_darwin.go:6:11: fatal error: 'fuse/fuse.h' file not found

include <fuse/fuse.h>

      ^

1 error generated. Error: cannot locate OSXFUSE

Severity:

Description:

Cannot mount ipfs

victorb commented 6 years ago

@navinamin take a look at the instructions over at https://github.com/ipfs/go-ipfs/blob/master/docs/fuse.md#mac-osx----osxfuse and see if that fixes the issue.

pirate commented 3 years ago

Also getting this on macOS Big Sur 11.1 with ipfs version 0.7.0-ea77213:

➜ ~/ # ipfs daemon --mount
Initializing daemon...
go-ipfs version: 0.7.0-ea77213
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.9
Swarm listening on /ip4/100.102.221.79/tcp/4001
Swarm listening on /ip4/100.102.221.79/udp/4001/quic
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic
Swarm listening on /ip4/192.168.1.177/tcp/4001
Swarm listening on /ip4/192.168.1.177/udp/4001/quic
Swarm listening on /ip4/192.168.1.199/tcp/4001
Swarm listening on /ip4/192.168.1.199/udp/4001/quic
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic
Swarm listening on /p2p-circuit
Swarm announcing /ip4/100.102.221.79/tcp/4001
Swarm announcing /ip4/100.102.221.79/udp/4001/quic
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic
Swarm announcing /ip4/174.89.249.159/udp/4001/quic
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic
API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
2021-01-29T11:53:08.468-0500    ERROR   node    error mounting: cannot locate OSXFUSE
2021-01-29T11:53:08.469-0500    ERROR   node    error mounting: cannot locate OSXFUSE

Error: cannot locate OSXFUSE

image image

I followed the instructions on that doc without success, it's still saying cannot locate OSXFUSE.

krunkosaurus commented 3 years ago

Note that I encountered same exact issue as @pirate above. Running Mac OS Big Sur 11.4.

I installed the Mac OSX MacFuse installer from https://osxfuse.github.io/ Same error mounting: cannot locate OSXFUSE

I then brew install --cask osxfuse and was prompted to add Benjamin (MacFuse dev) to OS X Security & Privacy approval list. Then a reboot was required.

Then everything worked!

navinamin commented 3 years ago

Ok Thanks

cheapcrapcommunity commented 1 year ago

same issue:

2023-01-01T07:28:21.648Z    ERROR   node    node/mount_unix.go:92   error mounting: cannot locate OSXFUSE
2023-01-01T07:28:21.648Z    ERROR   node    node/mount_unix.go:96   error mounting: cannot locate OSXFUSE

env: macOS Monterey: Version 12.5.1 Chip:Apple M1 Max ipfs version 0.17.0 Kubo version: 0.17.0 Repo version: 12 System version: amd64/darwin Golang version: go1.19.1 fuse version: macFUSE 4.4.1 kernel extension enabled.

when I tried the code as follow to set up as the instruction on this page https://github.com/ipfs/kubo/blob/master/docs/fuse.md#mac-osx----osxfuse

make the directories
sudo mkdir /ipfs
sudo mkdir /ipns

# chown them so ipfs can use them without root permissions
sudo chown <username> /ipfs
sudo chown <username> /ipns

it shows:

mkdir: /ipfs: Read-only file system
mkdir: /ipns: Read-only file system

and

chown: illegal option -- c
usage: chown [-fhnvx] [-R [-H | -L | -P]] owner[:group] file ...
       chown [-fhnvx] [-R [-H | -L | -P]] :group file ...

Is the problem caused by this step?

karawitan commented 1 year ago

Hi,

Seems that "DontCheckOSXFUSE" key does not work as expected on Kubo 0.20.0 (same in previous version):

 🌔 karawitan ipfs config show | grep -i OSX
  "DontCheckOSXFUSE": true,

 🌔 karawitan ipfs mount
Error: cannot locate OSXFUSE

 🌔 karawitan ipfs version --all
Kubo version: 0.20.0
Repo version: 13
System version: arm64/darwin
Golang version: go1.19.8

OS: Ventura 13.3.1 on m1 arm64