pelican-eggs / eggs

Service eggs for the pterodactyl panel
MIT License
2.85k stars 2.32k forks source link

[Bug]: Valheim Permission Denied Entrypoint.sh #2183

Closed Pokeylooted closed 1 year ago

Pokeylooted commented 1 year ago

Panel Version

1.10.4

Wings Version

1.10

Service

Valheim BepenEX

Modified

No, I did not modify the egg

Expected Behavior

Start the server and it play

Actual Behavior

Server crashed with Status: Image is up to date for ghcr.io/parkervcp/games:valheim Digest: sha256:e83d1949d020527e3aa95d2207b7ce13849d1313e05e5a420962ad11b5ae0a46 [Pterodactyl Daemon]: Finished pulling Docker container image

/entrypoint.sh: line 2: cd: /home/container: Permission denied
steam user is not set.
Using anonymous user.
/entrypoint.sh: line 24: ./steamcmd/steamcmd.sh: Permission denied
:/home/container$ export DOORSTOP_ENABLE=TRUE; export DOORSTOP_INVOKE_DLL_PATH=./BepInEx/core/BepInEx.Preloader.dll; export DOORSTOP_CORLIB_OVERRIDE_PATH=./unstripped_corlib; export LD_LIBRARY_PATH="./doorstop_libs:$LD_LIBRARY_PATH"; export LD_PRELOAD="libdoorstop_x64.so:$LD_PRELOAD"; export templdpath=$LD_LIBRARY_PATH; export LD_LIBRARY_PATH="./linux64:$LD_LIBRARY_PATH"; export SteamAppId=892970; export LD_LIBRARY_PATH=$templdpath; ./valheim_server.x86_64 -nographics -batchmode -name "${SERVER_NAME}" -port ${SERVER_PORT} -world "${WORLD}" -password "${PASSWORD}" -public ${PUBLIC_SERVER} -saveinterval ${BACKUP_INTERVAL} -backups ${BACKUP_COUNT} -backupshort ${BACKUP_SHORTTIME} -backuplong ${BACKUP_LONGTIME} $( [[ ${ENABLE_CROSSPLAY} -eq 1 ]] && echo " -crossplay ") > >(sed -uE "${CONSOLE_FILTER}") & trap "${STOP}" 15; wait $!
/entrypoint.sh: line 46: ./valheim_server.x86_64: Permission denied

Steps To Reproduce

install server with latest egg Click start

Install logs

https://pteropaste.com/pkiwppsg3pfn

QuintenQVD0 commented 1 year ago

Are you running in Unraid? and what is your kernel?

QuintenQVD0 commented 1 year ago

fixt in the discord. Wings config: check_permissions_on_boot must be true