I fixed my own issue. Apparently some install scripts fail when run as root (or with sudo). I'm not sure why this is the case, but I got everything to work by running sudo chown -R ralph:www-data /path/to/nodebb && ./nodebb upgrade as a standard user.
Missing logs - only 2 days of logs
I have a forum that I migrated and I tried to warn people to update their email but ... there are a bunch of people who cannot reset their password because they can't remember the email account for their username.
To help with this issue, I'm looking through the logs to see who got the reset error and I'm reaching out to them directly.
Today, however, I discovered that my logs only go back 2 days. Is this standard? Can I keep my logs longer?
What causes logs to be deleted? How can I prevent this?
Play with these settings https://github.com/NodeBB/NodeBB/blob/master/loader.js#L22. I think that determines how much logs to keep.
Okay, I'll also look for bugs. I think this happens when I either
startfrom the command line.