Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-42157

Unable to Delete Projects Due to Attachments Not Found

    XMLWordPrintable

Details

    Description

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

      In an attempt to clean up projects, customer is receiving a "File does not exist" error when attempting to delete a project. This error specifies a path to the file with a bad file name.

      Exception removing project: Error removing issues: com.atlassian.jira.exception.RemoveException: com.atlassian.jira.issue.attachment.AttachmentCleanupException: java.io.FileNotFoundException: File does not exist: /data/jirastudio/jira/home/data/attachments/PROJECT/KEY-1234/12345_TopGoal_����.doc
      

      Looking at the issue(s) in question, the filename is rendered correctly however when downloaded from the web, the file does not open. Looking at the filenames on the server, the text does not appear to have standard formatting: TopGoal_тз.doc (notice that 'тз' is sub/All Caps text)

      Removing the attached file from the issue does not allow the project to be removed.
      Renaming the file on the server does not resolve issue.

      Workaround
      In order to successfully delete the Projects, we found moving the Issues Sub-Folders to another location allowed the deletion of the Project from the web:

      [root@local:~]# mkdir PROJECT
      [root@local:~]# mv /data/jirastudio/jira/home/data/attachments/PROJECT/* PROJECT/
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scranford Shawn C
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: