Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad interpreter #61

Open
cartolover opened this issue Sep 6, 2018 · 2 comments
Open

bad interpreter #61

cartolover opened this issue Sep 6, 2018 · 2 comments

Comments

@cartolover
Copy link

bash: /tmp/template_postgis.sh: /bin/bash^M: bad interpreter: No such file or directory
The command '/bin/sh -c service postgresql start && /bin/su postgres -c /tmp/template_postgis.sh && service postgresql stop' returned a non-zero code: 126

but in docker-cartodb i can see the file!

@sverhoeven
Copy link
Owner

The ^M characters are not present in this repo.

Did you do a docker build on a Windows system?

During the git clone or editing the ^M or carriage return characters where added to files, braking the template_postgis.sh file when run in the Linux container.
See https://help.github.com/articles/dealing-with-line-endings/ how to fix so ^M chars are not added.

@cartolover
Copy link
Author

cartolover commented Sep 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants