Closed GuguguBear closed 4 weeks ago
root@debian:~# ldd --version
ldd (Debian GLIBC 2.31-13+deb11u10) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
root@debian:~#
请问这情况我需要怎么解决呀?
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
sudo systemctl status docker
docker run -d --name pst \
-p 8080:8080 \
-v /home/palserver/PalServer/Pal/Saved/SaveGames/0/3FEC52C3D5678256BA6D51F6BC161E01/:/game \
-v /home/backups:/app/backups \
-e WEB__PASSWORD="你的网站密码" \
-e RCON__ADDRESS="你的服务器IP:25575" \
-e RCON__PASSWORD="你的管理员密码" \
-e REST__ADDRESS="http://你的服务器IP:8212" \
-e REST__PASSWORD="你的管理员密码" \
-e SAVE__PATH="/game" \
-e SAVE__SYNC_INTERVAL=120 \
jokerwho/palworld-server-tool:latest
docker stop pst
docker rm pst
docker pull jokerwho/palworld-server-tool:latest
docker run -d --name pst \
-p 8080:8080 \
-v /home/palserver/PalServer/Pal/Saved/SaveGames/0/3FEC52C3D5678256BA6D51F6BC161E01/:/game \
-v /home/backups:/app/backups \
-e WEB__PASSWORD="你的网站密码" \
-e RCON__ADDRESS="你的服务器IP:25575" \
-e RCON__PASSWORD="你的管理员密码" \
-e REST__ADDRESS="http://你的服务器IP:8212" \
-e REST__PASSWORD="你的管理员密码" \
-e SAVE__PATH="/game" \
-e SAVE__SYNC_INTERVAL=120 \
jokerwho/palworld-server-tool:latest
此前使用的是阿里云的计算巢服务器,默认linux版本是Ubuntu 20.04
,经过对ubuntu系统的升级,不再报错glibc版本问题了
# ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
但是现在报另一个问题,页面依旧不显示物品等
[SAV-CLI] 2024/06/27 - 19:35:20 | INFO | Converting...
[SAV-CLI] 2024/06/27 - 19:35:21 | INFO | Structuring players...
Traceback (most recent call last):
File "sav_cli.py", line 37, in <module>
File "structurer.py", line 217, in structure_player
File "structurer.py", line 370, in getPlayerItems
KeyError: 'inventoryInfo'
[1300] Failed to execute script 'sav_cli' due to unhandled exception!
2024/06/27 - 19:35:23 | ERROR | task/task.go:145 | error waiting for command: exit status 1
2024/06/27 - 19:35:23 | INFO | task/task.go:147 | Sav sync done
我也是遇到相同的问题
2024/06/28 - 07:38:36 | INFO | task/task.go:41 | Auto backup to 2024-06-28-07-38-35.zip
[SAV-CLI] 2024/06/28 - 07:38:38 | INFO | Structuring players...
Traceback (most recent call last):
File "sav_cli.py", line 37, in <module>
File "structurer.py", line 217, in structure_player
File "structurer.py", line 370, in getPlayerItems
KeyError: 'inventoryInfo'
[23] Failed to execute script 'sav_cli' due to unhandled exception!
2024/06/28 - 07:38:40 | ERROR | task/task.go:145 | error waiting for command: exit status 1
2024/06/28 - 07:38:40 | INFO | task/task.go:147 | Sav sync done
已经提交兼容pr 并且合进了主分支 #210 重新拉主分支代码自行编译为docker镜像后运行即可
主要错误:
表现:
网页中玩家身上物品不显示,公会不显示。