Closed Omaha2002 closed 3 years ago
Hi, i missed that in the README. Those information is not correct anymore. The first time the manager starts (or when no db file exists), it will create an admin account with a random password. This password is printed to stdout and can be viewed in the console output of your docker container.
View it with docker-cpompose logs
or docker logs <containerID>
PS: The name of the server-manager-config file is conf.json
Thanks for the quick reply, found the password with docker-compose logs but using it with admin and the password found in the logs still gives:
I see another error in the logs though, will check this aft whats wrong..
Running it without SSL/TLS requires you to define "secure" to false in the conf.json: https://github.com/OpenFactorioServerManager/factorio-server-manager/issues/247#issuecomment-777104057
Indeed, in the end it was a SSL/TLS error.
in the .env file (kinda stupid) I didn't remove the <> in:
RCON_PASS= DOMAIN_NAME=<"domainname"> EMAIL_ADDRESS=<"e-mail address">
after fixing that I got a:
and using the created password I could login:
Thank you for the directions and thank you for a nice way to manage factorio servers :-)
Since the initial credentials have been removed from the .env file I can't login for the first time to start the server for the first time.
I tried admin/factorio but these are not working. README says:
"Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication."
To me it is not clear where to put the credentials for the initial UI login.
README in the docker section says:
**An admin user is created initially using the credentials defined in the factorio-server-manager config file.
Users can be added and deleted on the settings page.**
But there is no factorio-server-manager config file if the server has not been started the first time I think.
Apparently there is an admin user in sqlite.db, no idea what the password is:
so for now I'm stuck at:
with a valid certificate that is :-) (edit: I did not have a valid certificate, the reason i couldn't login after all)