I changed the permissions and checked, as I said before. I even tried the alternative configuration from the NodeBB scaling guide. That didn't make any difference. There are missing directories and I don't know why.
I'll delete NodeBB and move on. Thanks for trying to help guys.