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

Confluence crash can result in empty confluence.cfg.xml file.

      I've had this come up in at least three issues. Seems like the easiest fix is to make a backup of the existing file before any writes.

      Update

      I've closed this issue as it got to be a mess of multiple issues. The following two linked issues are where you should go from here:

      • CONF-8898 - we should be able to recover from an automatic backup of confluence-cfg.xml if the main file is corrupted
      • CONF-15549 - Windows servers will show warning messages about non-atomic updates of confluence-cfg.xml

            [CONFSERVER-9715] Confluence crash can result in empty confluence.cfg.xml file.

            Got the same problem in Confluence 7.18.1 running within Docker container :|

            Adrian Kraska added a comment - Got the same problem in Confluence 7.18.1 running within Docker container :|
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2900305 ] New: CONFSERVER Bug Workflow v4 [ 2994993 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2795328 ] New: JAC Bug Workflow v3 [ 2900305 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2737865 ] New: JAC Bug Workflow v2 [ 2795328 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2398275 ] New: JAC Bug Workflow [ 2737865 ]

            This is still present in Confluence 6.3.2. Happened to me on CentOS 7.4 yesterday.

            Javier Távara added a comment - This is still present in Confluence 6.3.2. Happened to me on CentOS 7.4 yesterday.
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2296104 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2398275 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231905 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2296104 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2191344 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231905 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1926872 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2191344 ]

              cmiller CharlesA
              donna@atlassian.com DonnaA
              Affected customers:
              4 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: