NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      Enterprise customers or those with very large spaces are unable to move large page trees successfully.

      This is using the built-in "move" function. This doesn't involve the copy page tree plugin at all.

      The customer who experienced this is on 5.8.18. I also tested on 5.9.14 and was able to reproduce the issue in my lab.

      Environment

      • Confluence 5.8.18 through 6.6.4
      • I have attached an xml-backup from my 5.9.14 test instance

      Steps to Reproduce

      1. Create fresh instance
      2. Create test space
      3. Populate test space with ~60,000 pages
      4. Attempt to move entire page tree somewhere
        • Click the ... > Move > select new parent page > Move
      5. Move fails after 3 minutes exactly

      Expected Results

      Page tree is moved successfully

      Actual Results

      Page tree move fails with error

      The following error(s) occurred:
      * Move failed. There was a problem contacting the server. 
      

      The below message is thrown in the atlassian-confluence.log file:

      2016-10-19 16:24:59,247 WARN [http-nio-65357-exec-5] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageMoveEvent
      @51746f90[theMover=com.atlassian.confluence.user.ConfluenceUserImpl@71b63333[admin,2c94b4a45768ae72015768aec11f0002],oldSpace=Space{key='B'},oldParentPage=page: Bicorporate Home v.1 (917506),oldPosition=<null>,movedBecauseOfParent=false
      ,movedPageList=[page: Atterminement v.1 (1125581), page: Ergon Ditrochous Pacouryuva Math Eric Irrepresentable Typography Inofficial v.1 (1125582), page: Amsath Havoc Sports Precorruption Popelike Rearbitrate Stample Vipera Coinclinatio
      n Fawningness v.1 (1125583), 
      ...
      <snipped content for brevity - huge list of pages here>
      ...
      page: Hail Theophilus Ericetum v.1 (1126649), page: Unmaidenly Aloft Spheration v.1 (1126650), page: Sanctificate Esthesioblast Faultfully v.1 (1126651)],page=page: Atterminement v.1 (1125581),suppressNotifications=false,timestamp=1476912282247] took 16997 ms (warning threshold is 5000 ms)
       -- referer: http://localhost:65357/conf5914/display/B/Atterminement | url: /conf5914/pages/movepage.action | userName: admin | action: movepage 
      
      2016-10-19 16:25:16,841 WARN [http-nio-65357-exec-5] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent[source=page: Atterminement v.1 (1125581)] took 17592 ms (warning threshold is 5000 ms)
       -- referer: http://localhost:65357/conf5914/display/B/Atterminement | url: /conf5914/pages/movepage.action | userName: admin | action: movepage
      

      Repro screenshots

      Workaround

      Possibly split the large page tree into several smaller trees, perhaps move them into their own space.

      With the same customer who experienced this and my test environment, smaller page tree moves were not an issue.

        1. xml-export-60000pages-conf5914.zip
          7.44 MB
        2. move-failed-page-tree-repro.har
          510 kB
        3. har-move-page-failed.png
          har-move-page-failed.png
          153 kB
        4. error-moving-repro.png
          error-moving-repro.png
          87 kB
        5. move-failed-page-tree-repro-2.har
          35 kB
        6. har-move-failed-2.png
          har-move-failed-2.png
          106 kB

            [CONFSERVER-44950] Large page tree move fails after 3 minutes

            After the upgrade to 7.19.6 we have problems with the page move. It fails unpredictable with a hibernate exception when trying to load the page.getChildren(). We are using MySQL but I am not sure if this is dependant on this type of database.

            Michael Ammann added a comment - After the upgrade to 7.19.6 we have problems with the page move. It fails unpredictable with a hibernate exception when trying to load the page.getChildren(). We are using MySQL but I am not sure if this is dependant on this type of database.

            A fix for this issue is available in Confluence Server and Data Center 8.1.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Madhubabu Kethineni (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 8.1.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 8.0.3.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            odykovy (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 8.0.3. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 7.13.13.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Madhubabu Kethineni (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 7.13.13. Upgrade now or check out the Release Notes to see what other issues are resolved.

            We are experiencing this in Confluence Server 7.13.4. We are trying to establish smaller spaces from a single large one and need to retain links via the Move function. 

            Kim Wallace added a comment - We are experiencing this in Confluence Server 7.13.4. We are trying to establish smaller spaces from a single large one and need to retain links via the Move function. 

            We have the same issue in Confluence Server 7.18.1.

            Kseniia Trushnikova added a comment - We have the same issue in Confluence Server 7.18.1.

            Hi, We are facing this problem (Confluence DC 7.13.5) Because of this problem all attachments files on pages that users tried to move has been corrupted

            We start the process of restoring attachments decribe on https://bitbucket.org/atlassianlabs/confluence-support-fix-missing-attachments/src/master/

            But this speend a lot of time and new cases are pou up on or enviorioment.

            We decide to block the move option until this be solved (To block we follou this article https://confluence.atlassian.com/confkb/how-to-hide-move-and-copy-menu-for-pages-1019399745.html)

            We have a huge envioriment (more then 4 millions of pages) and this affected many users we need a fix.

            Danilo Gomes added a comment - Hi, We are facing this problem (Confluence DC 7.13.5) Because of this problem all attachments files on pages that users tried to move has been corrupted We start the process of restoring attachments decribe on https://bitbucket.org/atlassianlabs/confluence-support-fix-missing-attachments/src/master/ But this speend a lot of time and new cases are pou up on or enviorioment. We decide to block the move option until this be solved (To block we follou this article https://confluence.atlassian.com/confkb/how-to-hide-move-and-copy-menu-for-pages-1019399745.html ) We have a huge envioriment (more then 4 millions of pages) and this affected many users we need a fix.

            I'm not aware that REST offers a singleton method for doing this sort of operation. I suppose you could replicate the functionality, but you'd probably wind up needing to know what endpoints Atlasstian uses in their own implementation to achieve it (in a generic way).

            Content, restrictions, labels, etc... they all have separate endpoints.

            Bill Taroli added a comment - I'm not aware that REST offers a singleton method for doing this sort of operation. I suppose you could replicate the functionality, but you'd probably wind up needing to know what endpoints Atlasstian uses in their own implementation to achieve it (in a generic way). Content, restrictions, labels, etc... they all have separate endpoints.

            Hi,

            this also affects us in Confluence DC 7.4.8

            A fix or easy to use workaround would be appreciated.

            Did anyone try to use REST instead?

            BR Robert

            Robert Hellmann added a comment - Hi, this also affects us in Confluence DC 7.4.8 A fix or easy to use workaround would be appreciated. Did anyone try to use REST instead? BR Robert

            Hello,

            We are experiencing this issue in confluence DC 7.4.0.

             

            Thanks

            Syed

            Syed Hussain added a comment - Hello, We are experiencing this issue in confluence DC 7.4.0.   Thanks Syed

            Hi, 

            We are having the same error, we are using Confluence Server 6.13.10

            Is there a Confluence version we could upgrade where the issue is solved?

            If not, do you have an estimated time in which this issue will be fixed? 

            Thanks

            David Freitez added a comment - Hi,  We are having the same error, we are using Confluence Server 6.13.10 Is there a Confluence version we could upgrade where the issue is solved? If not, do you have an estimated time in which this issue will be fixed?  Thanks

            Issue is present in Confluence Server 6.13.7

            Matthew Martin added a comment - Issue is present in Confluence Server 6.13.7

            I can't understand why this error is open for almost 3 years!
            This belongs to a basic / standard functionality of a Wiki!
            When you are doing bigger reorganisations of the content this is absolutely necessary.

            Franz Binder added a comment - I can't understand why this error is open for almost 3 years! This belongs to a basic / standard functionality of a Wiki! When you are doing bigger reorganisations of the content this is absolutely necessary.

            Having the same issue in 6.2.3 when moving a folder of approx 100 or more pages

            L. Sheppard added a comment - Having the same issue in 6.2.3 when moving a folder of approx 100 or more pages

            6.5.2 seems affected, too.

            Paula Dasch added a comment - 6.5.2 seems affected, too.

            Yecheng Fu added a comment -

            Running confluence 6.3.2 here and experiencing the same issue. The pages end up not being moved.

            Yecheng Fu added a comment - Running confluence 6.3.2 here and experiencing the same issue. The pages end up not being moved.

            louis.poulin1686732572 added a comment -

            Running 5.10.7 here and experiencing the same issue, but the pages end up being moved nonetheless, after a while! It seems to be an error message due to a timeout, but the operation of moving the pages continue in the background.

            louis.poulin1686732572 added a comment - Running 5.10.7 here and experiencing the same issue, but the pages end up being moved nonetheless, after a while! It seems to be an error message due to a timeout, but the operation of moving the pages continue in the background.

              ttranminh Tam Tran
              jwyllys Justin W.
              Affected customers:
              48 This affects my team
              Watchers:
              62 Start watching this issue

                Created:
                Updated:
                Resolved: