Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Pipelines. No logs to display

Hello. Pipelines stopped displaying logs. Some days ago it worked well, bitbucket-pipelines.yml has not been changed. But it cannot display any logs because of unknown reason

I saw this question but there was no answer (

What could be a reason and how can I fix it?

1 answer

0 votes
Mark C Atlassian Team Sep 09, 2021

Hi @spi4ka

Thank you for reaching out to the community.

I believe there are few reasons why Pipelines is not showing logs:

  • It could be about the base Docker image where it is not running as a root user (You can test this by running whoami command)
  • If you're using services, it could be an issue with where a service is failing to load on Pipelines (You can check this on the tab next to the Build tab of your Pipelines build)
  • Would you be able to confirm if you're using Pipelines runners?

Let me know how it goes.

Mark C

@Mark C

Hi Mark C, I have similar error with Runner on Linux System.

It doesn't show log on bitbucket pipeline interface, only this thing

Screenshot from 2022-01-24 22-22-48.png

I check on docker machine, it's still have logs, and i can view it by `docker logs -f  <id-confirm>`

Mark C Atlassian Team Jan 30, 2022

Hi @Nam Nguyen

We may need to further check your runners environment about this one.

You can raise a support ticket with us on this link and we'll investigate it further.

Mark C

In my case the problem was that we moved the /var/lib/docker directory to another path on the server. So we had to modify the runner commands:

docker container run -it -v /tmp:/tmp \
-v /var/run/docker.sock:/var/run/docker.sock \
-v {PATH_TO_DOCKERDIR}/containers:/var/lib/docker/containers:ro \ <---- Mind this line! From this path the bitbucket pipelines runner will get his logs!
--name runner-{THE_RUNNERID} \


May you see something like that in your runner logs:

[2022-02-18 15:29:00,982] Container log not found: /var/lib/docker/containers/b8631c9781386004701e9358b5c4fe8ebfbfd5061a894d83f022503d35c51ea7/b8631c9781386004701e9358b5c4fe8ebfbfd5061a894d83f022503d35c51ea7-json.log
[2022-02-18 15:29:00,983] Waiting on container to exit.
[2022-02-18 15:29:01,027] Container log not found: /var/lib/docker/containers/9615a69e7f0cf4c11ff2e1627250bfacdea4b061d1a5b1189d3a3bd8fa19f672/9615a69e7f0cf4c11ff2e1627250bfacdea4b061d1a5b1189d3a3bd8fa19f672-json.log
[2022-02-18 15:29:01,029] Waiting on container to exit.



Let me know if this was helpful.




Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,503 views 3 10
Read article

Atlassian Community Events