-
Notifications
You must be signed in to change notification settings - Fork 107
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
Every time I upload a edited copy of telly.config.toml the file gets erased and rewritten #288
Comments
Telly doesn't write to its config file, so not sure what might be happening here. If you make that mount read only in the docker setup, does the behavior change? |
Negative, it keeps removing the changes I made and goes into this loop. PANI[2022-05-29T04:56:09Z] fatal error while reading config file: error="While parsing config: (14, 3): never reached" goroutine 1 [running]: |
I'm editing the path /etc/telly/ and it keeps defaulting back to this. [Discovery] [IPTV] [Log] [Web] [[Source]] Documentation at: https://github.com/tellytv/telly/wiki/Running-Telly%3A-Config-File |
It's creating a file with that documentation link in it? I have never seen this behavior and cannot reproduce it in a non-synology docker environment. I'm going to use this test script:
If I have no valid config file in that dir:
That error is as expected and no default config file is created. If I give it a telly.config.toml with a bad M3U URL:
Another expected error, and the config file is left untouched. Then with a valid M3U URL:
Runs fine as expected, again config is untouched. Finally, with a random file in place of the M3U:
I get the expected error since the config file cannot be parsed as YAML. After that error, the config file is still the random file i copied on top of it
I can't get it to overwrite the config file under any circumstances. EDIT: I went and looked to verify just now, and telly only contains code to READ the config file, not write it. This really seems like it's something in the synology config. |
I'm running telly from a Synology docker container
The text was updated successfully, but these errors were encountered: