GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.18k stars 801 forks source link

[Bug]: Using Console command ./rustserver console shows error/misconfiguration #4511

Open SkyRonic12 opened 4 months ago

SkyRonic12 commented 4 months ago

User story

As a bug, I want the bug to be looked over sometime, so that other people can have a better experience than I did.

Game

Rust

Linux distro

Ubuntu 22.04

Command

command: console

Further information

Screenshot 2024-02-26 142526

After running the console command "./rustserver console" and saying yes it loads the console and brings this up instead of showing the actual console. I can connect to the Rust server just fine, but I cannot access the console to give myself owner or edit my oxide plugins.

Relevant log output

[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"

Steps to reproduce

  1. Start Rust Server
  2. Use the Command "./rustserver console"
  3. Then you get the issue
SkyRonic12 commented 4 months ago

Forgot to add logs.. Here you go.

rustserver-game.log rustserver-script.log rustserver-console.log

MotyaV commented 2 months ago

Any fix? Same problem, server is working fine, but i cant get into console

SivertGullbergHansen commented 1 month ago

Im also stuck with the same problem 😄

SivertGullbergHansen commented 1 month ago

Seems to be related to some permission issues perhaps? I am able to run the server using the dedicated sh file in the server's directory (/home/rustserver/serverfiles/) like so:

rustserver@debian:~/serverfiles$ ./RustDedicated

Server boots fine. But when running with LinuxGSM I am stuck at the exact same point as you.

SivertGullbergHansen commented 1 month ago

Found the issue 😄

It's related to this part of the launch parameters:

-logfile /home/rustserver/log/server/rustserver-game.log

Seems removing it allows the server to continue running. I'm not familiar with LinuxGSM, is it possible to disable this parameter 🙂? Or perhaps it indeed is an issue with permissions?

SivertGullbergHansen commented 1 month ago

More investigation proves the log is indeed working and the server is starting 🙂 Simply nothing being printed when attaching to the server console.

Solution:

run the server and wait 20-30 minutes. Server should be up and running after a while. Tail this file:

tail -f /home/rustserver/log/server/rustserver-game.log

to follow the latest logs.