kubo icon indicating copy to clipboard operation
kubo copied to clipboard

Cannot mount ipfs Error: cannot locate OSXFUSE

Open navinamin opened this issue 7 years ago • 8 comments

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

navinamin avatar Jan 29 '18 11:01 navinamin

@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.

victorb avatar Jan 29 '18 14:01 victorb

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.

pirate avatar Jan 29 '21 16:01 pirate

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!

krunkosaurus avatar Jun 22 '21 07:06 krunkosaurus

Ok Thanks

navinamin avatar Jun 22 '21 13:06 navinamin

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?

cheapcrapcommunity avatar Jan 01 '23 07:01 cheapcrapcommunity

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

karawitan avatar May 29 '23 14:05 karawitan

Seems to still be a problem with 0.34.1

zacharywhitley avatar Apr 28 '25 23:04 zacharywhitley

..and 0.35.0

zacharywhitley avatar Jun 13 '25 19:06 zacharywhitley