OpenFactorioServerManager / factorio-server-manager

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

I don't get a username and password when starting a server. #354

Open Leonniar opened 1 year ago

Leonniar commented 1 year ago

After running the server both via command prompt and the .exe file I get this: 2023/05/02 22:21:31 Loaded Factorio settings from config\server-settings.json 2023/05/02 22:21:32 Starting server on: 0.0.0.0:80 And when I go to localhost:80 I get asked for a username and then a password. First time I run the manager It gave me a username (admin) and a password, I don't know if I am supposed to save that (I didn't read anywhere that I should)

I also tried deleting the "rcon_pass" and "cookie_encryption_key" from the conf.jason file and I got a new "rcon_pass" but that's probably encrypted and it didn't work anyway.

To fix it I re-installed everything and made sure to save the password.

If I didn't do anything wrong then maybe it could be a good idea to add it to the installation guide.

Thanks !

knoxfighter commented 8 months ago

Sorry for the really late response. You have to save the login data shown in the log on first startup. To reset those, delete the file sqlite.db.

Sneakychow commented 1 month ago

Where is this file?

Mattie112 commented 1 month ago

By default /opt/fsm-data/sqlite.db

(But you can also change this in the config)