It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why I am not able to upload large files to confluence?

Dear community.

We have a problem on one of our confluecne installations. When we try to upload large files (100Mb and larger) the upload indicator hangs or restarts. Sometimes it gives error - Server is not available.

We have increased upload limit to 10G and put very large timeout but it did not help. There is no info in logs as well. Looks like logs are not even logged for this error. (if you check Logs file inside confluecne home directory).

Installation is on CentOS 6 + Postgres DB.

If someone could guide me how to solve the problem or at least find the source of the problem I would be very grateful.


1 answer

Confluence is not a file server, it's not built for handling large files as attachments, and doesn't have much resilience. With a large limit and a large timeout, it can accept big files, but if there's any issue with the upload, even the slightest hitch, it doesn't handle it, and the transfer dies. The slightest wobble in your network connection can do this.

You should be looking at storing big files on something that is designed for it.

How us resolve this big problem, we need post setup up 1GB.

>we need post setup up 1GB.

You almost certainly do not "need" to do this.  You need to share a file and are trying to do it the wrong way.  Files of that size have no practical use in Confluence, other than sharing, which is better done in something designed for sharing large files.

If you insist on doing this, then you will need to massively increase the memory available to Confluence and increase the timeout settings in its Tomcat.

Like jose.aleixo likes this

Thank you so much Nic.

I believe that best solution is put package into file server "x", for example FTP Server and in Confluence one link, but I don´t will have a counter of the access, that´s right this?

How are the server license type packages distributed for Atlassian Jira, Confluence products?

Yes, a service that is designed for large files is the answer.  You will in fact get a more accurate "count" from a file service because in Confluence, you can't tell if a file was successfully downloaded or if it were just viewed rather than downloaded.

I don't know what Atlassian use to serve up their installation files, but I would suspect it's something like Artifactory or Nexus.

Hello Nic, I understood and very grateful.
About package servers, I'll be researching in more detail, I really believe it's the Nexus.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,501 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you