-
@Buhaina-Buhaina
It looks like your database isn’t starting before your app.
Let me review the thread properly but I still am not seeing your Postgres in docker-compose.yml — can you paste your entire content of docker-compose.yml into pastebin or something please? (Feel free to redact your site URL)
-
I can paste the files if you still need it. But now, i tried again, and I went ahead and ran the second command for migrate, and it looked like it succeeded. I then went to the address, and it was working! So i clicked on use openid, and I get an error. So this is good progress! I looked at the address of the error and it redirected me to localhost rather than the domain address, so something must be misconfigured somewhere.
-
@Buhaina-Buhaina Change the URL config to be the domain your accessing Outline from. Do not change anything else, and you should be good to go from there.
-
which URL config do you mean? I am a little confused as I have two separate domains: one for authentik, and another for outline like this:
auth.domain1.com
outline.domain2.comwhich of these goes where? For the ODIC section, I am using the auth urls. I will pastebin my configs here soon.
-
@Buhaina-Buhaina said in How to install Outline:
which URL config do you mean? I am a little confused as I have two separate domains: one for authentik, and another for outline like this:
auth.domain1.com
outline.domain2.comwhich of these goes where? For the ODIC section, I am using the auth urls. I will pastebin my configs here soon.
You’re very nearly there!
You just need to add your outline.domain2.com address to your docker.env fileURL should point to the fully qualified, publicly accessible URL. If using a # proxy the port in URL and PORT may be different. URL=http://localhost:3000 PORT=3000
Change localhost:300 to your domain
-
thanks, yes that gets me closer. Now, I login, and then it redirects me back to outline with this error:
-
here are the two configs:
-
authentik
-
@Buhaina-Buhaina said in How to install Outline:
authentik
Looks like your redirect URI might be wrong.
On Authentik, navigate to Providers and select your Outline provider. Scroll down and choose Protocol Settings.In here configure your Redirect URI to:
https://yourdomain.tld/auth/oidc.callback -
isn't that what I already have there? I think it is exactly the same. the domain is outline.domain2.com
https://outline.domain2.com/auth/oidc.callback -
@Buhaina-Buhaina could it be because of the account you’re logging in with perhaps?
On Authentik go to the Outline application in the admin panel and use Check Access?
If you want you can also DM me your site URL and a test user and I can try it for you? -
for authentik, does it need a fully qualified domain, or can it work with internal ip addresses?
-
@Buhaina-Buhaina Please accept my apologies for the delays on this one. Work has been manic!
Regardless, I believe that the FQDN is required for Outline but not necessarily for Authentik.
With your error, it seems more likely that the Authentik configuration isn't quite right on the docker.envPlease can you DM me with a pastebin link of your full docker.env (you can of course redact passwords) and I will review your configuration for you.