Can not add Library
🐛 Bug Report for Booklore
Thank you for taking the time to report this bug. Your feedback helps make Booklore better for everyone!
Let's squash this bug together! 🔨
📝 What happened?
i can not add a f
🔄 Steps to Reproduce
🔄 Steps to Reproduce
- Navigate to Settings → Libraries in Booklore UI
- Click "Add Library" button
- In the "Select Media Directory" dialog, navigate to
/bookspath - The directory shows as empty with message "This directory is empty"
- Unable to select
/booksas a library path, even though:- The path exists in the container (
docker exec booklore ls -la /booksshows the directory) - Permissions are correctly set to
1000:1000(matching USER_ID and GROUP_ID) - The volume is properly mounted:
/mnt/4tb/media/books/library→/books - Test files created in the host directory are visible inside the container
- The path exists in the container (
🖥️ Environment
- Booklore Version:
ghcr.io/booklore-app/booklore:latest - Docker Compose Version: 3.8
- OS: Linux (Ubuntu/Debian-based)
- Database: MariaDB 11.4.5
📋 Configuration
docker-compose.yml relevant section:
booklore:
image: ghcr.io/booklore-app/booklore:latest
container_name: booklore
environment:
- USER_ID=1000
- GROUP_ID=1000
- BOOKLORE_PORT=11555
- DATABASE_URL=jdbc:mariadb://mariadb-booklore:3306/booklore
- DATABASE_USERNAME=booklore
- DATABASE_PASSWORD=booklorepass
volumes:
- ./booklore/data:/app/data
- /mnt/4tb/media/books/library:/books
- /mnt/4tb/media/books/ingest:/bookdrop
Verified permissions:
# Inside container
drwxrwxr-x 2 1000 1000 4096 Nov 30 21:18 /books
# On host
drwxrwxr-x 2 jakob jakob 4096 Nov 30 20:18 /mnt/4tb/media/books/library
🤔 Expected Behavior
The /books directory should be visible and selectable in the "Select Media Directory" dialog, allowing me to create a library at this path.
😕 Actual Behavior
The directory appears empty in the UI file browser, showing "This directory is empty" message, even though the directory exists and has proper permissions.
📝 Additional Context
- Fresh Booklore installation
- MariaDB database is healthy and running
- No errors visible in
docker compose logs booklore - Creating test files on host are visible inside container via
docker exec - The
/bookdroppath works correctly for the same volume structure
📸 Screenshots / Error Messages
💻 Environment
- Booklore Version: v1.12.0
- OS: NAS on Ubuntu, Client on Arch
- Browser: Firefox 121
- Installation: Docker
- Storage Type: HDD for the library thingy and ssd for the docker file
The screenshot you post shows the inside of the book folder, not the folder itself as an item, like this.
Maybe go to the parent directory and try to check the folder.
😕 Actual Behavior The directory appears empty in the UI file browser, showing "This directory is empty" message, even though the directory exists and has proper permissions.
Also the book folder exist or you shouldn't have been able to open it. (the libraries folder is mounted in /books not a subfolder) Actual books are not shown in the Library Addition UI
omg thank you so much, i didnt click on the checkbox