iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.19k stars 1.79k forks source link

[Bug] Config.check_tables failed to parse true as Bool #4962

Open lzap opened 1 day ago

lzap commented 1 day ago

Describe the bug The environmental parsed does not work with INVIDIOUS_CHECK_TABLES=true

Steps to Reproduce

  1. Create INVIDIOUS_CHECK_TABLES=true env variable
  2. Start the server
  3. Config.check_tables failed to parse true as Bool

Logs The error message appears and the process exits with 1.

I tried to pass 1 in as well but this appears to be YAML parser so I do not understand what is wrong here. I am working on Podman Quadlet setup where the only reasonable configuration is via environmental variables. Thanks.

Fijxu commented 12 hours ago

Seems to be a problem with podman? I'm not really sure but I can use INVIDIOUS_CHECK_TABLES=true|false just fine.

image