docs/content/reference/guides/troubleshooting.md
See the Frequently Asked Questions reference guide for links to frequently asked question documentation.
It's really important when troubleshooting and even more important when reporting a bug that users provide complete
log files. In addition the log level should always be set to
debug at minimum, if not trace.
Complete logs means at minimum from the log severity line until the actual issue occurs. Though more than this may be included at the users discretion.
Logging can be configured to output to both a file and stdout / console / docker logs.
In instances where the logs are substantial we will accept truncated logs. There are however some very intentional rules about truncation of logs.
The following log lines are important and are referenced by other sections of this document.
The log severity line will have a message which is similar to the following examples:
Log severity set to debugLog severity set to traceThe starting line will have a message which is similar to the following examples:
Authelia v4.37.5 is startingAuthelia v4.38.0 is startingAuthelia untagged-v4.38.0 (master, 50d8b4a) is startingThe listening line will have a message which is similar to the following examples:
Listening for non-TLS connections on '0.0.0.0:{{< sitevar name="port" nojs="9091" >}}' path '/'Listening for TLS connections on '0.0.0.0:{{< sitevar name="port" nojs="9091" >}}' path '/'Listening for non-TLS connections on ':{{< sitevar name="port" nojs="9091" >}}' path '/'Listening for non-TLS connections on ':{{< sitevar name="port" nojs="9091" >}}' path '/' and '/authelia'Some users may wish to hide their domain in files provided during troubleshooting. While this is discouraged, if a user decides to perform this action it's critical for these purposes that you hide your domain in a very specific way. Most editors allow replacing all instances of a value, utilizing this is essential to making troubleshooting possible.
auth.abc123.com and app.abc123.com they
should become auth.example.com and app.example.com, i.e. replace all instances of abc123.com with example.com.abc123.com with example.com DO NOT replace any other value other than abc123.com with
example.com. The same rule applies to IP addresses, usernames, and groups.abc123.com with example.com in your configuration, make exactly the same replacement
for the log files.Replacement Value: example#.com (where # is a unique number per domain)
In instances where there are multiple domains it's recommended these domains are replaced with example1.com,
example2.com, etc.