Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How to use Git-LFS with a self hosted mac runner?




I am having the following issue.


1. git lfs install output in bash shell

bash-3.2$ git lfs install
Git LFS initialized.

Same as ZSH shell

% git lfs install
Git LFS initialized.

2. LFS version in the pipeline step with clone: lfs: false

Note: this output is identical to what I see on the bash shell

Screenshot 2023-10-11 at 19.31.40.png

3. Runner Specs

2018 Mac Mini - 3 GHz 6-Core Intel Core i5

JDK: openjdk 2023-08-24

Git Version: 2.37.1


macOS Version: 12.6.1

4. Runner Log

[2023-10-11 19:27:28,784] Tearing down directories.
[2023-10-11 19:27:28,786] Cancelling timeout
[2023-10-11 19:27:28,787] Completing step with result Result{status=FAILED, error=Some(Error{key='runner.git.git-lfs-not-installed', message='Git LFS must be installed in order to use it in bitbucket-pipelines.yaml.', arguments={}})}.
[2023-10-11 19:27:29,041] Setting runner state to not executing step.
[2023-10-11 19:27:29,041] Waiting for next step.

5. Runner version 

The latest at the time of writing: 1.509


The Problem

This step passes:

Test Git LFS:
- step:
runs-on: *mobile-macos
name: 'Test Git LFS'
lfs: false
enabled: false
- git lfs version
- git-lfs version

This one fails in setup before it even starts at the lfs check

- step: &build-test
lfs: true
name: Build and test
runs-on: *mobile-macos


Screenshot 2023-10-11 at 19.47.34.png 

Snippet from .bashrc

export PATH="$PATH:/usr/local/bin"

# homebrew
eval "$(/usr/local/bin/brew shellenv)"   


1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 13, 2023

Hi @Duncan Tyrell,

Thank you for reaching out and for the info you have provided. Just a heads up, I moved your post to a new question. Please create a new question if you need assistance, as an existing question may become difficult to follow if we try to troubleshoot multiple users' issues.

I will reach out to the development team for input and I will get back to you.

Kind regards,

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 16, 2023

Hi Duncan,

Can you please confirm if both steps (the one with clone: lfs: false and the one with clone: lfs: true) run on the same runner and on the same Mac?

If so, I can create a support ticket on your behalf for this issue for further investigation.

You can also create a ticket yourself if you prefer that. You can create a ticket via, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Kind regards,

@Theodora Boudale I can confirm they are both run on the same machine, as we currently have only one macOS runner configured.  I will raise the ticket.

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events