Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unraid Docker server-manager only loads latest/experimental factorio version #315

Closed
RyleyRobinson opened this issue Feb 27, 2022 · 23 comments

Comments

@RyleyRobinson
Copy link

there is no way to select the normal version 1.1.53 in the automatic update,
the beta version 1.1.55 is always pulled,
so this server does not work with Steam, the current version there is 1.1.53

please help me how can i solve the problem

@Mattie112
Copy link
Contributor

Add an env var to your container. Call it FACTORIO_VERSION and give it the value 'stable'

@RyleyRobinson
Copy link
Author

Hi @Mattie112,
thanks for the fast answer, I tried that, unfortunately no change

I found this https://www.factorio.com/download according to this explanation I need server version 1.1.53

@RyleyRobinson
Copy link
Author

that should be the source of the server versions,

https://hub.docker.com/r/ofsm/ofsm/tags

unfortunately I don't see a version number there

@Mattie112
Copy link
Contributor

For me adding the env var mentioned above works. I am running it in docker so if you run it differently I assume it also works in the config file?

@RyleyRobinson
Copy link
Author

image

@RyleyRobinson RyleyRobinson reopened this Feb 27, 2022
@RyleyRobinson
Copy link
Author

image

@Mattie112
Copy link
Contributor

How did you set the environment variable?

@knoxfighter
Copy link
Member

Depending on what your way to create the docker container is, the env variables are only changed when the container is rebuilt.
When using our docker-compose yml you should do the change, then docker-compose down && docker-compose up -d
The correct version of factorio is downloaded on startup of the container with the entrypoint.sh script.
Downloaded from: https://www.factorio.com/get-download/${FACTORIO_VERSION}/headless/linux64

@Mattie112
Copy link
Contributor

the env variables are only changed when the container is rebuilt.

You can override any variables that are set during the build. Both with docker-compose or a regular "docker create/run" command.

But indeed you need to restart/recreate your container.

@RyleyRobinson
Copy link
Author

Thank you for your replies, unfortunately they are of no help to me.
Because I don't understand them. I would be very happy if you could explain it to me in such a way that a beginner like me can do it.
Please step by step, please provide clear explanations without technical terms, what exactly do I have to do first,

@Mattie112
Copy link
Contributor

First start by telling us How you run FSM? Docker? Windows? Linux? What are your settings?

You said you changed the environment var but it didn't work, show: how did you set it? Then we can confirm that is the right way.

You are not really providing enough information to properly point you in the right direction (other then what was already mentioned)

@RyleyRobinson
Copy link
Author

neu starten/neu erstellen.

Depending on how you create the Docker container,
==> I install the "applications" and then I can adjust or change something in the Docker settings
image

@RyleyRobinson
Copy link
Author

image

@knoxfighter
Copy link
Member

I guess the easiest and direct way would be if you join the discord: https://discord.gg/SB647WmSbU

@Mattie112
Copy link
Contributor

Mattie112 commented Feb 27, 2022

OK, so you use Unraid. Great, so do I. Just add the following variable and restart.

Screenshot_20220227-224001_Chrome

Edit
And for those who don't know Unraid. It's a Unix based server OS (with docker support and a web UI to manage containers)

It should work with this. But don't forget to restart the container

@Mattie112
Copy link
Contributor

@RyleyRobinson did you get it to work? I have a 2nd server (mods) that got updated after restart, setting this variable fixed it again.

@RyleyRobinson
Copy link
Author

Hello Mattie112,

Thank you very much for your great explanation and of course everyone else.

I did exactly what you said, at least I hope so
my steps:
1.) As you wrote << Just add the following variable and reboot. >> that's exactly what I did
2.) then I restarted the container, starts without errors, but in the WebUI the page remains blank

ok then I thought to myself what exactly do you mean by restart, so I pressed << force update>> and as far as I understood that then the dock was deleted and downloaded again.

My log file and my docker settings see below

image

image

image

@RyleyRobinson
Copy link
Author

Do you have an idea why the server isn't starting properly now?

I also tried removing the variable again, but unfortunately that didn't change anything, it can be started, but the page remains blank when the web UI is opened.

Should I completely delete and reinstall Docker, and if so, what is the best way to do that?

@Mattie112
Copy link
Contributor

Just to confirm:

I get a new container from the app store, start it, its on the latest version, add the env variable, and restart it (done automatically) and it is on stable with no problem.
Screenshot 2022-03-07 084623
Screenshot 2022-03-07 084748
Screenshot 2022-03-07 084755
Screenshot 2022-03-07 084819
Screenshot 2022-03-07 084916

Reinstalling Docker should not be needed but if you want you can go to settings -> docker and then turn it off. There is also a "docker vdisk location" listed, if you remove that file and then durn docker on again everything is gone. Well everything except the stuff in /mnt/user/appdata so you might want to clear that to.

@jeanfbrito
Copy link

I had the same problem today. There is a way to select the exact version that the server runs? I don't want auto update.

@jeanfbrito
Copy link

Found it! Just add the exact version number to the variable and the image will use that version. Thanks!

I would at least use the stable version by default. My problem is that the server was in the experimental 1.1.56 and steam is on 1.1.53 that is the stable version. Counter intuitive to be the "beta" version the default.

@knoxfighter
Copy link
Member

That is a different issue, but here is the answer nonetheless:
Just change the FACTORIO_VERSION to the factorio version you want. e.g. 1.1.53

@jeanfbrito
Copy link

That is a different issue, but here is the answer nonetheless: Just change the FACTORIO_VERSION to the factorio version you want. e.g. 1.1.53

Thanks for the reply! My problem happened on Unraid too. That's why I found it.

@knoxfighter knoxfighter changed the title Unrais Docker "factorio-server-manager" onli Version 1.1.55.0 is iusable in the automatic update Unrais Docker "factorio-server-manager" only Version 1.1.55.0 is usable in the automatic update Aug 23, 2022
@knoxfighter knoxfighter changed the title Unrais Docker "factorio-server-manager" only Version 1.1.55.0 is usable in the automatic update Unraid Docker server-manager only loads latest/experimental factorio version Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants