为什么worldserver和authserver启动失败?简单重启脚本错误

问题描述

我正在按照 docker 说明进行安装,并且已经开始运行容器。我收到以下错误行

ac-authserver_1     | Deno version check:
ac-worldserver_1    | Deno version check:
ac-authserver_1     | Version 1.9.1 is already installed
ac-worldserver_1    | Version 1.9.1 is already installed
ac-worldserver_1    | Running worldserver ...
ac-authserver_1     | Running authserver ...
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 2: $'\r': command not found
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 2: $'\r': command not found
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 6: $'\r': command not found
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 6: $'\r': command not found
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 10: $'\r': command not found
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 10: $'\r': command not found
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 12: $'\r': command not found
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 12: $'\r': command not found
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 15: $'\r': command not found
ac-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 56: Syntax error near unexpected token `$'\r''
'c-worldserver_1    | /azerothcore/apps/startup-scripts/simple-restarter: line 56: `    ((_restart_count++))
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 15: $'\r': command not found
ac-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 56: Syntax error near unexpected token `$'\r''
'c-authserver_1     | /azerothcore/apps/startup-scripts/simple-restarter: line 56: `    ((_restart_count++))
azerothcore-wotlk_ac-worldserver_1 exited with code 2
azerothcore-wotlk_ac-authserver_1 exited with code 2

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)