[COMPASS-4041] "install_compass" Not Working via Command Line Created: 16/Dec/19  Updated: 06/Jul/22  Resolved: 06/Jul/22

Status: Closed
Project: Compass
Component/s: Tech debt
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Julian Torres Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-4043 auto-update server changes for end of... Closed
Related
Documentation Changes: Not Needed
Sprint: Iteration Grouper

 Description   

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.



 Comments   
Comment by Jessica Sigafoos [ 06/Jul/22 ]

julia.oppenheim@mongodb.com and massimiliano.marcon@mongodb.com are going to look into whether or not we can get rid of this script. Since this issue is from 2019 and we have heard very few complaints, we're going to close this ticket.

Generated at Wed Feb 07 22:35:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.