System Specs:
-
Hardware: Mac Mini M4 & MacBook Pro (Synced Library)
-
Storage: External Volume (APFS)
-
Software: djay Pro (Latest Version)
The Issue: I am experiencing persistent duplicate entries in “My Collection” for the same physical file path. These are “ghost” entries: two database records pointing to the exact same file path (file://...).
Troubleshooting Already Performed:
-
Standard Deletion: Deleted duplicates from playlists; they reappear upon application restart.
-
Master Database Purge: Deleted duplicates from “All Tracks” (Master Collection). They reappear after restart.
-
File System Integrity: Confirmed no file system duplication (the files are unique on the disk).
-
Metadata/Tagging: Renamed physical files on disk.
djay Procorrectly flags the original entries as “Missing” but then keeps the original “ghost” records indexed, often creating new duplicates when the file is re-imported. -
Environment Isolation: * Disabled “iCloud Sync” and “Music/iTunes” library sources in the sidebar.
-
Ensured no folders are listed in “Automatically import new files.”
-
Deleted local cache (
~/Library/Caches/...and~/Library/Containers/...).
-
-
Database Integrity: Verified that I am working from a single
.djayMediaLibraryfile.
The Behavior: The database appears to be “self-healing” or reverting to a cached state where these ghost records are hard-indexed. Even after forcing a “Relocate” and cleaning the master collection, the duplicates return, suggesting a corrupted database index that is retaining references to deleted objects.
The Constraint: “Write metadata to file” was previously disabled, so I cannot simply wipe the library and re-import without losing thousands of hours of cue/beatgrid work.
My Questions:
-
Is there a command-line utility or a supported method to perform a Database Integrity Check/Repair on the
.djayMediaLibraryfile? -
How can I force
djay Proto flush its internal SQL index to prevent it from re-populating these ghost records from the cloud/local fallback? -
Are there known issues with the M4 silicon/macOS containerization causing persistent state-caching that bypasses standard UI deletions?
Any assistance from the technical team would be appreciated, as I am currently unable to maintain library consistency across my studio and live rigs.

