Giter Site home page Giter Site logo

Comments (10)

nikgreg99 avatar nikgreg99 commented on July 17, 2024 1

I don't know if it works with windows, but with Linux I haven't tried anymore.

from x_old_misp_docker.

netops2devops avatar netops2devops commented on July 17, 2024

can you please share any logs, errors or output of docker logs misp_web?

from x_old_misp_docker.

cryxnet avatar cryxnet commented on July 17, 2024

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

from x_old_misp_docker.

nikgreg99 avatar nikgreg99 commented on July 17, 2024

Yeah this is stop there

from x_old_misp_docker.

cryxnet avatar cryxnet commented on July 17, 2024

Is the problem still relevant or did you find a fix?

from x_old_misp_docker.

nikgreg99 avatar nikgreg99 commented on July 17, 2024

it would we better if the fix will be solved, but i can't find a fix for this. I'm stuck about it

from x_old_misp_docker.

cryxnet avatar cryxnet commented on July 17, 2024

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

from x_old_misp_docker.

nikgreg99 avatar nikgreg99 commented on July 17, 2024

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?

from x_old_misp_docker.

cryxnet avatar cryxnet commented on July 17, 2024

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

from x_old_misp_docker.

cryxnet avatar cryxnet commented on July 17, 2024

Did it work with windows?
If you would use linux it works, i tested it

from x_old_misp_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.