the problem you are experiencing could also be due to a locking issue because of using sqlite3 on NFS.At OSC we are currently using NFSv4 and the NFS options we pass when mounting include rw,vers=4.0,rsize=65536,wsize=65536 and local_lock=none appears to also be getting set.I’m not sure what this means in terms of solutions for you though.
Found this environment variable, DATABASE_PATH, that we could probably use to solve this issue but I couldn't find anything regarding this environment variable on the OOD documentation page.
I'm still seeing this issue after making the change in the /etc/fstab with local_lock=none option as suggested in the above link.
Per user setup failed for script at /var/www/ood/apps/sys/myjobs/./bin/setup-production for user atlurie with output: /var/www/ood/apps/sys/myjobs/bin/setup-production:37: warning: rb_check_safe_obj will be removed in Ruby 3.0Exception occurred: database is locked
After setting local_lock=posix, I did not see it solving the issue. Also, I see that it only applied mount option local_lock=posix to /data/user but not /data/user/home