A couple of days ago a I tried to add a subdomain to my usually well behaved MIAB. I selected the domain, entered my subdomain, typed in the iP address and got
500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
So I went to the status page and found the following errors:
Secondary nameserver puck.nether.net is not configured correctly. (It resolved this domain as not_an_ip. It should be also_not_an_ip.)
And for both domain.com and www.domain.com
This domain should resolve to your box’s IP address (A x_y_z) if you would like the box to serve webmail or a website on this domain. The domain currently resolves to a_b_c in public DNS. It may take several hours for public DNS to update after a change. This problem may result from other issues listed here.
Thing is, a_b_c is an IP address I know and use - I don’t use it for this domain but I do use it for another domain on MIAB. a_b_c is the IP address of my home internet connection.
So the assumption at this point is 99% I did something stupid and 1% the API call I use to check my home IP matches did something stupid. But it’s easy to fix. Or so I thought.
I tried to delete and recreate the domain.com and/or www.domain.com A records. When I do that, I just get a message “Something isn’t right”. I waited “several hours” and tried again. And again. Same error message.
So I switched to log watching in the hope that there’s a solution there but the error that occurs doesn’t help me.
OK - I’ve had to edit this. If I post the actual error message Discourse won’t let me post it because I can “only post two links”. Not everything with a forward slash in it is a URL.
Edit 2: Nope, had to edit this even further. Seems I can’t post any useful error messages.
Edit 3: Ah, it’s a Discourse anti-spam “feature”. Apparently I just had to wait.
Basically, this:
"app.py"
is doing this
returned non-zero exit status 1
when calling
do_dns_update(env)
It appears to be saying that because the domain update didn’t have a non-zero exit code display the message “Something isn’t right” but it doesn’t tell me anything else.
Can anyone help? I’d like to avoid a reinstall if possible.
Thanks
Steve