• Indexohmanypanorama_fish_eye
    17 posts
    9 months ago

    I get an error message with the

    docker compose up
    

    comand when I'm trying to install and use misago as dev mod. Here's the error message:

    => ERROR [misago 8/8] RUN ./dev bootstrap_plugins                                                     0.4s 
    ------
     > [misago 8/8] RUN ./dev bootstrap_plugins:
    0.385 /bin/sh: 1: ./dev: not found
    ------
    failed to solve: process "/bin/sh -c ./dev bootstrap_plugins" did not complete successfully: exit code: 127
    

    please can someone help me to figure out what's wrong and how to solve it ?

  • rafalppanorama_fish_eye
    9 months ago

    /bin/sh: 1: ./dev: not found looks like bash script was executed by shell interpreter instead of bash. I would need to reproduce this on my machine first to confirm its an issue.

  • Indexohmanypanorama_fish_eye
    17 posts
    9 months ago

    But I used a Git Bash, not a shell

  • rafalppanorama_fish_eye
    9 months ago

    It's what sh in /bin/sh stands for.

  • Indexohmanypanorama_fish_eye
    17 posts
    9 months ago

    But can you help me on how to go about solving this? I can't connect to the forum server page at all. I'm not used to using docker so I'm a bit unprepared.

    2.png

    PNG, 110.3 KB, uploaded by Indexohmany 9 months ago.

    1.png

    PNG, 167.6 KB, uploaded by Indexohmany 9 months ago.

  • rafalppanorama_fish_eye
    9 months ago
    check_box

    Marked as best answer by rafalp 9 months ago.

    So I've googled it and it looks like this issue is caused by you being on Windows. When you did git clone it replaced line endings from unix ones (LF) to windows ones (CRLF). Those windows line endings are syntax errors within linux containers, causing the error you see.

    You need to disable line endings conversion in your git. I don't have Windows so I am unable to help here, but here's question about it on Reddit.

    Good luck!

  • Indexohmanypanorama_fish_eye
    17 posts
    9 months ago

    Ohh I got the point now. I'll search about how to solve this situation.

    thank you

  • rafalppanorama_fish_eye
    9 months ago

    I will try to make a clean setup of Misago on my Mac to see if installation instruction in readme is still valid just to be sure.

  • rafalppanorama_fish_eye
    9 months ago

    It works and installs for me. But as an experiment I've changed line endings in dev file to windows format and tried another installation. This resulted in exact same error you've got:

    Zrzut ekranu 2024-08-9 o 18.33.32.png

    Zrzut ekranu 2024-08-9 o 18.33.32.png

    PNG, 46.2 KB, uploaded by rafalp 9 months ago.

  • rafalppanorama_fish_eye
    9 months ago
Search
  • Enter search query (at least 3 characters).

Your options