- Add check_same_thread=False to SQLite connection (watchdog callbacks run in a separate thread) - Camera upload dir is /data/photos/incoming (not /incoming) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.8 KiB
2.8 KiB
Fuji Photo Processor - Handmatige Setup Stappen
1. Synology FTPS Server inschakelen
- DSM → Control Panel → File Services → FTP tab
- Enable FTP service aanvinken
- Poort: 21 (standaard)
- Enable FTP SSL/TLS encryption (FTPS) aanvinken
- Passive mode port range: 50000-50100
- Character encoding: UTF-8
2. FTP User aanmaken
- DSM → Control Panel → User & Group → Create
- Username:
fujiftp - Sterk wachtwoord instellen
- Permissions: alleen lezen/schrijven op photos share
- Geen toegang tot andere shares
3. NAS Directories aanmaken
- Maak
/volume1/data/photos/directory aan (data share bestaat al) - File Station → maak subdirectories:
incomingoriginalsprocessed
- Geef
fujiftpuser lees/schrijf-rechten opincoming - Controleer:
ls -la /volume1/data/photos/via SSH
4. Photo Processor deployen
cd /Users/nick/Development/fuji-photo-processor./deploy.sh- Check logs:
ssh -i ../SynologyDocker/synology_ssh_key ssh@192.168.175.141 'sudo /usr/local/bin/docker logs -f photo-processor'
5. Immich External Library configureren
- DSM → Container Manager → Project → immich → Edit (YAML)
- Voeg toe aan
immich-serverservice volumes:- /volume1/data/photos/processed:/mnt/photos/processed:ro - Apply → container herstart automatisch
- Immich webinterface (http://192.168.175.141:8212):
- Administration → External Libraries → Create Library
- Import Path:
/mnt/photos/processed - Scan interval: elke 5 minuten
6. Fuji X-H2 Configureren
- MENU → Network/USB Setting → Create/Edit Connection Setting → Create Using Wizard
- Kies FTP Transfer → Wireless LAN
- WiFi netwerk selecteren + wachtwoord invoeren
- FTP Server instellingen:
- FTP Server Type: FTPS
- Server:
192.168.175.141 - Port:
21 - Passive mode: ON
- Username:
fujiftp - Password: (het ingestelde wachtwoord)
- Upload directory:
/data/photos/incoming
- Optioneel: FTP OPTIONAL SETTING → ROOT CERTIFICATE (als NAS self-signed cert gebruikt)
- Profiel naam: "NAS-FTPS"
- Opslaan
7. Testen
- FTPS verbinding testen:
curl --ftp-ssl ftp://fujiftp@192.168.175.141/incoming/ -k - Upload een test JPEG via FTP
- Check processor logs → moet verwerking tonen
- Check
/volume1/data/photos/originals/→ origineel verplaatst - Check
/volume1/data/photos/processed/→ geresized kopie aanwezig - Immich → trigger library scan → foto zichtbaar in timeline
- Test vanaf camera: foto nemen → FTP Transfer → check hele flow
8. Optioneel: Tailscale voor mobiel gebruik
- Tweede FTP-profiel op camera met Tailscale IP van NAS
- Zodat je buitenshuis via iPhone hotspot kunt uploaden