Confluence powershell script may trip into endless loop
The Confluence script may set into a false endless loop that checks on export status.
This will be presented by a constant “Estimated progress : 0%”
Comments (11)
-
-
reporter Currently, the workaround is to close the script and run it again (this is not ideal but it does allow it to progress past the 0% loop).
There is a Community member who created an updated version of the scripts and was able to resolve some of the issues, like this one.
You may find those update scripts at https://community.atlassian.com/t5/Jira-Software-questions/Contribute-code-to-the-official-scripts-for-Atlassian-cloud/qaq-p/1288516Regards,
Stephen Sifers -
Account Deactivated I had the same issues as stated above re “Estimated progress : 0%” I tried the updated Powershell script in the above link but now getting this error:
Exception calling "Add" with "2" argument(s): "The 'Content-Type' header must be modified using the appropriate property or method. Parameter name: name" At C:\Installs\Atlassian\Jira Cloud Backup\scripts\dev\backup-atlassian-cloud-with-function.ps1:92 char:9 + $Request.Headers.Add($_, $Headers[$_]) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : ArgumentException XSRF check failed At C:\Installs\Atlassian\Jira Cloud Backup\scripts\dev\backup-atlassian-cloud-with-function.ps1:109 char:9 + Throw $ErrorStream + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (XSRF check failed:String) [], RuntimeException + FullyQualifiedErrorId : XSRF check failed
Any ideas on how to resolve will greatly appreciated
Thanks
Joe
-
@{557058:52c6a1b5-81c0-4f4f-9bbc-e5a3b4e48be0} You can find updated/working scripts in below repo: https://bitbucket.org/sebastianclaesson/atlassian-cloud-backup/src/master/
-
- changed status to wontfix
Hello,
I have updated the description to add some alternate solutions. In there you can find user provided powershell scripts as well as a node.js app or instructions on how to setup an automation to create backups.
Since those are all valid alternatives, I am not going to fix this.
Please notice none of the listed solutions is officially supported.
Cheers, Dario
-
Hi all,
The problem is still exist, is there a solution for the "Estimated progress" problem in the meantime?
regards -
Hi,
same issue here as well.
-
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
This issue should be fixed now, please update the script you are using and let me know if the issue still persists for you.
-
- changed status to resolved
Fixed on commit 52d8d3e, please check it for more details on what was changed.
- Log in to comment
Is there a workaround for this issue? The confluence powershell backup keeping looping with “Estimated progress: 0%”