[Support] IBRACORP - All images and files


219 posts in this topic Last Reply

Recommended Posts

  • Replies 218
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Welcome to IBRACORP Support   = Support Us = Membership   Help support my work by subscribing to our site and our Youtube Channel. It's free with paid options. There are no fe

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

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
Link to post
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
Link to post

@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
Link to post
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?))

 

Link to post
  • 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

Link to post
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

Link to post
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

Link to post
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.

Link to post
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/cobra@v0.0.7/command.go:842 (*Command).execute\ngithub.com/spf13/cobra@v0.0.7/command.go:943 (*Command).ExecuteC\ngithub.com/spf13/cobra@v0.0.7/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?

Link to post
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/cobra@v0.0.7/command.go:842 (*Command).execute\ngithub.com/spf13/cobra@v0.0.7/command.go:943 (*Command).ExecuteC\ngithub.com/spf13/cobra@v0.0.7/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?

Link to post
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.

Link to post
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
Link to post

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?

Link to post
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
Link to post

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.

Link to post
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?

Link to post
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.

Link to post
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
Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.