I start Jira and get to the Setup instructions:
(Google example picture)
"Test connection" works fin.
I click next and get an 502 Error from Nginx and reload and anithing won´t work.I tried to restart Jira but i didn´t help.
All files:
https://www.dropbox.com/sh/i6sq98gk50aousk/AAC5H5gtZkk33SGSNKUodpDZa?dl=0
Hi @[deleted],
It looks like the database is working perfectly fine, the problem is NGINX cannot access the localhost:8080.
You have to make sure that nginx can actually access the local instance of jira.
There is a command for it in linux.
Hi @brbojorque ,
Thanks for your quick reply.
At the beginning, Jira starts normally and can also be reached via the domain.
jira.fancydomain.de 87.162.XX.XX - - 19 Jun 2019:22:33:20 +0000 GET /secure/SetupDatabase!default.jspa HTTP/2.0 200 6094 https://jira.fancydomain.de/secure/SetupMode!default.jspa Mozilla5.0 Windows NT 10.0; Win64; x64 AppleWebKit 537.36 KHTML, like Gecko Chrome 75.0.3770.100 Safari 537.36
I get a 200 response and the first setup screen from Jira. The problems seem to occur when Jira runs the Initzial database setup.
Was that what you mean or did I misunderstand?
Sincerely,
Luis
I have tried it now with the built-in database. The setup has gone through with a few timeouts. Is it perhaps the two networks and the communication to the database?
@[deleted], can you check if the server has enough resources to run both Jira and docker within the same server?
Try to ping the instances locally in the server.
ping localhost:8080
--
Check also all the services if it is running.
netstat -ntpl
Nginx:
/app # ping localhost:8080PING localhost:8080 (127.0.0.1): 56 data bytes64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.095 ms64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.059 ms64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.081 ms64 bytes from 127.0.0.1: seq=3 ttl=64 time=0.089 ms64 bytes from 127.0.0.1: seq=4 ttl=64 time=0.078 ms64 bytes from 127.0.0.1: seq=5 ttl=64 time=0.062 ms
/app # wget localhost:8080--2019-06-21 08:11:25-- http://localhost:8080/Resolving localhost... 127.0.0.1, ::1Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.Connecting to localhost|::1|:8080... failed: Network unreachable.
/app # netstat -tulpnActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 127.0.0.11:43336 0.0.0.0:* LISTEN -tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 28/nginx: master prtcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 28/nginx: master prudp 0 0 127.0.0.11:51088 0.0.0.0:* -
Host:
nmap -p 8080 localhostStarting Nmap 7.40 ( https://nmap.org ) at 2019-06-21 10:23 CESTNmap scan report for localhost (127.0.0.1)Host is up (0.00015s latency).Other addresses for localhost (not scanned): ::1PORT STATE SERVICE8080/tcp open http-proxyNmap done: 1 IP address (1 host up) scanned in 0.33 seconds
netstat -tulpnAktive Internetverbindungen (Nur Server)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 248/systemd-resolvetcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 78/rpcbindtcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2368/sshdtcp6 0 0 :::5355 :::* LISTEN 248/systemd-resolvetcp6 0 0 :::111 :::* LISTEN 78/rpcbindtcp6 0 0 :::8080 :::* LISTEN 6819/docker-proxytcp6 0 0 :::80 :::* LISTEN 3853/docker-proxytcp6 0 0 :::22 :::* LISTEN 2368/sshdtcp6 0 0 :::443 :::* LISTEN 3841/docker-proxyudp 0 0 127.0.0.53:53 0.0.0.0:* 248/systemd-resolveudp 0 0 0.0.0.0:111 0.0.0.0:* 78/rpcbindudp 0 0 0.0.0.0:678 0.0.0.0:* 78/rpcbindudp 0 0 0.0.0.0:5355 0.0.0.0:* 248/systemd-resolveudp6 0 0 :::111 :::* 78/rpcbindudp6 0 0 :::678 :::* 78/rpcbindudp6 0 0 :::5355 :::* 248/systemd-resolve
System usage:
top - 10:28:00 up 3 days, 12:07, 3 users, load average: 0,00, 0,06, 0,10Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie%Cpu(s): 2,1 us, 0,8 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 stKiB Mem : 2097152 total, 50996 free, 1497852 used, 548304 buff/cacheKiB Swap: 0 total, 0 free, 0 used. 567480 avail MemPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND6844 bin 20 0 4257580 1,204g 26732 S 1,0 60,2 3:30.14 java4254 root 20 0 112720 6156 1380 S 0,7 0,3 0:12.97 docker-gen3812 jarvisCi 20 0 349952 24740 1168 S 0,3 1,2 0:13.86 docker-compose3954 root 20 0 14540 3112 1184 S 0,3 0,1 0:12.85 docker-gen8072 root 20 0 42800 1996 1388 R 0,3 0,1 0:00.07 top1 root 20 0 56996 3196 1940 S 0,0 0,2 0:08.85 systemd2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd/2836653 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khelper61 root 20 0 70672 13692 13380 S 0,0 0,7 0:19.52 systemd-journal65 root 20 0 43152 684 264 S 0,0 0,0 0:07.45 systemd-udevd73 systemd+ 20 0 48696 1636 1080 S 0,0 0,1 0:04.76 systemd-network78 root 20 0 49860 504 0 S 0,0 0,0 0:00.52 rpcbind132 root 20 0 29628 160 56 S 0,0 0,0 0:00.68 cron134 root 20 0 250104 540 0 S 0,0 0,0 0:02.56 rsyslogd206 root 20 0 68704 84 0 S 0,0 0,0 0:00.00 saslauthd208 root 20 0 68704 88 0 S 0,0 0,0 0:00.00 saslauthd248 systemd+ 20 0 49612 1068 884 S 0,0 0,1 0:07.48 systemd-resolve264 root 20 0 20212 4 0 S 0,0 0,0 0:00.00 xinetd2368 root 20 0 69944 568 416 S 0,0 0,0 0:34.61 sshd2763 root 20 0 95172 1620 668 S 0,0 0,1 0:00.06 sshd2776 jarvisCi 20 0 95172 1412 436 S 0,0 0,1 0:00.39 sshd2777 jarvisCi 20 0 19912 1284 748 S 0,0 0,1 0:00.05 bash3589 root 20 0 95172 1576 616 S 0,0 0,1 0:00.05 sshd3595 jarvisCi 20 0 95172 1392 384 S 0,0 0,1 0:00.48 sshd3596 jarvisCi 20 0 19916 1332 720 S 0,0 0,1 0:00.09 bash3811 jarvisCi 20 0 12520 4136 0 S 0,0 0,2 0:00.22 docker-compose3841 root 20 0 9212 2284 1160 S 0,0 0,1 0:00.01 docker-proxy3853 root 20 0 8156 2288 1160 S 0,0 0,1 0:00.00 docker-proxy3859 root 20 0 11776 3948 2876 S 0,0 0,2 0:00.79 containerd-shim3877 root 20 0 11796 3912 84 S 0,0 0,2 0:00.79 forego3951 root 20 0 6236 200 0 S 0,0 0,0 0:00.00 bash3953 root 20 0 6232 196 0 S 0,0 0,0 0:00.00 bash3959 root 20 0 65348 1488 268 S 0,0 0,1 0:00.17 nginx3991 root 20 0 10720 3588 2576 S 0,0 0,2 0:00.23 containerd-shim4011 root 20 0 2160 176 0 S 0,0 0,0 0:00.17 bash4250 root 20 0 2664 1028 292 S 0,0 0,0 0:01.00 letsencrypt_ser6250 message+ 20 0 45244 868 228 S 0,0 0,0 0:01.08 dbus-daemon6386 root 20 0 317300 2580 820 S 0,0 0,1 0:01.91 packagekitd6399 root 20 0 286184 836 0 S 0,0 0,0 0:00.15 polkitd6405 root 20 0 46412 1644 1104 S 0,0 0,1 0:00.88 systemd-logind6686 root 20 0 95172 1700 732 S 0,0 0,1 0:00.05 sshd6692 jarvisCi 20 0 95172 1416 432 S 0,0 0,1 0:00.35 sshd6693 jarvisCi 20 0 19916 1604 1000 S 0,0 0,1 0:00.13 bash6711 root 20 0 14292 128 0 S 0,0 0,0 0:00.00 agetty6712 root 20 0 12648 128 0 S 0,0 0,0 0:00.00 agetty6788 jarvisCi 20 0 12520 4180 8 S 0,0 0,2 0:00.23 docker-compose6789 jarvisCi 20 0 284416 27060 3828 R 0,0 1,3 0:04.27 docker-compose6819 root 20 0 8156 2284 1160 S 0,0 0,1 0:00.00 docker-proxy6825 root 20 0 10720 3900 2824 S 0,0 0,2 0:00.06 containerd-shim6933 systemd+ 20 0 66028 2140 560 S 0,0 0,1 0:00.79 nginx7424 root 20 0 1908 308 204 S 0,0 0,0 0:00.00 sleep7478 root 20 0 435148 21492 4876 S 0,0 1,0 1:23.43 containerd7602 root 20 0 50880 1184 768 S 0,0 0,1 0:00.02 su7603 root 20 0 19972 2064 1424 S 0,0 0,1 0:00.14 bash12502 root 20 0 591064 62112 22616 S 0,0 3,0 3:05.83 dockerd14761 root 20 0 56384 2304 1432 S 0,0 0,1 0:01.20 systemd14762 root 20 0 82520 1388 60 S 0,0 0,1 0:00.00 (sd-pam)
Nginx Stats:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDSf7121e8b5614 nginx 0.15% 14.86MiB / 2GiB 0.73% 19.1MB / 20.6MB 0B / 0B 19
Jira Stats:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDSa212ccbd8062 jiraSoftware 3.37% 1.21GiB / 2GiB 60.51% 1.58MB / 12.8MB 0B / 0B 133
It looks like you're new here. Sign in or register to get started.