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
228 stars 45 forks source link

[BUG] Compiled Docker image failing to initialize server: fetching GitHub core_functions.sh...ERROR fetching Bitbucket core_functions.sh...FAIL #219

Closed brianofrokk3r closed 10 months ago

brianofrokk3r commented 10 months ago

Describe the bug Compiled Docker Image seems linux-gsm on docker image seems to either be out of date (therefore we need a recompiled image) or the linux-gsm server is failing to update.

fetching GitHub core_functions.sh...ERROR
fetching Bitbucket core_functions.sh...FAIL

I believe the root cause of is related to this issue (same exact error except for valheim), so I assume a recompilation of the docker image would fix the issue: https://github.com/GameServerManagers/LinuxGSM/issues/4397

core_functions is out of date and no longer used. You need to upgrade linuxgsm

Separately, I attempted to recompile the image from scratch but having some additional package issues that may not be part of this current issue so I did not cover it here. Will be attempting to recompile later tonight or tomorrow night on my own if I have the time.

To Reproduce Steps to reproduce the behavior:

  1. Clear out docker images and cache.
  2. Run the standard docker-compose up provided by your documentation, it should pull latest image.
  3. Watch server initialization fail with the above error message.

Expected behavior Expect docker-compose up fully execute, and pass the step that connects to Github to pull latest game server, and continue onto server initialization.

Versions:

Docker/Docker-compose Docker Compose commands used docker-compose up docker-compose up -d

Docker Compose file -- on my end the paths are correct, and the server was working as of Monday, and started to fail to communicate with Github and Bitbucket during a restart.

version: '2'
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/Madrid # 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
      - ALLOC_FIXES=NO # Optional - Install ALLOC FIXES
      - ALLOC_FIXES_UPDATE # 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
      - ENZOMBIES=NO # Optional - Install EnZombies mod
      - ENZOMBIES_ADDON_SNUFKIN=NO # Optional - Install EnZombies addon mod
      - ENZOMBIES_ADDON_ROBELOTO=NO # Optional - Install EnZombies addon mod
      - ENZOMBIES_ADDON_NONUDES=NO # Optional - Install EnZombies addon mod
      - ENZOMBIES_UPDATE=NO # Optional - Update EnZombies mod and addons before server start
      - CPM=NO # Optional - CSMM Patron's Mod (CPM)
      - CPM_UPDATE=NO # Optional - Update CPM before server start
      - BACKUP=NO # Optional - Backup server at 5 AM
      - MONITOR=NO # Optional - Keeps server up if crash
    volumes:
      - /path/to/folder/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/
      - /path/to/folder/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver
      - /path/to/folder/ServerFiles:/home/sdtdserver/serverfiles/ # Optional - serverfiles folder
      - /path/to/folder/log:/home/sdtdserver/log/ # Optional - Logs folder
      - /path/to/folder/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
vinanrra commented 10 months ago

I'm going to force the LinuxGSM script to redownload and upload a new version #220

vinanrra commented 10 months ago

I was able to spin up the server and connect it. Closing this as solved.

brianofrokk3r commented 10 months ago

Thank you @vinanrra have a great one