• 4 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: April 17th, 2023

help-circle







  • Hi. thanks.

    i logged in and found the port number in the /etc/sites/sites_enabled/<domain>.conf

    i did the merge again, and via domain and the local port i get the following:

    i logged into portainer and found this message many times for <domain>_lemmy-ui_1:

    API error: FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: getaddrinfo EAI_AGAIN lemmy
    

    in <domain>_lemmy_1 it says this many times:

    thread 'main' panicked at 'Failed to load settings file, see documentation (https://join-lemmy.org/docs/en/administration/configuration.html): LemmyError { message: None, inner: "unknown field `use_tls`, expected one of `smtp_server`, `smtp_login`, `smtp_password`, `smtp_from_address`, `tls_type`" near 40:12, context: SpanTrace [] }', crates/utils/src/settings/mod.rs:20:20
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    

    mm… this use_tls field 🤔…

    On the ansible machine, i have this use_tls in the email section in inventory/host_vars/<domain>/config.hjson. i’ll check if that field is still allowed

    in the defaults.hjson (mentioned in repy below), the use_tls isn’t mentioned, so i removed that keyword, and Lemmy version 0.18 is up🙌