Confluence crashes during set up after creating administrative user
Asked by Joshua Carpenter:

I am currently installing Confluence server on Ubuntu 18.04 LTS x64 hosted on DigitalOcean. I am using MySQL for the database. The setup process is successful all the way until I click on "Empty site." It asks me to create an administrative user, which I do, but when I click on create Confluence crashes. I have Confluence set up as a service with default settings for port, installation directory, etc. The code I used to install confluence and set up the database can be found here: <https://github.com/mtnbikerjoshua/confluence-installer-ubuntu>.

Note: I wrote that code myself because I was tired of repeatedly typing it as I re-installed.

Edit: Here is the contents of the atlassian-confluence.log file. <https://textuploader.com/dzz3f>

The last line seems like it might be relevant:

2018-07-17 16:20:47,620 WARN \[Caesium-1-1\] \[impl.schedule.caesium.JobRunnerWrapper\] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse\[runOutcome=ABORTED,message='LaaS performance logging is turned off'\] -- referer: [http://myserverip:8090/setup/setupadministrator-start.action](http://206.189.221.70:8090/setup/setupadministrator-start.action) \| url: /setup/finishsetup.action \| traceId: 2d61a47bcc0c9cef \| userName: anonymous \| action: finishsetup

The catalina.out log ends in this error:

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f1c21719000, 262144, 0) failed; error='Cannot allocate memory' (errno=12)

# There is insufficient memory for the Java Runtime Environment to continue.  
# Native memory allocation (mmap) failed to map 262144 bytes for committing reserved memory.  
# An error report file with more information is saved as:  
# /tmp/hs_err_pid2689.log

![Load Content.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/27061iC97B5C2D3E4EC282/image-dimensions/560x465?v=v2 "Load Content.PNG")![ConfigureUserManagement.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/27062i8FBF9194835A2A81/image-dimensions/559x388?v=v2 "ConfigureUserManagement.PNG")![SysAdmin.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/27063i0646D257E26E0064/image-dimensions/559x360?v=v2 "SysAdmin.PNG")![ConfluenceError.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/27064iF210869C9C0802EE/image-dimensions/373x337?v=v2 "ConfluenceError.PNG")


Answers:
author: siboconnection
body: [@Joshua Carpenter](/t5/user/viewprofilepage/user-id/83447) resolved this issue by increasing server memory to 3GB (previously 2GB---a single-processor DigitalOcean droplet in both cases).


author: siboconnection
body: There is an explanation of the LaaS error here: [LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully](https://community.atlassian.com/t5/Confluence-questions/LaasPerformanceLoggingJob-LaasPerformanceLoggingJob-completed/qaq-p/759489)

And a Jira issue here: <https://jira.atlassian.com/browse/CONFSERVER-55875>

I have no experience installing Confluence, but this error seems unrelated.

Here is another discussion similar to your question: <https://community.atlassian.com/t5/Confluence-questions/How-do-I-solve-the-confluence-installation-problems/qaq-p/171403>


author: Nic Brough -Adaptavist-
body: Sounds like the site shuts itself down during the space creation.

What does the log file say is going wrong? Look at \<confluence home\>/logs/atlassian-confluence.log first, and have a quick look at the other files in that directory. If there's nothing in there, check also \<confluence install\>/log/catalina.out

comments: author: Joshua Carpenter
body: I edited my post to provide the \<confluence home\>/logs/atlassian-confluence.log. I can't glean anything from the log, but perhaps you can.


Tags: confluence-server

mysql

server

ubuntu