Closed GyeongdongKim closed 9 months ago
Please do the following to see if the issue persists:
docker stop palworld-server
docker rm palworld-server
docker rmi thijsvanloef/palworld-server-docker
docker compose up -d
Hello, I add env variable and restart the container but I've got : "Failed to connect to RCON serverdial tcp 127.0.0.1:25575: connect: connection refused", do you know why ?
@nizukameha I need some more information about your setup. But as a first troubleshooting step, did you restart the container, or removed the container, repulled the image, and started the server again?
Hello, I add env variable and restart the container but I've got : "Failed to connect to RCON serverdial tcp 127.0.0.1:25575: connect: connection refused", do you know why ?
@nizukameha what helped me was to delete your data directory e.g. ./palworld
and newly create the container from scratch described by @thijsvanloef
Be very careful since this will delete your save files.
If you don't want to do this you can copy ./palworld/DefaultPalWorldSettings.ini
to ./palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
and recreate the container.
Not sure why but I think before the default settings were not copied.
@nizukameha I need some more information about your setup. But as a first troubleshooting step, did you restart the container, or removed the container, repulled the image, and started the server again?
I am using the image trought casaOS (for more context), I only restart the container, I don't removed the container because I'm scared of loosing my world. This is the content of my PalWorldSettings.ini
Edit: After another restart, it finally work :)
I may be wrong but I don't it doesn't look like wget is installed and so it does not download rcon-cli:
root@9c870b1f18bf:/home/steam/server# wget bash: wget: command not found
@nizukameha RCON was added in an updated version of my docker image, if you only restart the container, the new image will not be downloaded and thus, you will not be able to use RCON.
@shulshof if wget is not present in your container, that means you are running an older version of my image. Please update the image:
docker stop palworld-server
docker rm palworld-server
docker rmi thijsvanloef/palworld-server-docker
docker compose up -d
If you mounted the palworld folder to your system, you should not lose any data. However it is always a good idea to backup your savefiles just to be sure.
@GyeongdongKim Is your issue resolved and can I close this issue?
@GyeongdongKim Is your issue resolved and can I close this issue?
Yes, thank you.
Quick, note that I found as well, when you stop the server it will save the currently loaded configuration again to the Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
config again, also the Default Configuration file DefaultPalWorldSettings.ini
does not get loaded from my experience at all and the first config should always be used and only edited while server is stopped.
I deleted and reinstalled the docker container to use RCON, but it didn't work if I type "docker exec -it palworld-server rcon-cli".
Error Message: OCI runtime exec failed: exec failed: unable to start container process: exec: "rcon-cli": executable file not found in $PATH: unknown