Skip to content

Configuration file gets corrupted when Git Repository is Unavailable #345

@cdf-eagles

Description

@cdf-eagles

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions