我的 Gitorious 不创建存储库!

发布于 2024-07-24 02:07:20 字数 338 浏览 10 评论 0原文

我刚刚在这里安装了 gitorious,但在创建新存储库时遇到问题。 我将其配置为在 /home/git/ 目录中创建它们,并且它已经是 777。 当我创建新存储库时,它会显示“正在创建此存储库, 它很快就会准备好......”并永远显示这一点。

我从脚本启动了 git-daemon,日志:

2009-06-09 15:19:27 [31837] Received TERM, exiting..
2009-06-09 15:19:40 [32467] Listening on 0.0.0.0:9418...

知道会发生什么吗?或者我可以在哪里查找更多信息

I've just installed gitorious here, but I'm having problems creating new repositories.
I configured it to create them in the /home/git/ directory, and the it's already 777.
When I create a new repository, it goes to "This repository is being created,
it will be ready pretty soon…" and keep showing this forever.

I started the git-daemon from the scripts, the log:

2009-06-09 15:19:27 [31837] Received TERM, exiting..
2009-06-09 15:19:40 [32467] Listening on 0.0.0.0:9418...

Any idea what could be happening? Or where I could look for more info

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

嘦怹 2024-07-31 02:07:20

差不多两年过去了,但是……是的,您需要运行轮询器。 为了测试这一点,作为 gitorious 目录中的 git 用户尝试运行

script/poller run

这将同步运行轮询器。 它将继续运行,直到您按下 Control-C。 如果这开始创建您的存储库等,那么您需要考虑在启动时设置并运行文件 /etc/init.d/git-poller

希望这可以帮助遇到此问题的其他人。

It's almost two years later, but.. ya, you need to run the poller. To test this, as the git user in the gitorious directory try running

script/poller run

This will run the poller synchronously. It will keep running until you hit control-C. If this starts your repositories being created etc, then you need to look into getting the file /etc/init.d/git-poller set up and running at boot time.

Hoping this helps someone else out there who runs into this.

∝单色的世界 2024-07-31 02:07:20

你需要启动轮询器(脚本/轮询器并运行 STOMP 兼容的队列服务器,例如 activemq),请查阅 gitorious 邮件列表和/或文档,因为我纯粹是偶然遇到这个线程,并且可能不会再遇到

you need to start the poller (script/poller and run an STOMP compatible queue server, such as activemq), please consult the gitorious mailinglist and/or docs, as I only came across this thread by pure accident and likely wont again

醉殇 2024-07-31 02:07:20

我的第一个猜测是您的防火墙处于活动状态,阻止您联系端口 9418。既然您提到了 /home/git,我假设您在 Linux 上运行 git。 如今,Linux 发行版似乎已习惯于配备活动且预先配置的防火墙。

因此,请关闭防火墙重试,或者如果您比较偏执,请在端口 9148 上刺穿防火墙。在日志中查找来自 git 守护进程的消息。

如果不起作用,请返回更多信息。

祝你好运。

My first guess is that you have a firewall active, preventing you to contact the port 9418. Since you mention /home/git, I am assuming you run git on Linux. It seems customary these days for Linux distributions to come with firewalls active and preconfigured.

So, retry either with the firewall down, or if you are paranoid, with the firewall pierced at port 9148. Look for the messages from the git daemon in the logs.

If it doesn't work, come back with more info.

Good luck.

水水月牙 2024-07-31 02:07:20

或者,在您的管理员中转到:admin/repositories(据我所知,没有指向它的链接)

按照说明进行操作。

Alternatively, in your admin go to: admin/repositories (there is no link to it as far as I am aware)

Follow the instructions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文