Issue writing files from docker container to Azure Files #5232

Closed
opened 2026-02-05 09:50:35 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @AndrewVHoogten on GitHub (Mar 23, 2025).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Referencing to Github Issue: https://github.com/BookStackApp/BookStack/issues/4226

I'm running a docker container in an Azure Container app with a Azure File Share mounted to /config

When trying to upload an attachment, I get the following error: production.ERROR: Error when attempting image upload:Unable to set visibility for file uploads/images/gallery/2025-03/bqcerror.png

Attachments work fine.

I do see the file uploads in the file share coming in, but the app won't register it correctly.

Exact BookStack Version

v25.02.1

Log Content

[2025-03-23 14:37:03] production.ERROR: Error when attempting image upload:Unable to set visibility for file uploads/images/gallery/2025-03/bqcerror.png.

Hosting Environment

Docker Container from LinuxServer https://docs.linuxserver.io/images/docker-bookstack/
on an azure container app with a azure file share mount

Originally created by @AndrewVHoogten on GitHub (Mar 23, 2025). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario Referencing to Github Issue: https://github.com/BookStackApp/BookStack/issues/4226 I'm running a docker container in an Azure Container app with a Azure File Share mounted to /config When trying to upload an attachment, I get the following error: production.ERROR: Error when attempting image upload:Unable to set visibility for file uploads/images/gallery/2025-03/bqcerror.png Attachments work fine. I do see the file uploads in the file share coming in, but the app won't register it correctly. ### Exact BookStack Version v25.02.1 ### Log Content [2025-03-23 14:37:03] production.ERROR: Error when attempting image upload:Unable to set visibility for file uploads/images/gallery/2025-03/bqcerror.png. ### Hosting Environment Docker Container from LinuxServer https://docs.linuxserver.io/images/docker-bookstack/ on an azure container app with a azure file share mount
OVERLORD added the 🐕 Support label 2026-02-05 09:50:35 +03:00
Author
Owner

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

Hi @AndrewVHoogten,
This is very much related to #5269, where BookStack is attempting to set visibility while that operation may not be supported in all environments.

I'll close this, and update #5269 to be considered for the next patch, probably to make the permission setting part optional, with errors caught, instead of breaking the flow.

@ssddanbrown commented on GitHub (Mar 24, 2025): Hi @AndrewVHoogten, This is very much related to #5269, where BookStack is attempting to set visibility while that operation may not be supported in all environments. I'll close this, and update #5269 to be considered for the next patch, probably to make the permission setting part optional, with errors caught, instead of breaking the flow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5232