Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Upgrade Bitbucket Linux Shell Runners to Version 3.0.0 (non-Docker)

Omar Dahroug
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2024

 

Hi Bitbucket Community, I'm looking for guidance on upgrading self-hosted Pipelines runners that are set up as services on Linux shell (not using Docker).

The recent announcement about Pipelines Runner 3.0.0 mentions critical improvements but doesn't provide any instructions for upgrading non-Docker runners. The documentation only covers upgrading runners using Docker, leaving me uncertain about how to upgrade shell-based runners without starting from scratch.

From what I can tell, the only option might be to create new runners and delete the old ones, but I’d prefer a smoother upgrade path if possible.

Does anyone know if there’s a way to upgrade these runners without deleting and recreating them? Any advice or experiences with this would be greatly appreciated.

 

Thanks in advance!

Omar

2 answers

1 vote
Tiago Jesus
Contributor
November 20, 2024

Hi guys,

I run my shell runners like a service.

I made these steps and everything works fine.

 

Script to do it:

* Stop shell runner (service)

* Delete the folder with the last version

* Run command: curl https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-3.6.0.tar.gz --output atlassian-bitbucket-pipelines-runner.tar.gz

* mkdir atlassian-bitbucket-pipelines-runner && tar -xzvf atlassian-bitbucket-pipelines-runner.tar.gz -C atlassian-bitbucket-pipelines-runner

* Start the service again

 

I hope I could help.

 

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 25, 2024

Hi Omar,

The steps that Tiago provided here are correct. You don't need to delete the existing runners and create new ones. You can simply remove the folder with the older version of the runner, download the newer version and extract it at the same location.

I just wanted to add that we have released a new version of the runner, so instead of 3.6.0 you can download version 3.7.0 with

curl https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-3.7.0.tar.gz --output atlassian-bitbucket-pipelines-runner.tar.gz

Kind regards,
Theodora

Like Tiago Jesus likes this
0 votes
Omar Dahroug
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2024

@Theodora Boudale any hints?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events