switch from cloudflare + authelia to caddy + authelia
Hello I switched from cloudflare tunnel + authelia to caddy plus authelia and I get login has been disabled.

28 Replies
after the login disabled message i get here
Can you check the immich-server logs?
Immich can't resolve the dns of your Authelia server
uhmm
how come? it's using the same dns as always
I don't know, that'll depend on your setup. Try seeing if the dns resolves from another system, from the docker host, from inside the container etc?
can ping from caddy container, from host
Are you using just docker-compose, or some other system?
I am just using docker-compose all containers are inside immich_inet network but immich_proxy is also inside the caddy container network
Can you try a ping from one of the containers in immich_inet?
it looks like none of the immich stack cannot resolve addresses
Can you share the output of
cat /etc/resolv.conf
in the immich container and on the host?which immich container?
immich_proxy
And on the host?
pointing to my adguard container so localhost
can I reenable the default authentication via cli?
Server Commands | Immich
The immich-server docker image comes preinstalled with an administrative CLI (immich) that supports the following commands:
it's not working
immich enable-password-login
Are you running it inside the container?
yes
inside immich-server
What error do you get?
/usr/src/app # immich enable-password-login
Password login has been enabled.
/usr/src/app #
Sounds like it worked, no?
nope

ok I managed to get in, do you know how I could resolve this dns issue?
Not sure no
Ok I have added manually the dns to the container
Try an oauth login once more? If that doesn't work, there's probably something wrong in your oauth config somewhere
not working I think there is an issue with docker+dns in my host in general...
it looks like when I start a docker container the resolv.conf from the host is not being copied in the container's one
I hate ubuntu as host ! netplan just sucks I will move everything to debian 😄