Broken mods on clustered servers using this chart · Issue #14 · SickHub/ark 您所在的位置:网站首页 steamapi_init Broken mods on clustered servers using this chart · Issue #14 · SickHub/ark

Broken mods on clustered servers using this chart · Issue #14 · SickHub/ark

#Broken mods on clustered servers using this chart · Issue #14 · SickHub/ark| 来源: 网络整理| 查看: 265

I've seen an issue a few times now where a random subset of mods go missing for both servers in a cluster. Originally, I dismissed it. Then I thought about it more and I think it is related to one server updating while the other loads. Both servers complain about the same mods, but one downloads those mods and the other simply continues on without it.

The biggest issue here is that they load without the mods and then everything that used that mod is deleted. This was very problematic the time that s+ went missing as all buildings on the server were nuked. I think have to backtrack through backups to find the last good one. I think the updates need some sort of communication or at the least, the servers need to be staggered for updating/rebooting.

Here is the server that does the updates:

########################################################################### # Ark Server - Mon Aug 8 17:30:27 UTC 2022 ########################################################################### Ensuring correct permissions... Shared server files in /arkserver... Shared clusters files in /arkserver/ShooterGame/Saved/clusters... Cleaning up any leftover arkmanager files... Creating arkmanager.cfg from environment variables... Creating crontab... Starting cron service... * Starting periodic command scheduler cron ...done. Loading crontab... Save file validation is not enabled. [No Backup On Start] ./arkserver.sh: line 149: [: -eq: unary operator expected ./arkserver.sh: line 197: [: -eq: unary operator expected Running command 'start' for instance 'main' [ ERROR ] Mod 1404697612 is requested but not installed. Run 'arkmanager installmod 1404697612' to install this mod. [ ERROR ] Mod 1967741708 is requested but not installed. Run 'arkmanager installmod 1967741708' to install this mod. Checking for updates before starting Checking for update; PID: 56 The server is already stopped Updating mod 1404697612 Mod 1404697612 updated Updating mod 1967741708 Mod 1967741708 updated The server is starting... 2022-08-08 17:31:06: start 2022-08-08 17:31:06: Running /arkserver/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?RCONPort=32330\?SessionName=Minion\ Island\?GameModIds=543394681\,2724167243\,1967741708\,731604991\,1404697612\,2007400172\,2007461356\,2007447056\,2007441758\,2007430597\,2007418454\,2007411835\?MaxPlayers=20\?ServerPVE=True\?QueryPort=27018\?AltSaveDirectoryName=SavedArks\?ServerPassword=[redacted]\?ServerAdminPassword=[redacted]\?RCONEnabled=True\?Port=7870\?listen -AllowFlyerCarryPvE=True -OverrideStructurePlatformPrevention=True -clusterid=[redacted] -DisableStructureDecayPvE=True -ForceAllowCaveFlyers=True -log 2022-08-08 17:31:06: Server PID: 542 [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 346110 2022-08-08 17:33:50: server is up

And here is the other server that doesn't auto update on start.

########################################################################### # Ark Server - Mon Aug 8 17:30:20 UTC 2022 ########################################################################### Ensuring correct permissions... Shared server files in /arkserver... Shared clusters files in /arkserver/ShooterGame/Saved/clusters... Cleaning up any leftover arkmanager files... Creating arkmanager.cfg from environment variables... Creating crontab... Starting cron service... * Starting periodic command scheduler cron ...done. Loading crontab... Save file validation is not enabled. ./arkserver.sh: line 149: [: -eq: unary operator expected [No Backup On Start] ./arkserver.sh: line 197: [: -eq: unary operator expected Running command 'start' for instance 'main' [ ERROR ] Mod 1404697612 is requested but not installed. Run 'arkmanager installmod 1404697612' to install this mod. [ ERROR ] Mod 1967741708 is requested but not installed. Run 'arkmanager installmod 1967741708' to install this mod. The server is starting... 2022-08-08 17:30:29: start 2022-08-08 17:30:30: Running /arkserver/ShooterGame/Binaries/Linux/ShooterGameServer Ragnarok\?RCONPort=32330\?SessionName=Minion\ Ragnarok\?GameModIds=543394681\,2724167243\,1967741708\,731604991\,1404697612\,2007400172\,2007461356\,2007447056\,2007441758\,2007430597\,2007418454\,2007411835\?MaxPlayers=20\?ServerPVE=True\?QueryPort=27017\?AltSaveDirectoryName=SavedArks\?ServerPassword=[redacted]\?ServerAdminPassword=[redacted]\?RCONEnabled=True\?Port=7880\?listen -AllowFlyerCarryPvE=True -OverrideStructurePlatformPrevention=True -clusterid=[redacted] -DisableStructureDecayPvE=True -ForceAllowCaveFlyers=True -log 2022-08-08 17:30:30: Server PID: 89 [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 346110 2022-08-08 17:32:37: server is up

I'm thinking the startup script should include an arkmanager checkmodupdates and compare the return code to 1. If it isn't 1, it should sleep and try again for the non-updating servers. I realize this probably is a fix down in the container level, but you don't allow issues on your container build with the changes necessary for clustering.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有