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

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

Open
Leonniar opened this issue May 2, 2023 · 3 comments
Open

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

Leonniar opened this issue May 2, 2023 · 3 comments
Labels

Comments

@Leonniar
Copy link

Leonniar commented May 2, 2023

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
Copy link
Member

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
Copy link

Where is this file?

@Mattie112
Copy link
Contributor

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

(But you can also change this in the config)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants