Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence stops after 2-3 min of starting it

Muhammad Sawaiz October 5, 2020

Hey, I am new to docker and confluence is running confluence in docker on Ubuntu 18.04.  This question is asked number of times before but that is either answered for windows or that I am not getting the relevant solution. There is no error when I start it. I have checked the database and its there. Meanwhile it is running, I am not able to browse it either.
I have no clue about the source of problem or any solution.

3 answers

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2020

What does the log file say the service is doing?  

Look at <confluence data>/log/atlassian-confluence.log and then <confluence install>/logs/catalina.out

0 votes
Niranjan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2020

Hi @Muhammad Sawaiz - This is a typical behavior of insufficient JVM. Try increasing JVM and restart it.

Muhammad Sawaiz October 5, 2020

For ubuntu os? Yes I already did. In one question it was mentioned that may be java version mismatches but it was discussed in perspective of windows and I didn't understood it in respect of ubuntu.

0 votes
Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2020

What is your docker run command?

Have you setup connection to your database?

Muhammad Sawaiz October 5, 2020

I do not have the run cmd now, but may be this inspect result will help. And yes I did setup the database

 

{
"Id": "50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf",
"Created": "2020-03-03T11:21:16.861355731Z",
"Path": "/sbin/tini",
"Args": [
"--",
"/entrypoint.py"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 5869,
"ExitCode": 0,
"Error": "",
"StartedAt": "2020-10-06T04:33:55.208799644Z",
"FinishedAt": "2020-10-05T13:03:48.035757869Z"
},
"Image": "sha256:17eb36eb929855d0ab163901dc4bac716c06f289837df91027c5dba72b1799a8",
"ResolvConfPath": "/var/lib/docker/containers/50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf/hostname",
"HostsPath": "/var/lib/docker/containers/50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf/hosts",
"LogPath": "/var/lib/docker/containers/50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf/50ce5e1e56f99dd79b34e883cb5c33d3c02fa0e25a3ec70e2014188d07306abf-json.log",

"Name": "/confluence",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Capabilities": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,

"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,

"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {

"LowerDir": "/var/lib/docker/overlay2/15b6f57ff9518a0c0428606876730f80cb5807339f162d9911f481413ebd5c8a-init/diff:/var/lib/docker/overlay2/3abc5a25c0f9ba0955f7f492a4e190ba0d9266cb6f6f049241a6452df70490a8/diff:/var/lib/docker/overlay2/20f398fe7eb6886d40ae4c5c23411036d8cb866ff844af2d565c2be42c5b6c79/diff:/var/lib/docker/overlay2/41a9fbdc59344709b0ab61d8533b751ea12b95ba6339f524475107edbc44967e/diff:/var/lib/docker/overlay2/f62fa144c7dffe184b5321eed0f733ab0befb6610355b85d4c9617a7677e9d10/diff:/var/lib/docker/overlay2/d391de52ef39a3a16d7f74f746f679ec704a51bbe385184aeb824d6cc0e4e913/diff:/var/lib/docker/overlay2/58f2e4025f72c04a4e8e4f61a626880db68ffc1b2934ec7c723bcaf242e0fad2/diff:/var/lib/docker/overlay2/5b3b6a8d4c033633afc2e9c2a6c966919724c906a74c7c459890f36b727f1743/diff:/var/lib/docker/overlay2/ed027194328fd97c4d5fc5d7666ca7a3cc829cabcbc12bccc2216b715a289058/diff:/var/lib/docker/overlay2/1f245d1073e912c3ee036fb3977738a8fa0a7bf01e2b11b44b175ddd4bad0d93/diff:/var/lib/docker/overlay2/48fa095fa8dcc35d8eee0c522e3d3c0e2c8cbd1acd3314d4a47fb622688b28b3/diff:/var/lib/docker/overlay2/de2c1382ae83fcfe9b8a333d13d5e06aabb81de03d715f266f4854d3d42924a7/diff:/var/lib/docker/overlay2/9148d920e826c3173741131c7a841dd91f65504b5da34e6219d89abe31613a02/diff:/var/lib/docker/overlay2/083afe36899ce75e04071a1bc743e6f0a0d23c8d08876a4401892096f810b3b8/diff:/var/lib/docker/overlay2/e84ef93e174064b6d2e6905e517d276a50f348e5912d818933de99133bd8c207/diff:/var/lib/docker/overlay2/6d6b3e02d33140360768281a23be5b7d950ab3a0c3afb45423568d055a3ef73b/diff",
"MergedDir": "/var/lib/docker/overlay2/15b6f57ff9518a0c0428606876730f80cb5807339f162d9911f481413ebd5c8a/merged",
"UpperDir": "/var/lib/docker/overlay2/15b6f57ff9518a0c0428606876730f80cb5807339f162d9911f481413ebd5c8a/diff",
"WorkDir": "/var/lib/docker/overlay2/15b6f57ff9518a0c0428606876730f80cb5807339f162d9911f481413ebd5c8a/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "f062a2333232695f33cecc1552232f928fc3effcd96cbad22dedd573127c0f24",
"Source": "/var/lib/docker/volumes/f062a2333232695f33cecc1552232f928fc3effcd96cbad22dedd573127c0f24/_data",
"Destination": "/var/atlassian/application-data/confluence",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}

],
"Config": {
"Hostname": "codes-orbit-s1",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8090/tcp": {},
"8091/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=en_US.UTF-8",
"LANGUAGE=en_US:en",
"LC_ALL=en_US.UTF-8",
"JAVA_VERSION=jdk8u242-b08",
"JAVA_HOME=/opt/java/openjdk",
"RUN_USER=confluence",
"RUN_GROUP=confluence",
"RUN_UID=2002",
"RUN_GID=2002",
"CONFLUENCE_HOME=/var/atlassian/application-data/confluence",
"CONFLUENCE_INSTALL_DIR=/opt/atlassian/confluence"
],
"Cmd": [
"/entrypoint.py"
],

"Image": "atlassian/confluence-server:6.15.2",
"Volumes": {
"/var/atlassian/application-data/confluence": {}
},
"WorkingDir": "/var/atlassian/application-data/confluence",
"Entrypoint": [
"/sbin/tini",
"--"
],
"OnBuild": null,
"Labels": {}
},

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events