Hello,
I am having a similar issue but I probably overuse sudo
rather than under use it so I'm not sure that is my problem. I think it's a database issue in my case, but it's so long since I've set anything like this up I might be a little out of touch.
Cheers!