Open nikgreg99 opened 1 year ago
can you please share any logs, errors or output of docker logs misp_web
?
Same problem, web doesn't work:
misp_web exited with code 127
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
Yeah this is stop there
Is the problem still relevant or did you find a fix?
it would we better if the fix will be solved, but i can't find a fix for this. I'm stuck about it
I think "/usr/bin/env: ‘bash\r’: No such file or directory" occurs because the script has wrong line endings (carriage returns + line feeds) instead of Unix-style line endings (line feeds only). The problem is that I had to change the line endings from CRLF to LF for the install.sh because else I can't run it on my windows.
So I think the line endings needs to be fixed.
I saw that theres already a pull request that didn't got merged: https://github.com/MISP/misp-docker/pull/125
Thank you very much. I will try to modify it and I will see. Are you referring to Docher File and which line of the script?
I'm not sure, try changing all files that are used in the installation.
You can also add a .gitattributes with the content .sh text eol=lf
Did it work with windows? If you would use linux it works, i tested it
I don't know if it works with windows, but with Linux I haven't tried anymore.
I am trying to dockerize MISP on an Ubuntu Server 22.04 using this prepared docker file, but at the end of the procedure the web server failed to build. Anyone can help me?