Error cloning git repository, access is denied or repository is not found

AI-generated summary

Users are troubleshooting an error: “Error cloning git repository, access is denied or repository is not found” while trying to install themes in Discourse. zaino initially tried importing a GitHub repo (https://github.com/ZainoLabs/dis coball), which turned out to be a Discourse clone, not a theme — featheredtoast clarified this and pointed to a proper theme example. zaino acknowledged the mistake and fixed it, confirming they’re not running the clone in production. Stephen advised verifying the Docker repo remote URL to avoid future update issues, which zaino confirmed they’ll address. Separately, Tim_Jefferies reported the same error installing the Graceful theme; pfaffman suggested checking if the URL is accessible via browser, and Tim_Jefferies noted it started working the next day. The issue appears to stem from misconfigured or inaccessible repositories, with solutions involving correct theme URLs and proper Docker repo setup.

I have been successfully pulling a theme from a public Github repo for the last week and suddenly today I am getting this error:

“Error cloning git repository, access is denied or repository is not found”

I deleted the theme from Discourse and tried to import anew. Same error.

I then tried to import from GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. · GitHub . Same error.

My Discourse is up to date.

Is this happening to anyone else? Any ideas?

What is the URL of the theme?

https://github.com/ZainoLabs/discoball

Thanks for taking a look

That looks like your repository to your clone of discourse, not a theme. Jay was asking for the theme’s url. The contents would look something like this.

OK, I see my mistake now. Funny thing is that the clone was working as a theme fine for several days before it broke.

Anyway, you got me on the right path. Many thanks! :taco:

I hope that you’re not running that clone in production. No good can come from that.

I’m not. I got a new theme set up properly now.

Save us some pain down the line and just make sure that when you’re in /var/docker the result of git remote -v is as follows:

origin https://github.com/discourse/discourse_docker.git (fetch)
origin https://github.com/discourse/discourse_docker.git (push)

Because if there’s any chance it says https://github.com/ZainoLabs/discoball you’re going to have real problems updating in the future.

Yep cool. And that repo of the clone will be deleted shortly as well. Thanks for the tip.

I just tried to install the graceful theme using the install feature in the discourse admin and i’m getting this error. Any ideas?

The error message is almost certainly correct. Does the url you are using work in your web browser?

Yesterday it wasn’t working. Today it is.