Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] IBRACORP - All images and files

Featured Replies

  • Author

Glad I could help. No worries, any further questions just ask here again.

 

Cheers

  • Replies 308
  • Views 118.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks, Sycotix, for setting up this template and providing your writeup. This was super helpful to get me up and running behind the LSIO Letsencrypt container.   Just FYI, the section where

  • Thanks for the feedback and picking that up @kaiguy. You're very welcome. Wanted to help out whatever way I could.    I have amended the doco with the semicolon. I will also add the block/in

  • Looks like I'm having the exact same issue with Radarr that some other folks were having, but I don't see a resolution for it in this thread.   I have reverse proxies set up for Sonarr and R

Posted Images

Hi, 

After my previos post https://forums.unraid.net/topic/94088-guide-how-to-install-authelia-on-unraid/?do=findComment&comment=872023

 

I try update my authelia acces setting to:

  rules:
    # Rules applied to 'admins' group
    - domain: "*.myunraid.ru"
      policy: two_factor

and connect to cloudflare.com but this is a placebo and what is the essence of this service, I did not understand

i changed ns writes and now info 

whois.png.07a0be2d76483ad93fbad648fbd88eb6.png

and add cname writes with sub.domen for deluge

cname.thumb.png.886d7413ee9fade81cdeee6a7dd00257.png

 

but this did not solve my problem

after use deluge.myunraid.ru(or else domain sonarr.myunraid.ru or radarr.myunraid.ru) i have same redirect on 403 Forbidden error. On url https://authelia.myunraid.ru/?rd=http://deluge.myunraid.ru/

but if add S https://authelia.myunraid.ru/?rd=httpS://deluge.myunraid.ru/ then all ok.

 

on my authelia log

 

eror.png.13dd5a98f8fcfb8b2f30f1d9009cbe3f.png

 

Whats wrong i do?

 

Edited by Un1Q

On 7/5/2020 at 4:16 AM, Sycotix said:

Glad I could help. No worries, any further questions just ask here again.

 

Cheers

I set up authelia, and I understood how it works. But there is a snag.

If I give a link to someone, for example radarr.myDomain.ru. THEN this person has an error 403. In the address bar, it can be seen that the redirect gives the authorization address of the hostel + secure point, but the address of the secure point does not come out 'https', but 'http'. To avoid this, he needs to first go through the authorization of the network, then the cookies are saved, and the errors are also ok.
Or he can manually attribute the letters 'S', go through authorization, and also, after saving cookies, there will be no 403 error in the future.

I will send you a PM my web so you can see for yourself.

Edited by muwahhid

  • Author

@muwahhid @Un1Q sorry for the late reply. I'm a shift worker.

 

I checked out your link and yeah I totally see the issue here. I'm not really sure why it is happening, but can you confirm what to following line looks like for you in the Protected Endpoint.conf ?:

error_page 401 =302 https://auth.YOURDOMAIN.com/?rd=$target_url;

And also the scheme settings on the Proxy Host settings in NGINX Proxy Manager, is it set to http or https?

 

NPM.PNG

Edited by Sycotix

12 hours ago, Sycotix said:

@muwahhid @Un1Q sorry for the late reply. I'm a shift worker.

 

I checked out your link and yeah I totally see the issue here. I'm not really sure why it is happening, but can you confirm what to following line looks like for you in the Protected Endpoint.conf ?:


error_page 401 =302 https://auth.YOURDOMAIN.com/?rd=$target_url;

And also the scheme settings on the Proxy Host settings in NGINX Proxy Manager, is it set to http or https?

 

NPM.PNG

Could you give a link to your subdomain? To check if it works for you?))

 

  • 2 weeks later...

Hi,

 

First can I say thanks Sycotix for adding this to CA.

 

A couple of notes it might be worth putting a link to your github guide in the CA text as it can easily be missed, second the template seems to be missing the /config path.

 

Again thanks for posting this, it makes it much easier to get it added to unraid.

 

Thanks

INGY

  • Author
1 hour ago, INGY said:

Hi,

 

First can I say thanks Sycotix for adding this to CA.

 

A couple of notes it might be worth putting a link to your github guide in the CA text as it can easily be missed, second the template seems to be missing the /config path.

 

Again thanks for posting this, it makes it much easier to get it added to unraid.

 

Thanks

INGY

Hi @INGY,

 

Thank you for the kind feedback. Appreciate it. 

 

Actually I tried adding that stuff in the template and then I ended up breaking it. So to be quite honest I don't want to try and break it again. If someone more experienced with CA is willing to update the XML template I'm happy to commit the changes on Git. (https://github.com/ibracorp/authelia.xml)

 

As for the config path, it's there on my end, but you need to hit Show More. Is this the case for you? i.e.

image.thumb.png.162c0c5b05102a5350ee65dc874eb35a.png

18 hours ago, Sycotix said:

Hi @INGY,

 

Thank you for the kind feedback. Appreciate it. 

 

Actually I tried adding that stuff in the template and then I ended up breaking it. So to be quite honest I don't want to try and break it again. If someone more experienced with CA is willing to update the XML template I'm happy to commit the changes on Git. (https://github.com/ibracorp/authelia.xml)

 

As for the config path, it's there on my end, but you need to hit Show More. Is this the case for you? i.e.

image.thumb.png.162c0c5b05102a5350ee65dc874eb35a.png

Hi @Sycotix,

 

Unfortunately I have never played with the CA XML either. Where was you trying to add the URL to.

 

For the config path unfortunately it wasn't there and I had to add it my self. Looking at your xml it is missing the config section at the bottom. It should have something like  <Config Name="AppData Config Path" Target="/config" Default="/mnt/user/appdata/authelia" Mode="rw" Description="Container Path: /config" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/authelia</Config>

 

Looking at the following guide and from what I understand about how unraid deploys docker containers you don't need the Environment and Data tags these are only used when the container has been deployed and are set from your config tags, the guide I was looking at is https://selfhosters.net/docker/templating/templating/

 

Thanks

INGY

Nothing appears in app data but its under docker containers, Cant even get past step 1

On 7/30/2020 at 12:46 PM, Nano said:

Nothing appears in app data but its under docker containers, Cant even get past step 1

I have the same issue... Is it normal that it isn't asking for a path for the /config folder?

  • Author
On 7/27/2020 at 7:06 AM, INGY said:

INGY

Thank you for that. I have taken what you've written and added to the XML. Will have to wait for replication and test to see if it worked (or broke it).

 

My apologies everyone for lack of attention here lately. COVID has us all busy. Will test the changes and hopefully will fix it.

  • Author
6 hours ago, License said:

time="2020-08-07T11:32:25-05:00" level=info msg="Logging severity set to debug"
time="2020-08-07T11:32:26-05:00" level=fatal msg="Unable to initialize SQL database: Unable to create table user_preferences: dial tcp 127.0.0.1:3306: connect: connection refused" stack="github.com/authelia/authelia/internal/storage/mysql_provider.go:72 NewMySQLProvider\ngithub.com/authelia/authelia/cmd/authelia/main.go:76 startServer\ngithub.com/authelia/authelia/cmd/authelia/main.go:121 main.func1\ngithub.com/spf13/[email protected]/command.go:842 (*Command).execute\ngithub.com/spf13/[email protected]/command.go:943 (*Command).ExecuteC\ngithub.com/spf13/[email protected]/command.go:883 (*Command).Execute\ngithub.com/authelia/authelia/cmd/authelia/main.go:138 main\nruntime/proc.go:203 main\nruntime/asm_amd64.s:1373 goexit"

I get this error upon attempting to start up Authelia. Any suggestions?

Have you tried checking your database installation? Are you using a database?

  • Author

It looks like the appdata location has been fixed now. I've also added the URL for installation instructions in the overview.

If someone would be kind enough to confirm that would be great. 

Cheers

On 8/7/2020 at 6:19 PM, Sycotix said:

Have you tried checking your database installation? Are you using a database?

I was banging my head against the wall when I ran into the same issue as that user. I did not realize there was a config file that needed to be configured before the application would start. 

 

You may want to put that in the description with a link to the readme as well as in the error messages that pop up if you try to run the container without setting up the file.

 

Gonna go try and configure this. Thanks for the nice instructions on your github. Seems like you put a lot of work into this.

  • Author
On 8/11/2020 at 10:49 AM, Shalmi said:

I was banging my head against the wall when I ran into the same issue as that user. I did not realize there was a config file that needed to be configured before the application would start. 

 

You may want to put that in the description with a link to the readme as well as in the error messages that pop up if you try to run the container without setting up the file.

 

Gonna go try and configure this. Thanks for the nice instructions on your github. Seems like you put a lot of work into this.

Thank you for the feedback mate. My pleasure. 

I have actually added the doco link (https://github.com/ibracorp/authelia) in the description now as well as the path so it auto creates the appdata location. 

 

Cheers

Edited by Sycotix

Just wanted to come back and say that I got it working! 2fa and all! Thanks for the great app!

 

 

Back again, I realized that my authelia container starts up faster than my mariadb container and then errors out and stops.

Would it be possible to have the authelia container continue to attempt to connect to mariadb without just stopping?

  • Author
44 minutes ago, Shalmi said:

Back again, I realized that my authelia container starts up faster than my mariadb container and then errors out and stops.

Would it be possible to have the authelia container continue to attempt to connect to mariadb without just stopping?

I'm not sure how to do that, but another way to do it is by clicking and dragging the container in UnRAID Docker tab down a couple to give a buffer OR in the Docker tab, click Advanced and then you can set the wait time before the next docker starts. Obviously you need make sure that MariaDB is higher in the list than Authelia in either case. 

 

So on MariaDB you can put a wait time of 20-30 seconds, for example, and it won't start the next container in the list until after this timer. I do this a lot because of so many dependencies.

 

Hope this helps. 

 

image.thumb.png.fb75c10454590d4fb3006095d3a1bd05.png

Edited by Sycotix
added screenshot

Everytime i log in, i get redirected back to login, What am i doing wrong in the configuration file, I can get to the main Http login, Docker is running. Password does not error, I tried to remove the redirection in the config file but still does not log in.

I tried to start from scratch, The Docker will not start unless i select host as network option. 

 

Console shows level=fatal msg="listen tcp4 10.139.44.22:9091: bind: cannot assign requested address"

  • Author
7 hours ago, Nano said:

I tried to start from scratch, The Docker will not start unless i select host as network option. 

 

Console shows level=fatal msg="listen tcp4 10.139.44.22:9091: bind: cannot assign requested address

7 hours ago, Nano said:

 

Have you checked whether this port is already being used? 

 

Also for some more information, are you trying to access a page that you've protected with Authelia or just trying Authelia itself? 

Have you read my guide here https://github.com/ibracorp/authelia?

On 8/23/2020 at 10:31 PM, Sycotix said:

Have you checked whether this port is already being used? 

 

Also for some more information, are you trying to access a page that you've protected with Authelia or just trying Authelia itself? 

Have you read my guide here https://github.com/ibracorp/authelia?

So the port is not being used, if i put it in host mode i can reach the Login Page, i am trying to use it with Letsencrypt. If i put in the password which i encrypted it does not say wrong password but simply refreshes the page. 

 

Is there anyway you can share your Config file filled out so i can compare.

  • Author
5 hours ago, Nano said:

Is there anyway you can share your Config file filled out so i can compare.

Yeah mate I provided all my config files in the Git with the guide. I replaced my personal details with placeholders so you can see what needs to be changed. Check the top of the Git and you should find all the files and in the guide I've written what the placeholders are. 

 

Be mindful that the setup with letsencrypt is a tad different. In saying that it should be a bit easier since letsencrypt has most of the config in the sample confs folder in LE. 

 

Also I have everything on a seperate network on Unraid so that it's not running on host which I would recommend. 

Screenshot_20200827-082537.png

Edited by Sycotix

  • 2 weeks later...
On 8/26/2020 at 11:23 PM, Sycotix said:

Yeah mate I provided all my config files in the Git with the guide. I replaced my personal details with placeholders so you can see what needs to be changed. Check the top of the Git and you should find all the files and in the guide I've written what the placeholders are. 

 

Be mindful that the setup with letsencrypt is a tad different. In saying that it should be a bit easier since letsencrypt has most of the config in the sample confs folder in LE. 

 

Also I have everything on a seperate network on Unraid so that it's not running on host which I would recommend. 

Screenshot_20200827-082537.png

Hey, I actually got Authelia working with a much simplier guide, it did not require any other dockers, If you turn on SQ lite in authelia it can all be done within the docker itself. Much much easier for people to follow.

 

storage
  local
    path configdb.sqlite3

 

I'm sure your much smarter than me and can tell me why this is not as good as your guide but who knows.

Edited by Nano

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.