Configuration file .env and Custom FMS user

Hello,

I’m running OttoFMS on two Filemaker servers running on windows. As my filemaker servers are not using the default user, I’ve also manually changed the user running OttoFMS services. Everything seems to be working fine, I’m able perform migrations no problem.

But I just read on the documentation website ( Configuration using .env files | OttoFMS ) that there’s a configuration file that should contain some information if the filemaker servers are not using the default values for the server path or the username. At the moment, the file doesn’t seem to exist on my servers. Should I actually manually create that file? What is the impact of adding the username in there knowing that the service is already running with the custom user (at least on windows). Is it actually useful?

Hey Thomas,

OttoFMS uses the env variables for custom setup rarely, but I would recommend settings them. You would need to create the .env file yourself and put it into the config directory. The most important of those variables is the FM_SERVER_PATH if you’re installing at a custom path. I’d recommend adding the username and password as well so you don’t hit any strange bugs where OttoFMS is expecting them.

-Kyle