DoTheEvo / selfhosted-apps-docker

Guide by Example
1.83k stars 129 forks source link

"No such host" -- Docker DNS resolver cannot find 'nextcloud-web' container #20

Closed longestmt closed 3 years ago

longestmt commented 3 years ago

I have the exact config for every file except for...

I'm receiving this error:

{"level":"error","ts":1617762089.7528145,"logger":"http.log.error","msg":"dial tcp: lookup nextcloud-web on 127.0.0.11:53: no such host","request":{"remote_addr":"172.18.0.1:46694","proto":"HTTP/1.1","method":"GET","host":"nextcloud.domain.xyz","uri":"/status.php","headers":{"Authorization":["Basic dGxvbmdlc3Q6VXMUZPUlN1dUt2TEhuM2NoVXpJcFk2aEY4Vm9wVFVPOVhOcndxekhIYmYyZ29CcjJLNHJmeWxrOVZH"],"User-Agent":["Mozilla/5.0 (Linux) mirall/2.6.4-1 (Nextcloud)"],"Accept":["*/*"],"X-Request-Id":["d9bb0c03-8dbe-4363-ace2-cbfc751bb4b3"],"Connection":["Keep-Alive"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"","proto_mutual":true,"server_name":"nextcloud.domain.xyz"}},"duration":0.00652746,"status":502,"err_id":"kschkyri1","err_trace":"reverseproxy.statusError (reverseproxy.go:783)"}

I have been troubleshooting but do not understand what could be causing this issue. Can you provide any suggestions?

longestmt commented 3 years ago

Solved this one myself. There was a mariadb permissions error. I chmod'd the folders and everything worked fine after that.