flyctl Error loading config While parsing config: yaml: invalid trailing UTF-8 octet

All of a sudden, I am getting this error about invalid yaml. It seems to be a flyctl error rather than anything else.

> flyctl 
Error loading config While parsing config: yaml: invalid trailing UTF-8 octet
Error: yaml: invalid trailing UTF-8 octet

> flyctl version update
Error loading config While parsing config: yaml: invalid trailing UTF-8 octet
Error: yaml: invalid trailing UTF-8 octet

> curl -L https://fly.io/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1475    0  1475    0     0   5322      0 --:--:-- --:--:-- --:--:--  5324
######################################################################## 100,0%
Error loading config While parsing config: yaml: invalid trailing UTF-8 octet
Error: yaml: invalid trailing UTF-8 octet

Anyone else seen this?

I resolved by reinstalling flyctl after (re)moving the old files.

> mv .fly .fly-old
> curl -L https://fly.io/install.sh | sh

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.