Skip to content

LXC Script aborts with error "curl: (22) The requested URL returned error: 404" #66

@Wayfarer-es

Description

@Wayfarer-es

When running the setup_minecraft_lxc.sh script, after updating packages and checking for OpenJDK 21, it suddenly aborts with the stated curl error. Note that only the file /opt/minecraft/eula.txt exists after the script aborts, so the issue may be in the code that downloads PaperMC server jar.

Full script output follows:

root@Minecraft-LXC:~# ./setup_minecraft_lxc.sh
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://security.debian.org trixie-security InRelease
All packages are up to date.    
Summary:                        
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
screen is already the newest version (4.9.1-3).
wget is already the newest version (1.25.0-2).
curl is already the newest version (8.14.1-2+deb13u2).
jq is already the newest version (1.7.1-6+deb13u1).
unzip is already the newest version (6.0-29).
ca-certificates is already the newest version (20250419).
gnupg is already the newest version (2.4.7-21).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openjdk-21-jre-headless is already the newest version (21.0.9+10-1~deb13u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
curl: (22) The requested URL returned error: 404
root@Minecraft-LXC:~# 

Feel free to reach me back in case further testing is needed. Thanks in advance for your kind help.

Regards,
-- Wayfarer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions