Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prunner start fails with defect data.json #46

Open
Sebobo opened this issue Dec 20, 2023 · 0 comments
Open

Prunner start fails with defect data.json #46

Sebobo opened this issue Dec 20, 2023 · 0 comments

Comments

@Sebobo
Copy link
Member

Sebobo commented Dec 20, 2023

Prunner cannot start when the data.json is defect and shows the following error.

> prunner/prunner --path Packages --data Data/Persistent/prunner
  INFO[0001] Loaded 3 pipeline definitions pipelines=do_content_release: Packages/Application/XYZ.XYZ/pipelines.yml, do_content_publishing: Packages/Application/XYZ.XYZ/pipelines.yml, do_content_rollout: Packages/Application/XYZ.XYZ/pipelines.yml
 FATAL[0001] Error: loading from store: loading data: decoding JSON: EOF
Script prunner/prunner --path Packages --data Data/Persistent/prunner handling the prunner event returned with error code 1

I assume this happened during a shutdown of prunner that didn't finish properly.
Question is: what to do?
We could rename the broken file and start with a new one IMO but not prevent startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant