OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
556 stars 131 forks source link

Failed to create save file #98

Closed tavichh closed 6 years ago

tavichh commented 6 years ago

Ubuntu Server 16.04

There's nothing in the logs and I see it is creating the folder but it's blank.

I made a user "factorio" and ran: sudo ./factorio-server-manager --dir ~/.factorio to start the server. Everything works up to the point of actually starting the server. The server can't start until a save file is present which isn't generating. What could be the issue?

knoxfighter commented 6 years ago

You need to to generate a savefile, it has two possible ways to do this:

  1. Upload a savefile from your local machine
  2. Generate a savefile in the factorio-server-manager

Both functionalities can be found in the Saves Tab

tavichh commented 6 years ago

When I go to generate a save file it says "Failed to create save file"

knoxfighter commented 6 years ago

Then it should have some error messages in the log, would be nice, if you can post them here, so we can find whats going wrong and fix it.

tavichh commented 6 years ago

There's nothing in the logs and I see it is creating the folder but it's blank.

knoxfighter commented 6 years ago

Which version of factorio and which version of the factorio-server-manager do you use?

tavichh commented 6 years ago

The latest version of factorio available on their website and the latest git of the server manager

knoxfighter commented 6 years ago

I cant reproduce your error, do you have any mods installed? And when creating a save, a zip-file should be created in the saves-folder. You also can create a save in the game factorio and copy it to the factorio-server and use this, so you dont need to create a save with this manager :smile:

tavichh commented 6 years ago

Somewhat good news

I was able to start a server by chmoding the ~/.factorio to 777 however it still gave a error and only if I uploaded my own save file which is what you just recommended so good timing lol.

The error looked like something was wrong with the website (something along the lines of script(sucess:true,savegame:yes) but i just ignored it. Thanks for the help. I don't know why it was giving me such a hard time.