If you are on windows, locate your options
file (I think it’s somewhere in c:\users\USERNAME\AppData\Local\ART
and add this (or replace if the entry is already there):
[Lensfun]
DBDirectory=share\\lensfun
If that works, the next step is to understand what went wrong to make this needed…