It is dangerous to run nodebb this way. Do so at your own risk.
I'm not sure exactly what is causing that npm error, but it's not a NodeBB bug. I suggest you look it up yourself.
Hi,
I have tried a way to upgrade my current version of NodeBB which is v.0.6.1 to the latest (v1.17.0).
Too many errors, I tried to alter them all but almost stuck after every incremental upgrade.
Is there a way to import the old data; the the latest fresh installation? What do your recommend for me to the upgrade.
I've checked nodebb-plugin-import (https://github.com/akhoury/nodebb-plugin-import) and also for this solution we need to install v1.12.1. This is another challenge.
So, any technical recommendation or help is really appreciated?
Regards...
Check out this topic, follow the instructions there:
https://community.nodebb.org/topic/15055/upgrading-from-0-7-3-advice/
Read through the whole thing (all replies) before you start
@pitaj said in Upgrade from v0.6.1 to v1.17.0 (latest) --> Need recommendation:
Check out this topic, follow the instructions there:
https://community.nodebb.org/topic/15055/upgrading-from-0-7-3-advice/
Read through the whole thing (all replies) before you start
Hi Pitaj,
Thank you very much replying back to me. The version on the URL that you have shared is not v0.6.1.
I have followed below answer and my upgrade fails even from v0.6.1 to v0.7.0
https://community.nodebb.org/topic/9926/update-from-v0-7-0-to-v1-4-0/31
I have moved the uploads folder and redis database to the new installed v.17.0 and gives WRONGTYPE error as expected. For this method when I run "nodebb start" or "nodebb upgrade -s" getting below errors.
What do you recommend with this information? Really appreciated for any help, otherwise we have no solution at all.
>> nodebb upgrade
{
"error":{
"command":{
"name":"zscore",
"args":[
"userslug:uid",
"global-moderators"
]
}
},
"stack":"ReplyError: WRONGTYPE Operation against a key holding the wrong kind of value\n at parseError (/var/www/nodebb/node_modules/redis-parser/lib/parser.js:179:12)\n at parseType (/var/www/nodebb/node_modules/redis-parser/lib/parser.js:302:14)",
"exception":true,
"date":"Sun May 16 2021 22:48:49 GMT+0000 (Greenwich Mean Time)",
"process":{
"pid":14195,
"uid":0,
"gid":0,
"cwd":"/var/www/nodebb",
"execPath":"/root/.nvm/v16.1.0/bin/node",
"version":"v16.1.0",
"argv":[
"/root/.nvm/v16.1.0/bin/node",
"/var/www/nodebb/nodebb",
"upgrade"
],
"memoryUsage":{
"rss":140939264,
"heapTotal":91348992,
"heapUsed":55184832,
"external":2235722,
"arrayBuffers":106954
}
},
"os":{
"loadavg":[
0.17,
0.04,
0.01
],
"uptime":31276.52
},
"trace":[
{
"column":12,
"file":"/var/www/nodebb/node_modules/redis-parser/lib/parser.js",
"function":"parseError",
"line":179,
"method":null,
"native":false
},
{
"column":14,
"file":"/var/www/nodebb/node_modules/redis-parser/lib/parser.js",
"function":"parseType",
"line":302,
"method":null,
"native":false
}
]
}
>> node app --upgrade
{
"error": {
"code": "ERR_INVALID_ARG_TYPE"
},
"stack": "TypeError [ERR_INVALID_ARG_TYPE]: The \"chunk\" argument must be of type string or an instance of Buffer or Uint8Array. Received undefined\n at new NodeError (node:internal/errors:363:5)\n at _write (node:internal/streams/writable:312:13)\n at WriteStream.Writable.write (node:internal/streams/writable:334:10)\n at Object.handler (/var/www/nodebb/src/cli/upgrade.js:18:19)\n at /var/www/nodebb/src/cli/upgrade.js:58:21\n at /var/www/nodebb/node_modules/async/dist/async.js:2948:28\n at replenish (/var/www/nodebb/node_modules/async/dist/async.js:440:21)\n at /var/www/nodebb/node_modules/async/dist/async.js:445:13\n at eachOfLimit$1 (/var/www/nodebb/node_modules/async/dist/async.js:471:34)\n at awaitable (/var/www/nodebb/node_modules/async/dist/async.js:208:32)",
"exception": true,
"date": "Sun May 16 2021 22:28:31 GMT+0000 (Greenwich Mean Time)",
"process": {
"pid": 8276,
"uid": 0,
"gid": 0,
"cwd": "/var/www/nodebb",
"execPath": "/root/.nvm/v16.1.0/bin/node",
"version": "v16.1.0",
"argv": [
"/root/.nvm/v16.1.0/bin/node",
"/var/www/nodebb/app",
"--upgrade"
],
"memoryUsage": {
"rss": 79429632,
"heapTotal": 55414784,
"heapUsed": 23943912,
"external": 1274408,
"arrayBuffers": 264617
}
},
"os": {
"loadavg": [
0.42,
0.16,
0.06
],
"uptime": 30058.57
},
"trace": [
{
"column": 5,
"file": "node:internal/errors",
"function": "new NodeError",
"line": 363,
"method": null,
"native": false
},
{
"column": 13,
"file": "node:internal/streams/writable",
"function": "_write",
"line": 312,
"method": null,
"native": false
},
{
"column": 10,
"file": "node:internal/streams/writable",
"function": "WriteStream.Writable.write",
"line": 334,
"method": "write",
"native": false
},
{
"column": 19,
"file": "/var/www/nodebb/src/cli/upgrade.js",
"function": "Object.handler",
"line": 18,
"method": "handler",
"native": false
},
{
"column": 21,
"file": "/var/www/nodebb/src/cli/upgrade.js",
"function": null,
"line": 58,
"method": null,
"native": false
},
{
"column": 28,
"file": "/var/www/nodebb/node_modules/async/dist/async.js",
"function": null,
"line": 2948,
"method": null,
"native": false
},
{
"column": 21,
"file": "/var/www/nodebb/node_modules/async/dist/async.js",
"function": "replenish",
"line": 440,
"method": null,
"native": false
},
{
"column": 13,
"file": "/var/www/nodebb/node_modules/async/dist/async.js",
"function": null,
"line": 445,
"method": null,
"native": false
},
{
"column": 34,
"file": "/var/www/nodebb/node_modules/async/dist/async.js",
"function": "eachOfLimit$1",
"line": 471,
"method": null,
"native": false
},
{
"column": 32,
"file": "/var/www/nodebb/node_modules/async/dist/async.js",
"function": "awaitable",
"line": 208,
"method": null,
"native": false
}
]
}
Thank you very much replying back to me. The version on the URL is not v0.6.1.
Yes but you can still apply the instructions there to your case. You just need to add the 0.6.x to 0.7.x bit.
I have followed below answer and my upgrade fails even from v0.6.1 to v0.7.0
How did it fail?
I have moved the uploads folder and redis database to the new installed v.17.0 and gives WRONGTYPE error as expected. For this method when I run "nodebb start" or "nodebb upgrade -s" getting below errors.
Yeah you won't be able to use the direct upgrade approach since you're on such an old version.
Thank you @pitaj for your continuous support. I have stuck even for the first upgrade try from v0.6.1 to v0.7.0.
We are happy with our current version and our database is very small (about 6mb redis dump file). But we're seeing invalid CSRF token error continuously that's why we need to upgrade and patch it.
I am pasting below my complete commands and current environment specs. Any help is really appreciated; if you need further information please let me know.
Versions:
~/www/nodebb/forums# nvm --version --> 0.13.1
~/www/nodebb/forums# node -v --> v0.10.38
~/www/nodebb/forums# nodejs -v --> v4.2.6
Current Version Startup Log:
17/5 22:30 [13498] - info: Time: Mon May 17 2021 22:30:55 GMT+0000 (UTC)
17/5 22:30 [13498] - info: Initializing NodeBB v0.6.1
17/5 22:30 [13498] - info: Enabling 'trust proxy'
17/5 22:30 [13498] - warn: [plugins.reload] Library not found for plugin: nodebb-plugin-gif-controls
17/5 22:30 [13498] - info: [plugins/spam-be-gone] Settings loaded
17/5 22:30 [13498] - info: NodeBB is now listening on: 0.0.0.0:4567
17/5 22:31 [13498] - info: NodeBB Ready
Upgrade Terminal Output:
[email protected]:~/www/nodebb/forums# git checkout v0.7.0
Note: checking out 'v0.7.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a5b8a65... fix minSchemaDate
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> [email protected] install /var/www/nodebb/forums/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/var/www/nodebb/forums/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory '/var/www/nodebb/forums/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
> [email protected] install /var/www/nodebb/forums/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/var/www/nodebb/forums/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory '/var/www/nodebb/forums/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
> [email protected] install /var/www/nodebb/forums/node_modules/mmmagic
> node-gyp rebuild
make: Entering directory '/var/www/nodebb/forums/node_modules/mmmagic/build'
CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
../deps/libmagic/src/cdf.c: In function ‘cdf_read’:
../deps/libmagic/src/cdf.c:303:6: warning: implicit declaration of function ‘pread’ [-Wimplicit-function-declaration]
if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
^
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
AR(target) Release/obj.target/deps/libmagic/magic.a
COPY Release/magic.a
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_byte_order.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_chartables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_compile.o
../deps/libmagic/pcre/pcre_compile.c: In function ‘add_to_class’:
../deps/libmagic/pcre/pcre_compile.c:3479:28: warning: ‘od’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if (oc >= start && od <= end) continue;
^
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_config.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_dfa_exec.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_exec.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_fullinfo.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_get.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_globals.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_jit_compile.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_maketables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_newline.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_ord2utf8.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_refcount.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_string_utils.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_study.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_tables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_ucd.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_valid_utf8.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_version.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_xclass.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcreposix.o
AR(target) Release/obj.target/deps/libmagic/pcre/pcre.a
COPY Release/pcre.a
CXX(target) Release/obj.target/magic/src/magic.o
SOLINK_MODULE(target) Release/obj.target/magic.node
SOLINK_MODULE(target) Release/obj.target/magic.node: Finished
COPY Release/magic.node
make: Leaving directory '/var/www/nodebb/forums/node_modules/mmmagic/build'
[email protected] node_modules/gravatar
[email protected] node_modules/nodebb-rewards-essentials
[email protected] node_modules/lru-cache
[email protected] node_modules/mime
[email protected] node_modules/string
[email protected] node_modules/underscore
[email protected] node_modules/async
[email protected] node_modules/cookie-parser
├── [email protected]
└── [email protected]
[email protected] node_modules/validator
[email protected] node_modules/nodebb-widget-essentials
[email protected] node_modules/passport
├── [email protected]
└── [email protected]
[email protected] node_modules/semver
[email protected] node_modules/csurf
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/sitemap
└── [email protected]
[email protected] node_modules/nodebb-plugin-mentions
└── [email protected]
[email protected] node_modules/mkdirp
└── [email protected]
[email protected] node_modules/morgan
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/nodebb-theme-lavender
[email protected] node_modules/serve-favicon
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected])
[email protected] node_modules/express-session
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/logrotate-stream
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/compression
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/rimraf
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-watch
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected]
[email protected] node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/nodebb-theme-vanilla
[email protected] node_modules/templates.js
[email protected] node_modules/nodebb-theme-persona
[email protected] node_modules/nodebb-plugin-dbsearch
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/body-parser
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/request
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/socket.io
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/socket.io-client
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/less
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/nodebb-plugin-markdown
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/nodebb-plugin-emoji-extended
└── [email protected] ([email protected])
[email protected] node_modules/redisearch
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/cron
└── [email protected] ([email protected])
[email protected] node_modules/npm
[email protected] node_modules/mmmagic
└── [email protected]
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/nodebb-widget-essentials
[email protected] node_modules/nodebb-theme-lavender
[email protected] node_modules/nodebb-theme-vanilla
17/5 22:36 [14669] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
17/5 22:36 [14669] - info: This program comes with ABSOLUTELY NO WARRANTY.
17/5 22:36 [14669] - info: This is free software, and you are welcome to redistribute it under certain conditions.
17/5 22:36 [14669] - info:
module.js:435
return process.dlopen(module, path._makeLong(filename));
^
Error: Module did not self-register.
at Error (native)
at Object.Module._extensions..node (module.js:435:18)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/var/www/nodebb/forums/node_modules/mmmagic/index.js:3:13)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
We are happy with our current version and our database is very small (about 6mb redis dump file). But we're seeing invalid CSRF token error continuously that's why we need to upgrade and patch it.
It's good that you're upgrading, because such an old version is dangerous for your security and the security of your users, do to various bugs that have been fixed in the last 6+ years.
Versions
You have node
and nodejs
, which could cause issues. I recommend you uninstall all node/nodejs packages and install Node v4. Node 4 should be compatible with everything up to v1.0.3, after which you'll upgrade to Node 14.
You'll have to perform a mix of old-style and new-style upgrading to get to the latest version. This will be a little complicated.
Backup your database and uploads
Start NodeBB, disable every plugin, and Stop NodeBB
Install Node 4
Delete node_modules
and reinstall with npm install
Prepare for Old-Style Upgrade
a. Check the output of git status
. It should say "nothing to commit, working tree clean"
b. If there are any changes, run the following to reset to upstream: git checkout HEAD -- .
c. If there are any untracked files, delete them
d. git pull
to get the latest on the v0.6.x
branch
Execute Old-Style upgrade to v1
a. git checkout v0.7.x
b. ./nodebb upgrade
a. git checkout v0.8.x
b. ./nodebb upgrade
c. git checkout v0.9.x
d. delete the lwip
entry from package.json
dependencies
d. ./nodebb upgrade
e. git checkout v1.0.3
f. ./nodebb upgrade
Execute New-Style upgrade to latest
a. Install Node 14
a. git checkout v1.17.x
b. ./nodebb upgrade
Now it should be upgraded. Start NodeBB and check that it's running correctly. Let me know if you run into any issues during the process.
Hi @pitaj,
Thank you very much for replying back to me and motivating myself for the upgrade.
Finally, I have upgraded our community forum from v0.6.1 to v.17.0 version. As you mentioned it is 6 years old that is why the upgrade operations was really though. Cleared lots of problems and succeeded at the end
The most challenging part was upgrading from v0.6.1 to 0.7.x.
Generally, the commands must be applied in a strict order and choosing the compatible node version is another key.
I am going to put my upgrade commands and console logs here, may be it would be useful for the NodeBB community.
Congratulations, @PitaJ @baris @julian @psychobunny One of the greatest project and reference SDLC management
By the way, there is a lot of customization that I have and need to clean the mess to work properly with v1.17.0
Thanks again @PitaJ
Regards,
Fevzi Korkutata
CTO
[email protected]:~/www/nodebb/forums# nvm use v0.10.38
Now using node v0.10.38
[email protected]:~/www/nodebb/forums# node -v
v0.10.38
[email protected]:~/www/nodebb/forums# nodejs -v
v4.2.6
[email protected]:~# uname -a
Linux wlsdmcomm 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
[email protected]:~/www/nodebb/forums# git pull
remote: Enumerating objects: 147435, done.
remote: Counting objects: 100% (14062/14062), done.
remote: Compressing objects: 100% (1189/1189), done.
remote: Total 147435 (delta 13115), reused 13681 (delta 12871), pack-reused 133373
Receiving objects: 100% (147435/147435), 39.67 MiB | 24.76 MiB/s, done.
Resolving deltas: 100% (119852/119852), completed with 1200 local objects.
From https://github.com/NodeBB/NodeBB
a1f49f6..0c62b0a v0.6.x -> origin/v0.6.x
* [new branch] a2hs -> origin/a2hs
* [new branch] acp-quick-actions -> origin/acp-quick-actions
* [new branch] blocks -> origin/blocks
* [new branch] category-selector -> origin/category-selector
* [new branch] chat-rewrite -> origin/chat-rewrite
* [new branch] chdir -> origin/chdir
* [new branch] data-component -> origin/data-component
* [new branch] delete-post-diffs -> origin/delete-post-diffs
* [new branch] develop -> origin/develop
* [new branch] display-name -> origin/display-name
* [new branch] eslint -> origin/eslint
* [new branch] explicit-sortedlist-methods -> origin/explicit-sortedlist-methods
* [new branch] feat/account-button-injector -> origin/feat/account-button-injector
* [new branch] feat/settings-sorted-list -> origin/feat/settings-sorted-list
* [new branch] fileupload-ratelimit -> origin/fileupload-ratelimit
* [new branch] fileupload-register-interstitial -> origin/fileupload-register-interstitial
* [new branch] firehook-changed-params -> origin/firehook-changed-params
* [new branch] fix-5321 -> origin/fix-5321
* [new branch] fix-6784 -> origin/fix-6784
* [new branch] fix-8654 -> origin/fix-8654
* [new branch] fix-8654-5321 -> origin/fix-8654-5321
* [new branch] fix/9362 -> origin/fix/9362
* [new branch] gasoved-scheduledtopics -> origin/gasoved-scheduledtopics
* [new branch] hooks-can-return-promises -> origin/hooks-can-return-promises
* [new branch] interstitial-fileupload -> origin/interstitial-fileupload
a355fbf..ca7c77b master -> origin/master
* [new branch] meta-languages -> origin/meta-languages
* [new branch] openapi-docs -> origin/openapi-docs
* [new branch] paginate-notifications-fix-backport -> origin/paginate-notifications-fix-backport
* [new branch] protocol-vs-scheme-absolute-url-check -> origin/protocol-vs-scheme-absolute-url-check
* [new branch] redocs -> origin/redocs
* [new branch] refactor-post-move-to-api -> origin/refactor-post-move-to-api
* [new branch] renovate/bootstrap-5.x -> origin/renovate/bootstrap-5.x
* [new branch] renovate/chart.js-3.x -> origin/renovate/chart.js-3.x
* [new branch] renovate/eslint-plugin-import-2.x -> origin/renovate/eslint-plugin-import-2.x
* [new branch] renovate/less-4.x -> origin/renovate/less-4.x
* [new branch] renovate/textcomplete-0.x -> origin/renovate/textcomplete-0.x
* [new branch] renovate/yargs-17.x -> origin/renovate/yargs-17.x
* [new branch] reports -> origin/reports
* [new branch] response-hook -> origin/response-hook
* [new branch] service-workers -> origin/service-workers
* [new branch] snippet-xss-fix -> origin/snippet-xss-fix
* [new branch] spa-authentication -> origin/spa-authentication
* [new branch] textcomplete-work -> origin/textcomplete-work
* [new branch] user-blocking -> origin/user-blocking
58b8c32..6856a5e v0.7.x -> origin/v0.7.x
* [new branch] v0.8.x -> origin/v0.8.x
* [new branch] v0.9.x -> origin/v0.9.x
* [new branch] v1.10.x -> origin/v1.10.x
* [new branch] v1.11.x -> origin/v1.11.x
* [new branch] v1.12.x -> origin/v1.12.x
* [new branch] v1.13.x -> origin/v1.13.x
* [new branch] v1.14.x -> origin/v1.14.x
* [new branch] v1.15.x -> origin/v1.15.x
* [new branch] v1.16.x -> origin/v1.16.x
* [new branch] v1.17.x -> origin/v1.17.x
* [new branch] v1.5.x -> origin/v1.5.x
* [new branch] v1.6.x -> origin/v1.6.x
* [new branch] v1.7.x -> origin/v1.7.x
* [new branch] v1.8.x -> origin/v1.8.x
* [new branch] v1.9.x -> origin/v1.9.x
* [new branch] v1.x.x -> origin/v1.x.x
* [new branch] webpack -> origin/webpack
* [new tag] v1.12.2 -> v1.12.2
* [new tag] v1.14.3 -> v1.14.3
* [new tag] v1.15.5 -> v1.15.5
* [new tag] v1.16.2 -> v1.16.2
* [new tag] v1.16.2-beta.15 -> v1.16.2-beta.15
* [new tag] v1.17.0 -> v1.17.0
* [new tag] v1.4.6 -> v1.4.6
* [new tag] v1.6.1 -> v1.6.1
* [new tag] v1.9.3 -> v1.9.3
* [new tag] 1.0.1-auto.0 -> 1.0.1-auto.0
* [new tag] v0.7.1 -> v0.7.1
* [new tag] v0.7.2 -> v0.7.2
* [new tag] v0.7.3 -> v0.7.3
* [new tag] v0.8.0 -> v0.8.0
* [new tag] v0.8.1 -> v0.8.1
* [new tag] v0.8.2 -> v0.8.2
* [new tag] v0.9.0 -> v0.9.0
* [new tag] v0.9.1 -> v0.9.1
* [new tag] v0.9.2 -> v0.9.2
* [new tag] v0.9.3 -> v0.9.3
* [new tag] v0.9.4 -> v0.9.4
* [new tag] v1.0.0 -> v1.0.0
* [new tag] v1.0.1 -> v1.0.1
* [new tag] v1.0.2 -> v1.0.2
* [new tag] v1.0.3 -> v1.0.3
* [new tag] v1.1.0 -> v1.1.0
* [new tag] v1.1.1 -> v1.1.1
* [new tag] v1.1.2 -> v1.1.2
* [new tag] v1.10.0 -> v1.10.0
* [new tag] v1.10.1 -> v1.10.1
* [new tag] v1.10.2 -> v1.10.2
* [new tag] v1.11.0 -> v1.11.0
* [new tag] v1.11.2 -> v1.11.2
* [new tag] v1.12.0 -> v1.12.0
* [new tag] v1.12.1 -> v1.12.1
* [new tag] v1.14.0 -> v1.14.0
* [new tag] v1.14.0-0 -> v1.14.0-0
* [new tag] v1.14.0-1 -> v1.14.0-1
* [new tag] v1.14.0-10 -> v1.14.0-10
* [new tag] v1.14.0-11 -> v1.14.0-11
* [new tag] v1.14.0-12 -> v1.14.0-12
* [new tag] v1.14.0-2 -> v1.14.0-2
* [new tag] v1.14.0-3 -> v1.14.0-3
* [new tag] v1.14.0-4 -> v1.14.0-4
* [new tag] v1.14.0-5 -> v1.14.0-5
* [new tag] v1.14.0-6 -> v1.14.0-6
* [new tag] v1.14.0-7 -> v1.14.0-7
* [new tag] v1.14.0-8 -> v1.14.0-8
* [new tag] v1.14.0-9 -> v1.14.0-9
* [new tag] v1.14.1 -> v1.14.1
* [new tag] v1.14.1-beta.0 -> v1.14.1-beta.0
* [new tag] v1.14.1-beta.1 -> v1.14.1-beta.1
* [new tag] v1.14.1-beta.2 -> v1.14.1-beta.2
* [new tag] v1.14.1-beta.3 -> v1.14.1-beta.3
* [new tag] v1.14.2 -> v1.14.2
* [new tag] v1.14.2-beta.0 -> v1.14.2-beta.0
* [new tag] v1.14.2-beta.1 -> v1.14.2-beta.1
* [new tag] v1.14.3-beta.0 -> v1.14.3-beta.0
* [new tag] v1.14.3-beta.1 -> v1.14.3-beta.1
* [new tag] v1.14.3-beta.10 -> v1.14.3-beta.10
* [new tag] v1.14.3-beta.11 -> v1.14.3-beta.11
* [new tag] v1.14.3-beta.12 -> v1.14.3-beta.12
* [new tag] v1.14.3-beta.13 -> v1.14.3-beta.13
* [new tag] v1.14.3-beta.14 -> v1.14.3-beta.14
* [new tag] v1.14.3-beta.15 -> v1.14.3-beta.15
* [new tag] v1.14.3-beta.16 -> v1.14.3-beta.16
* [new tag] v1.14.3-beta.2 -> v1.14.3-beta.2
* [new tag] v1.14.3-beta.3 -> v1.14.3-beta.3
* [new tag] v1.14.3-beta.4 -> v1.14.3-beta.4
* [new tag] v1.14.3-beta.5 -> v1.14.3-beta.5
* [new tag] v1.14.3-beta.6 -> v1.14.3-beta.6
* [new tag] v1.14.3-beta.7 -> v1.14.3-beta.7
* [new tag] v1.14.3-beta.8 -> v1.14.3-beta.8
* [new tag] v1.14.3-beta.9 -> v1.14.3-beta.9
* [new tag] v1.15.0 -> v1.15.0
* [new tag] v1.15.0-beta.0 -> v1.15.0-beta.0
* [new tag] v1.15.0-beta.1 -> v1.15.0-beta.1
* [new tag] v1.15.0-beta.10 -> v1.15.0-beta.10
* [new tag] v1.15.0-beta.11 -> v1.15.0-beta.11
* [new tag] v1.15.0-beta.12 -> v1.15.0-beta.12
* [new tag] v1.15.0-beta.13 -> v1.15.0-beta.13
* [new tag] v1.15.0-beta.14 -> v1.15.0-beta.14
* [new tag] v1.15.0-beta.15 -> v1.15.0-beta.15
* [new tag] v1.15.0-beta.16 -> v1.15.0-beta.16
* [new tag] v1.15.0-beta.17 -> v1.15.0-beta.17
* [new tag] v1.15.0-beta.18 -> v1.15.0-beta.18
* [new tag] v1.15.0-beta.19 -> v1.15.0-beta.19
* [new tag] v1.15.0-beta.2 -> v1.15.0-beta.2
* [new tag] v1.15.0-beta.20 -> v1.15.0-beta.20
* [new tag] v1.15.0-beta.21 -> v1.15.0-beta.21
* [new tag] v1.15.0-beta.22 -> v1.15.0-beta.22
* [new tag] v1.15.0-beta.23 -> v1.15.0-beta.23
* [new tag] v1.15.0-beta.24 -> v1.15.0-beta.24
* [new tag] v1.15.0-beta.25 -> v1.15.0-beta.25
* [new tag] v1.15.0-beta.26 -> v1.15.0-beta.26
* [new tag] v1.15.0-beta.27 -> v1.15.0-beta.27
* [new tag] v1.15.0-beta.28 -> v1.15.0-beta.28
* [new tag] v1.15.0-beta.29 -> v1.15.0-beta.29
* [new tag] v1.15.0-beta.3 -> v1.15.0-beta.3
* [new tag] v1.15.0-beta.30 -> v1.15.0-beta.30
* [new tag] v1.15.0-beta.4 -> v1.15.0-beta.4
* [new tag] v1.15.0-beta.5 -> v1.15.0-beta.5
* [new tag] v1.15.0-beta.6 -> v1.15.0-beta.6
* [new tag] v1.15.0-beta.7 -> v1.15.0-beta.7
* [new tag] v1.15.0-beta.8 -> v1.15.0-beta.8
* [new tag] v1.15.0-beta.9 -> v1.15.0-beta.9
* [new tag] v1.15.0-rc.0 -> v1.15.0-rc.0
* [new tag] v1.15.0-rc.1 -> v1.15.0-rc.1
* [new tag] v1.15.0-rc.2 -> v1.15.0-rc.2
* [new tag] v1.15.0-rc.3 -> v1.15.0-rc.3
* [new tag] v1.15.0-rc.4 -> v1.15.0-rc.4
* [new tag] v1.15.0-rc.5 -> v1.15.0-rc.5
* [new tag] v1.15.1 -> v1.15.1
* [new tag] v1.15.1-beta.0 -> v1.15.1-beta.0
* [new tag] v1.15.2 -> v1.15.2
* [new tag] v1.15.2-beta.0 -> v1.15.2-beta.0
* [new tag] v1.15.2-beta.1 -> v1.15.2-beta.1
* [new tag] v1.15.3 -> v1.15.3
* [new tag] v1.15.3-beta.0 -> v1.15.3-beta.0
* [new tag] v1.15.4 -> v1.15.4
* [new tag] v1.16.0 -> v1.16.0
* [new tag] v1.16.1 -> v1.16.1
* [new tag] v1.16.1-beta.0 -> v1.16.1-beta.0
* [new tag] v1.16.2-beta.0 -> v1.16.2-beta.0
* [new tag] v1.16.2-beta.1 -> v1.16.2-beta.1
* [new tag] v1.16.2-beta.10 -> v1.16.2-beta.10
* [new tag] v1.16.2-beta.11 -> v1.16.2-beta.11
* [new tag] v1.16.2-beta.12 -> v1.16.2-beta.12
* [new tag] v1.16.2-beta.13 -> v1.16.2-beta.13
* [new tag] v1.16.2-beta.14 -> v1.16.2-beta.14
* [new tag] v1.16.2-beta.2 -> v1.16.2-beta.2
* [new tag] v1.16.2-beta.3 -> v1.16.2-beta.3
* [new tag] v1.16.2-beta.4 -> v1.16.2-beta.4
* [new tag] v1.16.2-beta.5 -> v1.16.2-beta.5
* [new tag] v1.16.2-beta.6 -> v1.16.2-beta.6
* [new tag] v1.16.2-beta.7 -> v1.16.2-beta.7
* [new tag] v1.16.2-beta.8 -> v1.16.2-beta.8
* [new tag] v1.16.2-beta.9 -> v1.16.2-beta.9
* [new tag] v1.17.0-beta.0 -> v1.17.0-beta.0
* [new tag] v1.17.0-beta.1 -> v1.17.0-beta.1
* [new tag] v1.17.0-beta.2 -> v1.17.0-beta.2
* [new tag] v1.17.0-beta.3 -> v1.17.0-beta.3
* [new tag] v1.17.0-beta.4 -> v1.17.0-beta.4
* [new tag] v1.17.0-beta.5 -> v1.17.0-beta.5
* [new tag] v1.2.0 -> v1.2.0
* [new tag] v1.2.1 -> v1.2.1
* [new tag] v1.3.0 -> v1.3.0
* [new tag] v1.4.0 -> v1.4.0
* [new tag] v1.4.1 -> v1.4.1
* [new tag] v1.4.2 -> v1.4.2
* [new tag] v1.4.3 -> v1.4.3
* [new tag] v1.4.4 -> v1.4.4
* [new tag] v1.4.5 -> v1.4.5
* [new tag] v1.5.0 -> v1.5.0
* [new tag] v1.5.1 -> v1.5.1
* [new tag] v1.5.2 -> v1.5.2
* [new tag] v1.5.3 -> v1.5.3
* [new tag] v1.6.0 -> v1.6.0
* [new tag] v1.7.0 -> v1.7.0
* [new tag] v1.7.1 -> v1.7.1
* [new tag] v1.7.2 -> v1.7.2
* [new tag] v1.7.3 -> v1.7.3
* [new tag] v1.7.4 -> v1.7.4
* [new tag] v1.7.5 -> v1.7.5
* [new tag] v1.8.0 -> v1.8.0
* [new tag] v1.8.1 -> v1.8.1
* [new tag] v1.9.0 -> v1.9.0
* [new tag] v1.9.1 -> v1.9.1
* [new tag] v1.9.2 -> v1.9.2
Updating a1f49f6..0c62b0a
Fast-forward
src/upgrade.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums# git checkout v0.7.x -f
Branch v0.7.x set up to track remote branch v0.7.x from origin.
Switched to a new branch 'v0.7.x'
[email protected]:~/www/nodebb/forums# git describe --tags
v0.7.3-6-g6856a5e
[email protected]:~/www/nodebb/forums# npm install colors
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/colors
[email protected]:~/www/nodebb/forums# npm install minimist
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/minimist
[email protected]:~/www/nodebb/forums# npm install touch
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/touch
└── [email protected] ([email protected])
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Updating NodeBB data store schema.
Warning: Redis server does not require a password, but a password was supplied.
Warning: Redis server does not require a password, but a password was supplied.
Warning: Redis server does not require a password, but a password was supplied.
17/5 23:30 [26908] - info: Beginning database schema update
17/5 23:30 [26908] - info: [2015/02/08] Clearing reset tokens skipped
17/5 23:30 [26908] - info: [2015/02/17] renaming home.tpl to categories.tpl skipped
17/5 23:30 [26908] - info: [2015/2/23] Activating NodeBB Essential Rewards - skipped
17/5 23:30 [26908] - info: [2015/02/24] Upgrading plugins:active to sorted set skipped
17/5 23:30 [26908] - info: [2015/02/24] Upgrading privilege groups to system groups skipped
17/5 23:30 [26908] - info: [2015/02/25] Upgrading menu items to dynamic navigation system skipped
17/5 23:30 [26908] - info: [2015/05/07] Upgrading uid mappings to sorted set skipped
17/5 23:30 [26908] - info: [2015/05/08] Fixing emails skipped
17/5 23:30 [26908] - info: [2015/05/11] Updating widgets to tjs 0.2x skipped
17/5 23:30 [26908] - info: [2015/05/20] Adding username:sorted and email:sorted skipped
17/5 23:30 [26908] - info: [2015/06/02] Creating group sorted sets skipped
17/5 23:30 [26908] - info: [2015/07/03] Enabling default composer plugin skipped
17/5 23:30 [26908] - info: [upgrade] Schema already up to date!
3. Storing upgrade date in "package.json"... OK
NodeBB Upgrade Complete!
[email protected]:~/www/nodebb/forums#
[email protected]:~# nvm use v0.10.39
Now using node v0.10.39
[email protected]:~# node -v
v0.10.39
[email protected]:~/www/nodebb/forums# git pull
Already up-to-date.
[email protected]:~/www/nodebb/forums# git checkout v0.8.x
Branch v0.8.x set up to track remote branch v0.8.x from origin.
Switched to a new branch 'v0.8.x'
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Updating NodeBB data store schema.
17/5 23:46 [28666] - info: Beginning database schema update
17/5 23:46 [28666] - info: [2015/02/08] Clearing reset tokens skipped
17/5 23:46 [28666] - info: [2015/02/17] renaming home.tpl to categories.tpl skipped
17/5 23:46 [28666] - info: [2015/2/23] Activating NodeBB Essential Rewards - skipped
17/5 23:46 [28666] - info: [2015/02/24] Upgrading plugins:active to sorted set skipped
17/5 23:46 [28666] - info: [2015/02/24] Upgrading privilege groups to system groups skipped
17/5 23:46 [28666] - info: [2015/02/25] Upgrading menu items to dynamic navigation system skipped
17/5 23:46 [28666] - info: [2015/05/07] Upgrading uid mappings to sorted set skipped
17/5 23:46 [28666] - info: [2015/05/08] Fixing emails skipped
17/5 23:46 [28666] - info: [2015/05/11] Updating widgets to tjs 0.2x skipped
17/5 23:46 [28666] - info: [2015/05/20] Adding username:sorted and email:sorted skipped
17/5 23:46 [28666] - info: [2015/06/02] Creating group sorted sets skipped
17/5 23:46 [28666] - info: [2015/07/03] Enabling default composer plugin skipped
17/5 23:46 [28666] - info: [2015/08/18] Creating children category sorted sets
17/5 23:46 [28666] - info: [2015/08/18] Creating children category sorted sets done
17/5 23:46 [28666] - info: [upgrade] Schema update complete!
3. Storing upgrade date in "package.json"... OK
NodeBB Upgrade Complete!
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date...
Error: Command failed: npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No repository field.
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.39","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.39","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.39","npm":"1.4.28"})
npm ERR! fetch failed https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.0.tgz
npm ERR! Error: 404 Not Found
npm ERR! at WriteStream.<anonymous> (/root/.nvm/v0.10.39/lib/node_modules/npm/lib/utils/fetch.js:58:12)
npm ERR! at WriteStream.emit (events.js:117:20)
npm ERR! at evalmachine.<anonymous>:1610:14
npm ERR! at /root/.nvm/v0.10.39/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:102:5
npm ERR! at Object.oncomplete (evalmachine.<anonymous>:108:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.4.0-38-generic
npm ERR! command "/root/.nvm/v0.10.39/bin/node" "/root/.nvm/v0.10.39/bin/npm" "i" "--production"
npm ERR! cwd /var/www/nodebb/forums
npm ERR! node -v v0.10.39
npm ERR! npm -v 1.4.28
npm ERR! not ok code 0
[email protected]:~/www/nodebb/forums# vi logs/output.log
[email protected]:~/www/nodebb/forums# vi logs/nohup.out
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums#
[email protected]:~/www/nodebb/forums# vi n
nodebb nodebb.bat node_modules/ npm-shrinkwrap.json
[email protected]:~/www/nodebb/forums# vi npm-shrinkwrap.json ^C
[email protected]:~/www/nodebb/forums# cp npm-shrinkwrap.json npm-shrinkwrap.json_ORIG
[email protected]:~/www/nodebb/forums# vi npm-shrinkwrap.json
[email protected]:~/www/nodebb/forums# grep ansi-styles npm-shrinkwrap.json
"ansi-styles": {
"from": "[email protected]>=2.1.0 <3.0.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz"
"ansi-styles": {
"from": "[email protected]>=2.1.0 <3.0.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.0.tgz",
[email protected]:~/www/nodebb/forums# ls -lrt
total 26316
-rw-r--r-- 1 root root 2361 Jun 1 2015 nodebb.bat
-rw-r--r-- 1 root root 35147 Jun 1 2015 LICENSE
-rw-r--r-- 1 root root 18 Jul 8 2015 dump.rdb
-rwxr-xr-x 1 root root 125 Jul 8 2015 startNodeBB.sh
-rw-r--r-- 1 root root 26480640 May 16 21:44 public.tar
-rw-r--r-- 1 root root 2146 May 17 23:27 Gruntfile.js
-rw-r--r-- 1 root root 662 May 17 23:27 bcrypt.js
-rw-r--r-- 1 root root 245 May 17 23:35 config.json
-rw-r--r-- 1 root root 5186 May 17 23:44 README.md
drwxr-xr-x 3 root root 4096 May 17 23:44 install
-rwxr-xr-x 1 root root 5670 May 17 23:54 nodebb
-rw-r--r-- 1 root root 1623 May 17 23:54 minifier.js
-rw-r--r-- 1 root root 6431 May 17 23:54 loader.js
-rw-r--r-- 1 root root 549 May 17 23:54 Dockerfile
-rw-r--r-- 1 root root 3522 May 17 23:54 CONTRIBUTING.md
-rw-r--r-- 1 root root 9725 May 17 23:54 app.js
-rw-r--r-- 1 root root 2819 May 17 23:54 package.json
-rw-r--r-- 1 root root 160094 May 17 23:54 npm-shrinkwrap.json
drwxr-xr-x 10 root root 4096 May 17 23:54 public
drwxr-xr-x 4 root root 4096 May 17 23:54 tests
drwxr-xr-x 19 root root 4096 May 17 23:54 src
drwxr-xr-x 92 root root 4096 May 18 00:12 node_modules
drwxr-xr-x 2 root root 4096 May 18 00:13 logs
-rw-r--r-- 1 root root 160094 May 18 00:14 npm-shrinkwrap.json_ORIG
[email protected]:~/www/nodebb/forums# rm -rf npm-shrinkwrap.json
[email protected]:~/www/nodebb/forums# node -v
v0.10.39
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Updating NodeBB data store schema.
18/5 00:18 [1358] - info: Beginning database schema update
18/5 00:18 [1358] - info: [2015/09/30] Converting default Gravatar image to default User Avatar
18/5 00:18 [1358] - info: [2015/09/30] Converting default Gravatar image to default User Avatar done
18/5 00:18 [1358] - info: [2015/11/06] Removing gravatar
18/5 00:18 [1358] - info: [2015/11/06] Gravatar pictures removed!
18/5 00:18 [1358] - info: [upgrade] Schema update complete!
OK
NodeBB Upgrade Complete!
[email protected]:~/www/nodebb/forums# node -v
v6.2.1
[email protected]:~/www/nodebb/forums# nvm install v10.9.0
######################################################################## 100.0%
Checksums empty
Now using node v10.9.0
[email protected]:~/www/nodebb/forums# node -v
v10.9.0
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Checking installed plugins for updates... OK
3. Updating NodeBB data store schema...
18/5 00:42:56 [2112] - warn: [cache-buster] could not read cache buster: ENOENT: no such file or directory, open '/var/www/nodebb/forums/build/cache-buster'
18/5 00:42:56 [2112] - info: Beginning database schema update
18/5 00:42:56 [2112] - error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date.
18/5 00:42:56 [2112] - error: [upgrade] Please ensure that you did not skip any minor version upgrades.
18/5 00:42:56 [2112] - error: [upgrade] (e.g. v0.1.x directly to v0.3.x)
18/5 00:42:56 [2112] - error: Error: upgrade-not-possible
at Command.callback (/var/www/nodebb/forums/src/upgrade.js:67:11)
at normal_reply (/var/www/nodebb/forums/node_modules/redis/index.js:721:21)
at RedisClient.return_reply (/var/www/nodebb/forums/node_modules/redis/index.js:819:9)
at JavascriptRedisParser.returnReply (/var/www/nodebb/forums/node_modules/redis/index.js:192:18)
at JavascriptRedisParser.execute (/var/www/nodebb/forums/node_modules/redis-parser/lib/parser.js:574:12)
at Socket.<anonymous> (/var/www/nodebb/forums/node_modules/redis/index.js:274:27)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
Error: undefined
[email protected]:~/www/nodebb/forums# git checkout v1.0.3
error: Your local changes to the following files would be overwritten by checkout:
package.json
Please, commit your changes or stash them before you can switch branches.
Aborting
[email protected]:~/www/nodebb/forums# git checkout v1.0.3 -f
Note: checking out 'v1.0.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 61404be... Incremented version number
[email protected]:~/www/nodebb/forums# git describe --tags
v1.0.3
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
1. Bringing base dependencies up to date... OK
2. Checking installed plugins for updates... OK
3. Updating NodeBB data store schema...
18/5 00:47 [2221] - info: Beginning database schema update
18/5 00:47 [2221] - info: [2015/09/30] Converting default Gravatar image to default User Avatar skipped
18/5 00:47 [2221] - info: [2015/11/06] Gravatar removal skipped
18/5 00:47 [2221] - info: [2015/12/15] Upgrading chats
18/5 00:47 [2221] - info: [2015/12/15] Chats upgrade done!
18/5 00:47 [2221] - info: [2015/12/23] Upgrading chat room hashes
18/5 00:47 [2221] - info: [2015/12/23] Chats room hashes upgrade done!
18/5 00:47 [2221] - info: [2015/12/23] Adding theme to active plugins sorted set
18/5 00:47 [2221] - info: [2015/12/23] Adding theme to active plugins sorted set done!
18/5 00:47 [2221] - info: [2016/01/14] Creating user best post sorted sets
18/5 00:47 [2221] - info: processing pid: 49 uid: 16 votes: 1
18/5 00:47 [2221] - info: [2016/01/14] Creating user best post sorted sets done!
18/5 00:47 [2221] - info: [2016/01/20] Creating users:notvalidated
18/5 00:47 [2221] - info: processing uid: 1 email:confirmed: 0
18/5 00:47 [2221] - info: processing uid: 7 email:confirmed: 0
18/5 00:47 [2221] - info: processing uid: 19 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 22 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 23 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 30 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 32 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 33 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 38 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 40 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 41 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 42 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 44 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 49 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 51 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 52 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 53 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 55 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 57 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 58 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 59 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 61 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 62 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 63 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 64 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 66 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 67 email:confirmed: 0
18/5 00:47 [2221] - info: processing uid: 68 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 69 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 71 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 72 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 73 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 74 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 75 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 76 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 77 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 78 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 79 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 80 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 81 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 82 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 83 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 84 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 85 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 86 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 87 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 88 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 89 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 90 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 91 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 92 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 93 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 94 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 95 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 96 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 97 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 98 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 99 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 100 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 102 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 103 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 104 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 105 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 106 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 107 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 108 email:confirmed: null
18/5 00:47 [2221] - info: processing uid: 109 email:confirmed: null
18/5 00:47 [2221] - info: [2016/01/20] Creating users:notvalidated done!
18/5 00:47 [2221] - info: [2016/01/23] Creating Global moderators group
18/5 00:47 [2221] - info: [2016/01/23] Creating Global moderators group done!
18/5 00:47 [2221] - info: [2016/02/25] Social: Post Sharing
18/5 00:47 [2221] - info: [2016/02/25] Social: Post Sharing done!
18/5 00:47 [2221] - info: [upgrade] Schema update complete!
OK
NodeBB Upgrade Complete!
[email protected]:~/www/nodebb/forums# git checkout v1.14.x
error: Your local changes to the following files would be overwritten by checkout:
package.json
Please, commit your changes or stash them before you can switch branches.
Aborting
[email protected]:~/www/nodebb/forums# git checkout v1.14.x -f
Previous HEAD position was 61404be... Incremented version number
Branch v1.14.x set up to track remote branch v1.14.x from origin.
Switched to a new branch 'v1.14.x'
[email protected]:~/www/nodebb/forums# git describe --tags
v1.14.3
[email protected]:~/www/nodebb/forums# ./nodebb start
package.json not found.
Populating package.json...
OK
Dependencies outdated or not yet installed.
Installing them now...
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Version no longer supported. Upgrade to @latest
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"
> [email protected] install /var/www/nodebb/forums/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
> [email protected] postinstall /var/www/nodebb/forums/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of [email protected]^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]>=2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^5.16.0 || ^6.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^2.5.0 but none is installed. You must install peer dependencies yourself.
added 402 packages from 652 contributors, removed 206 packages, updated 105 packages, moved 18 packages and audited 1357 packages in 35.439s
found 23 vulnerabilities (10 low, 6 moderate, 6 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
OK
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb help" for more commands
[email protected]:~/www/nodebb/forums# ./nodebb log
Hit Ctrl-C to exit
at nextTask (/var/www/nodebb/forums/node_modules/async/dist/async.js:4576:27)
at Object.waterfall (/var/www/nodebb/forums/node_modules/async/dist/async.js:4587:9)
at Object.awaitable [as waterfall] (/var/www/nodebb/forums/node_modules/async/dist/async.js:208:32)
at Object.method (/var/www/nodebb/forums/src/upgrades/1.4.6/delete_sessions.js:22:9)
at Promise (internal/util.js:276:30)
at new Promise (<anonymous>)
at Object.method (internal/util.js:275:12)
at async.eachSeries (/var/www/nodebb/forums/src/upgrade.js:174:8)
at /var/www/nodebb/forums/node_modules/async/dist/async.js:148:38
[cluster] Child Process (2345) has exited (code: 0, signal: null)
^C
[email protected]:~/www/nodebb/forums# ./nodebb stop
NodeBB is already stopped.
[email protected]:~/www/nodebb/forums# vi logs/output.log
[email protected]:~/www/nodebb/forums# cd ..
[email protected]:~/www/nodebb# git cherry-pick 29e3ab247d336220cdddd123fc8703a3a97b1013
fatal: Not a git repository (or any of the parent directories): .git
[email protected]:~/www/nodebb# cd forums
[email protected]:~/www/nodebb/forums# git cherry-pick 29e3ab247d336220cdddd123fc8703a3a97b1013
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got '[email protected](none)')
[email protected]:~/www/nodebb/forums# nvm ls-remote
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.25
v0.1.26
v0.1.27
v0.1.28
v0.1.29
v0.1.30
v0.1.31
v0.1.32
v0.1.33
v0.1.90
v0.1.91
v0.1.92
v0.1.93
v0.1.94
v0.1.95
v0.1.96
v0.1.97
v0.1.98
v0.1.99
v0.1.100
v0.1.101
v0.1.102
v0.1.103
v0.1.104
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9
v0.4.10
v0.4.11
v0.4.12
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9
v0.5.10
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.6.10
v0.6.11
v0.6.12
v0.6.13
v0.6.14
v0.6.15
v0.6.16
v0.6.17
v0.6.18
v0.6.19
v0.6.20
v0.6.21
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.7.10
v0.7.11
v0.7.12
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.8.5
v0.8.6
v0.8.7
v0.8.8
v0.8.9
v0.8.10
v0.8.11
v0.8.12
v0.8.13
v0.8.14
v0.8.15
v0.8.16
v0.8.17
v0.8.18
v0.8.19
v0.8.20
v0.8.21
v0.8.22
v0.8.23
v0.8.24
v0.8.25
v0.8.26
v0.8.27
v0.8.28
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9
v0.9.10
v0.9.11
v0.9.12
v0.10.0
v0.10.1
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.10.10
v0.10.11
v0.10.12
v0.10.13
v0.10.14
v0.10.15
v0.10.16
v0.10.17
v0.10.18
v0.10.19
v0.10.20
v0.10.21
v0.10.22
v0.10.23
v0.10.24
v0.10.25
v0.10.26
v0.10.27
v0.10.28
v0.10.29
v0.10.30
v0.10.31
v0.10.32
v0.10.33
v0.10.34
v0.10.35
v0.10.36
v0.10.37
v0.10.38
v0.10.39
v0.10.40
v0.10.41
v0.10.42
v0.10.43
v0.10.44
v0.10.45
v0.10.46
v0.10.47
v0.10.48
v0.11.0
v0.11.1
v0.11.2
v0.11.3
v0.11.4
v0.11.5
v0.11.6
v0.11.7
v0.11.8
v0.11.9
v0.11.10
v0.11.11
v0.11.12
v0.11.13
v0.11.14
v0.11.15
v0.11.16
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.12.7
v0.12.8
v0.12.9
v0.12.10
v0.12.11
v0.12.12
v0.12.13
v0.12.14
v0.12.15
v0.12.16
v0.12.17
v0.12.18
v4.0.0
v4.1.0
v4.1.1
v4.1.2
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6
v4.3.0
v4.3.1
v4.3.2
v4.4.0
v4.4.1
v4.4.2
v4.4.3
v4.4.4
v4.4.5
v4.4.6
v4.4.7
v4.5.0
v4.6.0
v4.6.1
v4.6.2
v4.7.0
v4.7.1
v4.7.2
v4.7.3
v4.8.0
v4.8.1
v4.8.2
v4.8.3
v4.8.4
v4.8.5
v4.8.6
v4.8.7
v4.9.0
v4.9.1
v5.0.0
v5.1.0
v5.1.1
v5.2.0
v5.3.0
v5.4.0
v5.4.1
v5.5.0
v5.6.0
v5.7.0
v5.7.1
v5.8.0
v5.9.0
v5.9.1
v5.10.0
v5.10.1
v5.11.0
v5.11.1
v5.12.0
v6.0.0
v6.1.0
v6.2.0
v6.2.1
v6.2.2
v6.3.0
v6.3.1
v6.4.0
v6.5.0
v6.6.0
v6.7.0
v6.8.0
v6.8.1
v6.9.0
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.10.0
v6.10.1
v6.10.2
v6.10.3
v6.11.0
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.12.0
v6.12.1
v6.12.2
v6.12.3
v6.13.0
v6.13.1
v6.14.0
v6.14.1
v6.14.2
v6.14.3
v6.14.4
v6.15.0
v6.15.1
v6.16.0
v6.17.0
v6.17.1
v7.0.0
v7.1.0
v7.2.0
v7.2.1
v7.3.0
v7.4.0
v7.5.0
v7.6.0
v7.7.0
v7.7.1
v7.7.2
v7.7.3
v7.7.4
v7.8.0
v7.9.0
v7.10.0
v7.10.1
v8.0.0
v8.1.0
v8.1.1
v8.1.2
v8.1.3
v8.1.4
v8.2.0
v8.2.1
v8.3.0
v8.4.0
v8.5.0
v8.6.0
v8.7.0
v8.8.0
v8.8.1
v8.9.0
v8.9.1
v8.9.2
v8.9.3
v8.9.4
v8.10.0
v8.11.0
v8.11.1
v8.11.2
v8.11.3
v8.11.4
v8.12.0
v8.13.0
v8.14.0
v8.14.1
v8.15.0
v8.15.1
v8.16.0
v8.16.1
v8.16.2
v8.17.0
v9.0.0
v9.1.0
v9.2.0
v9.2.1
v9.3.0
v9.4.0
v9.5.0
v9.6.0
v9.6.1
v9.7.0
v9.7.1
v9.8.0
v9.9.0
v9.10.0
v9.10.1
v9.11.0
v9.11.1
v9.11.2
v10.0.0
v10.1.0
v10.2.0
v10.2.1
v10.3.0
v10.4.0
v10.4.1
v10.5.0
v10.6.0
v10.7.0
v10.8.0
-> v10.9.0
v10.10.0
v10.11.0
v10.12.0
v10.13.0
v10.14.0
v10.14.1
v10.14.2
v10.15.0
v10.15.1
v10.15.2
v10.15.3
v10.16.0
v10.16.1
v10.16.2
v10.16.3
v10.17.0
v10.18.0
v10.18.1
v10.19.0
v10.20.0
v10.20.1
v10.21.0
v10.22.0
v10.22.1
v10.23.0
v10.23.1
v10.23.2
v10.23.3
v10.24.0
v10.24.1
v11.0.0
v11.1.0
v11.2.0
v11.3.0
v11.4.0
v11.5.0
v11.6.0
v11.7.0
v11.8.0
v11.9.0
v11.10.0
v11.10.1
v11.11.0
v11.12.0
v11.13.0
v11.14.0
v11.15.0
v12.0.0
v12.1.0
v12.2.0
v12.3.0
v12.3.1
v12.4.0
v12.5.0
v12.6.0
v12.7.0
v12.8.0
v12.8.1
v12.9.0
v12.9.1
v12.10.0
v12.11.0
v12.11.1
v12.12.0
v12.13.0
v12.13.1
v12.14.0
v12.14.1
v12.15.0
v12.16.0
v12.16.1
v12.16.2
v12.16.3
v12.17.0
v12.18.0
v12.18.1
v12.18.2
v12.18.3
v12.18.4
v12.19.0
v12.19.1
v12.20.0
v12.20.1
v12.20.2
v12.21.0
v12.22.0
v12.22.1
v13.0.0
v13.0.1
v13.1.0
v13.2.0
v13.3.0
v13.4.0
v13.5.0
v13.6.0
v13.7.0
v13.8.0
v13.9.0
v13.10.0
v13.10.1
v13.11.0
v13.12.0
v13.13.0
v13.14.0
v14.0.0
v14.1.0
v14.2.0
v14.3.0
v14.4.0
v14.5.0
v14.6.0
v14.7.0
v14.8.0
v14.9.0
v14.10.0
v14.10.1
v14.11.0
v14.12.0
v14.13.0
v14.13.1
v14.14.0
v14.15.0
v14.15.1
v14.15.2
v14.15.3
v14.15.4
v14.15.5
v14.16.0
v14.16.1
v14.17.0
v15.0.0
v15.0.1
v15.1.0
v15.2.0
v15.2.1
v15.3.0
v15.4.0
v15.5.0
v15.5.1
v15.6.0
v15.7.0
v15.8.0
v15.9.0
v15.10.0
v15.11.0
v15.12.0
v15.13.0
v15.14.0
v16.0.0
v16.1.0
[email protected]:~/www/nodebb/forums# nvm install v14.17.0
######################################################################## 100.0%
Checksums empty
Now using node v14.17.0
[email protected]:~/www/nodebb/forums# node -v
v14.17.0
[email protected]:~/www/nodebb/forums# ./nodebb build
started
(node:2497) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2497) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'reloadRequired' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'config' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'configs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'themes' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'js' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'css' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'sounds' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'settings' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'logs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'errors' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'tags' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'dependencies' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'templates' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'blacklist' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'languages' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'userOrGroupExists' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'restart' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getSessionTTLSeconds' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostsFields' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostData' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostsData' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostField' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostFields' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'setPostField' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'setPostFields' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'create' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'delete' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'restore' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'purge' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'edit' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'urlRegex' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'imgRegex' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'parsePost' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'parseSignature' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'relativeToAbsolute' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'sanitize' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'configureSanitize' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUserInfoForPosts' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isOwner' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isModerator' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'removeFromQueue' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'submitFromQueue' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'editQueuedContent' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'canEditQueue' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'diffs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'uploads' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'exists' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPidsFromSet' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostsByPids' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostSummariesFromSet' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPidIndex' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPostIndices' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'modifyPostByPrivilege' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
...
..
..
(node:2497) Warning: Accessing non-existent property 'getSettings' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getMultipleUserSettings' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'saveSettings' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'updateDigestSetting' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'setSetting' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'search' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'startJobs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'stopJobs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getAllowedProfileImageExtensions' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getAllowedImageTypes' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'updateCoverPosition' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'updateCoverPicture' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'uploadCroppedPictureFile' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'uploadCroppedPicture' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'removeCoverPicture' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'addToApprovalQueue' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'acceptRegistration' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'rejectRegistration' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'shouldQueueUser' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getRegistrationQueue' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getInvites' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getInvitesNumber' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getInvitingUsers' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getAllInvites' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'sendInvitationEmail' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'verifyInvitation' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'deleteInvitation' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'deleteInvitationKey' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'hashPassword' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isPasswordCorrect' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'hasPassword' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getLatestBanInfo' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getModerationHistory' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getHistory' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getModerationNotes' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'updateLastOnlineTime' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'updateOnlineUsers' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isOnline' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'blocks' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'deleteUpload' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'collateUploads' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'exists' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'existsBySlug' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidsFromSet' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsersFromSet' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsersWithFields' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsers' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getStatus' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidByUsername' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidsByUsernames' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidByUserslug' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsernamesByUids' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsernameByUserslug' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidByEmail' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUidsByEmails' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getUsernameByEmail' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isModerator' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isModeratorOfAnyCategory' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isAdministrator' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isGlobalModerator' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPrivileges' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isPrivileged' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isAdminOrGlobalMod' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isAdminOrSelf' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isAdminOrGlobalModOrSelf' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isPrivilegedOrSelf' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getAdminsandGlobalMods' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getAdminsandGlobalModsandModerators' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getModeratorUids' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getModeratedCids' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'addInterstitials' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'toggleActive' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'toggleInstall' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'upgrade' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isInstalled' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'isActive' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getActive' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'prepareForBuild' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'loadPlugin' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'deprecatedHooks' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'internals' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'registerHook' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'unregisterHook' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'fireHook' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'hasListeners' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'startJobs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'submitUsageData' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'data' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'getPluginPaths' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'loadPluginInfo' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'pluginsData' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'libraries' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'loadedHooks' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'staticDirs' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'cssFiles' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'lessFiles' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'acpLessFiles' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'clientScripts' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'acpScripts' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'libraryPaths' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'versionWarning' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'soundpacks' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'languageData' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'loadedPlugins' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'initialized' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'requireLibrary' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'init' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'reload' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'reloadRoutes' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'list' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'normalise' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'nodeModulesPath' of module exports inside circular dependency
(node:2497) Warning: Accessing non-existent property 'showInstalled' of module exports inside circular dependency
2021-05-18T00:54:37.995Z [4567/2497] - info: [build] Building in series mode
2021-05-18T00:54:37.996Z [4567/2497] - info: [build] plugin static dirs build started
2021-05-18T00:54:38.001Z [4567/2497] - info: [build] plugin static dirs build completed in 0.005sec
2021-05-18T00:54:38.002Z [4567/2497] - info: [build] requirejs modules build started
2021-05-18T00:54:42.267Z [4567/2497] - info: [build] requirejs modules build completed in 4.265sec
2021-05-18T00:54:42.268Z [4567/2497] - info: [build] client js bundle build started
2021-05-18T00:54:44.743Z [4567/2497] - info: [build] client js bundle build completed in 2.475sec
2021-05-18T00:54:44.743Z [4567/2497] - info: [build] admin js bundle build started
2021-05-18T00:54:46.911Z [4567/2497] - info: [build] admin js bundle build completed in 2.168sec
2021-05-18T00:54:46.911Z [4567/2497] - info: [build] client side styles build started
2021-05-18T00:54:52.651Z [4567/2497] - info: [build] client side styles build completed in 5.74sec
2021-05-18T00:54:52.651Z [4567/2497] - info: [build] admin control panel styles build started
2021-05-18T00:54:56.534Z [4567/2497] - info: [build] admin control panel styles build completed in 3.883sec
2021-05-18T00:54:56.535Z [4567/2497] - info: [build] templates build started
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:139:14
|
139 | <!-- BEGIN questions -->
| ^^^^^^^^^ `questions` could refer to the top-level value `questions` or the `.questions` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:11:34
|
11 | <loc>{url}/sitemap/[email protected]</loc>
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:13:20
|
13 | <!-- BEGIN conditions -->
| ^^^^^^^^^^ `conditions` could refer to the top-level value `conditions` or the `.conditions` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:21:20
|
21 | <!-- BEGIN conditionals -->
| ^^^^^^^^^^^^ `conditionals` could refer to the top-level value `conditionals` or the `.conditionals` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:45:13
|
45 | <!-- BEGIN categories.moderators -->
| ^^^^^^^^^^^^^^^^^^^^^ `categories.moderators` could refer to the top-level value `categories.moderators` or the `.categories.moderators` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:11:11
|
11 | <li><code>@value</code></li>
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:48:20
|
48 | <option value="@key">@value</option>
| ^^^^ help: wrap this in curly braces: `{@key}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:48:26
|
48 | <option value="@key">@value</option>
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
|
...
..
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:115:21
|
115 | <!-- BEGIN custom_profile_info -->
| ^^^^^^^^^^^^^^^^^^^ `custom_profile_info` could refer to the top-level value `custom_profile_info` or the `.custom_profile_info` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: keyword outside an interpolation token is deprecated
--> <unknown>:8:37
|
8 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:67:14
|
67 | <!-- BEGIN posts -->
| ^^^^^ `posts` could refer to the top-level value `posts` or the `.posts` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
2021-05-18T00:54:56.955Z [4567/2497] - info: [build] templates build completed in 0.42sec
2021-05-18T00:54:56.956Z [4567/2497] - info: [build] languages build started
2021-05-18T00:54:59.765Z [4567/2497] - info: [build] languages build completed in 2.808sec
2021-05-18T00:54:59.765Z [4567/2497] - info: [build] sounds build started
2021-05-18T00:54:59.768Z [4567/2497] - info: [build] sounds build completed in 0.003sec
2021-05-18T00:54:59.769Z [4567/2497] - info: [build] Asset compilation successful. Completed in 21.773sec.
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
Updating NodeBB...
1. Updating package.json file with defaults... OK
2. Bringing base dependencies up to date... started
npm WARN [email protected] requires a peer of [email protected]^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of textc[email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
removed 6 packages and audited 1357 packages in 6.541s
26 packages are looking for funding
run `npm fund` for details
found 23 vulnerabilities (10 low, 6 moderate, 6 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
3. Checking installed plugins for updates... OK
A total of 1 package(s) can be upgraded:
* nodebb-plugin-emoji-one (1.1.0 -> 2.0.5)
Proceed with upgrade (y|n)? y
Upgrading packages...
4. Updating NodeBB data store schema...(node:2511) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2511) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getTopicsFields' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getTopicField' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getTopicFields' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getTopicData' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getTopicsData' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getCategoryData' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'setTopicField' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'setTopicFields' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'deleteTopicField' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'deleteTopicFields' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'create' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'post' of module exports inside circular dependency
...
...
.
(node:2511) Warning: Accessing non-existent property 'restart' of module exports inside circular dependency
(node:2511) Warning: Accessing non-existent property 'getSessionTTLSeconds' of module exports inside circular dependency
Parsing upgrade scripts...
OK | 66 script(s) found, 22 skipped
[#############] (10200/10212) 99% OKlived sessions...
→ [2016/12/7] Migrating flags to new schema... OK
[#############] (400/405) 98% OKvotes...
→ [2017/3/22] Update moderation notes to zset... OK
→ [2017/4/14] Set default allowed file extensions... OK
→ [2017/4/26] Remove relative_path from uploaded profile cover urls... OK
→ [2017/5/26] rename user mod privileges group... OK
→ [2017/6/16] Give tag privilege to registered-users on all categories... OK
→ [2017/7/5] Wipe all existing RSS tokens... OK
→ [2017/7/10] Fix incorrect robots.txt schema... OK
→ [2017/7/17] Generate email logo for use in email header... OK
→ [2017/9/6] Clearing stale digest templates that were accidentally saved as custom... OK
→ [2017/9/7] Changing ip blacklist storage to object... OK
→ [2017/10/30] New sorted set cid:<cid>:tids:lastposttime... OK
→ [2017/10/12] Generate customHTML block from old customJS setting... OK
→ [2017/11/15] Convert old notification digest settings... OK
[############ ] (100/113) 88% OK.
→ [2017/12/18] Change the schema of simple keys so they don't use value field (mongodb only)... OK
→ [2017/12/18] Give chat privilege to registered-users... OK
→ [2018/1/3] Give upload privilege to registered-users globally if it is given on a category... OK
[############ ] (100/113) 88% OKmoved topics...
→ [2018/1/9] Give vote privilege to registered-users on all categories... OK
→ [2018/1/12] Rename privileges:downvote and privileges:flag to min:rep:downvote, min:rep:flag respectively... OK
[############ ] (100/113) 88% OKies per user if they were moved...
→ [2018/2/14] Add default settings for notification delivery types... OK
→ [2018/2/17] Flatten navigation data... OK
→ [2018/2/21] Revising minimum password strength to 1 (from 0)... OK
→ [2018/1/31] Give category access privileges to spiders system group... OK
→ [2018/2/28] Give registered users signature privilege... OK
[#############] (400/405) 98% OKfs to be stored in lists and hash instead of single zset...
[#############] (400/405) 98% OKssociations...
→ [2018/5/28] Give global search privileges... OK
→ [2018/6/7] Give post history viewing privilege to registered-users on all categories... OK
→ [2018/6/8] Give deleted post viewing privilege to moderators on all categories... OK
[#############] (51000/51013) 99% OKred in Recent IPs zset...
→ [2018/8/28] Record first entry in username/email history... OK
→ [2018/9/24] Upgrade bans to hashes... OK
→ [2018/9/28] Give global local login privileges... OK
→ [2018/10/1] Optimize PostgreSQL sessions... OK
[###### ] (100/190) 52% OK...
[#############] (400/405) 98% OKets...
[############ ] (100/113) 88% OKsets...
→ [2018/10/24] Rename maximumImageWidth to resizeImageWidth... OK
→ [2018/11/10] Navigation item visibility groups... OK
→ [2018/11/10] Widget visibility groups... OK
→ [2018/12/11] Remove uid:<uid>:ignored:cids... OK
→ [2018/12/13] Update category watch data... OK
→ [2019/1/4] Group create global privilege... OK
→ [2019/1/5] Global view privileges... OK
→ [2019/3/16] Calculate image sizes of all uploaded images...(node:2511) DeprecationWarning: .async.uploads.list usage is deprecated use .uploads.list directly!
(node:2511) DeprecationWarning: .async.uploads.saveSize usage is deprecated use .uploads.saveSize directly!
[#############] (400/405) 98% OK
→ [2019/3/25] Delete username email history for deleted users... OK
→ [2019/4/5] Update moderation notes to hashes... OK
→ [2019/5/21] Disable plugin metrics for existing installs... OK
→ [2019/5/28] Give mods explicit privileges... OK
→ [2019/6/4] Update registration type... OK
→ [2019/6/23] Create zsets for user posts per category... OK
→ [2019/10/8] give mod info privilege... OK
→ [2019/9/24] Clean flag byCid zsets... OK
→ [2019/10/7] Clean up post hash data... OK
→ [2019/10/7] Clean up old notifications and hash data... OK
→ [2020/5/2] Fix user sorted sets... OK
→ [2020/5/21] Removing file upload privilege if file uploads were disabled (`allowFileUploads`)... OK
→ [2020/6/9] Remove duplicate image field for categories... OK
→ [2020/6/26] Unescape navigation titles... OK
[############ ] (100/109) 91% OKs to topics:recent...
→ [2019/1/21] Enable StopForumSpam by default without api key... OK
Schema update complete!
5. Rebuilding assets... started
2021-05-18T00:55:43.178Z [4567/2511] - error: uncaughtException: callback is not a function
TypeError: callback is not a function
at /var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js:41:5
at /var/www/nodebb/forums/node_modules/async/dist/async.js:321:20
at next (/var/www/nodebb/forums/node_modules/async/dist/async.js:4450:29)
at /var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js:25:14
at /var/www/nodebb/forums/src/promisify.js:46:48
at cb (util.js:208:31)
at util.js:192:10
at hidden (internal/errors.js:294:14)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {"error":{},"stack":"TypeError: callback is not a function\n at /var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js:41:5\n at /var/www/nodebb/forums/node_modules/async/dist/async.js:321:20\n at next (/var/www/nodebb/forums/node_modules/async/dist/async.js:4450:29)\n at /var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js:25:14\n at /var/www/nodebb/forums/src/promisify.js:46:48\n at cb (util.js:208:31)\n at util.js:192:10\n at hidden (internal/errors.js:294:14)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)","exception":true,"date":"Tue May 18 2021 00:55:43 GMT+0000 (Coordinated Universal Time)","process":{"pid":2511,"uid":0,"gid":0,"cwd":"/var/www/nodebb/forums","execPath":"/root/.nvm/v14.17.0/bin/node","version":"v14.17.0","argv":["/root/.nvm/v14.17.0/bin/node","/var/www/nodebb/forums/nodebb","upgrade"],"memoryUsage":{"rss":127131648,"heapTotal":77135872,"heapUsed":64384040,"external":3421954,"arrayBuffers":717467}},"os":{"loadavg":[0.9,0.36,0.18],"uptime":93529.52},"trace":[{"column":5,"file":"/var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js","function":null,"line":41,"method":null,"native":false},{"column":20,"file":"/var/www/nodebb/forums/node_modules/async/dist/async.js","function":null,"line":321,"method":null,"native":false},{"column":29,"file":"/var/www/nodebb/forums/node_modules/async/dist/async.js","function":"next","line":4450,"method":null,"native":false},{"column":14,"file":"/var/www/nodebb/forums/src/upgrades/1.12.1/clear_username_email_history.js","function":null,"line":25,"method":null,"native":false},{"column":48,"file":"/var/www/nodebb/forums/src/promisify.js","function":null,"line":46,"method":null,"native":false},{"column":31,"file":"util.js","function":"cb","line":208,"method":null,"native":false},{"column":10,"file":"util.js","function":null,"line":192,"method":null,"native":false},{"column":14,"file":"internal/errors.js","function":"hidden","line":294,"method":null,"native":false},{"column":21,"file":"internal/process/task_queues.js","function":"processTicksAndRejections","line":82,"method":null,"native":false}]}
2021-05-18T00:55:43.189Z [4567/2511] - info: [build] Building in series mode
2021-05-18T00:55:43.189Z [4567/2511] - info: [build] plugin static dirs build started
2021-05-18T00:55:43.196Z [4567/2511] - info: [build] plugin static dirs build completed in 0.007sec
2021-05-18T00:55:43.196Z [4567/2511] - info: [build] requirejs modules build started
--> Fails here, try again!!!
[email protected]:~/www/nodebb/forums# git describe --tags
v1.14.3
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
Updating NodeBB...
1. Updating package.json file with defaults... OK
2. Bringing base dependencies up to date... started
npm WARN [email protected] requires a peer of [email protected]^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
audited 1424 packages in 7.911s
27 packages are looking for funding
run `npm fund` for details
found 23 vulnerabilities (10 low, 6 moderate, 6 high, 1 critical)
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...(node:2549) Warning: Accessing non-existent property 'Symbol(Symbol.toStringTag)' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2549) Warning: Accessing non-existent property 'length' of module exports inside circular dependency
...
...
(node:2549) Warning: Accessing non-existent property 'restart' of module exports inside circular dependency
(node:2549) Warning: Accessing non-existent property 'getSessionTTLSeconds' of module exports inside circular dependency
Parsing upgrade scripts...
OK | 0 script(s) found, 88 skipped
Schema update complete!
5. Rebuilding assets... started
2021-05-18T00:57:58.318Z [4567/2549] - info: [build] Building in series mode
2021-05-18T00:57:58.319Z [4567/2549] - info: [build] plugin static dirs build started
2021-05-18T00:57:58.325Z [4567/2549] - info: [build] plugin static dirs build completed in 0.006sec
2021-05-18T00:57:58.326Z [4567/2549] - info: [build] requirejs modules build started
2021-05-18T00:58:02.929Z [4567/2549] - info: [build] requirejs modules build completed in 4.603sec
2021-05-18T00:58:02.930Z [4567/2549] - info: [build] client js bundle build started
2021-05-18T00:58:05.547Z [4567/2549] - info: [build] client js bundle build completed in 2.617sec
2021-05-18T00:58:05.547Z [4567/2549] - info: [build] admin js bundle build started
2021-05-18T00:58:08.082Z [4567/2549] - info: [build] admin js bundle build completed in 2.535sec
2021-05-18T00:58:08.083Z [4567/2549] - info: [build] client side styles build started
2021-05-18T00:58:14.166Z [4567/2549] - info: [build] client side styles build completed in 6.083sec
2021-05-18T00:58:14.166Z [4567/2549] - info: [build] admin control panel styles build started
2021-05-18T00:58:18.214Z [4567/2549] - info: [build] admin control panel styles build completed in 4.047sec
2021-05-18T00:58:18.214Z [4567/2549] - info: [build] templates build started
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> <unknown>:139:14
|
139 | <!-- BEGIN questions -->
| ^^^^^^^^^ `questions` could refer to the top-level value `questions` or the `.questions` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
...
...
...
|
67 | <!-- BEGIN posts -->
| ^^^^^ `posts` could refer to the top-level value `posts` or the `.posts` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
2021-05-18T00:58:18.734Z [4567/2549] - info: [build] templates build completed in 0.52sec
2021-05-18T00:58:18.735Z [4567/2549] - info: [build] languages build started
2021-05-18T00:58:21.618Z [4567/2549] - info: [build] languages build completed in 2.883sec
2021-05-18T00:58:21.619Z [4567/2549] - info: [build] sounds build started
2021-05-18T00:58:21.622Z [4567/2549] - info: [build] sounds build completed in 0.003sec
2021-05-18T00:58:21.622Z [4567/2549] - info: [build] Asset compilation successful. Completed in 23.303sec.
NodeBB Upgrade Complete!
[email protected]:~/www/nodebb# git checkout v1.17.x
fatal: Not a git repository (or any of the parent directories): .git
[email protected]:~/www/nodebb# cd forums
[email protected]:~/www/nodebb/forums# git checkout v1.17.x
error: Your local changes to the following files would be overwritten by checkout:
src/upgrades/1.4.6/delete_sessions.js
Please, commit your changes or stash them before you can switch branches.
Aborting
[email protected]:~/www/nodebb/forums# git checkout v1.17.x -f
Branch v1.17.x set up to track remote branch v1.17.x from origin.
Switched to a new branch 'v1.17.x'
[email protected]:~/www/nodebb/forums# git describe --tags
v1.17.0
[email protected]:~/www/nodebb/forums# ./nodebb upgrade
Dependencies outdated or not yet installed.
Installing them now...
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
> [email protected] install /var/www/nodebb/forums/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.6/libvips-8.10.6-linux-x64.tar.br
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of [email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @apidevtools/[email protected] requires a peer of [email protected]>=7 but none is installed. You must install peer dependencies yourself.
added 57 packages from 52 contributors, removed 114 packages, updated 75 packages, moved 5 packages and audited 1364 packages in 27.867s
22 packages are looking for funding
run `npm fund` for details
found 2 vulnerabilities (1 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
OK
Updating NodeBB...
1. Updating package.json file with defaults... OK
2. Bringing base dependencies up to date... started
npm WARN [email protected] requires a peer of [email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
removed 5 packages and audited 1364 packages in 7.038s
28 packages are looking for funding
run `npm fund` for details
found 2 vulnerabilities (1 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
3. Checking installed plugins for updates... OK
A total of 1 package(s) can be upgraded:
* nodebb-plugin-soundpack-default (1.0.0 -> 2.0.0)
Proceed with upgrade (y|n)? y
Upgrading packages...
4. Updating NodeBB data store schema...2021-05-18T01:09:16.052Z [4567/2728] - verbose: [minifier] utilizing a maximum of 0 additional threads
Parsing upgrade scripts...
OK | 19 script(s) found, 88 skipped
→ [2020/7/15] New sorted set for tracking flags by target... OK (0.00 seconds)
→ [2020/7/16] Consolidate multiple flags reports, going forward... OK (0.00 seconds)
→ [2020/7/31] Remove flag reporters sorted set... OK (0.00 seconds)
→ [2020/8/22] Add target uid to flag objects... OK (0.00 seconds)
→ [2020/9/6] Disable nodebb-plugin-soundpack-default... OK (0.00 seconds)
→ [2020/9/6] Remove allow from uri setting... OK (0.00 seconds)
→ [2020/9/11] Create fullname search set...
[##############] (98/98) 100% OK (0.02 seconds)
→ [2020/10/11] Fix category colors that are 3 digit hex colors... OK (0.00 seconds)
→ [2020/10/13] Create verified/unverified user groups...
[##############] (98/98) 100% OK (0.01 seconds)
→ [2020/10/24] Store poster count in topic hash...
[##############] (113/113) 100% OK (0.01 seconds)
→ [2020/11/26] Clear purged replies and toPid...
[##############] (405/405) 100% OK (0.03 seconds)
→ [2020/11/23] Create category tags sorted sets...
[##############] (113/113) 100% OK (0.08 seconds)
→ [2020/12/11] Migrate existing topic thumbnails to new format...
[##############] (113/113) 100% OK (0.04 seconds)
→ [2020/12/13] Move banned users to banned-users group... OK (0.00 seconds)
→ [2021/1/27] Create category name sorted set...
[##############] (1/1) 100% OK (0.00 seconds)
→ [2021/1/31] Create subCategoriesPerPage property for categories...
[##############] (1/1) 100% OK (0.00 seconds)
→ [2021/2/7] Store number of thumbs a topic has in the topic object...
[##############] (113/113) 100% OK (0.00 seconds)
→ [2021/3/9] Store default favicon if it does not exist... OK (0.00 seconds)
→ [2021/3/11] Add "schedule" to default privileges of admins and gmods for existing categories... OK (0.01 seconds)
Schema update complete!
5. Rebuilding assets...2021-05-18T01:09:16.410Z [4567/2728] - verbose: [build] Querying CPU core count for build strategy
2021-05-18T01:09:16.411Z [4567/2728] - verbose: [build] System returned 1 cores, opting for series build strategy
2021-05-18T01:09:16.411Z [4567/2728] - verbose: [build] building the following targets: plugin static dirs, requirejs modules, client js bundle, admin js bundle, client side styles, admin control panel styles, templates, languages
started
2021-05-18T01:09:16.424Z [4567/2728] - verbose: [plugins] loading the following fields from plugin data: staticDirs, modules, clientScripts, acpScripts, cssFiles, lessFiles, acpLessFiles, languageData
2021-05-18T01:09:16.429Z [4567/2728] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-spam-be-gone
2021-05-18T01:09:16.429Z [4567/2728] - verbose: [plugins] found 1 static directories for nodebb-theme-lavender
2021-05-18T01:09:16.430Z [4567/2728] - verbose: [plugins] found 1 static directories for nodebb-plugin-spam-be-gone
2021-05-18T01:09:16.430Z [4567/2728] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-spam-be-gone
2021-05-18T01:09:16.431Z [4567/2728] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-spam-be-gone
2021-05-18T01:09:16.431Z [4567/2728] - verbose: [plugins] Found 3 js file(s) for plugin nodebb-theme-lavender
2021-05-18T01:09:16.433Z [4567/2728] - info: [build] Building in series mode
2021-05-18T01:09:16.434Z [4567/2728] - info: [build] plugin static dirs build started
2021-05-18T01:09:16.440Z [4567/2728] - info: [build] plugin static dirs build completed in 0.006sec
2021-05-18T01:09:16.441Z [4567/2728] - info: [build] requirejs modules build started
2021-05-18T01:09:23.008Z [4567/2728] - info: [build] requirejs modules build completed in 6.566sec
2021-05-18T01:09:23.011Z [4567/2728] - info: [build] client js bundle build started
2021-05-18T01:09:25.812Z [4567/2728] - info: [build] client js bundle build completed in 2.801sec
2021-05-18T01:09:25.822Z [4567/2728] - info: [build] admin js bundle build started
2021-05-18T01:09:28.591Z [4567/2728] - info: [build] admin js bundle build completed in 2.769sec
2021-05-18T01:09:28.592Z [4567/2728] - info: [build] client side styles build started
2021-05-18T01:09:34.414Z [4567/2728] - info: [build] client side styles build completed in 5.822sec
2021-05-18T01:09:34.418Z [4567/2728] - info: [build] admin control panel styles build started
2021-05-18T01:09:38.616Z [4567/2728] - info: [build] admin control panel styles build completed in 4.198sec
2021-05-18T01:09:38.617Z [4567/2728] - info: [build] templates build started
[benchpress] warning: keyword outside an interpolation token is deprecated
--> partials/breadcrumbs.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> outgoing.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> flags/detail.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> flags/detail.tpl:114:66
|
114 | <div class="media" data-datetime="{../datetime}" data-index="@index">
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> flags/detail.tpl:196:51
|
196 | <span class="label label-primary">[[flags:@key]]</span><!-- IF @value --> → <span class="label label-default">@value</span><!-- ENDIF @value -->
| ^^^^ help: wrap this in curly braces: `{@key}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> flags/detail.tpl:196:124
|
196 | <span class="label label-primary">[[flags:@key]]</span><!-- IF @value --> → <span class="label label-default">@value</span><!-- ENDIF @value -->
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> ip-blacklist.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> login.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> register.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> registerComplete.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> registerComplete.tpl:34:8
|
34 | <li>@value</li>
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> registerComplete.tpl:48:5
|
48 | @value
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> reset.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> reset_code.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> partials/account_menu.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> admin/manage/uploads.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/edit.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> groups/list.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> notifications.tpl:8:37
|
8 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> partials/account/header.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> tags.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/edit/email.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/sessions.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/settings.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/edit/password.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/edit/username.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/consent.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/groups.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/info.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/info.tpl:131:10
|
131 | <li>@value</li>
| ^^^^^^ help: wrap this in curly braces: `{@value}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> groups/members.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> admin/manage/categories.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/blocks.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/followers.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/following.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/profile.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/uploads.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> categories.tpl:71:14
|
71 | <!-- BEGIN posts -->
| ^^^^^ `posts` could refer to the top-level value `posts` or the `.posts` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: keyword outside an interpolation token is deprecated
--> post-queue.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> search.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> users.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/posts.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> flags/list.tpl:5:37
|
5 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> tag.tpl:8:37
|
8 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/best.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/bookmarks.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/downvoted.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/topics.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/upvoted.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/categories.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/ignored.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> account/watched.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> popular.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> recent.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> top.tpl:7:37
|
7 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> groups/details.tpl:19:37
|
19 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> unread.tpl:8:37
|
8 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: keyword outside an interpolation token is deprecated
--> topic.tpl:6:37
|
6 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> topic.tpl:115:21
|
115 | <!-- BEGIN custom_profile_info -->
| ^^^^^^^^^^^^^^^^^^^ `custom_profile_info` could refer to the top-level value `custom_profile_info` or the `.custom_profile_info` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
[benchpress] warning: keyword outside an interpolation token is deprecated
--> category.tpl:8:37
|
8 | <meta itemprop="position" content="@index" />
| ^^^^^^ help: wrap this in curly braces: `{@index}`
| note: This will become an error in v3.0.0
[benchpress] warning: output bloat due to ambiguous inner BEGIN
--> category.tpl:93:14
|
93 | <!-- BEGIN posts -->
| ^^^^^ `posts` could refer to the top-level value `posts` or the `.posts` property of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
2021-05-18T01:09:39.186Z [4567/2728] - verbose: [meta/templates] Successfully compiled templates.
2021-05-18T01:09:39.186Z [4567/2728] - info: [build] templates build completed in 0.569sec
2021-05-18T01:09:39.186Z [4567/2728] - info: [build] languages build started
2021-05-18T01:09:43.572Z [4567/2728] - info: [build] languages build completed in 4.386sec
2021-05-18T01:09:43.573Z [4567/2728] - info: [build] Asset compilation successful. Completed in 27.14sec.
NodeBB Upgrade Complete!
NodeBB v1.17.0 Copyright (C) 2013-2014 NodeBB Inc.
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).
2021-05-18T01:11:45.414Z [4567/2945] - ^[[32minfo^[[39m: Initializing NodeBB v1.17.0 http://community.ie-admineer.com
2021-05-18T01:11:47.306Z [4567/2945] - ^[[32minfo^[[39m: [socket.io] Restricting access to origin: http://community.ie-admineer.com:*
2021-05-18T01:11:47.333Z [4567/2945] - ^[[33mwarn^[[39m: [plugins/nodebb-theme-lavender] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
2021-05-18T01:11:47.381Z [4567/2945] - ^[[32minfo^[[39m: [plugins/spam-be-gone] Settings loaded
2021-05-18T01:11:47.398Z [4567/2945] - ^[[32minfo^[[39m: [api] Adding 0 route(s) to `api/v3/plugins`
2021-05-18T01:11:47.421Z [4567/2945] - ^[[32minfo^[[39m: [router] Routes added
2021-05-18T01:11:47.428Z [4567/2945] - ^[[32minfo^[[39m: NodeBB Ready
2021-05-18T01:11:47.430Z [4567/2945] - ^[[32minfo^[[39m: Enabling 'trust proxy'
2021-05-18T01:11:47.432Z [4567/2945] - ^[[32minfo^[[39m: NodeBB is now listening on: 0.0.0.0:4567
~
Go to "Admin (Page) > Settings (Dropdown) > Navigation" page then update values and take below pairing as a reference.
&#xyadmin --> /admin
\[\[global:header.categories\]\] --> [[global:header.categories]]
\[\[global:header.categories\]\] --> [[global:header.categories]]
Fevzi Korkutata
Why'd you upgrade to 1.14.3 then 1.17.0 instead of going straight to 1.17.0?
Hi @pitaj ,
While upgrading, I had the same problem in your referenced upgrade topic which ise here:
https://github.com/NodeBB/NodeBB/commit/29e3ab247d336220cdddd123fc8703a3a97b1013
So, switched back to upgrade to 1.14.3 by rebuilding again. Then it worked and followed this path.
git cherry-pick 29e3ab247d336220cdddd123fc8703a3a97b1013
@fevzikorkutata I don't understand what you're saying.
That fix is in 1.17.0 so you shouldn't have run into that issue if you went straight from 1.0.3 to 1.17.0 as I recommended.