Skip to content

go2rtc is missing config file /opt/go2rtc/go2rtc.yamlΒ #9613

@MikePfaff

Description

@MikePfaff

βœ… Have you read and understood the above guidelines?

yes

πŸ”Ž Did you run the script with verbose mode enabled?

No (this issue will likely be closed automatically)

πŸ“œ What is the name of the script you are using?

go2rtc

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/go2rtc.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ˆ Which Proxmox version are you on?

pve-manager/9.1.1/42db4a6cf33dac83 (running kernel: 6.17.2-1-pve)

πŸ“ Provide a clear and concise description of the issue.

The go2rtc LXC is missing the config file /opt/go2rtc/go2rtc.yaml. Therefore go2rtc starts with a default config (application internal config, so no config file). Even if i put my own file at /opt/go2rtc/go2rtc.yaml and restart, it is still using the default (internal) config.

When i go to the go2rtc web interface i can edit the config (which is empty, because there is no file yet) and save that config, which then creates a config file under /go2rtc.yaml (yes, in the / directory of the filesystem). I can then edit /go2rtc.yaml and if i then restart, that config from the /go2rtc.yaml file is used.

So at least the documentation https://community-scripts.github.io/ProxmoxVE/scripts?id=go2rtc should list the correct config file. Even better would be if

  • the config location was actually /opt/go2rtc/go2rtc.yaml (= go2rtc would be using the config from /opt/go2rtc/go2rtc.yaml)
  • there was a config file already at /opt/go2rtc/go2rtc.yaml

πŸ”„ Steps to reproduce the issue.

  1. Create go2rc LXC using the script: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/go2rtc.sh)"
  2. Put my own config at /opt/go2rtc/go2rtc.yaml
  3. Run service go2rtc restart

Expected result: go2rtc should be using my config from /opt/go2rtc/go2rtc.yaml
Actual result: go2rtc is NOT using my config from /opt/go2rtc/go2rtc.yaml

❌ Paste the full error output (if available).

None

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions