简体   繁体   English

无法同时启动Jetbrains Hub和Youtrack

[英]Can't start Jetbrains Hub & Youtrack at the same time

I wanted to install Jetbrains Hub & Youtrack on my host. 我想在主机上安装Jetbrains Hub&Youtrack。 I've downloaded .zip files and extracted them to /opt . 我已经下载了.zip文件并将其解压缩到/opt

I've configured them in the following way: 我已经通过以下方式配置了它们:

bin/hub.sh configure --listen-port 3334 --base-url http://hub.example.com

bin/youtrack.sh configure --listen-port 3333 --base-url http://youtrack.example.com

So I though youtrack would start at 3333 port and hub at 3334. I've disabled SELinux (which previously caused some problems) and created Nginx rules. 因此,尽管youtrack将从3333端口开始,在3334处启动集线器。但我已禁用SELinux(以前曾引起一些问题)并创建了Nginx规则。

server {
    listen 80;
    server_name youtrack.example.com;
    error_log /var/log/nginx/youtrack.error.log;

    location / {
        proxy_pass http://localhost:3333;
    }
}

server {
    listen 80;
    server_name hub.example.com;
    error_log /var/log/nginx/hub.error.log;

    location / {
        proxy_pass http://localhost:3334;
    }
}

Now the problem is that I can start youtrack and access it from outside, as far as hub is not running and vice versa. 现在的问题是,只要集线器未运行,我就可以从外部开始跟踪并访问它,反之亦然。 But if both of them run, they restart each other. 但是,如果它们都运行,它们将彼此重新启动。 But I don't really understand, they shouldn't block each other should they? 但我不太了解,他们不应该互相封锁吗? Do you have any idea about what I'm doing wrong? 您对我在做什么错有任何想法吗?

I am able to run YouTrack and Hub on the same server. 我可以在同一台服务器上运行YouTrack和Hub。 I think the problem may be in the syntax of your configure command. 我认为问题可能出在您的configure命令的语法中。 I believe the equal sign is missing and it should be: 我相信等号不见了,应该是:

bin /hub.sh configure --listen-port=3334 --base-url=http://hub.example.com

bin /youtrack.sh configure --listen-port=3333 --base-url=http://youtrack.example.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM