Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I have consistently experienced slow page load times ranging from 500 to 700 ms on a Raspberry Pi 4 with 8 GB of RAM. This sluggishness is particularly noticeable when navigating between pages on BookStack instances deployed as Docker containers on these devices. After troubleshooting the issue with Dan Brown, the developer of BookStack, it was confirmed that the problem is caused by the absence of the PHP opcache extension. The troubleshooting process and results are documented in this GitHub issue in the BookStack repository.
Expected Behavior
The acceptable page load time should be somewhere between 100–200 ms.
Steps To Reproduce
You should be able to reproduce this issue on any Raspberry Pi device, and I assume this would also be the case for any ARM-based SBC without a native SATA connection between the hard drive and the device.
Environment
- OS:Debian GNU/Linux 11 (bullseye) aarch64
- How docker service was installed: Manual install.
CPU architecture
arm64
Docker creation
services:
us-bookstack02-app:
image: linuxserver/bookstack:v24.12-ls184
container_name: us-bookstack02-app
hostname: us-bookstack02-app
networks:
- us-bookstack02
ports:
- "8116:80"
volumes:
- /us-bookstack02/us-bookstack02/app:/config
environment:
PUID: 1000
PGID: 1000
APP_URL: "http://192.168.10.1:8116"
APP_KEY: "secret"
DB_HOST: "us-bookstack02-db"
DB_DATABASE: bookstack02
DB_USERNAME: dbadmin
DB_PASSWORD: "secret"
restart: unless-stopped
security_opt:
- no-new-privileges:true
depends_on:
- us-bookstack02-db
us-bookstack02-db:
image: linuxserver/mariadb:10.11.10
container_name: us-bookstack02-db
hostname: us-bookstack02-db
networks:
- us-bookstack02
expose:
- 3306
volumes:
- /us-bookstack02/us-bookstack02/db:/config
environment:
PUID: 1000
PGID: 1000
MYSQL_ROOT_PASSWORD: "secret"
MYSQL_DATABASE: bookstack02
MYSQL_USER: dbadmin
MYSQL_PASSWORD: "secret"
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
us-bookstack02:
name: us-bookstack02
driver: bridge
### Container logs
```bash
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
_____ __ __ _____ _____ _____ _____
| | | | __|_ _| | |
| --| | |__ | | | | | | | | |
|_____|_____|_____| |_| |_____|_|_|_|
_____ __ __ _ __ ____
| __ | | | | | | \
| __ -| | | | |__| | |
|_____|_____|_|_____|____/
Based on images from linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version:
Build-date:
───────────────────────────────────────
using keys found in /config/keys
Waiting for DB to be available
INFO Nothing to migrate.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status