You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database initialization scripts (world.sql, create-anon-role.sh) failed to run when I use docker-compose up -d on Windows.
The error given was /bin/bash^M: bad interpreter: No such file or directory. By changing the line endings for the file create-anon-role.sh to 'LF' instead of 'CRLF' in my editor I was able to fix the problem.
I'm fairly certain this was due to my git config settings, (core.autocrlf = true) but since this is the recommended setting for Windows I thought it might be worth adding a warning in the README for Windows users.
This S.O. was helpful in actually diagnosing the error message. This S.O. is about the core.autocrlf setting on Windows.
The text was updated successfully, but these errors were encountered:
Database initialization scripts (world.sql, create-anon-role.sh) failed to run when I use
docker-compose up -d
on Windows.The error given was
/bin/bash^M: bad interpreter: No such file or directory
. By changing the line endings for the file create-anon-role.sh to 'LF' instead of 'CRLF' in my editor I was able to fix the problem.I'm fairly certain this was due to my git config settings, (
core.autocrlf = true
) but since this is the recommended setting for Windows I thought it might be worth adding a warning in the README for Windows users.This S.O. was helpful in actually diagnosing the error message.
This S.O. is about the
core.autocrlf
setting on Windows.The text was updated successfully, but these errors were encountered: