vinanrra / Docker-7DaysToDie

7 days to die server using LinuxGSM in Docker with backups, monitor, auto-installable mods and more
GNU General Public License v3.0
236 stars 47 forks source link

[BUG] Problem to update A317 #177

Closed jeffersonmello closed 1 year ago

jeffersonmello commented 1 year ago

I have a problem to update server to new build A317. this is logs bellow

Starting periodic command scheduler cron...done. [ .... ] Updating sdtdserver: [ .... ] Updating sdtdserver: Starting [ INFO ] Updating sdtdserver: Removing logs older than 7 days [ OK ] Updating sdtdserver: Removed 6 log files [ .... ] Updating sdtdserver: SteamCMD [ .... ] Updating sdtdserver: Checking local build: SteamCMD [ OK ] Updating sdtdserver: Checking local build: SteamCMD [ .... ] Updating sdtdserver: Checking remote build: SteamCMD [ FAIL ] Updating sdtdserver: Checking remote build: SteamCMDbranch="-beta latest_experimental" [ .... ] Updating sdtdserver: [ .... ] Updating sdtdserver: SteamCMD [ .... ] Updating sdtdserver: Checking local build: SteamCMD [ OK ] Updating sdtdserver: Checking local build: SteamCMD [ .... ] Updating sdtdserver: Checking remote build: SteamCMD [ FAIL ] Updating sdtdserver: Checking remote build: SteamCMD[INFO] Installing mods after first start [INFO] The server mods have been updated to latest version, if the server crash, check mod compatibilites [INFO] Starting server...

kungfoochris commented 1 year ago

I am experiencing the same issue.

TheFirestormy commented 1 year ago

I am experiencing the same issue.

I'm assuming you are trying to update the server build to B323? Am too having problems as well since I'm trying to update the build from B317 to B323. WindowsTerminal_J5LLfoZGnM

merlin3of5 commented 1 year ago

I was as well. Players could not connect. It would crash at "starting game". I was able to get players in and get the version upgraded by running the docker container fresh. I backed up the below files/folders. Deleted out all of the persistent data. Started the docker container and let it download/install everything fresh. Confirmed I could connect to the newly created server. Then restored the below data. This allowed me to bring my server up to the current version and fix the crash at starting game.

/7dtd/7DaysToDie/ (/home/sdtdserver/.local/share/7DaysToDie/) /7dtd/LGSM-Config/ (/home/sdtdserver/lgsm/config-lgsm/sdtdserver/) /7dtd/ServerFiles/sdtdserver.xml (/home/sdtdserver/serverfiles/sdtdserver.xml) /7dtd/ServerFiles/serverconfig.xml (/home/sdtdserver/serverfiles/serverconfig.xml)

kungfoochris commented 1 year ago

Thanks for the tip @merlin3of5. I will try that after work today and report back if that also fixes my issues.

vinanrra commented 1 year ago

Seems like something have been change and the container isn't able to update, after my exams i will give a check right now the "solution" this

https://github.com/vinanrra/Docker-7DaysToDie/issues/177#issuecomment-1613320067

I know it's a mess, but i need to pass my exams first :P

vinanrra commented 1 year ago

I have done a quick test and i'm able to update the server with START_MODE=3, could anyone share me your docker-compose or docker command used?

@kungfoochris @merlin3of5 @GitFirestorm @jeffersonmello

Edit:

I also have updated the image to Ubuntu 22, don't think this should change anything but maybe???

vinanrra commented 1 year ago

image

TheFirestormy commented 1 year ago

Uh, I just followed the advice from @merlin3of5 and also that the Stable build is now A21 B324. I do need to follow up with a update though since I'm pretty sure it needs to go on the stable build now.