GameServerManagers / LinuxGSM

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

[Bug]: Starting a new installed vhserver (or old one) not working, the one running all the time is working #4397

Closed natrius closed 11 months ago

natrius commented 11 months ago

User story

I want to start a newly installed vhserver (or an old one).

Game

Valheim

Linux distro

Ubuntu 22.04, Ubuntu 20.04

Command

command: start

Further information

Hello,

i'm using Ubuntu 22.04.3 LTS Server and wanted to install a new Valheim Server (vhserver) and installed a new one with ./linuxgsm.sh install and i have my new one here. When i am starting the server with ./vhserver-5 start it ends with errors

fetching GitHub core_functions.sh...ERROR
fetching Bitbucket core_functions.sh...FAIL
./vhserver-5: line 122: core_exit.sh: command not found
./vhserver-5: line 428: fn_fetch_config: command not found
./vhserver-5: line 430: /home/vhserver/lgsm/config-lgsm/vhserver/vhserver-5.cfg: No such file or directory
./vhserver-5: line 437: fn_fetch_config: command not found
./vhserver-5: line 439: /home/vhserver/lgsm/config-lgsm/vhserver/secrets-vhserver-5.cfg: No such file or directory
grep: /home/vhserver/lgsm/config-lgsm/vhserver/vhserver-5.cfg: No such file or directory
grep: /home/vhserver/lgsm/config-lgsm/vhserver/secrets-vhserver-5.cfg: No such file or directory
./vhserver-5: line 463: fn_ansi_loader: command not found
./vhserver-5: line 467: core_getopt.sh: command not found

Now, my most used one ./vhserver-3 details works just fine, its the one running all the time. -4 works as well, but the older ones ./vhserver-2 details end with

fetching GitHub core_functions.sh...ERROR
fetching Bitbucket core_functions.sh...FAIL
./vhserver-2: line 129: core_exit.sh: command not found
./vhserver-2: line 413: check_ip.sh: command not found
./vhserver-2: line 512: fn_ansi_loader: command not found
./vhserver-2: line 516: core_getopt.sh: command not found

Same for ./vhserver (that the first one, not running for a long time) as well.

I found https://github.com/GameServerManagers/LinuxGSM/issues/1340 ping github.com works fine. curl -V output is

curl -V
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
Release-Date: 2022-01-05
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd

so TLS-SRP should work, i guess?

But confusing, why it does not work anymore suddenly or if i'm missing something.

Relevant log output

No response

Steps to reproduce

No response

dgibbs64 commented 11 months ago

core_functions is out of date and no longer used. You need to upgrade linuxgsm

natrius commented 11 months ago

Thanks for the answer, i thought of that already (i forgot to mention), but if i go with ./vhserver-5 update-lgsm i get

fetching GitHub core_functions.sh...ERROR
fetching Bitbucket core_functions.sh...FAIL
./vhserver-5: line 122: core_exit.sh: command not found
./vhserver-5: line 428: fn_fetch_config: command not found
./vhserver-5: line 430: /home/vhserver/lgsm/config-lgsm/vhserver/vhserver-5.cfg: No such file or directory
./vhserver-5: line 437: fn_fetch_config: command not found
./vhserver-5: line 439: /home/vhserver/lgsm/config-lgsm/vhserver/secrets-vhserver-5.cfg: No such file or directory
grep: /home/vhserver/lgsm/config-lgsm/vhserver/vhserver-5.cfg: No such file or directory
grep: /home/vhserver/lgsm/config-lgsm/vhserver/secrets-vhserver-5.cfg: No such file or directory
./vhserver-5: line 463: fn_ansi_loader: command not found
./vhserver-5: line 467: core_getopt.sh: command not found
natrius commented 9 months ago

Okay, now i did wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver and it created a -6 thats working as well. But no chance in getting the others up and running again i guess? Or can i simply copy the new one?