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

Configuration file gets corrupted when Git Repository is Unavailable #345

Open
cdf-eagles opened this issue Aug 16, 2024 · 0 comments
Open

Comments

@cdf-eagles
Copy link

The configuration file (config.yaml) got overwritten with "500: Internal Server Error" due to GitHub, where the main configuration is stored, being unavailable when using the "configUrl" option.

sh-5.1# cat config.yaml 
500: Internal Server Errorsh-5.1# 

Manually updating the configuration file to valid syntax and restarting the container resolved the issue.

FetchIt should probably do some basic validation of configuration files it pulls using the "configUrl" to ensure it is valid syntax or that the remote Git repository did not throw an error when attempting to fetch the file.

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