Ratomas / All-the-mods-7-to-the-sky

Docker container for All the Mods 7 to the Sky Minecraft Modpack
0 stars 0 forks source link

Unable to launch with permission denied #1

Open sethmayer opened 10 months ago

sethmayer commented 10 months ago

unraid 12.2.2 docker 20.10.24 ca 2023.11.28

Container fails to start- I've tried on multiple hosts. Same permissions issue. Other new containers have no problems.

  • cd /data
  • [[ true = \f\a\l\s\e ]]
  • echo eula=true /launch.sh: line 8: eula.txt: Permission denied
  • [[ -f server-1.2.3.sh ]]
  • rm -fr config defaultconfigs kubejs libraries mods packmenu 'server-*.sh' server.properties user_jvm_args.txt
  • mv /server/config /server/defaultconfigs /server/kubejs /server/mods /server/packmenu /server/server-1.2.3.sh /server/user_jvm_args.txt /data/ mv: cannot create directory '/data/config': Permission denied mv: cannot create directory '/data/defaultconfigs': Permission denied mv: cannot create directory '/data/kubejs': Permission denied mv: cannot create directory '/data/mods': Permission denied mv: cannot create directory '/data/packmenu': Permission denied mv: cannot create regular file '/data/server-1.2.3.sh': Permission denied mv: cannot create regular file '/data/user_jvm_args.txt': Permission denied
  • [[ -n All the Mods 7 to the Sky v1.2.3 Server Powered by Docker ]]
  • sed -i '/motd\s*=/ c motd=All the Mods 7 to the Sky v1.2.3 Server Powered by Docker' server.properties sed: can't read server.properties: No such file or directory
  • [[ -n world ]]
  • sed -i '/level-name\s*=/ c level-name=world' server.properties sed: can't read server.properties: No such file or directory
  • [[ -n '' ]]
  • [[ -n redacted ]]
  • echo redacted
  • awk -v RS=, '{print}' /launch.sh: line 30: ops.txt: Permission denied
  • ./server-1.2.3.sh /launch.sh: line 33: ./server-1.2.3.sh: No such file or directory

Press ANY KEY to close this window

Ratomas commented 10 months ago

Ok it might take me a day or two, I have seen this before but it has been a year or so. I will load this docker up this afternoon and see if I can replicate this.