IRC logs for #farmOS, 2020-12-05 (GMT)

2020-12-04
2020-12-06
TimeNickMessage
[20:39:48]<symbioquine[m]><mstenta[m] "we gotta get Github to fix that "> Did you follow the instructions at https://docs.github.com/en/free-pro-team@latest/github/working-with-gith... and https://docs.github.com/en/free-pro-team@latest/github/working-with-gith... ?
[22:13:18]* kunigunde[m] has quit (*.net *.split)
[22:13:19]* dazinism has quit (*.net *.split)
[22:13:19]* calbasi_matrix has quit (*.net *.split)
[22:18:41]* calbasi_matrix has joined #farmos
[22:18:41]* dazinism has joined #farmos
[22:18:41]* kunigunde[m] has joined #farmos
[05:28:50]<mstenta[m]>symbioquine: yes but I certainly might have done something wrong
[11:02:56]<symbioquine[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ygZyHHHJSzUrcaoO... >
[11:03:57]<symbioquine[m]>Maybe the CNAME should point to `farmos.github.io.`?
[11:05:43]<symbioquine[m]>I'm not totally sure though...
[11:06:37]<mstenta[m]>Mm yea or maybe we should just make a set of identical A records for 2x.farmos.org?
[11:06:52]<mstenta[m]>farmOS.org itself is also on GitHub Pages, and that's working
[11:09:26]<symbioquine[m]>> Navigate to your DNS provider and create a CNAME record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain www.example.com for your user site, create a CNAME record that points www.example.com to <user>.github.io. If you want to use the subdomain www.anotherexample.com for your organization site, create a CNAME record that points www.anotherexample.com to
[11:09:26]<symbioquine[m]><organization>.github.io. The CNAME file should always point to <user>.github.io or <organization>.github.io, excluding the repository name.
[11:09:48]<symbioquine[m]>https://docs.github.com/en/free-pro-team@latest/github/working-with-gith...
[11:14:55]<mstenta[m]>oh interesting
[11:16:23]<symbioquine[m]><mstenta[m] "Mm yea or maybe we should just m"> I'm not convinced that would work. It looks like that step is only specified for apex domains...
[11:17:54]<mstenta[m]>ok yea
[11:17:58]<symbioquine[m]>I think Github pages uses the presence of the CNAME in the DNS record as a form of authentication to confirm that the owner of the domain intends it to be associated with a particular username on Github pages before it will generate a LetsEncrypt cert for that domain.
[11:18:13]<mstenta[m]>yea makes sense
[11:18:26]<mstenta[m]>i think i misinterpreted what that meant...
[11:18:38]<mstenta[m]>> create a CNAME record that points your subdomain to the default domain for your site
[11:18:42]<symbioquine[m]>The current CNAME works for HTTP because farmos.org has the relevant A records, but it doesn't pass that test so Github pages presumably doesn't generate the LetsEncrypt cert.
[11:18:45]<mstenta[m]>I thought "default domain" meant "farmOS.org"
[11:18:52]<mstenta[m]>but reading further that's not correct
[11:18:54]<symbioquine[m]>yeah, that's confusing
[11:19:20]<symbioquine[m]>It would be nice it they maintained a set of example sites with screenshots of their settings.
[11:19:24]<mstenta[m]>also just seeing this part too:
[11:19:24]<mstenta[m]>> The CNAME file should always point to <user>.github.io or <organization>.github.io
[11:19:31]<mstenta[m]>mm yea
[11:19:35]<symbioquine[m]>Yeah, you already have that part
[11:19:40]<mstenta[m]>do i?
[11:19:44]<symbioquine[m]>https://github.com/farmOS/farmOS/blob/gh-pages/CNAME
[11:19:52]<symbioquine[m]>It gets generated automatically from the settings page
[11:20:12]<mstenta[m]>well... but the docs say it should be farmos.github.io, not 2x.farmos.org ... ?
[11:20:41]<symbioquine[m]>No, the CNAME file is correct afaik
[11:20:47]<symbioquine[m]>https://docs.github.com/en/free-pro-team@latest/github/working-with-gith...
[11:20:48]<mstenta[m]>> The CNAME file should always point to <user>.github.io or <organization>.github.io
[11:21:36]<mstenta[m]>maybe i'll try changing the DNS record first.... and then if it still doesn't work i can try tweaking the CNAME file too
[11:21:41]<symbioquine[m]>yeah
[11:23:42]<mstenta[m]>ok i made the DNS change
[11:24:19]<mstenta[m]>not sure what the original TTL was... but i set it to 5 minutes in case i need to set back
[11:24:27]<symbioquine[m]>good plan
[11:24:48]<symbioquine[m]>it was 21258
[11:24:57]<mstenta[m]>(as if 2x.farmos.org has any visitors :-) )
[11:25:05]<mstenta[m]>(besides us)
[11:25:28]<symbioquine[m]>It looks like that's almost 6 hours :)
[11:26:04]<mstenta[m]>ok whelp... maybe i'll set a reminder and then try triggering github to check again in the repo settings after that's passed
[11:26:28]<symbioquine[m]>I'm not sure whether you need a commit...
[11:26:36]<mstenta[m]>yea that's what i was thinking too
[11:26:41]<symbioquine[m]>I think I had to toggle the "enforce HTTPS" settings
[11:26:46]<mstenta[m]>i think if i turn it off and on again it will do that automatically
[11:26:47]<mstenta[m]>haha yea
[11:27:16]<mstenta[m]>right now the "enforce HTTPS" is disabled completely, can't check it... but i think i can turn off github pages and turn it back on
[11:27:26]<symbioquine[m]>hmmm
[11:27:28]<mstenta[m]>i'll play around with it this evening :-)
[11:27:35]<symbioquine[m]>yeah
[11:27:35]<mstenta[m]>thanks for finding that point in the docs
[11:27:41]<symbioquine[m]>np :)
[11:27:47]<mstenta[m]>i definitely read that paragraph too quickly :-)
[11:28:05]<symbioquine[m]>It could be more clearly written for sure.
[11:29:36]<mstenta[m]>ah so this shows in the settings right now:
[11:29:36]<mstenta[m]>> Your site's DNS settings are using a custom subdomain, 2x.farmos.org, that's not set up with a correct CNAME record. We recommend you set this CNAME record to point at [YOUR USERNAME].github.io. For more information, see https://help.github.com/articles/setting-up-a-custom-domain-with-github-....
[11:29:56]<mstenta[m]>so yea... that's probably the issue
[11:30:22]<mstenta[m]>(I assume DNS hasn't refreshed for them yet)
[11:33:55]<symbioquine[m]>Yeah, makes sense
[11:35:26]<symbioquine[m]>Cleared my DNS cache and HTTPS for https://2x.farmos.org/ seems to be working now.
[11:36:39]<symbioquine[m]>Looks like you got that "Enforce HTTPS" setting enabled too. :)
[11:37:34]<symbioquine[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VrVpWnObKcKUqaCg... >
[13:20:03]<mstenta[m]>Oh me too! Awesome!
[13:20:15]<mstenta[m]>Ha! Love simple fixes :-)
[14:08:17]* farmBOT has joined #farmos
[15:14:58]* _margoaron has quit (Ping timeout: 246 seconds)
[15:16:49]* margoaron has joined #farmos
[15:36:57]* paul121[m] has quit (Ping timeout: 246 seconds)
[15:36:57]* jgaehring[m] has quit (Ping timeout: 246 seconds)
[15:36:57]* aislinnpearson[m has quit (Ping timeout: 246 seconds)
[15:36:59]* JulianF has quit (Ping timeout: 246 seconds)
[15:37:00]* calbasi_matrix has quit (Ping timeout: 244 seconds)
[15:37:02]* symbioquine[m] has quit (Ping timeout: 260 seconds)
[15:37:08]* margoaron has quit (K-Lined)
[15:37:24]* mstenta[m] has quit (Ping timeout: 244 seconds)
[15:37:24]* maroci[m] has quit (Ping timeout: 244 seconds)
[15:37:31]* kunigunde[m] has quit (Ping timeout: 244 seconds)
[15:37:31]* dazinism has quit (Ping timeout: 244 seconds)
[15:37:32]* wombat83[m] has quit (Ping timeout: 260 seconds)
[15:37:35]* skalakm[m] has quit (Ping timeout: 268 seconds)
[15:37:35]* jolau[m] has quit (Ping timeout: 268 seconds)
[15:37:35]* holz[m] has quit (Ping timeout: 268 seconds)
[15:37:35]* munjoma[m] has quit (Ping timeout: 268 seconds)
[15:37:36]* pllagn[m] has quit (Ping timeout: 268 seconds)
[15:38:00]* pcambra[m] has quit (Ping timeout: 246 seconds)
[15:38:04]* skipper_is[m] has quit (Ping timeout: 240 seconds)
[15:38:49]* farmtech[m] has quit (Ping timeout: 268 seconds)
[15:39:26]* bonushenricus[m] has quit (Ping timeout: 268 seconds)
[15:57:50]* JulianF has joined #farmos
[15:58:09]* aislinnpearson[m has joined #farmos
[15:59:38]* kunigunde[m] has joined #farmos
[16:01:38]* jgaehring[m] has joined #farmos
[16:02:36]* pcambra[m] has joined #farmos
[16:03:11]* calbasi_matrix has joined #farmos
[16:03:22]* paul121[m] has joined #farmos
[16:03:40]* skipper_is[m] has joined #farmos
[16:06:45]* dazinism has joined #farmos
[16:07:50]* skalakm[m] has joined #farmos
[16:08:25]* jolau[m] has joined #farmos
[16:08:25]* munjoma[m] has joined #farmos
[16:08:30]* holz[m] has joined #farmos
[16:08:34]* farmtech[m] has joined #farmos
[16:08:40]* bonushenricus[m] has joined #farmos
[16:09:00]* pllagn[m] has joined #farmos
[16:11:18]* symbioquine[m] has joined #farmos
[16:13:48]* mstenta[m] has joined #farmos
[16:14:19]* maroci[m] has joined #farmos
[16:16:07]* wombat83[m] has joined #farmos
[17:35:05]* mmn has joined #farmos
[17:46:42]* enhiguy[m] has joined #farmos