Website version issues

Bugs that are actually features.
adsads
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Jul 06, 2018 7:56 pm
Contact:

Website version issues

Post by adsads »

On the release information page.(https://factorio.com/download-headless/experimental) The latest experimental build was moved from the experimental page to stable. This broke lgsm's update script for my server that crawls through your versions and download the top result on the headless server page.
Can you have the most recent version on both the stable and experimental page?

download/file.php?mode=view&id=38529

download/file.php?mode=view&id=38532

download/file.php?mode=view&id=38533
Attachments
3.png
3.png (157.31 KiB) Viewed 2000 times
2.png
2.png (145.42 KiB) Viewed 2000 times
1.png
1.png (50.48 KiB) Viewed 2000 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16102
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Website version issues

Post by Rseding91 »

Thanks for the report however this is working as intended. It kind of reminds me of: https://xkcd.com/1172/

The script should be checking the experimental and stable links to find what is the newest version :)
If you want to get ahold of me I'm almost always on Discord.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Website version issues

Post by posila »

FYI:

Code: Select all

https://www.factorio.com/get-download/latest/headless/linux64
always leads to the latest headless build (regardless of it being stable or experimental)
User avatar
dgibbs
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 18, 2018 9:46 pm
Contact:

Re: Website version issues

Post by dgibbs »

LinuxGSM Developer here.

I will look at a workaround to get this working. LinuxGSM relies on checking the webpage for the version number to see if a new version is available.
I will instead have to compare both stable and experimental to make sure admins who use "experimental branch" always get the most recent release regardless of it being experimental or stable.

I couple of requests for the devs.
Would it be possible to do either of the following?
Use SteamCMD: Most game servers use SteamCMD to keep the servers updated. It's really easy from an end-user point of view and less development for me if dev's change the website design.
Use json version checker: Rather than relying on scraping the website, some games use a public json file to show the version number making checking version numbers with scripts very easy.

https://github.com/GameServerManagers/L ... ssues/1933

THhanks
nuhll
Filter Inserter
Filter Inserter
Posts: 967
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: Website version issues

Post by nuhll »

dgibbs wrote:LinuxGSM Developer here.

I will look at a workaround to get this working. LinuxGSM relies on checking the webpage for the version number to see if a new version is available.
I will instead have to compare both stable and experimental to make sure admins who use "experimental branch" always get the most recent release regardless of it being experimental or stable.

I couple of requests for the devs.
Would it be possible to do either of the following?
Use SteamCMD: Most game servers use SteamCMD to keep the servers updated. It's really easy from an end-user point of view and less development for me if dev's change the website design.
Use json version checker: Rather than relying on scraping the website, some games use a public json file to show the version number making checking version numbers with scripts very easy.

https://github.com/GameServerManagers/L ... ssues/1933

THhanks
If user wants latest version, use the link above.

If user wants latest exper version, scrape the exper site

If user wants latest stable version, scrape the stable site

But ofc, some sort of simplicity to automate this process, should be done already.


I looked at your project looks amazuing, how much does it cost? Can you create a docker for it? Best would be an unraid docker... (best "OS" in the world)


I tried LinuxGSM-Docker

and get the following error on unraid, i guess its bc of wrong diretorys or something like this... since you have more exp then me, maybe you can bring out a unraid optimized version, or tell me what i did wrong..
Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='linuxgsm-docker' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="unRAID" -e 'DEBIAN_FRONTEND'='noninteractive' -e 'TERM'='xterm' -e 'PATH'='$PATH:/home/lgsm' 'gameservermanagers/linuxgsm-docker'
f81674364ce4174dc2e20821c1d4dd5611455c993e0c17a573f0b43aa55a4083
/usr/bin/docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "exec: "bash": executable file not found in $PATH".

The command failed.


Unraid really lacks any sort of gaming docker, would be the only one existing.. they have many users and they grow rapidly bc many youtubers are using their stuff. (like linus https://www.youtube.com/watch?v=LXOaCkbt4lI)
User avatar
dgibbs
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 18, 2018 9:46 pm
Contact:

Re: Website version issues

Post by dgibbs »

Thanks nuhll

The project is open source so anyone with a linux install can use it. Their have been experiments with docker, however, a decent solution has yet to be created (time and lack of expertise) and it's really buggy. So I would avoid the docker repo.

Hopefully, the devs come up with something to improve the automation of updating servers.
Post Reply

Return to “Not a bug”