Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After docker deployment is successful, the server cannot be connected and cannot be upgraded #26

Open
jay86cn opened this issue Jul 4, 2024 · 2 comments

Comments

@jay86cn
Copy link

jay86cn commented Jul 4, 2024

The palworld service on my previous docker could not be upgraded, so I deleted the container and image and redeployed it.

But the client still cannot connect to the server, and it shows "Your connection to the host has been interrupted (This is not the original text, it is a translation)"

Execute the following command
sudo docker exec -u 0 -it PalServer bash
/home/steam/steamcmd/steamcmd.sh +force_install_dir "/opt/palworld" +login anonymous +app_update 2394010 validate +quit

root@1b92c1fb4ff9:/opt/palworld# /home/steam/steamcmd/steamcmd.sh +force_install_dir "/opt/palworld" +login anonymous +app_update 2394010 validate +quit
Redirecting stderr to '/root/Steam/logs/stderr.txt'
Logging directory: '/root/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1718904263
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '2394010' (Missing file permissions)

My current game version is the latest, version number is 0.3.2.55495
The docker image I downloaded is also the latest kagurazakanyaa/palworld:latest

Please help me figure out what the problem is, thank you very much !

image
image
image
image

@KagurazakaNyaa
Copy link
Owner

This image uses user steam(uid=1000) for steam operations and game launches. Try docker exec without the -u parameter.
In addition, generally there is no need to manually update the game version in the container. GitHub actions will automatically build the latest version and push it as the latest tag.

@aYin86cn
Copy link

I have since re-downloaded the docker image, which solved the issue and allowed me to access the game, but just now, when palworld was upgraded again, I typed in the command that still triggered the issue.
ERROR! Failed to install app '2394010' (Missing file permissions)

Then I used the method from your tip and after removing the -u 0, surprisingly the upgrade worked.

The game is for my two kids and I sometimes play with them for a while. Thank you very much! Solved the big problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants