database could not be opened (data.db) when library on nfs share

When I specify my library location on an nfs share, I cannot start darktable. The same exact library file copied to the default library location launches just fine though. I seem to have permissions for the library on the nfs share , ls -fla shows the same permissions and ownership for the db file and the directory it resides in -rwxrwxrwx 1 curiouser 1002 75792384 Feb 4 12:37 library.db. Is there supposed to be a data.db in the same directory as the library db? I haven’t had this problem before. I have three systems running 3.8.0 and only one of the systems exhibits this problem:

  1. Pop!_OS 21.10 with library on Direct Attached Storage - works fine
  2. macOS 11.6 with library on SMB or NFS share - works fine
  3. Pop!_OS 21.10 with library on NFS share - fails to launch with the below output
$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/darktable --file-forwarding org.darktable.Darktable --library /nfs/darktable/library.db -d all
0.000145 application_directory: /app/bin
0.000308 darktable.datadir: /app/share/darktable
0.000329 darktable.plugindir: /app/lib/darktable
0.000343 darktable.localedir: /app/share/locale
0.000418 darktable.configdir: /home/curiouser/.var/app/org.darktable.Darktable/config/darktable
0.000472 darktable.cachedir: /home/curiouser/.var/app/org.darktable.Darktable/cache/darktable
0.000487 darktable.sharedir: /app/share
0.000519 darktable.tmpdir: /tmp
[memory] at startup
[memory] max address space (vmpeak):      125356 kB
[memory] cur address space (vmsize):      125356 kB
[memory] max used memory   (vmhwm ):       28344 kB
[memory] cur used memory   (vmrss ):       28344 kB
0.000622 new_xdg_data_dirs: (null)
Gtk-Message: 15:09:45.574: Failed to load module "appmenu-gtk-module"
Gtk-Message: 15:09:45.649: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:09:45.650: Failed to load module "canberra-gtk-module"
[init] database `/home/curiouser/.var/app/org.darktable.Darktable/config/darktable/data.db' couldn't be opened. aborting
ERROR : cannot open database

Any ideas for further troubleshooting?

Relates to Somewhat corrupted data.db file

Can you try putting everything on the NFS share, not just the library.db?