I was successfully running 4 gateways and am now attempting to add a 5th gateway. I am getting the following error when calling set_credentials:
HTTPError: ('500 Server Error: Internal Server Error for url: http://localhost:1969/ibg5/credentials', {'status': 'error', 'msg': 'an unhandled exception occurred, please check flightlog for the traceback and notify support if the problem persists as this might be a bug', 'error': "Destination path '/root/Jts/ebpefcdobokjkclmjkdkfbachdldnonaodinmdlo' already exists"})
The first 4 calls to set_credentials work fine, it is the 5th one that keeps failing. I have tried to recreate all the gateways, even removing them all and re-adding them (by removing the docker-compose-override.yml and rebuilding the docker containers, removing the orphans)
I also received this exact same error when first moving from a single gateway to 4 gateways, but I just rebuilt the services a couple of times and finally it decided to work. This time it fails every time.
I tried to revert back to 4 gateways but somehow it remembers that I tried to add a 5th gateway when I try to stop/start gateways (even though I removed the ibg5 from override.yml and rebuilt the services) and now I can't seem to revert back to what was working before. I am stuck.
Any suggestions?