Skip to content

Error starting Tracker "Errors while processing config: invalid type: map, expected a sequence." #36

@fistwho

Description

@fistwho

Hi, i use the Docker Image for the tracker (zorlin/torrust-tracker:latest).

I want to start the tracker container but i got an error on startup.

Log from Docker:

thread 'main' panicked at 'Errors while processing config: invalid type: map, expected a sequence.', src/main.rs:14:13
stack backtrace:
   0:     0x55f40c838dd0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3a4fd1617b9f81b2
   1:     0x55f40c75de2c - core::fmt::write::hc66d2af0ccaccee2
   2:     0x55f40c8379c4 - std::io::Write::write_fmt::hb1a454562d1b17db
   3:     0x55f40c83805b - std::panicking::default_hook::{{closure}}::he9dcee375802d06d
   5:     0x55f40c857f38 - std::panicking::begin_panic_handler::{{closure}}::he95030897fea293f
   6:     0x55f40c857eb6 - std::sys_common::backtrace::__rust_end_short_backtrace::h30b6536126307786
   7:     0x55f40c857e72 - rust_begin_unwind
   4:     0x55f40c8375e6 - std::panicking::rust_panic_with_hook::h2bc35758f3276b28
   8:     0x55f40c6d5180 - std::panicking::begin_panic_fmt::h2ae61d76d5df6610
   9:     0x55f40c71b258 - torrust_tracker::main::{{closure}}::h70430145baa8c73c
  12:     0x55f40c962eeb - main
  13:     0x7f460f9ffa03 - <unknown>
  11:     0x55f40c6e2ec3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4c9494818b3759b3
  10:     0x55f40c9648ac - torrust_tracker::main::hbc87628ae0972e78

My Config:

log_level = "info"
mode = "private"
db_path = "data.db"
cleanup_interval = 600
cleanup_peerless = true
external_ip = "0.0.0.0"
peer_timeout = 900

[udp_trackers]
enabled = false
bind_address = "0.0.0.0:6969"

[http_trackers]
enabled = true
bind_address = "0.0.0.0:6969"
on_reverse_proxy = true
announce_interval = 120
ssl_enabled = false
ssl_bind_address = "0.0.0.0:6868"
ssl_cert_path = ""
ssl_key_path = ""

[http_api]
enabled = true
bind_address = "0.0.0.0:1212"

[http_api.access_tokens]
admin = "Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6"

I dont see a problem in the config? Need a hint ;)

Greets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions