Jan Vorcak
Jan Vorcak

Reputation: 20009

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

I wanted to install Jetbrains Hub & Youtrack on my host. I've downloaded .zip files and extracted them to /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.

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?

Upvotes: 0

Views: 1171

Answers (1)

driftlessjeff
driftlessjeff

Reputation: 93

I am able to run YouTrack and Hub on the same server. I think the problem may be in the syntax of your configure command. 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

Upvotes: 0

Related Questions