[GH-ISSUE #2885] Avorion server details (./avserver dt) wrong or not applied to server #2067

Closed
opened 2026-02-27 03:00:39 +03:00 by kerem · 21 comments
Owner

Originally created by @kdulep on GitHub (May 20, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2885

Avorion server config wrong
./avserver dt
command wrong or wrong code around it:

https://termbin.com/s8zr

be sure to delete placeholder server config dir /home/avserver/serverfiles/galaxy/avgalaxy/

Avorion Server Details
=============================================================================================================================================================================================================================================================================================================================
Server name:      UNAVAILABLE
Server IP:        192.168.1.105:27000
Internet IP:      ****masked***:27000
Server password:  UNAVAILABLE
RCON enabled:     UNAVAILABLE
RCON password:    UNAVAILABLE
Maxplayers:       UNAVAILABLE
Status:           ONLINE
avserver Script Details
=============================================================================================================================================================================================================================================================================================================================
Script name:            avserver
LinuxGSM version:       v20.2.1
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:                   avserver
Location:               /home/avserver
Config file:            /home/avserver/serverfiles/galaxy/avgalaxy/server.ini (FILE MISSING)

Basic info

  • Distro: CentOS8
  • Game: Avorion
  • Command: details, start
  • LinuxGSM version: [v20.2.1]

Further Information

details give wrong info, possibly not counting config file

avgalaxy="0ZEN"
maxplayers="15"
rconPassword="***masked***"
password="***masked***"


To Reproduce

Steps to reproduce the behaviour:

  1. add avgalaxy option to config
  2. execute dt command
    server starts with 0zen galaxy as expected

Expected behaviour

Config file: /home/avserver/serverfiles/galaxy/0ZEN/server.ini
server password applied to server but not availiable in DT command
rcon password not applied neither showed in DT command
maxplayers not applied to server

server starts with and uses 0zen galaxy as expected in every case just not all config applied and wrong display in ./avserver dt

also
./avserver sp
[ WARN ] Stopping avserver: Configuration file missing!
/home/avserver/serverfiles/galaxy/avgalaxy/server.ini

Originally created by @kdulep on GitHub (May 20, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2885 Avorion server config wrong `./avserver dt` command wrong or wrong code around it: [https://termbin.com/s8zr](url) be sure to delete placeholder server config dir /home/avserver/serverfiles/galaxy/avgalaxy/ ``` Avorion Server Details ============================================================================================================================================================================================================================================================================================================================= Server name: UNAVAILABLE Server IP: 192.168.1.105:27000 Internet IP: ****masked***:27000 Server password: UNAVAILABLE RCON enabled: UNAVAILABLE RCON password: UNAVAILABLE Maxplayers: UNAVAILABLE Status: ONLINE ``` ``` avserver Script Details ============================================================================================================================================================================================================================================================================================================================= Script name: avserver LinuxGSM version: v20.2.1 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: avserver Location: /home/avserver Config file: /home/avserver/serverfiles/galaxy/avgalaxy/server.ini (FILE MISSING) ``` ## Basic info * **Distro:** CentOS8 * **Game:** Avorion * **Command:** details, start * **LinuxGSM version:** [v20.2.1] ## Further Information details give wrong info, possibly not counting config file ``` avgalaxy="0ZEN" maxplayers="15" rconPassword="***masked***" password="***masked***" ``` ## To Reproduce Steps to reproduce the behaviour: 1. add avgalaxy option to config 2. execute dt command server starts with 0zen galaxy as expected ## Expected behaviour Config file: /home/avserver/serverfiles/galaxy/0ZEN/server.ini server password applied to server but not availiable in DT command rcon password not applied neither showed in DT command maxplayers not applied to server server starts with and uses 0zen galaxy as expected in every case just not all config applied and wrong display in ./avserver dt also ./avserver sp [ WARN ] Stopping avserver: Configuration file missing! /home/avserver/serverfiles/galaxy/avgalaxy/server.ini
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

I have tested this myself and it is working. Maybe the server didn't download correctly. Try running validate

<!-- gh-comment-id:631426764 --> @dgibbs64 commented on GitHub (May 20, 2020): I have tested this myself and it is working. Maybe the server didn't download correctly. Try running validate
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

did u deleted default directory and make server start new galaxy?
after validate same thing

<!-- gh-comment-id:631537078 --> @kdulep commented on GitHub (May 20, 2020): did u deleted default directory and make server start new galaxy? after validate same thing
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

I had a fresh install and had no issues at all.

<!-- gh-comment-id:631537733 --> @dgibbs64 commented on GitHub (May 20, 2020): I had a fresh install and had no issues at all.
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

do u have custom named galaxy and not /avgalaxy/

<!-- gh-comment-id:631538165 --> @kdulep commented on GitHub (May 20, 2020): do u have custom named galaxy and not /avgalaxy/
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

no I had everything default

<!-- gh-comment-id:631538501 --> @dgibbs64 commented on GitHub (May 20, 2020): no I had everything default
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

I see a possible issue here. give me a few mins

<!-- gh-comment-id:631538759 --> @dgibbs64 commented on GitHub (May 20, 2020): I see a possible issue here. give me a few mins
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

I see the issue.
Please add this line under avgalaxy=

avgalaxypath="${avdatapath}/${avgalaxy}"

and let me know if that works

<!-- gh-comment-id:631543940 --> @dgibbs64 commented on GitHub (May 20, 2020): I see the issue. Please add this line under `avgalaxy=` ``` avgalaxypath="${avdatapath}/${avgalaxy}" ``` and let me know if that works
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

added in avserver.cfg still same
Server name: UNAVAILABLE
Server IP: 192.168.1.105:27000
Internet IP: 37.79.202.30:27000
Server password: UNAVAILABLE
RCON enabled: UNAVAILABLE
RCON password: UNAVAILABLE
Maxplayers: UNAVAILABLE
Status: OFFLINE

Config file: /home/avserver/serverfiles/galaxy/avgalaxy/server.ini (FILE MISSING)
how do u know that server uses avserver.cfg
/home/avserver/lgsm/config-lgsm/avserver

<!-- gh-comment-id:631545299 --> @kdulep commented on GitHub (May 20, 2020): added in avserver.cfg still same Server name: UNAVAILABLE Server IP: 192.168.1.105:27000 Internet IP: 37.79.202.30:27000 Server password: UNAVAILABLE RCON enabled: UNAVAILABLE RCON password: UNAVAILABLE Maxplayers: UNAVAILABLE Status: OFFLINE Config file: /home/avserver/serverfiles/galaxy/avgalaxy/server.ini (FILE MISSING) how do u know that server uses avserver.cfg /home/avserver/lgsm/config-lgsm/avserver
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

try this instead

avgalaxy="test"
avgalaxypath="${avdatapath}/${avgalaxy}"
servercfgdir="${avgalaxypath}"
servercfgfullpath="${servercfgdir}/${servercfg}"
<!-- gh-comment-id:631546774 --> @dgibbs64 commented on GitHub (May 20, 2020): try this instead ``` avgalaxy="test" avgalaxypath="${avdatapath}/${avgalaxy}" servercfgdir="${avgalaxypath}" servercfgfullpath="${servercfgdir}/${servercfg}" ```
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

hmm its uses passwords now but not maxplayers, config dir okish
server up 10 players instead of 15
ill check if it uses config file passwords instead of config.ini
edit: passwords are good

<!-- gh-comment-id:631548862 --> @kdulep commented on GitHub (May 20, 2020): hmm its uses passwords now but not maxplayers, config dir okish server up 10 players instead of 15 ill check if it uses config file passwords instead of config.ini edit: passwords are good
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

the config default is 10 plays you will need to edit maxplayers.

<!-- gh-comment-id:631550647 --> @dgibbs64 commented on GitHub (May 20, 2020): the config default is 10 plays you will need to edit maxplayers.
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

also is there a specific reason why you need to have a specific galaxy name other than the default?

<!-- gh-comment-id:631551018 --> @dgibbs64 commented on GitHub (May 20, 2020): also is there a specific reason why you need to have a specific galaxy name other than the default?
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

maxplayers="15"

<!-- gh-comment-id:631551140 --> @kdulep commented on GitHub (May 20, 2020): maxplayers="15"
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

also is there a specific reason why you need to have a specific galaxy name other than the default?

i just saw galaxy name option i guessed i need fill it , but its not related to server name
is it possible to set server name in games list?
but yes passwords was not applied and maxplayer wrong

<!-- gh-comment-id:631551813 --> @kdulep commented on GitHub (May 20, 2020): > also is there a specific reason why you need to have a specific galaxy name other than the default? i just saw galaxy name option i guessed i need fill it , but its not related to server name is it possible to set server name in games list? but yes passwords was not applied and maxplayer wrong
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

Well I ask becuase I was thinking of simply making the galaxy name the name of the linuxgsm script.

e.g avserver or avserver-2

and remove the ability to name your own galaxy

i will look at the details as well to make sure they are displaying correctly

<!-- gh-comment-id:631552840 --> @dgibbs64 commented on GitHub (May 20, 2020): Well I ask becuase I was thinking of simply making the galaxy name the name of the linuxgsm script. e.g `avserver` or `avserver-2` and remove the ability to name your own galaxy i will look at the details as well to make sure they are displaying correctly
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

yes, but maxplayers and name of server in server browser?

<!-- gh-comment-id:631553633 --> @kdulep commented on GitHub (May 20, 2020): yes, but maxplayers and name of server in server browser?
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

are you setting maxplayers in the server.ini?

[Administration]
maxPlayers=10
name=Avorion Server
description=An Avorion Server
password=
pausable=false
<!-- gh-comment-id:631571128 --> @dgibbs64 commented on GitHub (May 20, 2020): are you setting maxplayers in the server.ini? ``` [Administration] maxPlayers=10 name=Avorion Server description=An Avorion Server password= pausable=false ```
Author
Owner

@kdulep commented on GitHub (May 20, 2020):

are you setting maxplayers in the server.ini?

[Administration]
maxPlayers=10
name=Avorion Server
description=An Avorion Server
password=
pausable=false

yes setting also name but its possible to have it in a avserver.cfg

<!-- gh-comment-id:631579920 --> @kdulep commented on GitHub (May 20, 2020): > are you setting maxplayers in the server.ini? > > ``` > [Administration] > maxPlayers=10 > name=Avorion Server > description=An Avorion Server > password= > pausable=false > ``` yes setting also name but its possible to have it in a avserver.cfg
Author
Owner

@dgibbs64 commented on GitHub (May 20, 2020):

no, it's not possible to have it in avserver.cfg, you must set it in server.ini. If the variable is not in _default.cfg then it isn't designed to be in common.cfg or avserver.cfg. The only exception to this is if you set this in start parameters which is not recommended for this server.

<!-- gh-comment-id:631581570 --> @dgibbs64 commented on GitHub (May 20, 2020): no, it's not possible to have it in `avserver.cfg`, you must set it in server.ini. If the variable is not in _default.cfg then it isn't designed to be in `common.cfg` or `avserver.cfg`. The only exception to this is if you set this in start parameters which is not recommended for this server.
Author
Owner

@h3o66 commented on GitHub (May 24, 2020):

There was already a fix released in the version 20.3.0

<!-- gh-comment-id:633232021 --> @h3o66 commented on GitHub (May 24, 2020): There was already a fix released in the version 20.3.0
Author
Owner

@github-actions[bot] commented on GitHub (May 25, 2021):

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.

<!-- gh-comment-id:847430914 --> @github-actions[bot] commented on GitHub (May 25, 2021): 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.
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#2067
No description provided.