[GH-ISSUE #2657] ARK Server Config Syntax Errors #1923

Closed
opened 2026-02-27 02:59:50 +03:00 by kerem · 3 comments
Owner

Originally created by @MasterxOfxNone on GitHub (Dec 18, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2657

Greetings,

The following issue stems from myself wanting to cluster out a working server. I followed the instructions as per the website and now the server starts, but with weird synax errors being displayed and the information that Steam pulls is incorrect. I've made several search queries, posts on various sites, and have attempted to update LGSM without success. Separately, I've also removed all configurations made for clusters and defaulted back to the original config file, same exact errors; and, when the server starts it shows everything is correct on Steam except the map is "ShooterEntry".

I've tried to include as much information as I could below.

Config files:

_default.cfg: https://pastebin.com/y3vQgfeX
common.cfg: https://pastebin.com/dWpz9qY2
arkserver.cfg: https://pastebin.com/h9xHM1q2
arkserver-2.cfg: https://pastebin.com/5rSWaUc9

Below is displayed after any command is entered from the command-line, before that command fully runs:

/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 6: $'\r': command not found
/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 8: $'\r': command not found
/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 17: $'\r': command not found
/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 19: syntax error near unexpected token `$'{\r''
'home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 19: `fn_parms(){
: integer expression expecteds/info_messages.sh: line 631: [: 7777

Results of ./arkserver postdetails
[ .... ] Postdetails arkserver: Posting details to hastebin.com
[ OK ] Postdetails arkserver: Posting details to hastebin.com for 30D
Please share the following url for support: https://hastebin.com/

<html>
<head>
width=device-width, initial-scale=1

<title>Application Error</title>

		  html,body,iframe {
			margin: 0;
			padding: 0;
		  }
		  html,body {
			height: 100%;
			overflow: hidden;
		  }
		  iframe {
			width: 100%;
			height: 100%;
			border: 0;
		  }
		</style>
</head>
<body>

</body>
</html>

Results of ./arkserver details

Distro Details

Distro: Ubuntu 18.04.3 LTS
Arch: x86_64
Kernel: 4.15.0-72-generic
Hostname: ubuntu_lts
Uptime: 0d, 0h, 28m
tmux: tmux 2.6
glibc: 2.27

Server Resource

CPU 
Model: Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
Cores: 4
Frequency: 2394.000MHz
Avg Load: 0.04, 0.16, 0.36

Memory 
Mem: total used free cached available
Physical: 32GB 4.1GB 27GB 2.6GB 27GB
Swap: 8.0GB 0B 8.0GB

Storage
Filesystem: /dev/sda2
Total: 118G
Used: 31G
Available: 82G

Network
IP: 0.0.0.0
Internet IP: 71.238.192.34

Game Server Resource Usage

CPU Used: 0%
Mem Used: 0% 0MB

Storage
Total: 16G
Serverfiles: 14G
Backups: 20K

ARK: Survival Evolved Server Details

Server name: His & Hers
Server IP: 0.0.0.0
:7777
Internet IP: OMITTED:7777
Maxplayers: 70
Default map: Valguero_P
Master server: false
Status: OFFLINE

arkserver Script Details

Script name: arkserver
LinuxGSM version: v19.12.5
glibc required: 2.15
Discord alert: off
Slack alert: off
Email alert: off
Pushbullet alert: off
IFTTT alert: off
Mailgun (email) alert: off
Pushover alert: off
Telegram alert: off
Update on start: off
User: arkserver
Location: /home/arkserver
Config file: /home/arkserver/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini

Backups

No Backups created

Command-line Parameters

./ShooterGameServer "Valguero_P
?AltSaveDirectoryName=Valguero_P
?listen?MultiHome=0.0.0.0
?MaxPlayers=70
?QueryPort=27015
?RCONPort=27020
?Port=7777
-automanagedmods"

Ports

Change ports by editing the parameters in:
/home/arkserver/lgsm/config-lgsm/arkserver

Useful port diagnostic command:
netstat -atunp | grep ShooterGame

DESCRIPTION DIRECTION PORT PROTOCOL

Game INBOUND 7777
udp
Query INBOUND 27015
udp
RCON INBOUND 27020
tcp

Status: OFFLINE

Originally created by @MasterxOfxNone on GitHub (Dec 18, 2019). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2657 Greetings, The following issue stems from myself wanting to cluster out a working server. I followed the instructions as per the website and now the server starts, but with weird synax errors being displayed and the information that Steam pulls is incorrect. I've made several search queries, posts on various sites, and have attempted to update LGSM without success. Separately, I've also removed all configurations made for clusters and defaulted back to the original config file, same exact errors; and, when the server starts it shows everything is correct on Steam except the map is "ShooterEntry". I've tried to include as much information as I could below. Config files: > _default.cfg: [https://pastebin.com/y3vQgfeX](url) > common.cfg: [https://pastebin.com/dWpz9qY2](url) > arkserver.cfg: [https://pastebin.com/h9xHM1q2](url) > arkserver-2.cfg: [https://pastebin.com/5rSWaUc9](url) Below is displayed after any command is entered from the command-line, before that command fully runs: ``` /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 6: $'\r': command not found /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 8: $'\r': command not found /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 17: $'\r': command not found /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 19: syntax error near unexpected token `$'{\r'' 'home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 19: `fn_parms(){ : integer expression expecteds/info_messages.sh: line 631: [: 7777 ``` Results of **./arkserver postdetails** [ .... ] Postdetails arkserver: Posting details to hastebin.com [ OK ] Postdetails arkserver: Posting details to hastebin.com for 30D Please share the following url for support: https://hastebin.com/<!DOCTYPE html> ``` <html> <head> width=device-width, initial-scale=1 <title>Application Error</title> html,body,iframe { margin: 0; padding: 0; } html,body { height: 100%; overflow: hidden; } iframe { width: 100%; height: 100%; border: 0; } </style> </head> <body> </body> </html> ``` Results of **./arkserver details** > Distro Details > ======================================================================================= > Distro: Ubuntu 18.04.3 LTS > Arch: x86_64 > Kernel: 4.15.0-72-generic > Hostname: ubuntu_lts > Uptime: 0d, 0h, 28m > tmux: tmux 2.6 > glibc: 2.27 > > Server Resource > ======================================================================================= > CPU  > Model: Intel(R) Xeon(R) CPU E5645 @ 2.40GHz > Cores: 4 > Frequency: 2394.000MHz > Avg Load: 0.04, 0.16, 0.36 > > Memory  > Mem: total used free cached available > Physical: 32GB 4.1GB 27GB 2.6GB 27GB > Swap: 8.0GB 0B 8.0GB > > Storage > Filesystem: /dev/sda2 > Total: 118G > Used: 31G > Available: 82G > > Network > IP: 0.0.0.0 > Internet IP: 71.238.192.34 > > Game Server Resource Usage > ======================================================================================= > CPU Used: 0% > Mem Used: 0% 0MB > > Storage > Total: 16G > Serverfiles: 14G > Backups: 20K > > ARK: Survival Evolved Server Details > ======================================================================================= > Server name: His & Hers > Server IP: 0.0.0.0 > :7777 > Internet IP: OMITTED:7777 > Maxplayers: 70 > Default map: Valguero_P > Master server: false > Status: OFFLINE > > arkserver Script Details > ======================================================================================= > Script name: arkserver > LinuxGSM version: v19.12.5 > glibc required: 2.15 > Discord alert: off > Slack alert: off > Email alert: off > Pushbullet alert: off > IFTTT alert: off > Mailgun (email) alert: off > Pushover alert: off > Telegram alert: off > Update on start: off > User: arkserver > Location: /home/arkserver > Config file: /home/arkserver/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini > > Backups > ======================================================================================= > No Backups created > > Command-line Parameters > ======================================================================================= > ./ShooterGameServer "Valguero_P > ?AltSaveDirectoryName=Valguero_P > ?listen?MultiHome=0.0.0.0 > ?MaxPlayers=70 > ?QueryPort=27015 > ?RCONPort=27020 > ?Port=7777 > -automanagedmods" > > Ports > ======================================================================================= > Change ports by editing the parameters in: > /home/arkserver/lgsm/config-lgsm/arkserver > > Useful port diagnostic command: > netstat -atunp | grep ShooterGame > > DESCRIPTION DIRECTION PORT PROTOCOL > > Game INBOUND 7777 > udp > > Query INBOUND 27015 > udp > > RCON INBOUND 27020 > tcp > > Status: OFFLINE
kerem 2026-02-27 02:59:50 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@issue-label-bot[bot] commented on GitHub (Dec 18, 2019):

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.62. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

<!-- gh-comment-id:567015436 --> @issue-label-bot[bot] commented on GitHub (Dec 18, 2019): Issue-Label Bot is automatically applying the label `type: bug` to this issue, with a confidence of 0.62. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/GameServerManagers/LinuxGSM) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Author
Owner

@dgibbs64 commented on GitHub (Dec 19, 2019):

The issue looks like you are using Windows Line endings and not Linux line endings. Ensure your text editor is set up for this.

https://dev-docs.linuxgsm.com/code-standards/text-editor-settings#line-ending

<!-- gh-comment-id:567460610 --> @dgibbs64 commented on GitHub (Dec 19, 2019): The issue looks like you are using Windows Line endings and not Linux line endings. Ensure your text editor is set up for this. https://dev-docs.linuxgsm.com/code-standards/text-editor-settings#line-ending
Author
Owner

@MasterxOfxNone commented on GitHub (Dec 20, 2019):

That did it, thank you very much. Learned something new today.

<!-- gh-comment-id:567906099 --> @MasterxOfxNone commented on GitHub (Dec 20, 2019): That did it, thank you very much. Learned something new today.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1923
No description provided.