Uipath-install.sh stuck on "Waiting for ArgoCD applications to be synced"

I had Automation Suite 2023.10.5 with just Orchestrator and Action Center.

I added apps, automation_ops and automation_hub to the cluster_config.json and run

./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -f  -s --accept-license-agreement

now the install-UiPath-sh is stuck on

time="2024-09-18T09:42:46+02:00" level=info msg="Waiting for ArgoCD applications to be synced: [sfcore robotube platform orchestrator webhook notificationservice actioncenter ba automationhub automationops]"

it has been waiting there for about 20 minutes.

How do you troubleshoot it?

I logged to ArgoCD https://alm.uipath.xxx and I can see there

  • sfcore (healthy, synced)
  • robotube (healthy, synced)
  • platform ( healthy, outofsync, syncing)
  • orchestrator (healthy, synced)
  • webhook (healthy, synced)
  • notificationservice (healthy, synced)
  • actioncenter (healthy, synced)
  • ba (healthy, synced)
  • automationhub (healthy, synced)
  • automationops (healthy, synced)

So “platform” is outofsync, and it seems that it’s the job “identity-service-migrations-migrate-1.0”, the pods logs say

 ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_AspNetUsers'. Cannot insert duplicate key in object 'identity.AspNetUsers'. The duplicate key value is (7f36fcc2-b822-430b-ae30-5ecfbacac186).

Any advice on how to fix it?

I can see in the MS SQL Server > AutomationSuite_Platform > identity > AspNetusers that7f36fcc2-b822-430b-ae30-5ecfbacac186 is user “admin” which has isDeleted: true but isActive: true as well.

But what I’m supposed to do? delete the admin user that doesn’t feel right.

I after “undeleting” the admin user by setting “isDelete: false” in AutomationSuite_Platform.identity.AspNetUsers , the “identity-service-migrations-migrate-1.0" suceeded.

But that means that right now I can’t delete “admin” user. I don’t want to have it , I prefer to have my own host local user not a generic “admin”.

The UI allow to delete the “admin” user, so it’s strange that then fails later this way.

Hi @Ruben_Laguna

Were you able to resolve this issue?

I’m experiencing the exact same problem—it’s been stuck for over two hours now, and I’m unable to access the ArgoCD UI to investigate, as my ArgoCD URL isn’t up yet.

Does anyone know what might be causing this or have any suggestions on how to fix it? Any help would be greatly appreciated!

Thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.