No Engine DJ database found Windows 10

Please fill in this bug report template:

Lexicon version: … Version 1.7.1
Operating system (remove one): Windows 10 Home 22H2, build 19045.4957

Bug description: I’ve been updating the Lexicon database of my music collection for the past month (or more), adding new tracks, tags, etc. I haven’t sync’d the Lexicon database with the EngineDJ database for over a month. Now when I want to sync the DBs, I receive the message that “No Engine DJ database found”.

Step by step to reproduce:

  1. Added music to the watch folder.
  2. Edited tags (name, artist, label, rating, energy, danceability, etc), and analysed the files.
  3. Added these tracks to playlists.
  4. Used “selected done” for the tracks I wanted to use immediately.
  5. Selected “sync/export” and choose “Engine DJ”, received the message from the screenshot.
  6. Changed selection to Rekordbox 5 and was able to export (I was desperate because I needed the tracks I had been preparing!)
  7. Changed back to Engine DJ, still “No Engine DJ database found” message.
  8. I have uninstalled and reinstalled Lexicon.
  9. I have uninstalled and reinstalled Engine DJ.
  10. I have deleted the Engine DJ database to see if it was a problem with DB corruption, and received the same message. I then restored the Engine DJ database (it still works in Engine DJ). Lexicon still doesn’t “see” the Engine DJ DB.
  11. In the period when I haven’t synced the databases, there has been an update to Engine DJ version 4.01 and Lexicon 1.71.

Also to add extra information (in case its relevant).
I noticed an error in the Lexicon logs that there was a problem opening Powershell.
Performed a DISM reset and SFC /Scannow to repair potential corruption with Windows OS files.
My PC has the latest MS updates installed.
The problem persists.

Can you check if your main Engine database file exists? Should be at Music/Engine Library/Database2/m.db

Hi Christiaan,

Yes, it does.

Even if I remove the database (it was backed up beforehand), uninstall EngineDJ, reboot, and reinstall Engine DJ with a clean DB, Lexicon still says no EngineDJ database found.
If I copy the DB files back again, and run EngineDJ, EngineDJ finds the DB again with all expected content.
Lexicon still stays the same, “unable to find EngineDJ database.”
I don’t know what mechanism Lexicon uses to parse the database file, but I’ve reinstalled Powershell and Dot Net to no avail.
Does lexicon rely on any environment tables, registry or npn entries?

Cheers

Did you restart Lexicon yet?

HI,

Lexicon has been logged out, closed, restarted, uninstalled, and reinstalled, and the same result, it cannot “see” the EngineDJ database.

Looking at the logs, it tries this database file: C:\Users\rghti\Music\Engine Library\Database2\m.db
Is that right? Does the username have any special characters?

The username has no special characters…but, I just noticed that the “Music” folder does not exist in that profile location!
I suspect that because I use the Onedrive integration with Windows to backup my files, and I asked Onedrive to keep the files on another internal drive (I don’t want to fill my C drive with data, only system and application files), Windows (or Onedrive) has moved the Music folder to E: \onedrive\music\Engine Library.
So, I still have quicklinks on File Explorer that say “Music”; If it select it, it shows the contents of the folder as expected, but once I click the path in the address bar it shows the path to the other drive.
image

image

It is strange because I have had this Onedrive configuration for nearly 2 years, but it seems to have suddenly created this problem. I can only imagine a Windows update, or an environment/registry entry has changed

How to resolve this without filling my C drive with data? Is it possible to tell lexicon to search the quicklink entries (as EngineDJ must do) for the “music” folder, or is it possible to edit a configuration file for Lexicon to point to the correct place?

If I use this shell command in File Explorer:
shell:My Music

It routes to “E:\OneDrive\Music”

I created a symbolic link within the rghti profile using this command line command:

mklink /d “C:\Users\rghti\Music” E:\OneDrive\Music

It isn’t ideal, but Lexicon sees the EngineDJ database for now.
I don’t know if this is storing up problems for the future though…

Thanks for your help, but I suspect this thread might offer some useful information to someone!

Have you tried right clicking the Music folder and changing where it goes from there? Lexicon uses the Music folder defined by Windows so changing that there will probably work. Not sure how that goes with OneDrive then

I think the trouble is that Onedrive (when backup of the Music folder is selected), moves the contents and the definition in Windows to the location specified in Onedrive.
Two years or so ago, I told Onedrive to use my E: drive as the location for its watch folder, until a month ago, that was fine, but over the past month something has changed…

I’ve turned the backup off, which allowed me to set the Music folder to it’s default location - that said, I still needed to copy the existing music folder to the default location “C::\Users\rghti\music”