Setup
MacOS with a Synology NAS connected via ethernet. The NAS has both porn and stash on it. The drive is mounted to the mac’s /Volumes/porn
directory.
To start stash,
cd /Volumes/porn/stash
./stashapp-mac
Problem
When scanning, I get database errors, for example
INFO[2025-08-12 09:48:18] scanning 1 paths
INFO[2025-08-12 09:48:18] /Volumes/porn/porn/GirlsRimming doesn't exist. Creating new folder entry...
INFO[2025-08-12 09:48:18] Finished adding files to queue. 26 files queued
INFO[2025-08-12 09:48:18] Calculating fingerprints for /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - AFTER PARTY RIMS THREESOME FETISH.mp4 ...
INFO[2025-08-12 09:48:18] /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - AFTER PARTY RIMS THREESOME FETISH.mp4 doesn't exist. Creating new scene...
INFO[2025-08-12 09:48:18] Calculating fingerprints for /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - BAD SANTA RIMMING CHRISTMAS.mp4 ...
INFO[2025-08-12 09:48:18] Creating screenshot for /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - AFTER PARTY RIMS THREESOME FETISH.mp4
INFO[2025-08-12 09:48:18] /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - BAD SANTA RIMMING CHRISTMAS.mp4 doesn't exist. Creating new scene...
ERRO[2025-08-12 09:48:18] getting file by id 3: sql: no rows in result set
INFO[2025-08-12 09:48:18] Calculating fingerprints for /Volumes/porn/porn/GirlsRimming/GIRLSRIMMING - MY VALENTINES RIMJOB THREESOME.mp4 ...
panic: relationship has not been loaded
goroutine 550 [running]:
github.com/stashapp/stash/pkg/models.RelatedVideoFiles.Primary(...)
github.com/stashapp/stash/pkg/models/relationships.go:391
github.com/stashapp/stash/internal/manager.(*GenerateCoverTask).Start(0x14000b679b0, {0x1030de4c8, 0x14000b06000})
github.com/stashapp/stash/internal/manager/task_generate_screenshot.go:41 +0x5a8
github.com/stashapp/stash/internal/manager.(*sceneGenerators).Generate.func4({0x1030de4c8?, 0x14000b06000?})
github.com/stashapp/stash/internal/manager/task_scan.go:568 +0xd0
github.com/stashapp/stash/pkg/job.(*TaskQueue).executer.func1.1()
github.com/stashapp/stash/pkg/job/task.go:63 +0x30
github.com/stashapp/stash/pkg/job.(*Progress).ExecuteTask(0x14000a24000, {0x140005be7e0, 0x63}, 0x1400062ff90)
github.com/stashapp/stash/pkg/job/progress.go:175 +0xb0
github.com/stashapp/stash/pkg/job.(*TaskQueue).executer.func1()
github.com/stashapp/stash/pkg/job/task.go:62 +0x98
created by github.com/stashapp/stash/pkg/job.(*TaskQueue).executer in goroutine 126
github.com/stashapp/stash/pkg/job/task.go:60 +0xb8
Any ideas? It may have something to do with my architecture - I’m open to ideas