בעיות באתחול discourse ב-vmware

סיכום מבוסס בינה מלאכותית

Wurzelseppi encountered an error while trying to bootstrap Discourse in a VMware Ubuntu 21.04 VM, specifically failing to resolve GitHub’s hostname during the ./launcher bootstrap app step — despite being able to manually clone the repository and perform nslookup successfully. pfaffman suggested the issue likely stems from DNS misconfiguration within Docker. Wurzelseppi later noted the setup worked without issue on a cloud instance and chose to close the thread.

Hey guys,

I want to install discourse locally in a vmware ubuntu 21.04 vm and get this error:

./launcher bootstrap app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
fatal: unable to access ‘GitHub - discourse/pups: Simple yaml based bootstrapper for Linux machines · GitHub’: Could not resolve host: github.com
e0146dd79cd1704e68b8c6aab0168f269af67c8eac4880a7c2ed4276e78031f2
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

when I try to clone it in /tmp, though, it works

/tmp# git clone GitHub - discourse/pups: Simple yaml based bootstrapper for Linux machines · GitHub
Cloning into ‘pups’…
remote: Enumerating objects: 477, done.
remote: Counting objects: 100% (136/136), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 477 (delta 60), reused 94 (delta 33), pack-reused 341
Receiving objects: 100% (477/477), 83.41 KiB | 1.63 MiB/s, done.
Resolving deltas: 100% (233/233), done.

An nslookup also work (surprise surprise :slight_smile: )

nslookup github.com
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: github.com
Address: 140.82.121.4

Any ideas?

Thanks alot guys!

It looks like your docker install is having dns issues.

Hmmmm, on a cloud instance it worked flawlessly … I´m closing this here