Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #5

Open
unplugged216 opened this issue Dec 10, 2021 · 13 comments
Open

Documentation #5

unplugged216 opened this issue Dec 10, 2021 · 13 comments

Comments

@unplugged216
Copy link

So, I stumbled upon this gem. I tried the demo and played around with dns zones and such. Decided id like to setup my own instance. Yeah, not so easy lol.

Using the instructions in the readme and attempting to apply them to Ubuntu 21.04 is not working. Seems a lot of configuration changes need to be made that aren't documented. Errors are packing the logs. I modified the configuration to what seems logical by replace hostnames.

If there was a starting point to a completely functional setup, I would be glad to help contribute to the codebase or even docs.

Can you help getting this going on Ubuntu 21.04?

@ShaneMcC
Copy link
Member

Hi,

Yeah this is definitely somewhere that I'm lacking at the moment.

The README.md file was accurate at getting it up and running at one stage, but I'll admit I've not set it up from scratch in a while.

I'll have a quick pass over the (limited) docs this weekend on a fresh install and see how it goes, I've probably neglected them slightly as things have changed over time!

@unplugged216
Copy link
Author

No worries! I get it. I certainly appreciate it.

@unplugged216
Copy link
Author

Hi,

Yeah this is definitely somewhere that I'm lacking at the moment.

The README.md file was accurate at getting it up and running at one stage, but I'll admit I've not set it up from scratch in a while.

I'll have a quick pass over the (limited) docs this weekend on a fresh install and see how it goes, I've probably neglected them slightly as things have changed over time!

Any luck with this?

@unplugged216
Copy link
Author

@ShaneMcC ?

If not no major worries. Just eager to help out.

@ShaneMcC
Copy link
Member

Hey, not had a chance yet, sorry.

What specific issues/errors are you actually seeing - might be quicker for me to respond to those.

ShaneMcC added a commit that referenced this issue Dec 18, 2021
@ShaneMcC
Copy link
Member

Hi,

I've ran through and added more information/checked the process - this seems to have worked fine for me for a test install just now.

@ShaneMcC
Copy link
Member

Hey @unplugged216 did the updated docs help? If not happy to help you try and get it working if you're having specific errors

@unplugged216
Copy link
Author

unplugged216 commented Dec 31, 2021

OMG! Apologies, I spaced it.

I am checking now.

@unplugged216
Copy link
Author

Hey @unplugged216 did the updated docs help? If not happy to help you try and get it working if you're having specific errors

Hey Shane,

I ran through the install and everything appeared to work well. However, I may be missing something with SSL cert. Ill be taking a look at this later. I didn't see anything in the readme about it but could be something simple. Its enough firefox and chrome wont allow the connection.

@ShaneMcC
Copy link
Member

Hey,

Glad it seemed to work.

The SSL Certs are handled by Traefik so maybe check there or the logs for that container - see: https://doc.traefik.io/traefik/v1.7/configuration/acme/ for details.

The default configuration should handle this automatically with a http-based challenge (eg, there is no need to have a working instance of mydnshost to allow for a dns-based challenge) and shouldn't need any changes.

@unplugged216
Copy link
Author

Hey,

Glad it seemed to work.

The SSL Certs are handled by Traefik so maybe check there or the logs for that container - see: https://doc.traefik.io/traefik/v1.7/configuration/acme/ for details.

The default configuration should handle this automatically with a http-based challenge (eg, there is no need to have a working instance of mydnshost to allow for a dns-based challenge) and shouldn't need any changes.

Gotcha.

Yep. Seems to be Traefik. However, trying to stumble through the logs. Of course multiple domains, so one error but duplicated for each domain. Also, this one about the backend.

time="2021-12-31T22:58:46Z" level=error msg="Error when creating error page \"network\" for frontend \"frontend-Host-sub-domain-com-1\": the backend \"backend-static\" doesn't exist."

And for ssl

time="2021-12-31T22:59:03Z" level=error msg="Unable to obtain ACME certificate for domains \"sub.domain.com\" detected thanks to rule \"Host:sub.domain.com\" : cannot get ACME client get directory at 'https://acme-v02.api.letsencrypt.org/directory': Get \"https://acme-v02.api.letsencrypt.org/directory\": dial tcp: lookup acme-v02.api.letsencrypt.org on 127.0.0.53:53: read udp 127.0.0.1:55271->127.0.0.53:53: read: connection refused"

However, the second error has to do with this freaking dnsmasq Ubuntu insists on lol.

@unplugged216
Copy link
Author

Oh.

It looks like every single domain used, which are quite a few, needs to be public. Is that intentional?

@unplugged216
Copy link
Author

Alrighty @ShaneMcC ,

I was able to get it all worked out. However, the one hiccup that kept me stumbled for a while was bind. Slaves must be defined. So, I attempted to use none; since it seemed they were fields that could handle it. Bind disagreed lol. So, I just used the public IP of the master. I may be able to find a work around. Im still testing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants