I don't have an answer for you...
However, I did note that you are using PG. To that end, make sure to update the driver:
Hi guys, newbie here. I have installed NodeBB and have encountered a slight problem with uploading avatars - NodeBB is following the wrong path, likely because of an error I made installing the forum.
My server install was a one-click Ghost blog setup on DigitalOcean, from which I used the BurnAfterCompiling guide to install NodeBB. Most things went well; though I installed NodeBB in /forum/forum by accident. I simply moved the files into their parent folder.
However, this has caused a problem when I attempt to upload a user image; when I do so it appears to upload successfully. I checked the path to the image immediately after it was uploaded, and it is at /forum/uploads/profile/1-profileimg.jpg?1418895235162
When you navigate away from your profile page, the image appears broken. Checking the path to the image shows NodeBB is trying to access: /forum/forum/uploads/profile/1-profileimg.jpg
Obviously, NodeBB is attempting to access the /forum/forum/ path defined during install, but I'm lost as to where I could edit that to resolve the problem.
I'm a complete newbie to Node, but have no problem getting my hands dirty.