התקנה רשמית של Discourse "אין כזה קובץ או תיקיה"

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

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.

While installing a new instance of Discourse on a freshly installed Hetzner server with the following specs:

As directed here…

…and following those instructions here…

…like so…

…I am getting the error:

fatal: repository ‘https’ does not exist
bash: //github.com/discourse/discourse-docker.git: No such file or directory

I would appreciate any help!

I can’t quite make sense if it. My best guess is that you somehow copied some invisible character between the colon and the //.

Maybe try typing the command. Or if you typed it, try copy and paste.

It looks like you typed https;//github…

Yes, thank you @pfaffman and @Moin you were both correct… I had copy/pasted the command

https://github.com/discourse/discourse.git /var/discourse into the web-based console in Hetzner

I tried typing it into the console instead, and indeed that worked!

This is a trap. Hetzner’s web console uses German :germany: keyboard layout :slight_smile:
Maybe your issues came from here.
I use it only to change the root’s default password when not using SSH.