Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103211

mongodb-database-tools terminal output on aarch64 macOS not working

    • None
    • None
    • None
    • None
    • None
    • None

      None of the tools in the homebrew package https://github.com/mongodb/homebrew-brew/blob/master/Formula/mongodb-database-tools.rb produce any output in the command line on Apple Silicon macOS when performing import/export/dump/restore operations, regardless of flags.

      Non-operational flags like --help and --version do work, but -v (regardless how many) doesn't, and there's no operation output without any -v flags supplied either.

      When the operation is finished and there is no file specified, the commands will output the data to stdout, but nothing else.

      ~/tmp
      ❯ echo $cs_old | cut -c1-10
      mongodb://
      
      ~/tmp
      ❯ mongoexport -v --db fleet-management --collection=mercedesmessages --out=tmp.json $cs_old
      
      ~/tmp
      ❯ cat tmp.json | head -n1
      {"_id":{"$oid":"63d0f788330a682d62c2b93c"},"messageId":"3fb44c1f-bbfa-41dd-a86a-783f12e5d310","vin":"S0FTCARMB00000002","messageType":"vehiclesignal","version":1.0,"serviceId":1001,"timestamp":{"$date":"2023-03-21T07:56:00.397Z"},"sendingBehavior":"ON_INTERVAL_120_SEC","data":{"signals":[{"name":"Driving.Odometer.Lifetime","timestamp":"1679385303510","value":"40926","type":"integer"}]},"_class":"net.fracnordic.fleetmanagementapi.provider.db.mercedes.MercedesResponseEntity"}
      mongoexport --version
      mongoexport version: 100.12.0
      git version: 4558399ef8d5aa59a2779d5909fe9713da43b6af
      Go version: go1.23.7
         os: darwin
         arch: arm64
         compiler: gc
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            adrian@bjugard.io Adrian Bjugård
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None