This should be fixed on latest master, related issue https://github.com/NodeBB/NodeBB/issues/7860ghost created this issue in NodeBB/NodeBB closed dbsearch not working in master branch #7860
Upgrade stuck on rebuilding assets
I'm trying to upgrade nodebb to 1.13 from 1.6 and the update process updates schema (yay!) but then gets stuck on assets:
Updating NodeBB... 1. Updating package.json file with defaults... OK 2. Bringing base dependencies up to date... started npm WARN firstname.lastname@example.org requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself. npm WARN email@example.com requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself. audited 4084 packages in 9.988s found 15 vulnerabilities (4 low, 2 moderate, 9 high) run `npm audit fix` to fix them, or `npm audit` for details 3. Checking installed plugins for updates... OK 4. Updating NodeBB data store schema...[benchpressjs] Unable to build or find a suitable native module, falling back to JS version Parsing upgrade scripts... OK | 0 script(s) found, 82 skipped Schema update complete! 5. Rebuilding assets... started
Is there any way to ask for more logs to understand what is going on?
And I seem to have this hanging on multiple commands:
./nodebb build [benchpressjs] Unable to build or find a suitable native module, falling back to JS version started
Only error I see is:
2019-11-24T11:47:32.340Z [4567/1551] - error: db.initSessionStore is not a function
on trying to run it, but I presume this is caused by incomplete build..
Nevermind. Fixed by repo reset..