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]: cannot start rust server due to tail looking in wrong folders #55

Open
kunihir0 opened this issue Jan 3, 2024 · 4 comments
Open

Comments

@kunihir0
Copy link

kunihir0 commented Jan 3, 2024

User story

just trying to create a new rust server but upon first installation command start fails becasue of tail looking at the wrong location for logs

Game

rust

Linux distro

Ubuntu 22.04

Command

command: start

Further information

2024-01-03 05:54:37 tail: cannot open '/data/log/console/*script.log' for reading: No such file or directory
2024-01-03 05:54:37 ==> /data/log/console/rustserver-console.log <==
2024-01-03 05:54:37 tail: cannot open '/data/log/script/*console.log' for reading: No such file or directory

so I am using docker linux gsm when I create a new container the problem persists. tail is looking for the wrong log file in the wrong place.

I have also tried to update the lsgm using
PS C:\Users\Tamik> docker exec -it --user linuxgsm HOA_RUSTs ./rustserver update-lgsm but that didn't really do much to solve the problem but instead create a new error

2024-01-03 05:48:49 tail: '/data/log/script/rustserver-script.log' has become inaccessible: No such file or directory
2024-01-03 05:48:49 tail: '/data/log/console/rustserver-console.log' has become inaccessible: No such file or directory

here is the docker-compose.yml

version: "3.8"
services:
  # bind mount example
  linuxgsm-rust-bind:
    build:
      context: .
      dockerfile: dockerfiles/Dockerfile.rust
    container_name: HOA_RUSTs
    restart: unless-stopped
    volumes:
      - ./data:/data
    network_mode: host

and here is the Dockerfile.rust

#
# LinuxGSM Rust Dockerfile
#
# https://github.com/GameServerManagers/docker-gameserver
#

FROM gameservermanagers/linuxgsm:ubuntu-22.04
LABEL maintainer="LinuxGSM <[email protected]>"
ENV GAMESERVER=rustserver

## Auto install game server requirements
RUN depshortname=$(curl --connect-timeout 10 -s https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-22.04.csv |awk -v shortname="rust" -F, '$1==shortname {$1=""; print $0}') \
  && if [ -n "${depshortname}" ]; then \
  echo "**** Install ${depshortname} ****" \
  && apt-get update \
  && apt-get install -y ${depshortname} \
  && apt-get -y autoremove \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
  fi

HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /linuxgsm/entrypoint-healthcheck.sh || exit 1

RUN date > /build-time.txt

ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

so I think the linuxgsm app itself one of the files is causing that problem rather than docker

I even updated the rust server itself using to make sure nothing on that side was causing anything.

PS C:\Users\Tamik> docker exec -it --user linuxgsm HOA_RUSTs ./rustserver update
[  OK  ] Updating rustserver: Checking for update: SteamCMD

No update available
* Local build: 12980910
* Remote build: 12980910
* Branch: public
https://steamdb.info/app/258550/

Relevant log output

2024-01-03 05:52:47 Loading exit handler
2024-01-03 05:52:47 
2024-01-03 05:52:47 Welcome to the LinuxGSM
2024-01-03 05:52:47 ================================================================================
2024-01-03 05:52:47 CURRENT TIME: Wed Jan  3 12:52:47 PM UTC 2024
2024-01-03 05:52:47 BUILD TIME: Wed Jan  3 04:31:00 AM UTC 2024
2024-01-03 05:52:47 GAMESERVER: rustserver
2024-01-03 05:52:47 DISTRO: Ubuntu 22.04.3 LTS
2024-01-03 05:52:47 
2024-01-03 05:52:47 USER: linuxgsm
2024-01-03 05:52:47 UID: 1000
2024-01-03 05:52:47 GID: 1000
2024-01-03 05:52:47 
2024-01-03 05:52:47 LGSM_GITHUBUSER: GameServerManagers
2024-01-03 05:52:47 LGSM_GITHUBREPO: LinuxGSM
2024-01-03 05:52:47 LGSM_GITHUBBRANCH: master
2024-01-03 05:52:47 LGSM_LOGDIR: /data/log
2024-01-03 05:52:47 LGSM_SERVERFILES: /data/serverfiles
2024-01-03 05:52:47 LGSM_DATADIR: /data/data
2024-01-03 05:52:47 LGSM_CONFIG: /data/config-lgsm
2024-01-03 05:52:47 
2024-01-03 05:52:47 Initalising
2024-01-03 05:52:47 ================================================================================
2024-01-03 05:52:47 
2024-01-03 05:52:47 Check Permissions
2024-01-03 05:52:47 =================================
2024-01-03 05:52:47 setting UID to 1000
2024-01-03 05:52:47 setting GID to 1000
2024-01-03 05:52:47 updating permissions for /data
2024-01-03 05:52:51 updating permissions for /app
2024-01-03 05:52:51 
2024-01-03 05:52:51 Switch to user linuxgsm
2024-01-03 05:52:51 =================================
2024-01-03 05:52:51 Loading exit handler
2024-01-03 05:52:51 
2024-01-03 05:52:51 creating rustserver
2024-01-03 05:52:51 =================================
Installed Rust server as rustserver
2024-01-03 05:52:52 
2024-01-03 05:52:52 Remember to check server ports
2024-01-03 05:52:52 ./rustserver details
2024-01-03 05:52:52 
2024-01-03 05:52:52 ensure all modules are executable
2024-01-03 05:52:52 
2024-01-03 05:52:52 fetching GitHub _default.cfg...OK
2024-01-03 05:52:53 fetching GitHub linuxgsm.sh...OK
2024-01-03 05:52:54 
2024-01-03 05:52:54                                 mdMMMMbm
2024-01-03 05:52:54                               mMMMMMMMMMMm
2024-01-03 05:52:54                               mMMMMMMMMMMMMm
2024-01-03 05:52:54                              mMMMMMMMMMMMMMMm
2024-01-03 05:52:54                              hMMMV^VMMV^VMMMh
2024-01-03 05:52:54                              MMMMM  MM  MMMMM
2024-01-03 05:52:54                              hMMs   vv   sMMh
2024-01-03 05:52:54                             hMMM:        :MMMh
2024-01-03 05:52:54                           .hMMMh          hMMMh.
2024-01-03 05:52:54                          -dMMMh     __     hMMMd-
2024-01-03 05:52:54                         :mMMMs      ||      sMMMm:
2024-01-03 05:52:54                        :MMMM+       || _     +NMMN:
2024-01-03 05:52:54                       .mMMM+     ========     +MMMm.
2024-01-03 05:52:54                       yMMMy   ##############   yMMMy
2024-01-03 05:52:54                       mMMM:   ##############   :MMMm
2024-01-03 05:52:54                       mMM   nn   nn    nn   nn   MMm
2024-01-03 05:52:54                       o   nNNNNNNNn    nNNNNNNNn   o
2024-01-03 05:52:54                          nNNNNNNNNNn  nNNNNNNNNNn
2024-01-03 05:52:54                         nNNNNNNNNNNN  NNNNNNNNNNNn
2024-01-03 05:52:54                          +NNNNNNNNN:  :NNNNNNNNN+
2024-01-03 05:52:54                            nNNNNNNN /\ NNNNNNNn
2024-01-03 05:52:54                              nnnnn  db  nnnnn
2024-01-03 05:52:54 
2024-01-03 05:52:54 888      d8b                             .d8888b.   .d8888b.  888b     d888
2024-01-03 05:52:54 888      Y8P                            d88P  Y88b d88P  Y88b 8888b   d8888
2024-01-03 05:52:54 888                                     888    888 Y88b.      88888b.d88888
2024-01-03 05:52:54 888      888 88888b.  888  888 888  888 888          Y888b.   888Y88888P888
2024-01-03 05:52:54 888      888 888  88b 888  888  Y8bd8P  888  88888      Y88b. 888 Y888P 888
2024-01-03 05:52:54 888      888 888  888 888  888   X88K   888    888        888 888  Y8P  888
2024-01-03 05:52:54 888      888 888  888 Y88b 88Y .d8pq8b. Y88b  d88P Y88b  d88P 888   *   888
2024-01-03 05:52:54 LinuxGSM 888 888  888  Y8888Y  888  888   Y2012P88   Y8888P   888       888
2024-01-03 05:52:54 
2024-01-03 05:52:54 Support LinuxGSM
2024-01-03 05:52:54 =================================
2024-01-03 05:52:54 
2024-01-03 05:52:54 Been using LinuxGSM?
2024-01-03 05:52:54 Consider sponsoring to support development.
2024-01-03 05:52:54 
2024-01-03 05:52:54 * GitHub: https://github.com/sponsors/dgibbs64
2024-01-03 05:52:54 * Patreon: https://linuxgsm.com/patreon
2024-01-03 05:52:54 * PayPal: https://linuxgsm.com/paypal
2024-01-03 05:52:54 
2024-01-03 05:52:54 LinuxGSM est. 2012
2024-01-03 05:52:54 
2024-01-03 05:52:54 Starting Update Checks
2024-01-03 05:52:54 =================================
2024-01-03 05:52:54 update will check every 60 minutes
2024-01-03 05:52:54 
2024-01-03 05:52:54 Checking for Update rustserver
2024-01-03 05:52:54 =================================
[  OK  ] Updating rustserver: Checking for update: SteamCMD
2024-01-03 05:53:39 
2024-01-03 05:53:39 No update available
2024-01-03 05:53:39 * Local build: 12980910
2024-01-03 05:53:39 * Remote build: 12980910
2024-01-03 05:53:39 * Branch: public
2024-01-03 05:53:39 https://steamdb.info/app/258550/
2024-01-03 05:53:39 
2024-01-03 05:53:39 
2024-01-03 05:53:39 Starting rustserver
2024-01-03 05:53:39 =================================
fetching GitHub ubuntu-22.04.csv...OK
[ INFO ] Starting rustserver: Running Carbon environment.sh
[  OK  ] Starting rustserver: Sending Discord alert
2024-01-03 05:54:13 
2024-01-03 05:54:35 
2024-01-03 05:54:35 Distro Details
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 Date:         Wed Jan  3 12:54:35 PM UTC 2024
2024-01-03 05:54:35 Distro:       Ubuntu 22.04.3 LTS
2024-01-03 05:54:35 Arch:         x86_64
2024-01-03 05:54:35 Kernel:       5.15.133.1-microsoft-standard-WSL2
2024-01-03 05:54:35 Hostname:     MOTHERSHIP
2024-01-03 05:54:35 Environment:  wsl
2024-01-03 05:54:35 Uptime:       0d, 9h, 18m
2024-01-03 05:54:35 tmux:         3.2a
2024-01-03 05:54:35 glibc:        2.35
2024-01-03 05:54:35 
2024-01-03 05:54:35 Server Resource
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 CPU         
2024-01-03 05:54:35 Model:      AMD Ryzen 9 3900X 12-Core Processor
2024-01-03 05:54:35 Cores:      24
2024-01-03 05:54:35 Frequency:  3800.009MHz
2024-01-03 05:54:35 Avg Load:   0.97, 1.09, 1.16
2024-01-03 05:54:35 
2024-01-03 05:54:35 Memory                                  
2024-01-03 05:54:35 Mem:       total  used   free   cached  available
2024-01-03 05:54:35 Physical:  24GB   2.1GB  21GB   2.1GB   21GB
2024-01-03 05:54:35 Swap:      6.0GB  0B     6.0GB          
2024-01-03 05:54:35 
2024-01-03 05:54:35 Storage      
2024-01-03 05:54:35 Filesystem:  overlay
2024-01-03 05:54:35 Total:       1007G
2024-01-03 05:54:35 Used:        6.4G
2024-01-03 05:54:35 Available:   950G
2024-01-03 05:54:35 
2024-01-03 05:54:35 Network       
2024-01-03 05:54:35 IP:           0.0.0.0
2024-01-03 05:54:35 Internet IP:  74.117.38.129
2024-01-03 05:54:35 
2024-01-03 05:54:35 Rust Resource Usage
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 CPU Used:  41.7%  
2024-01-03 05:54:35 Mem Used:  3%     725MB
2024-01-03 05:54:35 
2024-01-03 05:54:35 Storage       
2024-01-03 05:54:35 Total:        1.2M
2024-01-03 05:54:35 Serverfiles:  6.0G
2024-01-03 05:54:35 
2024-01-03 05:54:35 Rust Server Details
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 Server name:    HOA | build test server
2024-01-03 05:54:35 App ID:         258550
2024-01-03 05:54:35 Server IP:      0.0.0.0:28015
2024-01-03 05:54:35 Internet IP:    74.117.38.129:28015
2024-01-03 05:54:35 RCON password:  theh0r3inthisism3
2024-01-03 05:54:35 RCON web:       1
2024-01-03 05:54:35 Maxplayers:     50
2024-01-03 05:54:35 Game mode:      vanilla
2024-01-03 05:54:35 Tick rate:      30
2024-01-03 05:54:35 Save interval:  300s
2024-01-03 05:54:35 Seed:           662590906
2024-01-03 05:54:35 Salt:           0
2024-01-03 05:54:35 World size:     3000m
2024-01-03 05:54:35 Status:         STARTED
2024-01-03 05:54:35 
2024-01-03 05:54:35 rustserver Script Details
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 Script name:       rustserver
2024-01-03 05:54:35 LinuxGSM version:  v23.7.1
2024-01-03 05:54:35 glibc required:    2.15
2024-01-03 05:54:35 Discord alert:     on
2024-01-03 05:54:35 Email alert:       off
2024-01-03 05:54:35 Gotify alert:      off
2024-01-03 05:54:35 IFTTT alert:       off
2024-01-03 05:54:35 Pushbullet alert:  off
2024-01-03 05:54:35 Pushover alert:    off
2024-01-03 05:54:35 Rocketchat alert:  off
2024-01-03 05:54:35 Slack alert:       off
2024-01-03 05:54:35 Telegram alert:    off
2024-01-03 05:54:35 Update on start:   off
2024-01-03 05:54:35 User:              linuxgsm
2024-01-03 05:54:35 Location:          /app
2024-01-03 05:54:35 Config file:       /data/serverfiles/server/rustserver/cfg/server.cfg
2024-01-03 05:54:35 
2024-01-03 05:54:35 Backups
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 No Backups created
2024-01-03 05:54:35 
2024-01-03 05:54:35 Command-line Parameters
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35  ./RustDedicated -batchmode +app.listenip 0.0.0.0 +app.port 28082 +server.ip 0.0.0.0 +server.port 28015 +server.queryport 28017 +server.tickrate 30 +server.hostname "HOA | build test server" +server.identity "rustserver" +server.gamemode vanilla +server.level "Procedural Map" +server.seed 662590906 +server.salt 0 +server.maxplayers 50 +server.worldsize 3000 +server.saveinterval 300 +rcon.web 1 +rcon.ip 0.0.0.0 +rcon.port 28016 +rcon.password "theh0r3inthisism3" -logfile /data/log/server/rustserver-game.log
2024-01-03 05:54:35 
2024-01-03 05:54:35 Ports
2024-01-03 05:54:35 ================================================================================
2024-01-03 05:54:35 Change ports by editing the parameters in:
2024-01-03 05:54:35 /data/config-lgsm/rustserver
2024-01-03 05:54:35 
2024-01-03 05:54:35 Useful port diagnostic command:
2024-01-03 05:54:35 ss -tuplwn | grep RustDedicated
2024-01-03 05:54:35 
2024-01-03 05:54:35 DESCRIPTION  PORT   PROTOCOL  LISTEN
2024-01-03 05:54:35 Game         28015  udp       0
2024-01-03 05:54:35 Query        28017  udp       0
2024-01-03 05:54:35 RCON         28016  tcp       0
2024-01-03 05:54:35 App          28082  tcp       0
2024-01-03 05:54:35 
2024-01-03 05:54:35 Status:STARTED
2024-01-03 05:54:35 
2024-01-03 05:54:37 Tail log files
2024-01-03 05:54:37 =================================
2024-01-03 05:54:37 tail: cannot open '/data/log/console/*script.log' for reading: No such file or directory
2024-01-03 05:54:37 ==> /data/log/console/rustserver-console.log <==
2024-01-03 05:54:37 tail: cannot open '/data/log/script/*console.log' for reading: No such file or directory
2024-01-03 05:54:37 
2024-01-03 05:54:37 ==> /data/log/script/rustserver-script.log <==
2024-01-03 05:54:37 Jan 03 12:54:03.089 rustserver: START: PASS: Started HOA | build test server
2024-01-03 05:54:37 Jan 03 12:54:03.329 rustserver: START: PASS: Started HOA | build test server
2024-01-03 05:54:37 Jan 03 12:54:03.470 rustserver: START: INFO: Sending alert: rustserver has started
2024-01-03 05:54:37 Jan 03 12:54:13.083 rustserver: START: PASS: Sending Discord alert
2024-01-03 05:54:37 Jan 03 12:54:13.183 rustserver: START: INFO: LinuxGSM version: v23.7.1
2024-01-03 05:54:37 Jan 03 12:54:13.202 rustserver: START: PASS: core_exit.sh exiting with code: 0
2024-01-03 05:54:37 Jan 03 12:54:35.575 rustserver: DETAILS: INFO: LinuxGSM version: v23.7.1
2024-01-03 05:54:37 Jan 03 12:54:35.580 rustserver: DETAILS: PASS: core_exit.sh exiting with code: 0
2024-01-03 05:57:57 Jan 03 12:57:57.468 rustserver: UPDATE-LGSM: INFO: Updating LinuxGSM
2024-01-03 05:57:57 Jan 03 12:57:57.971 rustserver: UPDATE-LGSM: INFO: Selecting repo
2024-01-03 05:57:59 Jan 03 12:57:59.215 rustserver: UPDATE-LGSM: PASS: Checking GitHub linuxgsm.sh
2024-01-03 05:57:59 Jan 03 12:57:59.218 rustserver: UPDATE-LGSM: INFO: Checking rustserver
2024-01-03 05:57:59 Jan 03 12:57:59.324 rustserver: UPDATE-LGSM: INFO: Checking rustserver
2024-01-03 05:57:59 Jan 03 12:57:59.327 rustserver: UPDATE-LGSM: INFO: Checking GitHub config _default.cfg
2024-01-03 05:58:00 Jan 03 12:58:00.113 rustserver: UPDATE-LGSM: PASS: Checking GitHub config _default.cfg
2024-01-03 05:58:00 Jan 03 12:58:00.886 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_discord.sh
2024-01-03 05:58:01 Jan 03 12:58:01.654 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_email.sh
2024-01-03 05:58:02 Jan 03 12:58:02.445 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_gotify.sh
2024-01-03 05:58:03 Jan 03 12:58:03.250 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_ifttt.sh
2024-01-03 05:58:04 Jan 03 12:58:04.025 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_pushbullet.sh
2024-01-03 05:58:04 Jan 03 12:58:04.881 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_pushover.sh
2024-01-03 05:58:05 Jan 03 12:58:05.666 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_rocketchat.sh
2024-01-03 05:58:06 Jan 03 12:58:06.549 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert.sh
2024-01-03 05:58:07 Jan 03 12:58:07.306 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_slack.sh
2024-01-03 05:58:08 Jan 03 12:58:08.124 rustserver: UPDATE-LGSM: PASS: Checking GitHub module alert_telegram.sh
2024-01-03 05:58:08 Jan 03 12:58:08.828 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_config.sh
2024-01-03 05:58:09 Jan 03 12:58:09.577 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_deps.sh
2024-01-03 05:58:10 Jan 03 12:58:10.306 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_executable.sh
2024-01-03 05:58:11 Jan 03 12:58:11.084 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_glibc.sh
2024-01-03 05:58:11 Jan 03 12:58:11.876 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_ip.sh
2024-01-03 05:58:12 Jan 03 12:58:12.786 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_last_update.sh
2024-01-03 05:58:13 Jan 03 12:58:13.586 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_logs.sh
2024-01-03 05:58:14 Jan 03 12:58:14.347 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_permissions.sh
2024-01-03 05:58:15 Jan 03 12:58:15.145 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_root.sh
2024-01-03 05:58:15 Jan 03 12:58:15.908 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check.sh
2024-01-03 05:58:16 Jan 03 12:58:16.702 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_status.sh
2024-01-03 05:58:17 Jan 03 12:58:17.465 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_steamcmd.sh
2024-01-03 05:58:18 Jan 03 12:58:18.309 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_system_dir.sh
2024-01-03 05:58:19 Jan 03 12:58:19.165 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_system_requirements.sh
2024-01-03 05:58:20 Jan 03 12:58:20.009 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_tmuxception.sh
2024-01-03 05:58:20 Jan 03 12:58:20.850 rustserver: UPDATE-LGSM: PASS: Checking GitHub module check_version.sh
2024-01-03 05:58:21 Jan 03 12:58:21.648 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_backup.sh
2024-01-03 05:58:22 Jan 03 12:58:22.426 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_check_update.sh
2024-01-03 05:58:23 Jan 03 12:58:23.228 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_console.sh
2024-01-03 05:58:24 Jan 03 12:58:24.011 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_debug.sh
2024-01-03 05:58:24 Jan 03 12:58:24.765 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_details.sh
2024-01-03 05:58:25 Jan 03 12:58:25.547 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_clear_modules.sh
2024-01-03 05:58:26 Jan 03 12:58:26.326 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_debug.sh
2024-01-03 05:58:27 Jan 03 12:58:27.146 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_details.sh
2024-01-03 05:58:27 Jan 03 12:58:27.952 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_detect_deps.sh
2024-01-03 05:58:28 Jan 03 12:58:28.850 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_detect_glibc.sh
2024-01-03 05:58:29 Jan 03 12:58:29.688 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_detect_ldd.sh
2024-01-03 05:58:30 Jan 03 12:58:30.471 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_dev_query_raw.sh
2024-01-03 05:58:31 Jan 03 12:58:31.302 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_fastdl.sh
2024-01-03 05:58:32 Jan 03 12:58:32.086 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_install_resources_mta.sh
2024-01-03 05:58:32 Jan 03 12:58:32.885 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_install.sh
2024-01-03 05:58:33 Jan 03 12:58:33.651 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_mods_install.sh
2024-01-03 05:58:34 Jan 03 12:58:34.487 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_mods_remove.sh
2024-01-03 05:58:35 Jan 03 12:58:35.245 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_mods_update.sh
2024-01-03 05:58:36 Jan 03 12:58:36.040 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_monitor.sh
2024-01-03 05:58:36 Jan 03 12:58:36.805 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_postdetails.sh
2024-01-03 05:58:37 Jan 03 12:58:37.684 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_restart.sh
2024-01-03 05:58:38 Jan 03 12:58:38.424 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_send.sh
2024-01-03 05:58:39 Jan 03 12:58:39.209 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_skeleton.sh
2024-01-03 05:58:39 Jan 03 12:58:39.984 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_sponsor.sh
2024-01-03 05:58:50 Jan 03 12:58:50.476 rustserver: UPDATE-LGSM: UPDATE: Checking GitHub module command_start.sh
2024-01-03 05:58:50 Jan 03 12:58:50.928 rustserver: UPDATE-LGSM: PASS: Downloading command_start.sh...
2024-01-03 05:58:51 Jan 03 12:58:51.711 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_stop.sh
2024-01-03 05:58:52 Jan 03 12:58:52.595 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_test_alert.sh
2024-01-03 05:58:53 Jan 03 12:58:53.506 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_ts3_server_pass.sh
2024-01-03 05:58:54 Jan 03 12:58:54.281 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_update_linuxgsm.sh
2024-01-03 05:58:55 Jan 03 12:58:55.018 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_update.sh
2024-01-03 05:58:55 Jan 03 12:58:55.809 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_validate.sh
2024-01-03 05:58:56 Jan 03 12:58:56.622 rustserver: UPDATE-LGSM: PASS: Checking GitHub module command_wipe.sh
2024-01-03 05:58:57 Jan 03 12:58:57.388 rustserver: UPDATE-LGSM: PASS: Checking GitHub module compress_unreal2_maps.sh
2024-01-03 05:58:58 Jan 03 12:58:58.138 rustserver: UPDATE-LGSM: PASS: Checking GitHub module compress_ut99_maps.sh
2024-01-03 05:58:58 Jan 03 12:58:58.970 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_dl.sh
2024-01-03 05:59:00 Jan 03 12:59:00.200 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_exit.sh
2024-01-03 05:59:00 Jan 03 12:59:00.984 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_getopt.sh
2024-01-03 05:59:01 Jan 03 12:59:01.806 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_github.sh
2024-01-03 05:59:02 Jan 03 12:59:02.610 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_legacy.sh
2024-01-03 05:59:03 Jan 03 12:59:03.388 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_logs.sh
2024-01-03 05:59:04 Jan 03 12:59:04.236 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_messages.sh
2024-01-03 05:59:05 Jan 03 12:59:05.030 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_modules.sh
2024-01-03 05:59:05 Jan 03 12:59:05.864 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_steamcmd.sh
2024-01-03 05:59:06 Jan 03 12:59:06.676 rustserver: UPDATE-LGSM: PASS: Checking GitHub module core_trap.sh
2024-01-03 05:59:07 Jan 03 12:59:07.471 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ark.sh
2024-01-03 05:59:17 Jan 03 12:59:17.978 rustserver: UPDATE-LGSM: UPDATE: Checking GitHub module fix_arma3.sh
2024-01-03 05:59:18 Jan 03 12:59:18.368 rustserver: UPDATE-LGSM: PASS: Downloading fix_arma3.sh...
2024-01-03 05:59:19 Jan 03 12:59:19.231 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_armar.sh
2024-01-03 05:59:20 Jan 03 12:59:20.081 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_av.sh
2024-01-03 05:59:20 Jan 03 12:59:20.851 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_bo.sh
2024-01-03 05:59:21 Jan 03 12:59:21.607 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_bt.sh
2024-01-03 05:59:22 Jan 03 12:59:22.430 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_cmw.sh
2024-01-03 05:59:23 Jan 03 12:59:23.329 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_csgo.sh
2024-01-03 05:59:24 Jan 03 12:59:24.106 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_dst.sh
2024-01-03 05:59:25 Jan 03 12:59:25.007 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_hw.sh
2024-01-03 05:59:25 Jan 03 12:59:25.848 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ins.sh
2024-01-03 05:59:26 Jan 03 12:59:26.649 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_kf2.sh
2024-01-03 05:59:27 Jan 03 12:59:27.588 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_kf.sh
2024-01-03 05:59:28 Jan 03 12:59:28.507 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_mcb.sh
2024-01-03 05:59:29 Jan 03 12:59:29.351 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_mta.sh
2024-01-03 05:59:30 Jan 03 12:59:30.152 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_nmrih.sh
2024-01-03 05:59:30 Jan 03 12:59:30.931 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_onset.sh
2024-01-03 05:59:31 Jan 03 12:59:31.727 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_pvr.sh
2024-01-03 05:59:32 Jan 03 12:59:32.546 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ro.sh
2024-01-03 05:59:33 Jan 03 12:59:33.347 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_rust.sh
2024-01-03 05:59:34 Jan 03 12:59:34.172 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_rw.sh
2024-01-03 05:59:34 Jan 03 12:59:34.965 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_samp.sh
2024-01-03 05:59:45 Jan 03 12:59:45.076 rustserver: UPDATE-LGSM: ERROR: Checking GitHub module fix_sdtd.sh
2024-01-03 05:59:45 Jan 03 12:59:45.181 rustserver: UPDATE-LGSM: PASS: Removing module fix_sdtd.sh
2024-01-03 05:59:45 Jan 03 12:59:45.947 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_sfc.sh
2024-01-03 05:59:46 Jan 03 12:59:46.721 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix.sh
2024-01-03 05:59:47 Jan 03 12:59:47.486 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_sof2.sh
2024-01-03 05:59:48 Jan 03 12:59:48.265 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_squad.sh
2024-01-03 05:59:49 Jan 03 12:59:49.027 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_steamcmd.sh
2024-01-03 05:59:49 Jan 03 12:59:49.845 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_st.sh
2024-01-03 05:59:50 Jan 03 12:59:50.626 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_terraria.sh
2024-01-03 05:59:51 Jan 03 12:59:51.470 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_tf2.sh
2024-01-03 05:59:52 Jan 03 12:59:52.232 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ts3.sh
2024-01-03 05:59:53 Jan 03 12:59:53.061 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_unt.sh
2024-01-03 05:59:53 Jan 03 12:59:53.847 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ut2k4.sh
2024-01-03 05:59:54 Jan 03 12:59:54.685 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ut3.sh
2024-01-03 05:59:55 Jan 03 12:59:55.573 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_ut.sh
2024-01-03 05:59:56 Jan 03 12:59:56.372 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_vh.sh
2024-01-03 05:59:57 Jan 03 12:59:57.273 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_wurm.sh
2024-01-03 05:59:58 Jan 03 12:59:58.176 rustserver: UPDATE-LGSM: PASS: Checking GitHub module fix_zmr.sh
2024-01-03 05:59:59 Jan 03 12:59:59.070 rustserver: UPDATE-LGSM: PASS: Checking GitHub module info_distro.sh
2024-01-03 05:59:59 Jan 03 12:59:59.920 rustserver: UPDATE-LGSM: PASS: Checking GitHub module info_game.sh
2024-01-03 06:00:00 Jan 03 13:00:00.801 rustserver: UPDATE-LGSM: PASS: Checking GitHub module info_messages.sh
2024-01-03 06:00:01 Jan 03 13:00:01.610 rustserver: UPDATE-LGSM: PASS: Checking GitHub module info_stats.sh
2024-01-03 06:00:11 Jan 03 13:00:11.721 rustserver: UPDATE-LGSM: ERROR: Checking GitHub module install_complete.sh
2024-01-03 06:00:11 Jan 03 13:00:11.825 rustserver: UPDATE-LGSM: PASS: Removing module install_complete.sh
2024-01-03 06:00:12 Jan 03 13:00:12.606 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_config.sh
2024-01-03 06:00:22 Jan 03 13:00:22.719 rustserver: UPDATE-LGSM: ERROR: Checking GitHub module install_dst_token.sh
2024-01-03 06:00:22 Jan 03 13:00:22.824 rustserver: UPDATE-LGSM: PASS: Removing module install_dst_token.sh
2024-01-03 06:00:23 Jan 03 13:00:23.618 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_eula.sh
2024-01-03 06:00:24 Jan 03 13:00:24.407 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_factorio_save.sh
2024-01-03 06:00:34 Jan 03 13:00:34.518 rustserver: UPDATE-LGSM: ERROR: Checking GitHub module install_gslt.sh
2024-01-03 06:00:34 Jan 03 13:00:34.623 rustserver: UPDATE-LGSM: PASS: Removing module install_gslt.sh
2024-01-03 06:00:35 Jan 03 13:00:35.426 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_header.sh
2024-01-03 06:00:45 Jan 03 13:00:45.538 rustserver: UPDATE-LGSM: ERROR: Checking GitHub module install_logs.sh
2024-01-03 06:00:45 Jan 03 13:00:45.643 rustserver: UPDATE-LGSM: PASS: Removing module install_logs.sh
2024-01-03 06:00:46 Jan 03 13:00:46.447 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_mta_resources.sh
2024-01-03 06:00:47 Jan 03 13:00:47.246 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_retry.sh
2024-01-03 06:00:48 Jan 03 13:00:48.006 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_server_dir.sh
2024-01-03 06:00:48 Jan 03 13:00:48.870 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_server_files.sh
2024-01-03 06:00:49 Jan 03 13:00:49.687 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_squad_license.sh
2024-01-03 06:00:50 Jan 03 13:00:50.446 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_stats.sh
2024-01-03 06:00:51 Jan 03 13:00:51.166 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_steamcmd.sh
2024-01-03 06:00:51 Jan 03 13:00:51.946 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_ts3db.sh
2024-01-03 06:00:52 Jan 03 13:00:52.688 rustserver: UPDATE-LGSM: PASS: Checking GitHub module install_ut2k4_key.sh
2024-01-03 06:00:53 Jan 03 13:00:53.508 rustserver: UPDATE-LGSM: PASS: Checking GitHub module mods_core.sh
2024-01-03 06:00:54 Jan 03 13:00:54.381 rustserver: UPDATE-LGSM: PASS: Checking GitHub module mods_list.sh
2024-01-03 06:00:55 Jan 03 13:00:55.131 rustserver: UPDATE-LGSM: PASS: Checking GitHub module query_gamedig.sh
2024-01-03 06:00:55 Jan 03 13:00:55.930 rustserver: UPDATE-LGSM: PASS: Checking GitHub module query_gsquery.py
2024-01-03 06:00:56 Jan 03 13:00:56.768 rustserver: UPDATE-LGSM: PASS: Checking GitHub module README.md
2024-01-03 06:00:57 Jan 03 13:00:57.608 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_fctr.sh
2024-01-03 06:00:58 Jan 03 13:00:58.388 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_jk2.sh
2024-01-03 06:00:59 Jan 03 13:00:59.210 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_mcb.sh
2024-01-03 06:00:59 Jan 03 13:00:59.988 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_mc.sh
2024-01-03 06:01:00 Jan 03 13:01:00.768 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_mta.sh
2024-01-03 06:01:01 Jan 03 13:01:01.578 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_pmc.sh
2024-01-03 06:01:02 Jan 03 13:01:02.326 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_steamcmd.sh
2024-01-03 06:01:03 Jan 03 13:01:03.073 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_ts3.sh
2024-01-03 06:01:03 Jan 03 13:01:03.913 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_ut99.sh
2024-01-03 06:01:04 Jan 03 13:01:04.751 rustserver: UPDATE-LGSM: PASS: Checking GitHub module update_vints.sh
2024-01-03 06:01:04 Jan 03 13:01:04.855 rustserver: UPDATE-LGSM: PASS: Updating modules
2024-01-03 06:01:04 Jan 03 13:01:04.861 rustserver: UPDATE-LGSM: INFO: LinuxGSM version: v23.7.1
2024-01-03 06:01:04 Jan 03 13:01:04.864 rustserver: UPDATE-LGSM: PASS: core_exit.sh exiting with code: 0
2024-01-03 06:01:29 Jan 03 13:01:29.633 rustserver: STOP: INFO: Graceful: CTRL+c
2024-01-03 06:01:37 Jan 03 13:01:37.399 rustserver: STOP: PASS: Graceful: CTRL+c: OK: 6 seconds
2024-01-03 06:01:48 Jan 03 13:01:48.921 rustserver: START: PASS: Checking ubuntu-22.04.csv
2024-01-03 06:01:52 Jan 03 13:01:52.933 rustserver: START: INFO: Using anonymous Steam login
2024-01-03 06:01:57 Jan 03 13:01:57.419 rustserver: START: INFO: Running Carbon environment.sh
2024-01-03 06:01:59 Jan 03 13:01:59.036 rustserver: START: INFO: Rotating log files
2024-01-03 06:01:59 tail: '/data/log/script/rustserver-script.log' has become inaccessible: No such file or directory
2024-01-03 06:01:59 tail: '/data/log/console/rustserver-console.log' has become inaccessible: No such file or directory

Steps to reproduce

No response

edit:
image
image

the folder an files do exist

I will update in a bit I am gonna remove the logs folder and retry that

edit 2:
So I updated the lgsm and that still didn't work so after I deleted logs and that caused it to revert the error msg to

2024-01-03 06:25:34 ==> /data/log/console/rustserver-console.log <==
2024-01-03 06:25:34 tail: cannot open '/data/log/console/*script.log' for reading: No such file or directory
2024-01-03 06:25:34 tail: cannot open '/data/log/script/*console.log' for reading: No such file or directory

edit 3:
let me retry with debug mode I just saw that that in the troubleshooting guide myb

edit 4:
debug mode didn't really work as it just hung on initialization after the unity options flags

@kunihir0 kunihir0 changed the title [Bug]: cannot start rust server [Bug]: cannot start rust server due to tail looking in wrong folders Jan 4, 2024
@irobot73
Copy link

irobot73 commented Jan 9, 2024

Might try this docker-compose file:

services:
  linuxgsm-rust-bind:
    image: gameservermanagers/gameserver:rust
    container_name: HOA_RUSTs
    volumes:
      - ./:/data
    restart: unless-stopped

Aside from (some of) the scripts not running properly via CRONTAB, all works as expected.
I run a 7D2D & PZ server:

Screenshot from 2024-01-09 08-08-48

@kunihir0
Copy link
Author

Might try this docker-compose file:

services:
  linuxgsm-rust-bind:
    image: gameservermanagers/gameserver:rust
    container_name: HOA_RUSTs
    volumes:
      - ./:/data
    restart: unless-stopped

Aside from (some of) the scripts not running properly via CRONTAB, all works as expected. I run a 7D2D & PZ server:

Screenshot from 2024-01-09 08-08-48

still doesn't work, same errors regardless of the image I pull or build

@dgibbs64 dgibbs64 transferred this issue from GameServerManagers/LinuxGSM Feb 28, 2024
@teikoku-penguin
Copy link

I am facing the same problem with pmcserver.
image

@egeexyz
Copy link

egeexyz commented Oct 12, 2024

Project Zomboid server reporting in.

Are we able to configure how the server logs? It's odd that the game server process hangs but everything else continues running, giving the impression that the server is fine when it's not.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

4 participants