[GH-ISSUE #4831] [Bug]: PaperMC update has null as build number #2997

Closed
opened 2026-02-27 03:06:40 +03:00 by kerem · 3 comments
Owner

Originally created by @jordivn on GitHub (Oct 7, 2025).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4831

User story

As a systemadmin i want to update papermc to 1.21.10

Game

LGSM papermc

Linux distro

Debian 12

Command

command: update

Further information

Apt update apt upgrade -> all fine
pmserver update-lgsm -> all fine
pmserver update -> 404 error (tries to dowload buld "null". Remote version given 1.21.10-null

cleared lgsm/tmp and tried again, same error.

Relevant log output

Oct 07 16:15:32.588 pmcserver: UPDATE: PASS: Checking local build
Oct 07 16:15:33.777 pmcserver: UPDATE: PASS: Checking remote build
Oct 07 16:15:34.483 pmcserver: UPDATE: INFO: Update available
Oct 07 16:15:34.484 pmcserver: UPDATE: INFO: Local build: 1.21.8-60
Oct 07 16:15:34.485 pmcserver: UPDATE: INFO: Remote build: 1.21.10-null
Oct 07 16:15:34.486 pmcserver: UPDATE: INFO: 1.21.8-60 > 1.21.10-null
Oct 07 16:15:34.747 pmcserver: UPDATE: FAIL: Downloading null...
Oct 07 16:15:34.748 pmcserver: UPDATE: FAIL: https://api.papermc.io/v2/projects/paper/versions/1.21.10/builds/null/downloads/null
Oct 07 16:15:34.752 pmcserver: UPDATE: INFO: LinuxGSM version: v25.1.6
Oct 07 16:15:34.753 pmcserver: UPDATE: FAIL: core_exit.sh exiting with code: 1

Steps to reproduce

see above

Originally created by @jordivn on GitHub (Oct 7, 2025). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4831 ### User story As a systemadmin i want to update papermc to 1.21.10 ### Game LGSM papermc ### Linux distro Debian 12 ### Command command: update ### Further information Apt update apt upgrade -> all fine pmserver update-lgsm -> all fine pmserver update -> 404 error (tries to dowload buld "null". Remote version given 1.21.10-null cleared lgsm/tmp and tried again, same error. ### Relevant log output ```shell Oct 07 16:15:32.588 pmcserver: UPDATE: PASS: Checking local build Oct 07 16:15:33.777 pmcserver: UPDATE: PASS: Checking remote build Oct 07 16:15:34.483 pmcserver: UPDATE: INFO: Update available Oct 07 16:15:34.484 pmcserver: UPDATE: INFO: Local build: 1.21.8-60 Oct 07 16:15:34.485 pmcserver: UPDATE: INFO: Remote build: 1.21.10-null Oct 07 16:15:34.486 pmcserver: UPDATE: INFO: 1.21.8-60 > 1.21.10-null Oct 07 16:15:34.747 pmcserver: UPDATE: FAIL: Downloading null... Oct 07 16:15:34.748 pmcserver: UPDATE: FAIL: https://api.papermc.io/v2/projects/paper/versions/1.21.10/builds/null/downloads/null Oct 07 16:15:34.752 pmcserver: UPDATE: INFO: LinuxGSM version: v25.1.6 Oct 07 16:15:34.753 pmcserver: UPDATE: FAIL: core_exit.sh exiting with code: 1 ``` ### Steps to reproduce see above
Author
Owner

@jordivn commented on GitHub (Oct 7, 2025):

gameuser@MC-Survival ~/gameserver/serverfiles$ curl https://api.papermc.io/v2/projects/paper/versions/1.21.10/builds
{"project_id":"paper","project_name":"Paper","version":"1.21.10","builds":[]}

<!-- gh-comment-id:3377687954 --> @jordivn commented on GitHub (Oct 7, 2025): gameuser@MC-Survival ~/gameserver/serverfiles$ curl https://api.papermc.io/v2/projects/paper/versions/1.21.10/builds {"project_id":"paper","project_name":"Paper","version":"1.21.10","builds":[]}
Author
Owner

@h3o66 commented on GitHub (Oct 7, 2025):

yeah, we do not check if the version has any build yet, what could be probably fixed by some kind of version fallback.

Workaround is to define manually an older version:
mcversion="1.21.9"
then try to update again.

this option goes into the config common.cfg or pmcserver.cfg in the config folder of lgsm

<!-- gh-comment-id:3377756334 --> @h3o66 commented on GitHub (Oct 7, 2025): yeah, we do not check if the version has any build yet, what could be probably fixed by some kind of version fallback. Workaround is to define manually an older version: `mcversion="1.21.9"` then try to update again. this option goes into the config `common.cfg` or `pmcserver.cfg` in the config folder of lgsm
Author
Owner

@jordivn commented on GitHub (Oct 8, 2025):

Build number is availible by now

<!-- gh-comment-id:3381078492 --> @jordivn commented on GitHub (Oct 8, 2025): Build number is availible by now
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2997
No description provided.