Looks like NodeBB is already running on port 4567 and 4568 try stopping it with either ./nodebb stop or killing those procs. Then start again.
NodeBB upgrade issues
So I had NodeBB i think 1.5 installed, however I noticed bugs in it with the themes, as the bootswatch themes werent working, and I searched the issue and found that it was fixed in the latest version
I tried to upgrade to the latest version but its failing.
What commands did you run?
Did everything here
Error message occurs when I do the npm install
Use the new docs instead: https://docs.nodebb.org/configuring/upgrade/
Sorry my mistake, I did use the one you sent
Well the ones I linked have no
npm installstep unless you're on a very old NodeBB version.