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

[BUG] Server doesn't update properly #282

Open
Pl0uuuf opened this issue Dec 11, 2024 · 15 comments
Open

[BUG] Server doesn't update properly #282

Pl0uuuf opened this issue Dec 11, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@Pl0uuuf
Copy link

Pl0uuuf commented Dec 11, 2024

Describe the bug
We use Geforcenow and they have updated the games to version V1.2 B27.
Since then we are getting an error and cannot connect to the excellent vinanrra docker server :/

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Lunch Game with GeforceNow'
  2. Click on 'Game 7DaysToDie'
  3. Try to connect to your dedicated serveur.
  4. You can see error (cf pj).
    Capture d'écran 2024-12-10 195051

Expected behavior
the version of the docker image is in "INF Version: V 1.1 (b14) Compatibility Version: V 1.1, Build: LinuxServer 64 Bit"

Versions:

  • Docker-compose version 2
  • Docker image version "Version: V 1.1 (b14) Compatibility Version: V 1.1, Build: LinuxServer 64 Bit"

Docker/Docker-compose
version: '
dpkg -l |grep docker
ii docker 1.5-2 all transitional package
ii docker-compose 1.29.2-3 all define and run multi-container Docker applications with YAML
ii docker.io 20.10.24+dfsg1-1+b3 amd64 Linux container runtime
ii python3-docker 5.0.3-1 all Python 3 wrapper to access docker.io's control socket
ii python3-dockerpty 0.4.1-4 all Pseudo-tty handler for docker Python client (Python 3.x)
ii wmdocker 1.5-2 amd64 System tray for KDE3/GNOME2 docklet applications
'
services:
7dtdserver:
image: vinanrra/7dtd-server
container_name: 7dtdserver
environment:
- START_MODE=1 # Change between START MODES
- VERSION=stable # Change between 7 days to die versions
- PUID=1000 # Remember to use same as your user
- PGID=1000 # Remember to use same as your user
- TimeZone=Europe/France # Optional - Change Timezone
- TEST_ALERT=NO # Optional - Send a test alert
- UPDATE_MODS=NO # Optional - This will allow mods to be update on start, each mod also need to have
- XXXX_UPDATE=YES to update on start
- MODS_URLS="" # Optional - Mods urls to install, must be ZIP or RAR.
- ALLOC_FIXES=NO # Optional - Install ALLOC FIXES
- ALLOC_FIXES_UPDATE=NO # Optional - Update Allocs Fixes before server start
- UNDEAD_LEGACY=NO # Optional - Install Undead Legacy mod, if DARKNESS_FALLS it's enable will not install anything
- UNDEAD_LEGACY_VERSION=stable # Optional - Undead Legacy version
- UNDEAD_LEGACY_UPDATE=NO # Optional - Update Undead Legacy mod before server start
- DARKNESS_FALLS=NO # Optional - Install Darkness Falls mod, if UNDEAD_LEGACY it's enable will not install anything
- DARKNESS_FALLS_UPDATE=NO # Optional - Update Darkness Falls mod before server start
- DARKNESS_FALLS_URL=False # Optional - Install the provided Darkness Falls url
- CPM=NO # Optional - CSMM Patron's Mod (CPM)
- CPM_UPDATE=NO # Optional - Update CPM before server start
- BEPINEX=NO # Optional - BepInEx
- BEPINEX_UPDATE=NO # Optional - Update BepInEx before server start
- BACKUP=NO # Optional - Backup server
- BACKUP_HOUR=5 # Optional - Backup hour 0-23
- BACKUP_MAX=7 # Optional - Max backups to keep
- MONITOR=NO # Optional - Keeps server up if crash
volumes:
- /home/xxxxxxxx/7DaysToDie/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/ # 7 Days To Die world saves
- /home/xxxxxxxx/7DaysToDie/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver # LGSM config folder
- /home/xxxxxxxx/7DaysToDie/ServerFiles:/home/sdtdserver/serverfiles/ # Optional - serverfiles folder
- /home/xxxxxxxx/7DaysToDie/log:/home/sdtdserver/log/ # Optional - Logs folder
- /home/xxxxxxxx/7DaysToDie/backups:/home/sdtdserver/lgsm/backup/ # Optional - If BACKUP=NO, backups folder
ports:
- 26900:26900/tcp # Default game ports
- 26900:26900/udp # Default game ports
- 26901:26901/udp # Default game ports
- 26902:26902/udp # Default game ports
- 8080:8080/tcp # OPTIONAL - WEBADMIN
- 8081:8081/tcp # OPTIONAL - TELNET
- 8082:8082/tcp # OPTIONAL - WEBSERVER https://7dtd.illy.bz/wiki/Server%20fixes
restart: unless-stopped # INFO - NEVER USE WITH START_MODE=4 or START_MODE=0

Additional context
we're in trouble man :/

@Pl0uuuf Pl0uuuf added the bug Something isn't working label Dec 11, 2024
@ChsRmb
Copy link

ChsRmb commented Dec 11, 2024

Your local game version is higher than the game server version, you need to update the game server, too

@Pl0uuuf
Copy link
Author

Pl0uuuf commented Dec 11, 2024

Hey Hello @ChsRmb :)
Thank you for your feedback.
do you know the method to do this? I'm totally into it!

@ChsRmb
Copy link

ChsRmb commented Dec 11, 2024

Change the "START_MODE" to 2 or 3 and run the update.
Check the parameters.md for more information

If this does not work, go into the container and update your server directly :)

@kuch3n
Copy link

kuch3n commented Dec 11, 2024

Don't know if it's related, but changing START_MODE doesn't help and running ./sdtdserver update or force-update neither (Error! App '294420' state is 0x486 after update job). Using validate fixed it and server is now up to date

@mooseh
Copy link

mooseh commented Dec 12, 2024

I Exactly the same issue, my server is always set to run in START_MODE=3 yet it didn't apply the update?

I had to manually go into the docker container and run ./sdtdserver force-update

any reason why this would be happening?

@vinanrra
Copy link
Owner

Hi, could anyone paste here the logs using START_MODE=3? Without logs it's going to be hard to check this, because right now I don't have any 7 days to day server up.

@mooseh
Copy link

mooseh commented Dec 13, 2024

sdtdserver.log

here is my docker log, let me know if there is anything else i can do to help

@paul-mccormack
Copy link

Hi, I have the same problem with my server. Same error in the log @mooseh posted. When I try to force the update from within the container I'm getting an error saying "Fail. Do not run as root".

@merlin3of5
Copy link

START_MODE=3 does not update the server and running "./sdtdserver update" results in the below errors. I will try a "validate" and see if that gets it. I will post a follow up if it fixes it for me as well.

sdtdserver@28498cd3e0db:~$ ./sdtdserver force-update
[ WARN ] Updating sdtdserver: sdtdserver will be restarted
fetching GitHub command_stop.sh...OK
[ INFO ] Stopping sdtdserver: Graceful: telnet: DISABLED: Enable in sdtdserver.xml
[ OK ] Stopping sdtdserver: PlatGamers
[ START ] Updating sdtdserver: SteamCMD
Redirecting stderr to '/home/sdtdserver/.local/share/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] Verifying installation...
[ 0%] Downloading Update...
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x586df830/0x0xf7962b'
Complete! Updating sdtdserver: SteamCMD
[ FAIL ] Starting sdtdserver: Could not copy any steamclient.so 64bit for the gameserver
[ OK ] Starting sdtdserver: Applying steamclient.so sdk64 hardlink fix: 7 Days To Die
[ FAIL ] Starting sdtdserver: Could not copy any steamclient.so 32bit for the gameserver
[ OK ] Starting sdtdserver: Applying steamclient.so sdk32 link fix: 7 Days To Die
[ OK ] Starting sdtdserver: PlatGamers
sdtdserver@28498cd3e0db:~$

@merlin3of5
Copy link

@kuch3n , how did you "validate"?

@kccricket
Copy link

@paul-mccormack, you will need to su as the sdtdserver user:

su sdtdserver - /home/sdtdserver/sdtdserver force-update

@merlin3of5, that is a command to pass to steamcmd:

steamcmd +login anonymous +app_update 294420 validate +quit

force-update worked for me, but validate did not help.

Unfortunately, I don't have the container logs, just the script log. It simply states FATAL: Checking remote build. Despite that being a "fatal" error, the script didn't bail out, which is somewhat counter to the idea of a fatal error.
sdtdserver-script-2024-12-14-19_02_45.log

@kccricket
Copy link

Looks like an upstream bug due to a change in steamcmd.

GameServerManagers/LinuxGSM#4713

@vinanrra vinanrra changed the title [BUG] Game Updated by Geforcenow and Vinanrra image not compatible [BUG] Server doesn't update properly Dec 15, 2024
@vinanrra vinanrra pinned this issue Dec 15, 2024
@merlin3of5
Copy link

@kccricket both seem to fail for me. Verified server also did not update.

root@d6ce7e27416b:~# su sdtdserver - /home/sdtdserver/sdtdserver force-update
[ WARN ] Updating sdtdserver: sdtdserver will be restarted
[ INFO ] Stopping sdtdserver: Graceful: telnet: DISABLED: Enable in sdtdserver.xml
[ OK ] Stopping sdtdserver: PlatGamers
[ START ] Updating sdtdserver: SteamCMD
Redirecting stderr to '/home/sdtdserver/.local/share/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] Verifying installation...
[ 0%] Downloading Update...
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x5726c830/0x0xf794ab'
Complete! Updating sdtdserver: SteamCMD
[ FAIL ] Starting sdtdserver: Could not copy any steamclient.so 64bit for the gameserver
[ OK ] Starting sdtdserver: Applying steamclient.so sdk64 hardlink fix: 7 Days To Die
[ FAIL ] Starting sdtdserver: Could not copy any steamclient.so 32bit for the gameserver
[ OK ] Starting sdtdserver: Applying steamclient.so sdk32 link fix: 7 Days To Die
[ OK ] Starting sdtdserver: PlatGamers
root@d6ce7e27416b:~# steamcmd +login anonymous +app_update 294420 validate +quit
Redirecting stderr to '/home/sdtdserver/.local/share/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] Verifying installation...
[ 0%] Downloading Update...
[ 0%] Checking for available update...
KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 15]

../tier1/KeyValues.cpp (2925) : Assertion Failed: Error while parsing text KeyValues for resource manifest
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x5773d830/0x0xf7928b'
root@d6ce7e27416b:~#

@kccricket
Copy link

@merlin3of5

That appears to be unrelated to the issue reported in this thread. See the following issues in the LinuxGSM repo:
https://github.com/search?q=repo%3AGameServerManagers%2FLinuxGSM+doctype&type=issues

Use whatever means necessary to ensure that steamcmd is up to date. I recommend not talking about your DOCTYPE error in this thread.

@vinanrra
Copy link
Owner

vinanrra commented Jan 9, 2025

@Pl0uuuf @kccricket @merlin3of5

Could you check the new tag 0.8.0? and confirm the fix.

@vinanrra vinanrra pinned this issue Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants