mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #4671] [Bug]: PaperMC install failing #2903
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2903
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jouph on GitHub (Sep 24, 2024).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4671
User story
I would like to be able to install the papermc server
Game
PaperMC Minecraft
Linux distro
Ubuntu 22.04
Command
command: install
Further information
during the install i can get to the Accept PaperMC EULA after choosing Y to continue and accept the EULA i start receiving command not found on several lines in the update_pmc.sh script
Relevant log output
Steps to reproduce
No response
@dgibbs64 commented on GitHub (Sep 25, 2024):
Couple of things to check. Firstly are you running the latest version of LinuxGSM
./pmcserver update-lgsm. Secondly is the installer trying to install the dependencies? Can you can send the whole installer output please? I have been having an issue relating to the docker containers but I cant replicate it with standard LinuxGSM@Jouph commented on GitHub (Sep 25, 2024):
i will check these when i get home and get back to you this evening
@Jouph commented on GitHub (Sep 25, 2024):
I tried to install the server after running ./pmcserver update-lgsm was getting the same error.
the installer said it installed the dependances and asked for sudo password but it seems that did install them, But I went through the list and manually installed the packages that where missing and the ./pmcserver install command worked and created the server.
I do not know why or what one/s it was not installing correctly but here is a list of the ones i manually installed
bsdmainutils
bzip2
jq
lib32gcc-s1
lib32stdc++6
netcat
openjdk-21-jre
pigz
unzip
i have it installed now thankyou for the help
not sure if you still want this but this is the full output of the failed install
LinuxGSM_
by Daniel Gibbs
Version: v24.3.0
Game: PaperMC
Website: https://linuxgsm.com
Contributors: https://linuxgsm.com/contrib
Sponsor: https://linuxgsm.com/sponsor
fetching GitHub install_server_dir.sh...OK
Server Directory
/home/jguatto/Server
Continue? [Y/n] Y
mkdir: created directory '/home/jguatto/Server/serverfiles'
fetching GitHub install_logs.sh...OK
Creating Log Directories
installing log dir: /home/jguatto/Server/log...OK
installing LinuxGSM log dir: /home/jguatto/Server/log/script...OK
creating LinuxGSM log: /home/jguatto/Server/log/script/pmcserver-script.log...OK
installing console log dir: /home/jguatto/Server/log/console...OK
creating console log: /home/jguatto/Server/log/console/pmcserver-console.log...OK
installing game log dir: /home/jguatto/Server/serverfiles/logs...OK
creating symlink to game log dir: /home/jguatto/Server/log/server -> /home/jguatto/Server/serverfiles/logs...OK
fetching GitHub check_deps.sh...OK
Checking PaperMC Dependencies
fetching GitHub ubuntu-22.04.csv...OK
bc
binutils
bsdmainutils
bzip2
ca-certificates
cpio
curl
distro-info
file
gzip
hostname
jq
lib32gcc-s1
lib32stdc++6
netcat
openjdk-21-jre
pigz
python3
tar
tmux
unzip
util-linux
uuid-runtime
wget
xz-utils
Warning! Missing dependencies: bsdmainutils bzip2 jq lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 netcat openjdk-21-jre pigz unzip
[sudo] password for jguatto:
Information! jguatto has sudo access.
Information! Automatically installing missing dependencies.
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:4 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,847 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,065 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [298 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [13.3 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,444 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [421 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,126 kB]
Fetched 8,471 kB in 2s (4,853 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libsdl2-2.0-0:i386
E: Couldn't find any package by glob 'libsdl2-2.0-0'
E: Couldn't find any package by regex 'libsdl2-2.0-0'
Run: 'sudo apt update; sudo apt install bsdmainutils bzip2 jq lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 netcat openjdk-21-jre pigz unzip' as root to install missing dependencies.
fetching GitHub install_server_files.sh...OK
Installing PaperMC Server
fetching GitHub install_eula.sh...OK
Accept PaperMC EULA
You are required to accept the EULA:
https://account.mojang.com/documents/minecraft_eula
By continuing you are indicating your agreement to the EULA.
Continue? [Y/n] Y
fetching GitHub update_pmc.sh...OK
/home/jguatto/Server/lgsm/modules/update_pmc.sh: line 43: jq: command not found
/home/jguatto/Server/lgsm/modules/update_pmc.sh: line 57: jq: command not found
/home/jguatto/Server/lgsm/modules/update_pmc.sh: line 60: jq: command not found
/home/jguatto/Server/lgsm/modules/update_pmc.sh: line 61: jq: command not found
fetching ...curl: (22) The requested URL returned error: 404
FAIL
fetching GitHub core_exit.sh...OK
jguatto@minecraft-test:~/Server$