克隆 Git 仓库出错:拒绝访问或仓库未找到

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. . 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.

我刚刚尝试使用 Discourse 管理后台中的安装功能来安装 graceful 主题,但遇到了这个错误。有什么建议吗?

错误信息几乎肯定是正确的。您使用的 URL 在网页浏览器中能否正常访问?

昨天它无法工作,今天可以了。