NP at all! Yea I just didn’t follow your mounting scheme is all.
Your DB lock issue is probably an NFS issue then, especially if you get it immediately with two different logins. Here are the NSFv4 options we use. I’d say local_lock=none is the ticket.
rw,vers=4.0,rsize=65536,wsize=65536 and local_lock=none
There could be logs in /var/log/ondemand-nginx/$USER/[error,access].log but they likely don’t give more information than we already have. You can try lsof 2>/dev/null| grep "production.sqlite3" to see if that comes up with anything strange, specifically the lowest PID. If that PID is not real, or somehow zombied, then that’s our problem. That zombie process has a lock on the DB and can’t release it.
But this seems unlikely given that you’ve restarted the ondemand server itself. I think the NFSv4 options are our best bet.