Closed
Description
On a fresh install using the provided docker-compose.yml, whenever I post a form (create a new shelf, try to change the default admin password) I get an Illuminate\Http\Exceptions\PostTooLargeException
.
Perhaps this is caused by
8af8464#diff-47ffcee93649ec8520ea742cfddc9b9bR66
Expected Behavior
I should be able to post forms.
Current Behavior
When I post any form, the error Illuminate\Http\Exceptions\PostTooLargeException
appears.
Steps to Reproduce
- Fresh install using the provided docker-compose.yml
- Log in as admin
- Try to create a shelf
Environment
OS:
CPU architecture: x86_64/arm32/arm64
How docker service was installed:
Command used to create docker container (run/create/compose/screenshot)
version: "2"
services:
bookstack:
image: linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- DB_HOST=bookstack_db
- DB_USER=bookstack
- DB_PASS=mypassword
- DB_DATABASE=bookstackapp
volumes:
- /var/www/bookstack/config:/config
ports:
- 80:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=mypassword
- TZ=Europe/Berlin
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=mypassword
volumes:
- /var/www/bookstack/config:/config
restart: unless-stopped
Docker logs
The docker logs show nothing, but the nginx logs do:
2020/09/18 15:37:04 [error] 357#357: *19 FastCGI sent in stderr: "PHP message: PHP Warning: POST Content-Length of 1072 bytes exceeds the limit of 100 bytes in Unknown on line 0" while reading response header from upstream, client: 5.180.62.10, server: _, request: "POST /settings/users/1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "78.46.181.222", referrer: "http://78.46.181.222/settings/users/1"
I'm don't know that much about php.ini configuration, but googling for post_max_size
the size was always specified as 100M
while the recent change used 100MB
- don't know if that could be the problem maybe.