Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Ark Survival Evolved - Unable to specify new default map #4393

Closed
dequeant opened this issue Nov 26, 2023 · 4 comments
Closed

[Bug]: Ark Survival Evolved - Unable to specify new default map #4393

dequeant opened this issue Nov 26, 2023 · 4 comments

Comments

@dequeant
Copy link

User story

I want to run an Ark Survival Evolved dedicate server running the default map: CrystalIsles

Game

Ark Survival Evolved

Linux distro

Debian 12

Command

command: start

Further information

WIthout changing anything whatsoever from the defaults after installation, when I run ./arkserver start I get the following error (but the server still starts successfully on the default map):

/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 41: unexpected EOF while looking for matching `"'
[ .... ] Starting arkserver: LinuxGSM./arkserver: eval: line 476: unexpected EOF while looking for matching `"'

Since the errors don't seem to affect anything, I'm fine with living with them, but I still need to change the map. In "arkserver.cfg" I change the defaultmap to "CrystalIsles". Then I again run "./arkserver start". I again get the errors as before, but for some reason it still loaded "TheIsland" map despite me specifying CrystalIsles in the arkserver.cfg.

Suspecting it to be related to the errors I was getting, I investigate arkserver.cfg and identify a missing close quotes at the end of the serverparameters line.
The original was:
startparameters="${defaultmap}?AltSaveDirectoryName=${altsavedirectoryname}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?>

I changed it to:
startparameters="${defaultmap}?AltSaveDirectoryName=${altsavedirectoryname}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?>"

When I add the close quote, I no longer get the unexpected EOF errors, but it fails to start entirely and outputs this error:

[ .... ] Starting arkserver: LinuxGSMno server running on /tmp/tmux-1001/arkserver-82d55731
[ FAIL ] Starting arkserver: Unable to start LinuxGSM

I'm able to reproduce it consistently on a fresh install.

Relevant log output

No response

Steps to reproduce

Install LinuxGSM
Install arkserver
./arkserver start
You should get the errors, but it'll start in the map "TheIsland" regardless of what you specify in arkserver.cfg. If you attempt to remedy the errors by adding a closequote to end of the startparameters line, you will no long get the original errors but the server will ultimately fail to start.

@dgibbs64
Copy link
Member

dgibbs64 commented Dec 4, 2023

The error shows you are missing a double quote " somewhere in your config. Clear this and your issue should be solved

@dgibbs64 dgibbs64 closed this as completed Dec 4, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New Issues to ✅ Done in LinuxGSM Backlog Dec 4, 2023
@dequeant
Copy link
Author

The error shows you are missing a double quote " somewhere in your config. Clear this and your issue should be solved

It's the default config that installs with LinuxGSM. I can delete it, in which case LinuxGSM will download its own copy of the file..... and I still get that error. When I fix it, it fails to start.

@dgibbs64
Copy link
Member

ensure that config-default is also deleted and ensure that linuxgsm is fully updated

Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants