[GH-ISSUE #2498] Rust: error when using mods-update #1840

Closed
opened 2026-02-27 02:59:18 +03:00 by kerem · 12 comments
Owner

Originally created by @sasjafor on GitHub (Sep 5, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2498

User Story

When I use ./linuxgsm mods-update I get a failure and I believe the relevant part is this error:
curl: (3) URL using bad/illegal format or missing URL.

Basic info

  • Distro: Ubuntu 19.04
  • Game: Rust
  • Command: mods-update

Further Information

It only started happening today since the new rust update

To Reproduce

Steps to reproduce the behaviour:

  1. Run rust server
  2. Run ./linuxgsm mods-update after todays rust update
  3. See error Failure! An issue occurred downloading Oxide for Rust

Expected behaviour

No error and working mod update.

Originally created by @sasjafor on GitHub (Sep 5, 2019). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2498 ## User Story When I use ./linuxgsm mods-update I get a failure and I believe the relevant part is this error: `curl: (3) URL using bad/illegal format or missing URL`. ## Basic info * Distro: Ubuntu 19.04 * Game: Rust * Command: mods-update ## Further Information It only started happening today since the new rust update ## To Reproduce Steps to reproduce the behaviour: 1. Run rust server 2. Run ./linuxgsm mods-update after todays rust update 3. See error `Failure! An issue occurred downloading Oxide for Rust` ## Expected behaviour No error and working mod update.
kerem 2026-02-27 02:59:18 +03:00
Author
Owner

@issue-label-bot[bot] commented on GitHub (Sep 5, 2019):

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

<!-- gh-comment-id:528618232 --> @issue-label-bot[bot] commented on GitHub (Sep 5, 2019): Issue-Label Bot is automatically applying the label `type: bug` to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/GameServerManagers/LinuxGSM) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Author
Owner

@carek5 commented on GitHub (Sep 5, 2019):

The same

<!-- gh-comment-id:528622208 --> @carek5 commented on GitHub (Sep 5, 2019): The same
Author
Owner

@psycomaffo commented on GitHub (Sep 6, 2019):

i had the same issue on 3 server, but with a different error on CentOS7...
with the command "mods-update", on 2 server i get
"curl: (3) Illegal characters found in URL
Failure! An issue occurred downloading Oxide for Rust"
and to the otherone i get this
"curl: (3) Illegal characters found in URL
FAIL
https://github.com/theumod/uMod.Rust/releases/download/2.0.4268/Oxide.Rust-LinuxFix.zip
https://github.com/theumod/uMod.Rust/releases/download/2.0.4268/Oxide.Rust.zip"
i already did the update-lgsm but the servers shoutdown immediatly after the start
sry for my bad english and if i'm in wrong to post here

<!-- gh-comment-id:528666892 --> @psycomaffo commented on GitHub (Sep 6, 2019): i had the same issue on 3 server, but with a different error on CentOS7... with the command "mods-update", on 2 server i get "curl: (3) Illegal characters found in URL Failure! An issue occurred downloading Oxide for Rust" and to the otherone i get this "curl: (3) Illegal characters found in URL FAIL https://github.com/theumod/uMod.Rust/releases/download/2.0.4268/Oxide.Rust-LinuxFix.zip https://github.com/theumod/uMod.Rust/releases/download/2.0.4268/Oxide.Rust.zip" i already did the update-lgsm but the servers shoutdown immediatly after the start sry for my bad english and if i'm in wrong to post here <blockquote></blockquote> <blockquote></blockquote>
Author
Owner

@carek5 commented on GitHub (Sep 6, 2019):

https://umod.org/community/rust/12061-server-not-starting-with-oxide?page=8

Helped for me

uMod is a universal modding platform, framework, and plugin API for Unity, .NET/C#, Unreal, and C++ games
<!-- gh-comment-id:528668425 --> @carek5 commented on GitHub (Sep 6, 2019): https://umod.org/community/rust/12061-server-not-starting-with-oxide?page=8 Helped for me <blockquote><img src="https://assets.umod.org/images/umod-favicon.png" width="48" align="right"><div><strong><a href="https://umod.org/community/rust/12061-server-not-starting-with-oxide?page=8">uMod - Server not starting with Oxide - Rust - Community</a></strong></div><div>uMod is a universal modding platform, framework, and plugin API for Unity, .NET/C#, Unreal, and C++ games</div></blockquote>
Author
Owner

@psycomaffo commented on GitHub (Sep 6, 2019):

Thanx a lot caker5... i already seen something like this some hours ago, but i didn't read about the LinuxFix Files.... now all work fine... tnx again

<!-- gh-comment-id:528683141 --> @psycomaffo commented on GitHub (Sep 6, 2019): Thanx a lot caker5... i already seen something like this some hours ago, but i didn't read about the LinuxFix Files.... now all work fine... tnx again
Author
Owner

@lukespragg commented on GitHub (Sep 6, 2019):

I believe this is caused by the assumption that the URL used will always have the filename in the URL, which they do not. In this case, our develop URL redirects to a URL that CONTAINS a filename, but doesn't END with a filename as it has arguments in the URL.

The solution should be for LGSM to always set a filename when using curl to grab the file, instead of using whatever the URL may or may not contain as the filename.

https://umod.org/games/rust/download/develop is the URL currently for our Linux builds, which redirects to https://ci.appveyor.com/api/projects/umod/umod-rust/artifacts/Oxide.Rust-linux.zip?pr=false&branch=linux. The redirect is already handled by LGSM, but the filename is not from what I can tell as I believe it tries to get it from the URL.

Edit: May not be the case after another look over LGSM. It was mentioned that replacing the curl and GitHub handling at https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/mods_list.sh#L40 with the develop URL should be enough.

<!-- gh-comment-id:528941417 --> @lukespragg commented on GitHub (Sep 6, 2019): I believe this is caused by the assumption that the URL used will always have the filename in the URL, which they do not. In this case, our develop URL redirects to a URL that CONTAINS a filename, but doesn't END with a filename as it has arguments in the URL. The solution should be for LGSM to always set a filename when using curl to grab the file, instead of using whatever the URL may or may not contain as the filename. https://umod.org/games/rust/download/develop is the URL currently for our Linux builds, which redirects to https://ci.appveyor.com/api/projects/umod/umod-rust/artifacts/Oxide.Rust-linux.zip?pr=false&branch=linux. The redirect is already handled by LGSM, but the filename is not from what I can tell as I believe it tries to get it from the URL. **Edit:** May not be the case after another look over LGSM. It was mentioned that replacing the curl and GitHub handling at https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/mods_list.sh#L40 with the develop URL should be enough.
Author
Owner

@sasjafor commented on GitHub (Sep 14, 2019):

I did some testing, and with the PR it does now correctly download and apply oxide. But it does it everytime the mods-update command is run. So it doesn't seem to detect that oxide is already up to date.

<!-- gh-comment-id:531466296 --> @sasjafor commented on GitHub (Sep 14, 2019): I did some testing, and with the PR it does now correctly download and apply oxide. But it does it everytime the mods-update command is run. So it doesn't seem to detect that oxide is already up to date.
Author
Owner

@Frisasky commented on GitHub (Sep 14, 2019):

lgsm did not detect which version installed, it just fetch latest version and overwritten old files

<!-- gh-comment-id:531466416 --> @Frisasky commented on GitHub (Sep 14, 2019): lgsm did not detect which version installed, it just fetch latest version and overwritten old files
Author
Owner

@sasjafor commented on GitHub (Sep 14, 2019):

Yes. But I thought it did detect it before? Because I run it with a cronjob. So I don't want it downloading oxide everytime that command runs.

<!-- gh-comment-id:531467000 --> @sasjafor commented on GitHub (Sep 14, 2019): Yes. But I thought it did detect it before? Because I run it with a cronjob. So I don't want it downloading oxide everytime that command runs.
Author
Owner

@Frisasky commented on GitHub (Sep 14, 2019):

all mod related function are included in this file, you did not find a function called check mod version, right?
https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/mods_core.sh

GitHub
Linux Game Server Managers_. Contribute to GameServerManagers/LinuxGSM development by creating an account on GitHub.
<!-- gh-comment-id:531467201 --> @Frisasky commented on GitHub (Sep 14, 2019): all mod related function are included in this file, you did not find a function called check mod version, right? https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/mods_core.sh <blockquote><img src="https://repository-images.githubusercontent.com/12000586/6e5e5300-8628-11e9-97fa-adcf12828a7c" width="48" align="right"><div><img src="https://github.githubassets.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/GameServerManagers/LinuxGSM">GameServerManagers/LinuxGSM</a></strong></div><div>Linux Game Server Managers_. Contribute to GameServerManagers/LinuxGSM development by creating an account on GitHub.</div></blockquote>
Author
Owner

@sasjafor commented on GitHub (Sep 14, 2019):

Alright, I'll open a feature request then.

<!-- gh-comment-id:531470335 --> @sasjafor commented on GitHub (Sep 14, 2019): Alright, I'll open a feature request then.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 24, 2020):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:750634007 --> @github-actions[bot] commented on GitHub (Dec 24, 2020): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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#1840
No description provided.