Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-91266

Restoring site/space backup from local drive on Windows client machine fails with 400 bad request

XMLWordPrintable

      Issue Summary

      Restoring site/space from the local drive on a Windows client machine fails with 400 bad request

      Steps to Reproduce

      1. On a Windows client machine, open Confluence UI on any browser and Go to General Administration> Backup & Restore
      2. Choose space import from the local drive location

      Expected Results

      Space/Site is restored successfully

      Actual Results

      Space import fails with HTTP code 400 bad request.

      06/Sep/2023:13:33:26 +0000] admin http-nio-8090-exec-13 10.9.30.201 POST /rest/api/backup-restore/restore/space/upload HTTP/1.1 400 67ms 193 https://instenv-160334-qkc3.instenv.internal.atlassian.com/plugins/servlet/backup-and-restore/restore Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
      [06/Sep/2023:13:33:26 +0000] admin http-nio-8090-exec-5 10.9.30.201 GET /rest/api/backup-restore/jobs/undefined HTTP/1.1 404 7ms 40 https://instenv-160334-qkc3.instenv.internal.atlassian.com/plugins/servlet/backup-and-restore/detail/undefined Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36  
      

      This can be also seen on the browser console logs

      No errors are indicated in the application logs as the request fails to get processed.

      Workaround

      • Place the XML backup in the restore directory
      • During the restore, choose the restore directory as the source location of the backup,

        1. Screenshot 2023-09-08 at 4.23.05 PM.png
          700 kB
          Ashish Kotha
        2. Screenshot 2023-09-08 at 4.20.02 PM.png
          212 kB
          Ashish Kotha

              glipatov George Lipatov
              akotha@atlassian.com Ashish Kotha
              Votes:
              15 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: