-
-
Notifications
You must be signed in to change notification settings - Fork 38
CIF share auto metadata
github-actions[bot] edited this page Jan 28, 2026
·
1 revision
This guide covers mounting an SMB/CIFS share on the host and using FileRise's metadata scanner.
sudo mkdir -p /mnt/filerise_share
sudo mount -t cifs //your-server/share /mnt/filerise_share \
-o username=youruser,password=yourpass,uid=33,gid=33-
uid/gidshould match thewww-datauser inside the container. - If you use
PUID/PGIDin Docker, align these values with the host mount.
services:
filerise:
image: error311/filerise-docker:latest
volumes:
- /mnt/filerise_share:/var/www/uploads
environment:
SCAN_ON_START: "true"
CHOWN_ON_START: "true"
PUID: "33"
PGID: "33"Tip: Avoid mounting the root of a huge share. Use a dedicated subfolder instead.
When SCAN_ON_START=true, FileRise runs:
/var/www/scripts/scan_uploads.php
This indexes existing files into /var/www/metadata so they appear in the UI.
You can also run it manually:
docker exec -it <container> php /var/www/scripts/scan_uploads.php-
SCAN_ON_STARTis intended for first run or occasional rescan. - Once permissions are correct, set
CHOWN_ON_START=falsefor faster startups.
Docs · Support · FileRise.net · Changelog
- Admin panel
- Admin gotchas
- Common env vars
- Environment variables full reference
- ACL and permissions
- ACL recipes
- Nginx setup
- Reverse proxy and subpath
- WebDAV
- WebDAV via curl
- WebDAV security and clients
- ONLYOFFICE
- Encryption at rest
- OIDC and SSO
- CIFS share auto metadata
- Sharing and public links
- Upload limits and PHP tuning
- Logs and diagnostics
- Backup and restore
- Upgrade and migration
- Migration checklist
- Maintenance scripts
- Performance quickstart
- Performance tuning
- Security hardening