jammsen / docker-palworld-dedicated-server

Docker container to easily provision and manage Palworld Dedicated Server
https://hub.docker.com/r/jammsen/palworld-dedicated-server
MIT License
911 stars 158 forks source link

[Bug Report] Missing directories/files #110

Closed CapuUnknown closed 8 months ago

CapuUnknown commented 8 months ago

Have you read the Important information text above

Current behavior

I know this has been a problem on other issues but personally none of the "solutions" helped me as I am not as experienced. . . palworld-dedicated-server | Success! App '2394010' fully installed. palworld-dedicated-server | >>> Starting the gameserver palworld-dedicated-server | >>> Setting up Engine.ini ... palworld-dedicated-server | grep: /palworld/Pal/Saved/Config/LinuxServer/Engine.ini: No such file or directory palworld-dedicated-server | Found no [/Script/OnlineSubsystemUtils.IpNetDriver], adding it palworld-dedicated-server | /servermanager.sh: line 37: /palworld/Pal/Saved/Config/LinuxServer/Engine.ini: No such file or directory palworld-dedicated-server | grep: /palworld/Pal/Saved/Config/LinuxServer/Engine.ini: No such file or directory palworld-dedicated-server | Found no NetServerMaxTickRate parameter, adding it to 120 palworld-dedicated-server | /servermanager.sh: line 44: /palworld/Pal/Saved/Config/LinuxServer/Engine.ini: No such file or directory palworld-dedicated-server | >>> Finished setting up Engine.ini ... palworld-dedicated-server | >>> Setting up PalWorldSettings.ini ... palworld-dedicated-server | Checking if config exists palworld-dedicated-server | No config found, generating one palworld-dedicated-server | mkdir: cannot create directory '/palworld/Pal': Permission denied` . . palworld-dedicated-server | sed: can't read /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini: No such file or directory palworld-dedicated-server | >>> Finished setting up PalWorldSettings.ini ... palworld-dedicated-server | Setting Multi-Core-Enchancements to enabled palworld-dedicated-server | /servermanager.sh: line 329: ./PalServer.sh: No such file or directory

Desired behavior

I expect, that it has to be able to create a directory through mkdir so it can create all the necessary files which it needs permissions for.

Links to screenshots

No response

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Software setup

Hardware setup

Additional context

No response

theneofusion commented 8 months ago

Look at step 1 in the "Getting started"-guide again, are you sure you did that step properly? You have to create the game-folder and set the appropriate permissions, the script will not do that for you.

CapuUnknown commented 8 months ago

I have done everything that's been told there. But seems, that I have more to do than just that.

I'm just gonna ask these things to hopefully clear up everything I wish to know: Can I put the palworld directory where I want? Because I had just simply put it in the /srv/ which already exists to follow the example. Do I have to mkdir /Pal/Saved/Config/LinuxServer/PalWorldSettings.ini all myself? How exactly does the Volumes section in the docker-compose.yml work? Does the docker-compose.yml need to be in a specific place?

I have more questions but hopefully just these could potentially resolve my issues. A step-by-step with direct instructions could also maybe help.

CapuUnknown commented 8 months ago

have got it to work, had to path the volumes in docker-compose.yml correctly