During the installation of Discourse on a Hetzner server, denvergeeks encountered the error “No such file or directory” after running a git clone command. The issue stemmed from a malformed URL — likely due to a copy-paste error that introduced invisible characters or a typo like “https;//” instead of “https://” Moin and pfaffman suggested retyping the command manually, which resolved the problem for denvergeeks. Additionally, Canapin noted that Hetzner’s web-based console uses a German keyboard layout, which may cause input errors — advising against using it for complex commands unless necessary, such as changing the root password. The solution was to manually type the correct command: git clone https://github.com/discourse/discourse.git /var/discourse.
This is a trap. Hetzner’s web console uses German keyboard layout
Maybe your issues came from here.
I use it only to change the root’s default password when not using SSH.