Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4041

"install_compass" Not Working via Command Line

    • Type: Icon: Investigation Investigation
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • Not Needed
    • Iteration Grouper

      Using MongoDB 4.0.13, it appears that the install_compass command does not work on macOS 10.15.2 (Catalina). I'm receiving the following error:

      $ install_compass
      Downloading the package...
      Unable to download MongoDB Compass, please check your internet connection. If the issue persists go to https://www.mongodb.com/download-center?jmp=hero#compass to download the compass installer for your platform.
      Installing the package...
      Problem running hdiutil: Command '['hdiutil', 'attach', '-nobrowse', '-noautoopen', '-mountpoint', '/var/folders/h_/3f3z91t936q41d46hflhqq640000gn/T/tmpvy64Lb', '/var/folders/h_/3f3z91t936q41d46hflhqq640000gn/T/tmp1KZLXA']' returned non-zero exit status 1
      Unkown error downloading compass. Please open a ticket on the SERVER project at https://jira.mongodb.org/
      Cleaning up...
      Done!
      

      I believe that the issue might stem from the fact that on macOS 10.15, Apple removed the ability for users to write to /, which appears to be what this command is trying to do (creating a temp directory in /var/folders). Only a hunch, though. I had a colleague run it on macOS 10.13.6 with an installed version of MongoDB 4.0.13 and it installed fine.

            Assignee:
            Unassigned Unassigned
            Reporter:
            julian.torres@mongodb.com Julian Torres
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: