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

Server fails to start after updating Docker to v0.29 #465

Closed
CruiseTian opened this issue Feb 27, 2024 · 8 comments
Closed

Server fails to start after updating Docker to v0.29 #465

CruiseTian opened this issue Feb 27, 2024 · 8 comments
Labels
bug Something isn't working waiting for feedback Waiting until author responds

Comments

@CruiseTian
Copy link

Describe the bug

After updating to the latest version (v0.29) of Docker, the server fails to start. The stderr.txt file in the Steam/log folder shows the following error: src/tier0/threadtools.cpp (3830) : Assertion Failed: Failed to create thread (error 0x1), The complete content in stderr.txt is as follows:

02/28 00:10:26 Init: Installing breakpad exception handler for appid(steam)/version(1705108307)/tid(31)
src/tier0/threadtools.cpp (3830) : Assertion Failed: Failed to create thread (error 0x1)
assert_20240228001026_4.dmp[34]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240228001026_4.dmp
assert_20240228001026_4.dmp[34]: Finished uploading minidump (out-of-process): success = no
assert_20240228001026_4.dmp[34]: error: libcurl.so: cannot open shared object file: No such file or directory
assert_20240228001026_4.dmp[34]: file ''/tmp/dumps/assert_20240228001026_4.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''

To Reproduce

Steps to reproduce the behavior:

  1. Pull the latest image
  2. Backup the old server using docker exec palworld-server backup
  3. Recreate the new container using docker-compose up -d
  4. See error

Expected behavior

Server restart successfully.

Actual behavior

Server can not start and steamcmd get Assertion Failed error

Screenshots

  • container status
    image

  • container log
    image

  • stderr log
    image

OS information

  • OS: Linux debian11 5.10.0-8-amd64 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
  • Palworld Version: 0.1.5.0
  • Docker Image Version: latest(v0.29)

Hardware information

  • CPU: 4 core Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
  • Memory: 12GB

docker-compose.yml contents

version: '3'
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: unless-stopped
      container_name: palworld-server
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
        - 25575:25575/tcp
      environment:
         - TZ=Asia/Shanghai
         - PUID=1000
         - PGID=1000
         - PORT=8211 # Optional but recommended
         - PLAYERS=8 # Optional but recommended
         - MULTITHREADING=true
         - PLAYER_STOMACH_DECREASE_RATE=0.200000
         - PALYER_STAMINA_DECREASE_RATE=0.200000
         - PLAYER_AUTO_HP_REGEN_RATE=2.000000
         - PAL_STOMACH_DECREASE_RATE=0.200000
         - PAL_STAMINA_DECREASE_RATE=0.200000
         - PAL_AUTO_HP_REGEN_RATE=2.000000
         - COLLECTION_OBJECT_RESPAWN_SPEED_RATE=0.500000
         - BASE_CAMP_WORKER_MAXNUM=20
         - PAL_EGG_DEFAULT_HATCHING_TIME=0.000000
         - DEATH_PENALTY="None"
         - WORK_SPEED_RATE=2.000000
         - UPDATE_ON_BOOT=false
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - ADMIN_PASSWORD="********"
         - COMMUNITY=false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         - SERVER_NAME="********"
         - BACKUP_CRON_EXPRESION=0 4 * * *
         - BACKUP_ENABLED=true
         - DELETE_OLD_BACKUPS=true
         - OLD_BACKUP_DAYS=7
         - AUTO_UPDATE_CRON_EXPRESSION=0 */2 * * *
         - AUTO_UPDATE_ENABLED=true
         - AUTO_UPDATE_WARN_MINUTES=15
      volumes:
         - ./palworld:/palworld/

Container/Host Logs

****EXECUTING USERMOD****
usermod: no changes
Server installation not detected.
****Starting Installation****
tid(31) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'

Additional context

My previously used docker image version is v0.24.0, and it works perfect.

@burkewm
Copy link

burkewm commented Feb 27, 2024

Same issue here

@thijsvanloef
Copy link
Owner

If you delete your steamapps folder inside the palworld directory and restart the server, do you still have the same issue?
Please make sure you backup your folder before doing so.

@thijsvanloef thijsvanloef added bug Something isn't working waiting for feedback Waiting until author responds labels Feb 28, 2024
@CruiseTian
Copy link
Author

I executed docker-compose up -d in a brand new folder (without the palworld folder in it) and still have this problem.

@thijsvanloef
Copy link
Owner

I can't seem to reproduce, if you use the thijsvanloef/palworld-server-docker:v0.28.2 image does it work?

@CruiseTian
Copy link
Author

I'm sorry, but the v0.28.2 version doesn't work for me either.

Also, this seems to be a steamcmd issue, because when I tried to install the Palworld game using a steamcmd image, it also showed this error.
image

@CruiseTian
Copy link
Author

I checked out the steamcmd repo and noticed that two weeks ago the latest docker image of steamcmd was upgraded from Debian 11 to Debian 12. After that, I pulled the Debian 11 image provided by steamcmd using docker pull cm2network/steamcmd:steam-bullseye. And I successfully installed, and launched the Palworld server.

Could you please provide an image based on the steamcmd:steam-bullseye version to fix this issue?

@CruiseTian
Copy link
Author

@burkewm If needed, you can temporarily avoid this issue by using the image I just built based on steamcmd:steam-bullseye using docker pull cruisetian/palworld-server-docker:v0.29-bullseye, it works fine for me.

@thijsvanloef
Copy link
Owner

Sadly I am not planning on supporting older versions of debian

@thijsvanloef thijsvanloef closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback Waiting until author responds
Projects
None yet
Development

No branches or pull requests

3 participants