I am trying to setup two loraserver instances, one for India and another for Europe. The configurations are all in place and the all the components start-up fine.
When I add the first network server, let’s say for India, it is added without any problems.
But while adding the second network server, I get the error ERROR: duplicate key value violates unique constraint “routing_profile_pkey”. Following this is a description of the error which says that the routing_profile_id cannot be duplicate.
AFAIK the routing-profile-id was specified in the lora-app-server config and should not be changed.
So, what am I doing wrong??
Edit: I have managed to get that working by using separate database instances for each network server.
But this begs the question that why are we using such an architecture? IMHO this increases the number of managed instances which I was trying to avoid.