@PitaJ said in Syntax error when ./nodebb upgrade:
@oplik0 that's entirely incorrect. git fetch does literally nothing to local files, and even if it did, ./nodebb upgrade only affects the database and files that aren't handled by git.
Oh, possible. It probably fixed things for me because my problems were mostly due to me messing with NodeBB files. It seemed to reset the upgrade then, but that probably was because it didn't get to actually changing anything while I broke it.
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.
Because of budget issues, I would like to install nodebb on shared hosting only. I have access to shell. I guess I can install if i have access to shell. Could you please say procedure as I can't find anywhere. Namecheap shared hosting uses cloudlinux OS and gives users to access shell