Could not connect to Mongo Service after server ip address changed

Hi there,

I recently had to change the address of the machine my repository is on, so I remapped the drives (to the same letters) in windows but for some reason it still seems to be looking for the old ip address for the repository.
Deadline comes up with the “Could Not Connect to Database” message and I choose “Set Repository”. From there I set the repository path as well as certificate and passphrase, that all seems to work fine but then when I accept that it says “Could not connect to any of the specified Mongo DB servers” and there it has my old server IP address.

Any ideas what might cause that?
Thanks,
Pete

The IP address and/or host name for the DB is baked in the connection.ini file found at “[repo]/settings/connection.ini”. Look for the ‘Hostname’ line and modify it.

If you’re using certificates, they will have had to be changed as the name of the machine is baked into them. Doing a fresh DB install (after backing up the DB folder!) will create a new set of sets, then it’s just a matter of following the relocation guide.