-
Notifications
You must be signed in to change notification settings - Fork 141
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
Auto Start #301
Comments
Hi @jaschuu, You should be able to specify the |
where do I -autostart? in the conf.json ? |
You can set it via environment variable or in conf.json. I think for conf.json you would add a |
where do my auto saves / saves go, I can not find them? |
It depends on where you are mapping the |
factorio path = /mnt/user/appdata/fsm_factorio/ this is all I know, they are the folders I have checked, 5647.126 Info ServerMultiplayerManager.cpp:1212: Auto saving map as /opt/factorio/saves/Deathworld.zip i just left the default directories, but i have no idea where that is. |
If you have used our docker compose file, the saves are located in |
I haven't used unraid but it looks like there are config options you can set to map the volume to your host machine: https://wiki.unraid.net/index.php/UnRAID_6_2/Docker_Management#Volume_Mappings. You'll need to map the |
looks to already be mapped, -v '/mnt/user/appdata/fsm_factorio/':'/opt/factorio':'rw' I can see the saves and mods folders but they are empty so i am not sure where those files went, |
If you have a console available, you can connect to the docker container, look into |
Try adding another mount pointing directly to the Ex.
|
Also seem to be having an issue where after adding |
I'm not super familiar with gocode but does the json key need to be populated here? |
@VACIndustries you are right. It's currently not possible to set the The What do you think of |
@jannaahs that would be great if we could add it in. I'm running FSM in docker on my Unraid server and this is the final step to have it all automated right now. I'd imagine it would be beneficial to anyone using it in a container setup. |
Is this as easy as a one line change as I referenced above? If so, I can give it a go myself and if successful can open a PR |
@VACIndustries yes, it should be just a one line change. |
Was there ever any PR created for making it so the docker container can do an autostart? This is becoming a problem for me when Unraid does a backup, stopping containers to backup all the data, then starting them all back up. |
(For Unraid CA backup you can also uncheck your factorio server so it won't be shut down when backing-up, yes there is a chance a file is written the same moment the backup is made but for me the backup is scheduled when there are no players online) |
I would also appreciate autostart in Unraid. I always forget to restart the server after updating the operating system. |
I'm not sure if you guys talk about the same as what I want but I will add my 5 cents to it. I would really appreciate it if we could start the server after the docker was restarted. If my Unraid server gets restarted all my docker start automatically. But Factorio Server Manager won't load the map/server only the docker starts. Is it somehow possible now that it will automatically start the server? |
Hi, any updates on getting this merged in? Looking at setting up a factorio server and this would be very useful. |
The
Note: In the docker container you can access the file via /opt/entrypoint.sh if you want to do the modification yourself. In docker-compose.yml add a volume mapping. We are overwriting the entrypoint.sh in the container with our own.
|
If no one is working on this I will try to have a look this weekend to the auto start with docker |
#332 |
Ah, good, thanks for pointing me to the PR, didn't know there was already something. It is a bit hard as there are also lots of open issues about this. I will link everything I know off in that PR and see if I can test it out this weekend then. I am in contact with knoxfighter about this anyway. |
Hey,
Is it possible to have the server auto start using the latest save file if there is one?
my unraid server stops all the containers to auto update them and what not, and when the fsm container starts back up the server does not start.
thanks
The text was updated successfully, but these errors were encountered: