Coder Social home page Coder Social logo

Comments (12)

Saik0Shinigami avatar Saik0Shinigami commented on July 16, 2024 1

If you're running the default docker-compose.yaml you either need to comment out the build and context lines, or git pull the whole repo and comment out the image.

The failed to open error was fixed for me by running the chown command.

from palworld-docker.

limitcool avatar limitcool commented on July 16, 2024

I encountered the same error.

from palworld-docker.

KagurazakaNyaa avatar KagurazakaNyaa commented on July 16, 2024

Did you build the image yourself or pull it?
Can I see the docker-compose.yml you are using?

from palworld-docker.

putrarifin avatar putrarifin commented on July 16, 2024

iam using default in your repo. no changes.

from palworld-docker.

limitcool avatar limitcool commented on July 16, 2024

I executed docker-compose up directly.
This is my docker-compose configuration file.

version: '3.9'

services:
  dedicated-server:
    image: kagurazakanyaa/palworld:latest
    build:
      context: .
    restart: unless-stopped
    network_mode: bridge
    ports:
      - 8211:8211/udp
    environment:
      - GAME_PORT=8211
      - MAX_PLAYERS=32
      - ENABLE_MULTITHREAD=true
      - IS_PUBLIC=false
      - PUBLIC_IP=
      - PUBLIC_PORT=
      - FORCE_UPDATE=false
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data:/opt/palworld/Pal/Saved

This is my error log

[----] Cleaning up...
[----] Update complete, launching Steamcmd...
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.
tid(23) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
/tmp/dumps insufficient permissions - delete and recreate
[  0%] Checking for available updates...
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.
tid(35) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '2394010' state is 0x202 after update job.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.
The command '/bin/sh -c /home/steam/steamcmd/steamcmd.sh +force_install_dir "/opt/palworld" +login anonymous +app_update 2394010 validate +quit' returned a non-zero code: 8
ERROR: Service 'dedicated-server' failed to build : Build failed

from palworld-docker.

flamefox avatar flamefox commented on July 16, 2024

I get a error of /docker-entrypoint.sh: line 4: steamcmd: command not found when set FORCE_UPDATE=true

from palworld-docker.

limitcool avatar limitcool commented on July 16, 2024

If you're running the default docker-compose.yaml you either need to comment out the build and context lines, or git pull the whole repo and comment out the image.

The failed to open error was fixed for me by running the chown command.

Thank you for your help. I have solved the problem.

from palworld-docker.

limitcool avatar limitcool commented on July 16, 2024

But I encountered a new error.

dedicated-server_1  | sh: 1: xdg-user-dir: not found
dedicated-server_1  | [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
dedicated-server_1  | Shutdown handler: initalize.
dedicated-server_1  | - Existing per-process limit (soft=1048576, hard=1048576) is enough for us (need only 1048576)
dedicated-server_1  | Increasing per-process limit of core file size to infinity.
dedicated-server_1  | - Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
dedicated-server_1  | CAppInfoCacheReadFromDiskThread took 56 milliseconds to initialize
dedicated-server_1  | Setting breakpad minidump AppID = 2394010
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
dedicated-server_1  | LowLevelFatalError [File:G:/works/repos/Pal_SVN/Pal-UE-App/Source/Pal/PalSaveGameManager.cpp] [Line: 359]
dedicated-server_1  | Failed save to backup.
dedicated-server_1  | Signal 11 caught.
dedicated-server_1  | Malloc Size=262146 LargeMemoryPoolOffset=262162
dedicated-server_1  | dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
dedicated-server_1  | CommonUnixCrashHandler: Signal=11
dedicated-server_1  | Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
dedicated-server_1  | Segmentation fault (core dumped)

from palworld-docker.

putrarifin avatar putrarifin commented on July 16, 2024

But I encountered a new error.

dedicated-server_1  | sh: 1: xdg-user-dir: not found
dedicated-server_1  | [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
dedicated-server_1  | Shutdown handler: initalize.
dedicated-server_1  | - Existing per-process limit (soft=1048576, hard=1048576) is enough for us (need only 1048576)
dedicated-server_1  | Increasing per-process limit of core file size to infinity.
dedicated-server_1  | - Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
dedicated-server_1  | CAppInfoCacheReadFromDiskThread took 56 milliseconds to initialize
dedicated-server_1  | Setting breakpad minidump AppID = 2394010
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
dedicated-server_1  | [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
dedicated-server_1  | LowLevelFatalError [File:G:/works/repos/Pal_SVN/Pal-UE-App/Source/Pal/PalSaveGameManager.cpp] [Line: 359]
dedicated-server_1  | Failed save to backup.
dedicated-server_1  | Signal 11 caught.
dedicated-server_1  | Malloc Size=262146 LargeMemoryPoolOffset=262162
dedicated-server_1  | dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
dedicated-server_1  | CommonUnixCrashHandler: Signal=11
dedicated-server_1  | Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
dedicated-server_1  | Segmentation fault (core dumped)

yeah i got this error to.

from palworld-docker.

putrarifin avatar putrarifin commented on July 16, 2024

here my docker compose yml:

version: '3.9'

services:
dedicated-server:
image: kagurazakanyaa/palworld:latest
restart: unless-stopped
network_mode: bridge
ports:
- 8211:8211/udp
environment:
- GAME_PORT=8211
- MAX_PLAYERS=32
- ENABLE_MULTITHREAD=true
- IS_PUBLIC=false
- PUBLIC_IP=
- PUBLIC_PORT=
- FORCE_UPDATE=false
volumes:
- /etc/localtime:/etc/localtime:ro
- ./data:/opt/palworld/Pal/Saved

from palworld-docker.

KagurazakaNyaa avatar KagurazakaNyaa commented on July 16, 2024

After testing, it was found that this problem can be reproduced in owners who do not handle volume mounts correctly.
steamservice.so seems to be called when submitting an error report to steam. There seems to be no available library in the cm2network/steamcmd:steam image, and it does not seem to be needed for normal use.
What needs to be done to fix this problem is to execute chown -R 1000:1000 <your volume mount path> on the host machine.
I will research and automate this, but it will take time.

from palworld-docker.

KagurazakaNyaa avatar KagurazakaNyaa commented on July 16, 2024

I will close this issue. If this problem still occurs after modifying the permissions and owners, you are welcome to reopen it or open a new issue.

from palworld-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.