nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Nanobox mounting error on MacOS 10.14

Open Clex1o1 opened this issue 7 years ago • 2 comments
trafficstars

I updated my host to MacOS 10.14. my config:

{
  "provider": "docker-machine",
  "ci-mode": false,
  "ci-sync-verbose": false,
  "mount-type": "native",
  "netfs-mount-opts": "",
  "cpus": 4,
  "ram": 4,
  "disk": 102400,
  "external-network-space": "192.168.99.50/24",
  "docker-machine-network-space": "172.21.0.1/16",
  "native-network-space": "172.20.0.1/16",
  "ssh-key": "default",
  "ssh-encrypted-keys": false,
  "anonymous": false,
  "lock-port": 12345
}

with this setup, i got a read-only file systems. If i switch to mount-type: netfs the error is:

Preparing environment :
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase

Error   : failed to add share open /etc/exports: operation not permitted
Context : failed to setup env mounts -> failed to mount the code share on the provider -> failed to add share

Clex1o1 avatar Oct 01 '18 21:10 Clex1o1

ah okay, my fault. i followed this: https://content.nanobox.io/installing-nanobox-on-macos-high-sierra/ and it works. Maybe make it more recognizable that there is an issue for Mojave and the Fix is on that page.

Okay, nevermind, but the speed is slower under 10.14, is it?

Clex1o1 avatar Oct 02 '18 10:10 Clex1o1

The native mount type is slower than netfs, yes. Until Apple resolves whatever new issues they've introduced in Mojave (they did the same thing with High Sierra, hence the workaround in the post you linked), and netfs starts working again, things will be running slow, yes.

danhunsaker avatar Oct 02 '18 13:10 danhunsaker