Hello I am trying to install my instance of Lemmy with ubergeek77 method. I’m using Debian server and Cloudflare proxy.

In the troubleshooting it’s said I should put my Cloudflare API Token, is that the “Read All” token I create?

I have SSL pre-isntalled with the server, should I issue new one from Cloudflare, or I can use the pre-installed one?

My server comes with nginx and apache installed, should I disable them before I continue with installation?

Basically at the end I get Server Down error 521 and this error as well:

Error response from daemon: driver failed programming external connectivity on endpoint lemmy-easy-deploy-proxy-1 (3ab1001f9db85c9f2a0ffe06718561e7a40c2a201c903c7655570c9342e61f03): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

  • Im_old@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    looking at the install instructions it doesn’t say you have to use CF cert, only the api token in the conf.env file. So if you have done that you should be ok.

    I’m curious about the DNS thing from your registrar. If they are the authoritative DNS, even putting the right records in CF won’t make a difference. But maybe you can tell your registrar that CF DNS is authoritative, by creating a SOA DNS record in your registrar, pointing at CF DNS (I can only fnid references to 1.1.1.1 or adam.ns.cloudflare.com).

    Looking at the deployment templates it doesn’t say that you have to use ANY certificate. I think caddy generates one (or import one from CF) at deployment. If I was you I’d start from scratch with a new OS installation WITHOUT nginx/apache. Base OS, docker/docker-compose, and run the script again (after you fixed the DNS). If you want to find who is the SOA for your domain I think the command should be dig @9.9.9.9 SOA youlemmydomain.com

    That should answer with the CF DNS you configured.

    Also a dig @9.9.9.9 youlemmydomain.com should answer with the A records you configured in CF.