GitLab: the pipeline variables file is missing
GitLab keeps the pipeline variables of a pipeline in a file in the artifacts object storage bucket, or in local artifacts storage. If that file is deleted outside GitLab, for example by a lifecycle rule of the bucket or by hand, the variables of the pipeline are lost (GitLab docs: variables troubleshooting, checked November 19, 2026).
What you see
- Jobs fail with
pipeline_variables_file_missingwhen a runner picks them up, or when you retry them. - Automatic trigger jobs fail instead of creating downstream pipelines, and manual trigger jobs cannot be run.
- The pipeline page loads, but the Manual Variables tab says the variables are unavailable.
- Only users with the Developer, Maintainer or Owner role can view the logs of the pipeline's jobs.
- The API endpoint that retrieves pipeline variables answers
404, and the GraphQL fieldPipeline.manualVariablesreturnsnullwith an error.
Older pipelines whose variables are also in the database keep working.
To see the failed job and its log in the IDE: Pipelines and Jobs Inbox for GitLab CI, a plugin for JetBrains IDEs, shows next to a failed job its status, how long it ran and the message GitLab gives for the failure, and opens the job's log in a console viewer at the bottom of the IDE.
Recover and prevent
- Run a new pipeline and enter the variables again. Retrying the old one does not bring them back.
- Do not apply lifecycle or expiry rules to the artifacts bucket, and do not delete objects from it outside GitLab (see GitLab's object storage page).
- Self-Managed administrators can find the affected pipelines by searching
exceptions_json.logor Sentry: GitLab logs the missing file as an exception that includes the pipeline ID.
A refused run with variables is another case: Insufficient permissions to set pipeline variables.
GitLab pipelines in IntelliJ IDEA
Pipelines and Jobs Inbox for GitLab CI, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists a pipeline's jobs by stage with the message GitLab gives for each failure, and you can run a new pipeline on a branch or tag with variables from the IDE (Pro): the ones .gitlab-ci.yml offers are filled in, and yours can be remembered per project; when GitLab refuses, the dialog stays open with its reason. Reading is free; retrying, cancelling and running are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.
More: GitLab "Insufficient permissions to set pipeline variables" · GitLab "argument list too long" · GitLab pipeline or job refused (400, 403, 409, 429) · GitLab job dropped as stuck or over its timeout