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]: PaperMC install failing #4671

Open
Jouph opened this issue Sep 24, 2024 · 3 comments
Open

[Bug]: PaperMC install failing #4671

Jouph opened this issue Sep 24, 2024 · 3 comments

Comments

@Jouph
Copy link

Jouph commented Sep 24, 2024

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

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
/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

Steps to reproduce

No response

@Jouph Jouph added the type: bug Something isn't working label Sep 24, 2024
@dgibbs64
Copy link
Member

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
Copy link
Author

Jouph commented Sep 25, 2024

i will check these when i get home and get back to you this evening

@Jouph
Copy link
Author

Jouph commented 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$

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

No branches or pull requests

2 participants