Hello all,
Apologies ahead of time, I'm very new to this, but I learn pretty quickly.
So I was reading through this thread, and quite a few guides for various different servers, but can't get my 7 Days to Die Server to run... hopefully someone smart can help me!
I'm trying to use this GitHub repository in order to create the server.
I've also set up two different datasets for this to use:
/mnt/shawoo/7dtd
/mnt/shawoo/sevendays
I don't care which they use I was testing creating the folder before hands letting the application create them.
-shawoo is my pool
-7dtd I created the folders
-sevendays I let the application try to
Method #1
I was able to get it to successfully run through the shell with no errors using the following docker run command:
I did change the storage path files, PUID, PGID, TimeZone.
Method #2
So when I use the Launch Docker Image option, I set the following;
It starts to deploy, but never succeeds unfortunately.. and I can't access the logs or shell.
Method #3
I could use the vinanrra docker compose file and use the docker compose application in docker instead. This is my modified .yml file but it doesn't deploy either.
The worst part is I haven't even gotten to the point where I could move my current save file onto the server.. since these won't deploy successfully.
Any help is appreciated!
Apologies ahead of time, I'm very new to this, but I learn pretty quickly.
So I was reading through this thread, and quite a few guides for various different servers, but can't get my 7 Days to Die Server to run... hopefully someone smart can help me!
I'm trying to use this GitHub repository in order to create the server.
I've also set up two different datasets for this to use:
/mnt/shawoo/7dtd
/mnt/shawoo/sevendays
I don't care which they use I was testing creating the folder before hands letting the application create them.
-shawoo is my pool
-7dtd I created the folders
-sevendays I let the application try to
Method #1
I was able to get it to successfully run through the shell with no errors using the following docker run command:
Code:
docker run -d \ --name 7dtdserver \ --restart unless-stopped \ -v "/mnt/shawoo/7dtd/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/" \ -v "/mnt/shawoo/7dtd/ServerFiles:/home/sdtdserver/serverfiles/" \ -v "/mnt/shawoo/7dtd/LogFolder:/home/sdtdserver/log/" \ -v "/mnt/shawoo/7dtd/BackupFolder:/home/sdtdserver/lgsm/backup/" \ -v "/mnt/shawoo/7dtd/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver/" \ -p 26900:26900/tcp \ -p 26900:26900/udp \ -p 26901:26901/udp \ -p 26902:26902/udp \ -p 8080:8080/tcp \ -p 8081:8081/tcp \ -p 8082:8082/tcp \ -e START_MODE=1 \ -e VERSION=stable \ -e TEST_ALERT=NO \ -e UPDATE_MODS=NO \ -e ALLOC_FIXES=NO \ -e ALLOC_FIXES_UPDATE=NO \ -e UNDEAD_LEGACY=NO \ -e UNDEAD_LEGACY_VERSION=stable \ -e DARKNESS_FALLS=NO \ -e DARKNESS_FALLS_UPDATE=NO \ -e DARKNESS_FALLS_URL=False \ -e UNDEAD_LEGACY_UPDATE=NO \ -e ENZOMBIES=NO \ -e ENZOMBIES_ADDON_SNUFKIN=NO \ -e ENZOMBIES_ADDON_ROBELOTO=NO \ -e ENZOMBIES_ADDON_NONUDES=NO \ -e ENZOMBIES_UPDATE=NO \ -e CPM=NO \ -e CPM_UPDATE=NO \ -e BEPINEX=NO \ -e BEPINEX_UPDATE=NO \ -e BACKUP=NO \ -e MONITOR=NO \ -e PUID=0 \ -e PGID=0 \ -e TimeZone=US/Central \ vinanrra/7dtd-server
I did change the storage path files, PUID, PGID, TimeZone.
Method #2
So when I use the Launch Docker Image option, I set the following;
Code:
Application Name
Application Name: sdtd
Container Images
Image repository: vinanrra/Docker-7DaysToDie
Image Tag: latest
Image Pull Plocy: Only pull image if not present on host
Container Environmental Variables
Environment Variable Name: START_MODE
Environment Variable Variable: 1
Environment Variable Name: VERSION
Environment Variable Variable: stable
Environment Variable Name: PUID
Environment Variable Variable: 0
Environment Variable Name: PGID
Environment Variable Variable: 0
Environment Variable Name: TimeZone
Environment Variable Variable: US/Central
Port Forwarding
Container Port: 26900
Node Port: 26900
Protocol: TCP Protocol
Container Port: 26900
Node Port: 26900
Protocol: UDP Protocol
Container Port: 8081
Node Port: 9081
Protocol: TCP Protocol
Container Port: 9092
Node Port: 9082
Protocol: TCP Protocol
Storage
Host Path Volumes
Memory Backed Volumes
Volumes
Mount Path: /home/sdtdserver/serverfiles
Dataset Name: serverfiles
Mount Path: /home/sdtdserver/.local/share/7DaysToDie
Dataset Name: mapfiles
Mount Path: /home/sdtdserver/log
Dataset Name: logs
Mount Path: /home/sdtdserver/lgsm/backup
Dataset Name: backups
Mount Path: /home/sdtdserver/lgsm/config-lgsm/sdtdserver
Dataset Name: alertsIt starts to deploy, but never succeeds unfortunately.. and I can't access the logs or shell.
Method #3
I could use the vinanrra docker compose file and use the docker compose application in docker instead. This is my modified .yml file but it doesn't deploy either.
Code:
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=0 # Remember to use same as your user
- PGID=0 # Remember to use same as your user
- TimeZone=US/Central # 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
- BEPINEX=NO # Optional - BepInEx
- BEPINEX_UPDATE=NO # Optional - Update BepInEx before server start
- BACKUP=NO # Optional - Backup server at 5 AM
- MONITOR=NO # Optional - Keeps server up if crash
volumes:
- /7dtd/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/
- /7dtd/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver
- /7dtd/ServerFiles:/home/sdtdserver/serverfiles/ # Optional - serverfiles folder
- /7dtd/log:/home/sdtdserver/log/ # Optional - Logs folder
- /7dtd/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=0The worst part is I haven't even gotten to the point where I could move my current save file onto the server.. since these won't deploy successfully.
Any help is appreciated!