meonkeys / shb

Source code for an awesome book about self-hosting.
https://selfhostbook.com
GNU Affero General Public License v3.0
55 stars 2 forks source link

Changing `MARIO_DOMAIN_NAME` after the first `./provision.sh` run #4

Closed a-w-1806 closed 3 months ago

a-w-1806 commented 3 months ago

Yeah it's until I see a later chapter of duckdns then I decide to get one 😄 So the first run is with the default value of example.com.

When I run dc traefik logs -f and try to access this in my browser I see: Contact emails @example.com are forbidden, even though I already changed this value to a duck dns.

Could you please advise what should I do? Thanks!

meonkeys commented 3 months ago

Just to confirm, you updated DNS_RESOLVER_EMAIL to a real, working email address, correct?

I don't think MARIO_DOMAIN_NAME is related to the issue you're seeing.

You may change MARIO_DOMAIN_NAME and re-provision anytime, you just also need to re-start services. At least Traefik, maybe others too.

a-w-1806 commented 3 months ago

Yes I changed the email.

And I just realized I did something stupid: I changed the template/config rather than config. That might be the reason lol

meonkeys commented 3 months ago

Please make sure you've got the most recent code, too. I've made a few fixes based on comments from other readers. You might have to manually merge in changes to comments from template/config so you don't clobber the correct/actual values of your configuration variables.

Also FWIW, I have made this same mistake changing template/config when I already also have a config file... :facepalm: