Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-11742

Installer package is "damaged and cannot be reopened" on Mac OS X

      Problem

      • Mac OS X requires binaries to be signed with a Developer ID certificate to run out of the box on mac os x. Without code signing, you should get a warning that the app isn't from the App Store or a registered Apple Developer.
      • This used not to be a problem as users were told how to fix it
      • Latest versions of Mac OS X report that the download is corrupted rather than blocked by developer id. This is an apple bug. Getting to them to fix it will be near impossible.

      Possible solution

      • We get a Developer ID certificate and sign our installer binary with it. This is easy to get - we have one for HipChat and we can generate another one.
      • Make code signing work
        1. We use the command line tool to resign each binary after install4j has packaged it (mac only). This would require us to package it manually as a DMG not preferred
        2. Upgrade to the latest install4j 5.x and use its built in code signing to sign the developer id certificate. This should work on all platforms and be automated preferred

        1. 56Installer.png
          56Installer.png
          84 kB
        2. 571installer.png
          571installer.png
          66 kB
        3. BambooMACInstaller551.png
          BambooMACInstaller551.png
          134 kB
        4. mac-corrupted-download-workaround.zip
          1.81 MB
        5. upload.png
          upload.png
          52 kB

            [BAM-11742] Installer package is "damaged and cannot be reopened" on Mac OS X

            Just downloaded Bamboo 5.6: "atlassian-bamboo-5.6.0.dmg" and noticed that this problem still exists with the MAC installer package. Please see the attached screenshots.

            Sepideh Setayeshfar (Inactive) added a comment - Just downloaded Bamboo 5.6: "atlassian-bamboo-5.6.0.dmg" and noticed that this problem still exists with the MAC installer package. Please see the attached screenshots.

            The problem is back in Bamboo 5.5.1. Mac installer package is damaged. Please check the attached screenshot.

            Please refer to the following KB article for a workaround:

            Another installation option is to download the "Bamboo 5.5.1 - TAR.GZ Archive" package instead and extract it under <bamboo-installation-directory>. Then editing "bamboo-init.properties" file under <bamboo-installation-directory>/atlassian-bamboo/WEB-INF/classes to point at the correct <bamboo-home-directory> before running Bamboo.

            Sepideh Setayeshfar (Inactive) added a comment - The problem is back in Bamboo 5.5.1. Mac installer package is damaged. Please check the attached screenshot. Please refer to the following KB article for a workaround: Installer package on MAC OX cannot be opened due to code signing requirements . Another installation option is to download the " Bamboo 5.5.1 - TAR.GZ Archive " package instead and extract it under <bamboo-installation-directory>. Then editing "bamboo-init.properties" file under <bamboo-installation-directory>/atlassian-bamboo/WEB-INF/classes to point at the correct <bamboo-home-directory> before running Bamboo.

            The appropriate certificate is now being used to sign the DMG.

            Juan Palacios (Inactive) added a comment - The appropriate certificate is now being used to sign the DMG.

            You can go to this knowledge article for the workaround

            Sultan Maiyaki (Inactive) added a comment - - edited You can go to this knowledge article for the workaround

            Attaching zip containing workaround instructions

            James Dumay added a comment - Attaching zip containing workaround instructions

              Unassigned Unassigned
              jdumay James Dumay
              Affected customers:
              0 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: