Error loading module '/usr/lib/samba/vfs/spotlight.so': No such file or directory
Error loading module '/usr/lib/samba/vfs/spotlight.so': No such file or directory
Error loading module '/usr/lib/samba/vfs/spotlight.so': No such file or directory
mdssvc_es_init: Opening mapping file [/usr/share/samba/mdssvc/elasticsearch_mappings.json] failed
mdssvc_es_init: Opening mapping file [/usr/share/samba/mdssvc/elasticsearch_mappings.json] failed
mdssvc_es_init: Opening mapping file [/usr/share/samba/mdssvc/elasticsearch_mappings.json] failed
"_source": { "path": { "real": "/share/music/..." } }
"_source": { "path": { "real": "/share/music/..." } }
"_source": { "path": { "real": "/share/music/..." } }
macOS Finder (Spotlight) │ SMB + Spotlight RPC ▼
CT Debian — smbd + rpcd_mdssvc │ HTTP :9200 ▼
CT Debian — ms-proxy.py │ HTTP :9308 ▼
CT Manticore — Manticore Search ▲
CT Debian — spotlight-indexer.sh │ inotify + ffprobe/pdftotext/catdoc ▼ /share (filesystem)
macOS Finder (Spotlight) │ SMB + Spotlight RPC ▼
CT Debian — smbd + rpcd_mdssvc │ HTTP :9200 ▼
CT Debian — ms-proxy.py │ HTTP :9308 ▼
CT Manticore — Manticore Search ▲
CT Debian — spotlight-indexer.sh │ inotify + ffprobe/pdftotext/catdoc ▼ /share (filesystem)
macOS Finder (Spotlight) │ SMB + Spotlight RPC ▼
CT Debian — smbd + rpcd_mdssvc │ HTTP :9200 ▼
CT Debian — ms-proxy.py │ HTTP :9308 ▼
CT Manticore — Manticore Search ▲
CT Debian — spotlight-indexer.sh │ inotify + ffprobe/pdftotext/catdoc ▼ /share (filesystem)
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
dpkg -i manticore-repo.noarch.deb
apt update
apt install manticore manticore-extra
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
dpkg -i manticore-repo.noarch.deb
apt update
apt install manticore manticore-extra
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
dpkg -i manticore-repo.noarch.deb
apt update
apt install manticore manticore-extra
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/manticore.conf
mv manticore.conf /etc/manticoresearch/manticore.conf
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/manticore.conf
mv manticore.conf /etc/manticoresearch/manticore.conf
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/manticore.conf
mv manticore.conf /etc/manticoresearch/manticore.conf
systemctl enable manticore
systemctl start manticore
systemctl enable manticore
systemctl start manticore
systemctl enable manticore
systemctl start manticore
apt install samba samba-vfs-modules \ inotify-tools curl ffmpeg \ poppler-utils catdoc \ python3 jq
apt install samba samba-vfs-modules \ inotify-tools curl ffmpeg \ poppler-utils catdoc \ python3 jq
apt install samba samba-vfs-modules \ inotify-tools curl ffmpeg \ poppler-utils catdoc \ python3 jq
mkdir -p /usr/share/samba/mdssvc
curl -s https://raw.githubusercontent.com/samba-team/samba/master/source3/rpc_server/mdssvc/elasticsearch_mappings.json \ -o /usr/share/samba/mdssvc/elasticsearch_mappings.json
mkdir -p /usr/share/samba/mdssvc
curl -s https://raw.githubusercontent.com/samba-team/samba/master/source3/rpc_server/mdssvc/elasticsearch_mappings.json \ -o /usr/share/samba/mdssvc/elasticsearch_mappings.json
mkdir -p /usr/share/samba/mdssvc
curl -s https://raw.githubusercontent.com/samba-team/samba/master/source3/rpc_server/mdssvc/elasticsearch_mappings.json \ -o /usr/share/samba/mdssvc/elasticsearch_mappings.json
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/msctl
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.py
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/smb.conf
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.sh mv msctl /usr/bin/
mv ms-proxy.py /usr/local/bin/
mv ms-proxy.service /etc/systemd/system/
mv smb.conf /etc/samba/
mv spotlight-indexer.service /etc/systemd/system/
mv spotlight-indexer.sh /usr/local/bin/
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/msctl
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.py
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/smb.conf
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.sh mv msctl /usr/bin/
mv ms-proxy.py /usr/local/bin/
mv ms-proxy.service /etc/systemd/system/
mv smb.conf /etc/samba/
mv spotlight-indexer.service /etc/systemd/system/
mv spotlight-indexer.sh /usr/local/bin/
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/msctl
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.py
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/ms-proxy.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/smb.conf
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.service
wget https://raw.githubusercontent.com/senzidee/samba-spotlight-manticore/refs/heads/main/spotlight-indexer.sh mv msctl /usr/bin/
mv ms-proxy.py /usr/local/bin/
mv ms-proxy.service /etc/systemd/system/
mv smb.conf /etc/samba/
mv spotlight-indexer.service /etc/systemd/system/
mv spotlight-indexer.sh /usr/local/bin/
systemctl daemon-reload
systemctl enable ms-proxy spotlight-indexer
systemctl start ms-proxy spotlight-indexer
systemctl restart smbd
systemctl daemon-reload
systemctl enable ms-proxy spotlight-indexer
systemctl start ms-proxy spotlight-indexer
systemctl restart smbd
systemctl daemon-reload
systemctl enable ms-proxy spotlight-indexer
systemctl start ms-proxy spotlight-indexer
systemctl restart smbd
# Check that services are running
systemctl status ms-proxy spotlight-indexer smbd # Count documents in the index
msctl count # Search for a file
msctl search README.md # Real-time logs during a search from the Mac
journalctl -u smbd -f
journalctl -u ms-proxy -f
# Check that services are running
systemctl status ms-proxy spotlight-indexer smbd # Count documents in the index
msctl count # Search for a file
msctl search README.md # Real-time logs during a search from the Mac
journalctl -u smbd -f
journalctl -u ms-proxy -f
# Check that services are running
systemctl status ms-proxy spotlight-indexer smbd # Count documents in the index
msctl count # Search for a file
msctl search README.md # Real-time logs during a search from the Mac
journalctl -u smbd -f
journalctl -u ms-proxy -f - Proxmox with two LXC containers
- Samba CT: Debian 13, at least 512MB RAM
- Manticore CT: Debian/Ubuntu, at least 1GB RAM