我的 Gitorious 不创建存储库!
我刚刚在这里安装了 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
差不多两年过去了,但是……是的,您需要运行轮询器。 为了测试这一点,作为 gitorious 目录中的 git 用户尝试运行
这将同步运行轮询器。 它将继续运行,直到您按下 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
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.
你需要启动轮询器(脚本/轮询器并运行 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
我的第一个猜测是您的防火墙处于活动状态,阻止您联系端口 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.
或者,在您的管理员中转到: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.