I have started cloning a SXA site but it's shows "running script..." on UI.

enter image description here

I checked few things

  1. Checked logs, found this line Job ended: SPE - "Clone Site" - sitecore\Admin (units processed: )
  2. Checked /sitecore/admin/jobs.aspx there is no Running or Queued jobs.

Can I consider it done without any update on UI or shall I wait? How would I know the progress of the operation?

1 Answer 1


There is no other way to tell (at least for Clone-Site script) what's the current status.

This issue might be caused by known issue in SPE. It often happens when you run a script in CE and switch to other browser tabs. It affects only UI, backend can still work fine.

What I would suggest you to do is simply do a quick test and compare number of items for your source and destination sites.

Here is a PowerShell snippet.

(gci -Path 'site_path' -Recurse).Count

If number of items is the same for both sites you can safety assume that script finished without any issues.

  • Does this count related items also? Like in media, theme, form etc?
    – Imad
    Nov 28, 2021 at 13:17
  • No, gci stands for Get-ChildItem. So it will count only child items of your site. You will have to validate tenant templates, media folders separately. Nov 28, 2021 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.