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.
It only started happening today since the new rust update
Steps to reproduce the behaviour:
Failure! An issue occurred downloading Oxide for RustNo error and working mod update.
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, dashboard and code for this bot.
The same
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
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
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
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.
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.
lgsm did not detect which version installed, it just fetch latest version and overwritten old files
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.
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.
Alright, I'll open a feature request then.
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.
Most helpful comment
The same