Skip to content

Mac: Known issues

Obligation::TimeoutError

Migrating permissions fails due to Obligation::TimeoutError.

Solution

The problem seems to be ::1 (localhost) in the /etc/hosts file, remove it for now.

Too many open files

Error similar to

Errno::EMFILE: Too many open files

when executing commands, such as migrating all databases or starting the services.

Solution

  1. Increase the global limit for maxfiles

    sudo launchctl limit maxfiles 64000 524288
    
  2. Increase the ulimit, e.g.

    ulimit -n 65000
    

You might want to add the new limit to your .bashrc, .bash_profile, or .zshrc depending on your terminal setup.

Overmind in progress

Error similar to

overmind may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug

when trying to run overmind.

Solution

This error can be fixed by adding the following environment variable to your .bashrc or .zshrc:

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=yes

yarn install prints a warning about an optional dependency

Yarn must succeed successfully in order to build assets. When using a Mac with Apple Silicon without Rosetta, it might print a warning and subsequent commands might fail (even if the warning is not fatal or mentions an optional dependency). In case you experience any issues, use one of the following solutions depending on the warning.

Notice

If you have Rosetta installed, the following solutions will not work. yarn install will run without errors, but also not be successful. The only solution known at this point is removing Rosetta and follow the steps below.