GameServerManagers / GameServerManagers/LinuxGSM
[Bug]:
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### Severity
severity: low
### Reproducibility
reproducible: always
### Regression
regression: unknown
### Affects latest release
latest-release: yes
### User story
Server Restarts without failure
### Script name
tiserver
### Game
The Isle Server
### Linux distro
Ubuntu 22.04
### Command
command: restart
### Expected behavior
when unsing restart or stop and start without issue
### Actual behavior
The file `home/tiserver/serverfiles/TheIsle/Saved/Config/LinuxServer/Engine.ini` gets removed. Then the server wont start becouse the EOS Settings are missing. The server fails to start now.
### Further information
Repairable by reinstalling the Server it will fetch the mising config:
```
Downloading The Isle Configs
=================================
Downloading default configs from: https://github.com/GameServerManagers/Game-Server-Configs
fetching GitHub [ Game.ini ] ... OK
copying config file [ /home/tiserver/serverfiles/TheIsle/Saved/Config/LinuxServer/Game.ini ] ... SKIP
fetching GitHub [ Engine.ini ] ... OK
copying config file [ /home/tiserver/serverfiles/TheIsle/Saved/Config/LinuxServer/Engine.ini ] ... OK
setting hostname ... SKIP
generating admin/rcon password ... SKIP
```
### Pre-checks
- [x] I ran update and validate before reporting this issue.
### Relevant log output
```shell
LogRedpointEOSPlatformDesktop: Verbose: EOS SDK Dynamic Load - Starting dynamic load of EOS SDK...
LogRedpointEOSPlatformDesktop: Verbose: EOS SDK Dynamic Load - DLL found at: /home/tiserver/serverfiles/TheIsle/Binaries/Linux/libEOSSDK-Linux-Shipping.so
LogRedpointEOSPlatformDesktop: Verbose: EOS SDK Dynamic Load - Successfully loaded DLL at: /home/tiserver/serverfiles/TheIsle/Binaries/Linux/libEOSSDK-Linux-Shipping.so
LogRedpointEOSPlatform: Verbose: Added runtime integration: Epic
LogModuleManager: Warning: ModuleManager: Module 'RedpointEOSPlatformIntegrationGOG' not found - its StaticallyLinkedModuleInitializers function is null.
LogModuleManager: Warning: ModuleManager: Module 'RedpointEOSPlatformIntegrationMeta' not found - its StaticallyLinkedModuleInitializers function is null.
LogRedpointEOSCore: Verbose: Built against EOS SDK version: 1.17.0
LogRedpointEOSCore: Verbose: Loaded EOS SDK version: 1.17.0-39599718
LogRedpointEOSCore: Verbose: EOS SDK is being initialized...
LogRedpointEOSCore: Verbose: EOS SDK was initialized successfully.
LogRedpointEOSPlatformDesktop: Verbose: Using the following path as the cache directory: /home/tiserver/serverfiles/TheIsle/Saved/PersistentDownloadDir/EOSCache
LogRedpointEOSCore: Verbose: Creating EOS SDK platform instance: InstanceName=DefaultInstance, bIsServer=true
LogRedpointEOSCore: Error: Unable to initialize EOS platform.
LogCore: FUnixPlatformMisc::RequestExit(1, )
[ ERROR ] Debugging tiserver: Server has stopped: exit code: 1
[ ERROR ] Debugging tiserver: Press ENTER to exit debug mode
```
### Steps to reproduce
1. install server
2. start server
3. stop server
4. start agein -> now observer the error.
Contributor guide
Research direction
Start with the tiserver script's restart and stop/start handling, then trace the config download logic involving TheIsle/Saved/Config/LinuxServer/Engine.ini. Reproduce the listed install, start, stop, and start sequence on Ubuntu 22.04; done means Engine.ini is not removed and the server starts successfully without reinstalling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, linux, shell, ubuntu
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100