Unable to upload attachments over a few MB #5217

Closed
opened 2026-02-05 09:49:19 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @steven-loscheider on GitHub (Mar 12, 2025).

Describe the Bug

Hello,

I am unable to upload attachments that are over a few MB. There is a 10 MB PDF file I wanted to upload into bookstack but it says at the end of the uploading that the file is too big. Smaller files (3k, 5K) do work.

Image

From Issue #1293 and #1346 I found out that it should be at least 256MB but we are well below that.

Just upgraded to v25.02 and the issue persists there as well.

OS: Ubuntu Server 2404 LTS
PHP 8.2
Hosted in Azure

Steps to Reproduce

Create new or edit page, select upload file.

Expected Behaviour

Upload attachment successfully.

Screenshots or Additional Context

No response

Browser Details

Firefox 135

Exact BookStack Version

25.02

Originally created by @steven-loscheider on GitHub (Mar 12, 2025). ### Describe the Bug Hello, I am unable to upload attachments that are over a few MB. There is a 10 MB PDF file I wanted to upload into bookstack but it says at the end of the uploading that the file is too big. Smaller files (3k, 5K) do work. ![Image](https://github.com/user-attachments/assets/81c9f621-ca49-4acf-8f4e-fff1f11714cd) From Issue #1293 and #1346 I found out that it should be at least 256MB but we are well below that. Just upgraded to v25.02 and the issue persists there as well. OS: Ubuntu Server 2404 LTS PHP 8.2 Hosted in Azure ### Steps to Reproduce Create new or edit page, select upload file. ### Expected Behaviour Upload attachment successfully. ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 135 ### Exact BookStack Version 25.02
OVERLORD added the 🐕 Support label 2026-02-05 09:49:19 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 12, 2025):

Hi @steven-loscheider,
The default is often about 2MB.

Please follow our guidance to increase these limits:
https://www.bookstackapp.com/docs/admin/upload-config/#changing-upload-limits

@ssddanbrown commented on GitHub (Mar 12, 2025): Hi @steven-loscheider, The default is often about 2MB. Please follow our guidance to increase these limits: https://www.bookstackapp.com/docs/admin/upload-config/#changing-upload-limits
Author
Owner

@ssddanbrown commented on GitHub (Sep 3, 2025):

Since there's been no further follow-up I'm going to close this off.

@ssddanbrown commented on GitHub (Sep 3, 2025): Since there's been no further follow-up I'm going to close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5217