Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
when trying to import a book in zip format nginx gives an error. Even using the variables below for bookstack and php:
- FILE_UPLOAD_SIZE_LIMIT=200
- post_max_size = 200M
- upload_max_filesize = 200M
Expected Behavior
allow changing nginx limits with environment variables
Steps To Reproduce
export a zip file 50 mb book from a bookstack instance and import . error happens on upload
Environment
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
---
services:
bookstack:
image: linuxserver/bookstack:25.02.20250309
environment:
- APP_URL=***********
- APP_KEY=**************
- DB_HOST=*************
- DB_DATABASE=**********
- DB_USERNAME=*****************
- DB_PASSWORD=**************
- PUID=1000
- PGID=1000
- TZ=America/Sao_Paulo
- APP_LANG=pt_BR
- APP_DEBUG=true
- ALLOWED_IFRAME_SOURCES="*"
- SAML2_DUMP_USER_DETAILS=true
- FILE_UPLOAD_SIZE_LIMIT=200
- post_max_size = 200M
- upload_max_filesize = 200M
#
- AUTH_METHOD=ldap
- LDAP_SERVER=ldap:************
- LDAP_BASE_DN="**********"
- LDAP_DN="cn=ldapbookstack,ou=serviceusers,**********"
- LDAP_PASS="***********"
- LDAP_USER_FILTER=(&(mail={user}))
- LDAP_VERSION=3
- LDAP_ID_ATTRIBUTE=mail
- LDAP_EMAIL_ATTRIBUTE=mail
- LDAP_DISPLAY_NAME_ATTRIBUTE=firstNames
- LDAP_THUMBNAIL_ATTRIBUTE=jpegphoto
- LDAP_START_TLS=true
- LDAP_TLS_INSECURE=true
#
- MAIL_DRIVER=smtp
- MAIL_HOST=************
- MAIL_PORT=*********
- MAIL_ENCRYPTION=tls
- MAIL_USERNAME=*************
- MAIL_PASSWORD=************
- MAIL_FROM=****************
- MAIL_FROM_NAME=*************
volumes:
- uploads:/var/www/bookstack/public/uploads
- storage-uploads:/var/www/bookstack/storage/uploads
ports:
- 8084:80
networks:
- local
volumes:
uploads:
storage-uploads:
networks:
local:
driver: overlay
Container logs
keep running
Actions
[migrations] started
[migrations] 01-nginx-site-confs-default: executing...
[migrations] 01-nginx-site-confs-default: succeeded
[migrations] 02-default-location: executing...
[migrations] 02-default-location: succeeded
[migrations] done
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: v25.02-ls196
Build-date: 2025-03-09T13:52:48+00:00
───────────────────────────────────────
Setting resolver to 127.0.0.11
Setting worker_processes to 12
generating self-signed keys in /config/keys, you can replace these with your own keys if required
....+...+..+.......+...+.....+...+.+......+...............+.........+...+.....+.+..+...+.+...............+.........+......+.....+...+++++++++++++++++++++++++++++++++++++++*..+.+..+...+.............+.....+.+...+.....+......+.......+.................+...+...+.........+.......+.....+.+...............+++++++++++++++++++++++++++++++++++++++*.......+..+...+................++++++
.+.......+........+.+...+..+++++++++++++++++++++++++++++++++++++++*.+...+......+......+.+...+.....+.+...+..+.+..+...+.......+++++++++++++++++++++++++++++++++++++++*....+.......+..+.+........+......+...+.+...........+...+......+.+...........+.......+...........+.+......+..+.......+.....+.+.........+...+...+...+..+...+.........+...............+...............+.+......+........+.+...........+...+.+.....+....+...+.....++++++
-----
Waiting for DB to be available
INFO Nothing to migrate.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Metadata
Metadata
Assignees
Type
Projects
Status
Issues