gravymaker Posted September 13, 2021 Share Posted September 13, 2021 Thanks xxbigfootxx - I think blowing away and reinstalling MariaDB has me back on track. Appreciate the help! Quote Link to comment
xxbigfootxx Posted September 13, 2021 Share Posted September 13, 2021 Just now, gravymaker said: I think blowing away and reinstalling MariaDB has me back on track. No worries, glad to hear it mate. Quote Link to comment
NotYourAverageDev Posted December 6, 2021 Share Posted December 6, 2021 (edited) After updating your Authelia to v4.33.1, You'll probably see an error "Can't continue due to the errors loading the configuration" To solve the issue, edit the configuration yaml file, and add a new encryption_key key under storage. storage: local: path: /config/db.sqlite3 #this is your databse. You could use a mysql database if you wanted, but we're going to use this one. encryption_key: you_must_generate_a_random_string_of_more_than_twenty_chars_and_configure_this Hope this helps Edited December 6, 2021 by NotYourAverageDev 2 Quote Link to comment
Sycotix Posted December 6, 2021 Author Share Posted December 6, 2021 13 minutes ago, NotYourAverageDev said: After updating your Authelia to v4.33.1, You'll probably see an error "Can't continue due to the errors loading the configuration" To solve the issue, edit the configuration yaml file, and add a new encryption_key key under storage. storage: local: path: /config/db.sqlite3 #this is your databse. You could use a mysql database if you wanted, but we're going to use this one. encryption_key: you_must_generate_a_random_string_of_more_than_twenty_chars_and_configure_this Hope this helps Thanks mate, we did also add this to our docs incase anyone doesn't know about it: https://docs.ibracorp.io 2 Quote Link to comment
xxbigfootxx Posted December 6, 2021 Share Posted December 6, 2021 16 minutes ago, NotYourAverageDev said: After updating your Authelia to v4.33.1, You'll probably see an error "Can't continue due to the errors loading the configuration" To solve the issue, edit the configuration yaml file, and add a new encryption_key key under storage. storage: local: path: /config/db.sqlite3 #this is your databse. You could use a mysql database if you wanted, but we're going to use this one. encryption_key: you_must_generate_a_random_string_of_more_than_twenty_chars_and_configure_this Hope this helps Just noticed this come up on my server, thanks for the help! Quote Link to comment
Masterwishx Posted December 9, 2021 Share Posted December 9, 2021 have question about smtp port , im using 465 and its ok but its like old port for SSL and for TLS better to use 587 like in video guide? but i have some red line when i change to 587 this log for 465 so what port is better to use ? 1 Quote Link to comment
Sycotix Posted December 9, 2021 Author Share Posted December 9, 2021 3 hours ago, Masterwishx said: have question about smtp port , im using 465 and its ok but its like old port for SSL and for TLS better to use 587 like in video guide? but i have some red line when i change to 587 this log for 465 so what port is better to use ? Both are fine it really depends on your SMTP provider and what they require 1 Quote Link to comment
Masterwishx Posted December 10, 2021 Share Posted December 10, 2021 21 hours ago, Sycotix said: Both are fine it really depends on your SMTP provider and what they require Thanks i got it ,im using google SMPT jsut didnt understand why is red line on 587 and i though 465 is obsoled port but after i founded info in : https://github.com/authelia/authelia/issues/2194 and https://datatracker.ietf.org/doc/html/rfc8314 so i understand there is a little confusion about thouse ports in SMTP usage, but like you said they both OK... Quote Link to comment
Masterwishx Posted December 17, 2021 Share Posted December 17, 2021 im trying to setup Authelia also for Dockers with andriod apps like Airsonic Advanced,Nextcloud ... in Airsonic Advanced can access from App ,can be "^/rest([/?].*)?$" added to all : ## bypass api / trigges - domain: "*.mysite.com" resources: - "^/api([/?].*)?$" - "^/rest([/?].*)?$" - "^/identity.*$" - "^/triggers.*$" - "^/meshagents.*$" - "^/meshsettings.*$" - "^/agent.*$" - "^/control.*$" - "^/meshrelay.*$" - "^/wl.*$" or better to setup alone ? access_control: default_policy: deny rules: - domain: authelia.example.com policy: bypass - domain: sonic.example.com policy: bypass # not sure how else to let android & iOS apps get in resources: "^/rest([/?].*)?$" Quote Link to comment
gamerkonks Posted December 28, 2021 Share Posted December 28, 2021 Hi there, I'm trying to get Authelia up and running. I'm using it with SWAG, using the default authelia-server.conf and authelia-location.conf. When I try and access an application that is reverse proxied and setup to use authelia, it correctly goes to the Authelia login page. When I log in correctly, it seems to redirect successfully, but without any session info (the user name is blank), and I end up at the Authelia login page again. I've tried removing redis from the config to see if in memory session handling would make a difference, but no change. Relevant log belong. Thanks. time="2021-12-28T23:51:14+11:00" level=debug msg="Check authorization of subject username= groups= ip=x.x.x.x and object https://xxx.duckdns.org/ (method GET)." time="2021-12-28T23:51:14+11:00" level=info msg="Access to https://xxx.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=x.x.x.x time="2021-12-28T23:51:20+11:00" level=debug msg="Mark 1FA authentication attempt made by user 'test'" method=POST path=/api/firstfactor remote_ip=x.x.x.x time="2021-12-28T23:51:20+11:00" level=debug msg="Successful 1FA authentication attempt made by user 'test'" method=POST path=/api/firstfactor remote_ip=x.x.x.x time="2021-12-28T23:51:20+11:00" level=debug msg="Check authorization of subject username=test groups=admins,dev ip=x.x.x.x and object https://xxx.duckdns.org/ (method )." time="2021-12-28T23:51:20+11:00" level=debug msg="Required level for the URL https://xxx.duckdns.org/ is 1" method=POST path=/api/firstfactor remote_ip=x.x.x.x time="2021-12-28T23:51:20+11:00" level=debug msg="Redirection URL https://xxx.duckdns.org/ is safe" method=POST path=/api/firstfactor remote_ip=x.x.x.x time="2021-12-28T23:51:20+11:00" level=debug msg="Check authorization of subject username= groups= ip=x.x.x.x and object https://xxx.duckdns.org/ (method GET)." time="2021-12-28T23:51:20+11:00" level=info msg="Access to https://xxx.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=x.x.x.x Quote Link to comment
xxbigfootxx Posted December 28, 2021 Share Posted December 28, 2021 21 minutes ago, gamerkonks said: I end up at the Authelia login page again. Have you added the group admins to be able to access those sites using 1FA? Quote Link to comment
gamerkonks Posted December 29, 2021 Share Posted December 29, 2021 12 hours ago, xxbigfootxx said: Have you added the group admins to be able to access those sites using 1FA? I think so, but as a test, I've removed groups from my user and the rule and getting the same problem. My access control is this default_policy: deny rules: ## Rules applied to everyone - domain: "*.duckdns.org" policy: one_factor Quote Link to comment
Casadream_1 Posted June 20, 2022 Share Posted June 20, 2022 Hello, I have a problem with authelia. It works perfectly well, the only thing is that it does not start automatically. The button is however in the on position, like the other containers. Is there anything specific to do ? Quote Link to comment
DontWorryScro Posted December 2, 2022 Share Posted December 2, 2022 (edited) If I want to add multiple subdomains to the Authelia config would I format it like this? access_control: default_policy: deny rules: ## bypass rule - domain: - "auth.domain.com" policy: bypass ## catch-all - domain: - "radarr.[mydomain].org" - "sonarr.[mydomain].org" subject: - "group:admins" policy: one_factor Also is the encryption key entry found in the storage section just any key you generate using a generator over 20 chars? Edited December 2, 2022 by DontWorryScro Quote Link to comment
casperse Posted December 13, 2022 Share Posted December 13, 2022 My Authilia was running perfectly and then suddenly it just wouldn't start? I found that if I stopped the Maria DB it would start. I then restored both the Authilia & Marid DB and it still wouldn't start? SOLUTION The latest (I have auto update enabled for this docker) update of Maria DB introduced an error! Start your Marid DB docker for Authelia (Backup the db first) and go to the Docker terminal and execute: $ mysql_upgrade -u root -p After running this the update is "fixed" and everything works again More about this error can be found here: https://github.com/authelia/authelia/issues/4519 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.