Permission denied upon uploading an image #5579

Open
opened 2026-02-05 10:10:56 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @droidus on GitHub (Jan 24, 2026).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I am trying to upload an image to a bookstack page. It fails, saying "An error occurred uploading the image".

Exact BookStack Version

25.11.6

Log Content

[2026-01-24 14:16:30] production.ERROR: Error when attempting image upload:Unable to create a directory at /var/www/bookstack/public/uploads/images/gallery/2026-01.

Hosting Environment

Ubuntu 24.04, using official install script.

Originally created by @droidus on GitHub (Jan 24, 2026). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario I am trying to upload an image to a bookstack page. It fails, saying "An error occurred uploading the image". ### Exact BookStack Version 25.11.6 ### Log Content ```text [2026-01-24 14:16:30] production.ERROR: Error when attempting image upload:Unable to create a directory at /var/www/bookstack/public/uploads/images/gallery/2026-01. ``` ### Hosting Environment Ubuntu 24.04, using official install script.
OVERLORD added the 🐕 Support label 2026-02-05 10:10:56 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 24, 2026):

Hi @droidus,

It sounds like the application might not have the required permissions to create content in the expected image upload location.

You can try following our guidance on this page to reset the file/folder permissions to what would make things work:
https://www.bookstackapp.com/docs/admin/filesystem-permissions/

@ssddanbrown commented on GitHub (Jan 24, 2026): Hi @droidus, It sounds like the application might not have the required permissions to create content in the expected image upload location. You can try following our guidance on this page to reset the file/folder permissions to what would make things work: https://www.bookstackapp.com/docs/admin/filesystem-permissions/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5579