-
Notifications
You must be signed in to change notification settings - Fork 140
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
Server Autostart on Unraid #409
Comments
I can confirm the same behaviour. To add to that and confirm the value was passed correctly, here's the output of a command for the container: printenvHOSTNAME=6ca9cbef4a20 |
see: #301 for more |
Is it in any way possible to start the factorio server within the container trough command line? Maybe a workaround would be to create a userscript that runs after the backup is complete to start the server "manually". Using the Evn.Variables seems to be bugged in fsm/unraid. |
@Tronnic see #301 (comment) for a possible work-around |
@Mattie112 I have looked into the possible fix with the entrypoint.sh, unfortunately this doesn't work for me as well. |
What confuses me about the docker installation is that entrypoint.sh does not appear to pass any of its CLI arguments to the actual fsm process. So when starting the container using |
That could very well be the case but I won't have time to dive into it before the weekend. If you can test it out and report back (or create a PR) that would be great! If not I will try it in the weekend. |
@Mattie112 I tested exactly that (after taking some time to get the docker build going locally) and it appears to work fine. With the argument passing added it now reacts to Here's the command I tested this with: Want me to create a PR for this miniscule change? I know this does not fix the original problem with Environment variables, but still seems relevant because as it stands right now, CLI parameters to fsm are ignored in docker. |
@Tronnic I've gotten the autostart feature to work on Factorio Server Manger. I am deploying the container via Unraid and followed these steps:
After adding the Thank you to @Leridon for figuring this out! Hope this helps! |
Hello everyone, I am unable to setup Server Autostart within my unraid docker.
I set the FSM_AUTOSTART variable to true but the server remains offline.
My unraid server does a backup of all containers at night, which results in the factorio server being offline. Is there any possible fix for this?
Is there any other way to fix the autostart? Where would the conf.json be?
Any help would be greatly appreciated!
Best regards,
Frank.
The text was updated successfully, but these errors were encountered: