BTW. npm audit give me whole bunch of so called "security issues".
No, now just one ...
npm audit fix could not fix these - so how can that be fiexed?
*puzzled*
Anyone knows what to do here?
Hi,
I tried to upgrade from v0.9.0 to v0.9.1. It seems like a basic upgrade. However this './nodebb upgrade' will break Redis configuration. I did all the thinks listed on this page:
https://docs.nodebb.org/vi/latest/upgrading/
When I do a ./nodebb upgrade
my NodeBB will gives errors about Redis. Yes Redis is installed and running. The only 'dirty' fix is to run ./nodebb setup
I guess that is not the idea. This issue is still not solved... EDIT: Now my installation is even broken!
Terminal output:
[email protected]:/var/www/forum.libreweb.org/html$ ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Updating NodeBB data store schema.
2/12 14:24 [26040] - error: Unable to initialize Redis! Is Redis installed? Error :Cannot find module 'redis'
OK
NodeBB Upgrade Complete!
[email protected]:/var/www/forum.libreweb.org/html$ ./nodebb start
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb restart" to restart NodeBB
[email protected]:/var/www/forum.libreweb.org/html$ ./nodebb log
Type Ctrl-C to exit
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
Clustering enabled: Spinning up 1 process(es).
2/12 14:25 [26142] - info: Time: Wed Dec 02 2015 14:25:07 GMT+0100 (CET)
2/12 14:25 [26142] - info: Initializing NodeBB v0.9.0
2/12 14:25 [26142] - error: Unable to initialize Redis! Is Redis installed? Error :Cannot find module 'redis'
[cluster] Child Process (26142) has exited (code: 0, signal: null)
EDIT:
It's even worse now. The ```./nodebb upgrade`` command doesn't upgrade my NodeBB installation. Now my installation is broken and not working at all!
[email protected]:/var/www/forum.libreweb.org/html$ ./nodebb log
Type Ctrl-C to exit
For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
Clustering enabled: Spinning up 1 process(es).
2/12 15:03 [1353] - info: Time: Wed Dec 02 2015 15:03:34 GMT+0100 (CET)
2/12 15:03 [1353] - info: Initializing NodeBB v0.9.1
[outdated] nodebb-theme-lavender installed v3.0.0, package.json requires 3.0.1
2/12 15:03 [1353] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
2/12 15:03 [1353] - warn: ./nodebb upgrade
[cluster] Child Process (1353) has exited (code: 0, signal: null)
I found out the only fix is to manually execute the following line:
npm install nodebb-theme-lavender
Because nodebb upgrade
didn't help at all!
Bottom-line: Check the nodebb upgrade script, this script isn't working as expected. I already have two issues:
Kind regards,
Melroy van den Berg
Here check this topic:
https://community.nodebb.org/topic/7142/latest-pull-breaks-nodebb-packages-are-out-of-date/
To fix the issues try to run the following commands:
npm i [email protected]
npm i install [email protected]
And then run ./nodebb setup and just press enter. It is indeed just a workaround, but better than nothing.