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.
Was in 0.5.0 and tried to upgrade to 0.5.1.
I followed the process step 1 to 3 but without success.
I have an issue at git checkout v0.5.x :
npm-shrinkwrap.json: needs merge
error: you need to resolve your current index first
Pull is not possible because of unmerged file. I don't really understand what I could do for this merge.
Maybe I've broken something somewhere...
Looks more as a simple git matter problem but I don't get out of it. If someone can help me...
I did it.
After that, when making checkout v0.5.x I got this :
Already on 'v0.5.x'
Your branch and 'origin/v0.5.x' have diverged,
and have 17 and 676 different commits each, respectively.
If I make a pull after that :
CONFLICT (add/add): Merge conflict in npm-shrinkwrap.json
I have the feeling of a never ending loop
Nope. That's far from my capabilities.
Could it come from a former mistake being on master branch ?
This should do it. But I'm not 100% confident with github myself @julian, would you mind confirming this before I give the wrong advice.
git fetch origin
git reset --hard origin/v0.5.x
We learn trying, waiting for better advice .
HEAD is now at 62477c7 fixed #2214 - each individual thread will create its own logrotate write handler, because if one is closed, everything crashes in a cascade effect because we're calling .write() after .end(), bleh.
And if I make a pull after that :
So, trying a nodebb start...
Yet I have this warn in log :
warn: [plugins] The
action:app.loadhook is deprecated in favour of
static:app.load, please notify the developers of the following plugins:
And this issue :
Warns can be ignored. The ENDIF --> is a template issue.
You can try
npm install [email protected]and
npm install [email protected]