Issue following migration to version 4.38 #7296
-
Hi all, I've started the migration of my Authelia container to version 4.38, I've made all of the change using the the config template file but while I get my container to start, I'm getting the below error in the logs:
Here's my config file, I've checked the yaml validity and it seems ok, so trying to figure out what I've done wrong but can't seem to get my head around it, any help to hunt down the errors in my config file to solve this will be highly appreciated so thanks in advance. `# yamllint disable rule:comments-indentation############################################################################### Authelia Configuration############################################################################### Notes:- the default location of this file is assumed to be configuration.yml unless otherwise noted- when using docker the container expects this by default to be at /config/configuration.yml- the default location where this file is loaded from can be overridden with the X_AUTHELIA_CONFIG environment var- the comments in this configuration file are helpful but users should consult the official documentation on thewebsite at https://www.authelia.com/ or https://www.authelia.com/configuration/prologue/introduction/- this configuration file template is not automatically updatedCertificates directory specifies where Authelia will load trusted certificates (public portion) from in addition tothe system certificates store.They should be in base64 format, and have one of the following extensions: *.cer, *.crt, *.pem.certificates_directory: '/config/certificates/'The theme to display: light, dark, grey, auto.theme: 'dark'Set the default 2FA method for new users and for when a user has a preferred method configured that has beendisabled. This setting must be a method that is enabled.Options are totp, webauthn, mobile_push.default_2fa_method: '' Server Configurationserver: The address for the Main server to listen on in the address common syntax.Formats:- [://][:][/]- [://][hostname]:[/]Square brackets indicate optional portions of the format. Scheme must be 'tcp', 'tcp4', 'tcp6', or 'unix'.The default scheme is 'unix' if the address is an absolute path otherwise it's 'tcp'. The default port is '9091'.If the path is specified this configures the router to handle both the
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
You have two primary issues. Your session config doesn't match the template or the docs (need to uncomment the cookies list), see here: https://www.authelia.com/configuration/session/introduction/#configuration Your server config section doesn't match the template or the docs (indentation issue on address), see here: https://www.authelia.com/configuration/miscellaneous/server/#configuration |
Beta Was this translation helpful? Give feedback.
-
Hi @james-d-elliott , First of all thank you for the helping hand, really appreciate it. Concerning the cookie list, I thought I had it uncomment as per below, is it the fact that inactivity, expiration and remember_me are not uncommented that is causing one of the primary issues? I'm still checking the server section to try to understand. `## Session Provider ConfigurationThe session cookies identify the user once logged in.The available providers are:
|
Beta Was this translation helpful? Give feedback.
-
The YAML list itself is not uncommented, denoted by a |
Beta Was this translation helpful? Give feedback.
-
Thanks @james-d-elliott I've made some progress but seem to be blocked here with this section: `access_control:
rules: Rules applied to everyone
Session Provider Configuration`as I keep getting the below error in the logs:
The syntax seems to match what I can see here , the yaml syntax also seems to be ok, so not sure what I'm doing wrong here. |
Beta Was this translation helpful? Give feedback.
You have two primary issues.
Your session config doesn't match the template or the docs (need to uncomment the cookies list), see here: https://www.authelia.com/configuration/session/introduction/#configuration
Your server config section doesn't match the template or the docs (indentation issue on address), see here: https://www.authelia.com/configuration/miscellaneous/server/#configuration