maxun icon indicating copy to clipboard operation
maxun copied to clipboard

Can't execute start.sh for maxun-backend

Open KoutaTakeshi opened this issue 1 year ago • 3 comments

Hi! I'm setting up the platform through docker-compose, during executing docker-compose up -d --build, everything seems normal, but after this I found only maxun-backend-1 can't boot up and the error message is as follows: "exec ./start.sh: no such file or directory" How can I fix this issue?

KoutaTakeshi avatar Nov 03 '24 06:11 KoutaTakeshi

@KoutaTakeshi Is your docker cached? Can you clear cache and try? @RohitR311 had the same problem but clearing the cache helped

amhsirak avatar Nov 03 '24 09:11 amhsirak

The error you're seeing is due to start.sh having Windows-style line endings (CRLF) instead of Unix-style (LF). To fix this, you need to convert the line endings to Unix format so the script can run in the Linux-based Docker container.

ergun-acar avatar Nov 03 '24 09:11 ergun-acar

@KoutaTakeshi Hi, we've just removed the start.sh script

  1. Pull the latest changes from the repository and build the docker compose
  2. If the issue persists, remove the container and all volumes associated with it. It might be due to cache - some people reported this

Do let me know if this works

amhsirak avatar Nov 03 '24 10:11 amhsirak

The error you're seeing is due to start.sh having Windows-style line endings (CRLF) instead of Unix-style (LF). To fix this, you need to convert the line endings to Unix format so the script can run in the Linux-based Docker container.

Unfortunately, it doesn't work, but thanks!

KoutaTakeshi avatar Nov 04 '24 02:11 KoutaTakeshi

@KoutaTakeshi Hi, we've just removed the start.sh script

  1. Pull the latest changes from the repository and build the docker compose
  2. If the issue persists, remove the container and all volumes associated with it. It might be due to cache - some people reported this

Do let me know if this works

After pulling the latest changes and rebuild, it can work normally, thanks for your effort!

KoutaTakeshi avatar Nov 04 '24 02:11 KoutaTakeshi