Upgrade from v0.6.1 to v1.17.0 (latest) --> Need recommendation


  • Upgrade from v0.8.x to v0.9.x

    
    root@fevzikorkutata-server:~/www/nodebb/forums# ./nodebb upgrade
    1. Bringing base dependencies up to date... 
    Error: Command failed: npm WARN package.json nodebb-plugin-post-notification@0.0.9 No README data
    npm WARN package.json nodebb-plugin-twitter-hashtag@0.1.0 No repository field.
    npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.39","npm":"1.4.28"})
    npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.39","npm":"1.4.28"})
    npm WARN engine hoek@2.16.3: 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
    
    root@fevzikorkutata-server:~/www/nodebb/forums# vi logs/output.log
    root@fevzikorkutata-server:~/www/nodebb/forums# vi logs/nohup.out 
    root@fevzikorkutata-server:~/www/nodebb/forums# 
    root@fevzikorkutata-server:~/www/nodebb/forums# 
    root@fevzikorkutata-server:~/www/nodebb/forums# 
    root@fevzikorkutata-server:~/www/nodebb/forums# 
    root@fevzikorkutata-server:~/www/nodebb/forums# vi n
    nodebb               nodebb.bat           node_modules/        npm-shrinkwrap.json  
    root@fevzikorkutata-server:~/www/nodebb/forums# vi npm-shrinkwrap.json ^C
    root@fevzikorkutata-server:~/www/nodebb/forums# cp npm-shrinkwrap.json npm-shrinkwrap.json_ORIG
    root@fevzikorkutata-server:~/www/nodebb/forums# vi npm-shrinkwrap.json
    root@fevzikorkutata-server:~/www/nodebb/forums# grep ansi-styles npm-shrinkwrap.json
                        "ansi-styles": {
                          "from": "ansi-styles@>=2.1.0 <3.0.0",
                          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz"
                    "ansi-styles": {
                      "from": "ansi-styles@>=2.1.0 <3.0.0",
                      "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.0.tgz",
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/www/nodebb/forums# rm -rf npm-shrinkwrap.json
    root@fevzikorkutata-server:~/www/nodebb/forums# node -v
    v0.10.39
    root@fevzikorkutata-server:~/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!
    
    
    

  • Upgrade from v0.9.x to v1.0.3

    
    root@fevzikorkutata-server:~/www/nodebb/forums# node -v
    v6.2.1
    root@fevzikorkutata-server:~/www/nodebb/forums# nvm install v10.9.0
    ######################################################################## 100.0%
    Checksums empty
    Now using node v10.9.0
    root@fevzikorkutata-server:~/www/nodebb/forums# node -v
    v10.9.0
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/www/nodebb/forums# git describe --tags
    v1.0.3
    root@fevzikorkutata-server:~/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!
    
    
    

  • Upgrade from v1.0.3 to v1.14.3 - Part 1/3

    
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/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'
    root@fevzikorkutata-server:~/www/nodebb/forums# git describe --tags
    v1.14.3
    root@fevzikorkutata-server:~/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 request-promise-native@1.0.9: 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 uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
    npm WARN deprecated debug@3.2.6: 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 highlight.js@9.14.2: Version no longer supported. Upgrade to @latest
    npm WARN deprecated debug@4.1.1: 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 fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
    
    > sharp@0.25.4 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
    
    > core-js-pure@3.12.1 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: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN nodebb-plugin-emoji-android@2.0.0 requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN pg@8.6.0 requires a peer of pg-native@>=2.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself.
    npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
    npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
    npm WARN eslint-config-airbnb-base@14.1.0 requires a peer of eslint@^5.16.0 || ^6.8.0 but none is installed. You must install peer dependencies yourself.
    npm WARN jsdom@16.2.2 requires a peer of canvas@^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
    
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/www/nodebb/forums# ./nodebb stop
    NodeBB is already stopped.
    root@fevzikorkutata-server:~/www/nodebb/forums# vi logs/output.log
    root@fevzikorkutata-server:~/www/nodebb/forums# cd ..
    root@fevzikorkutata-server:~/www/nodebb# git cherry-pick 29e3ab247d336220cdddd123fc8703a3a97b1013
    fatal: Not a git repository (or any of the parent directories): .git
    root@fevzikorkutata-server:~/www/nodebb# cd forums
    root@fevzikorkutata-server:~/www/nodebb/forums# git cherry-pick 29e3ab247d336220cdddd123fc8703a3a97b1013
    
    *** Please tell me who you are.
    
    Run
    
      git config --global user.email "you@example.com"
      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 'root@wlsdmcomm.(none)')
    root@fevzikorkutata-server:~/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
    
    

  • Upgrade from v1.0.3 to v1.14.3 - Part 2/3

    
    root@fevzikorkutata-server:~/www/nodebb/forums# nvm install v14.17.0
    ######################################################################## 100.0%
    Checksums empty
    Now using node v14.17.0
    root@fevzikorkutata-server:~/www/nodebb/forums# node -v
    v14.17.0
    root@fevzikorkutata-server:~/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/topics.@value.xml</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.
    
    

  • Upgrade from v1.0.3 to v1.14.3 - Part 3/3

    
    root@fevzikorkutata-server:~/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 nodebb-plugin-emoji-android@2.0.0 requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^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!!!
    
    root@fevzikorkutata-server:~/www/nodebb/forums# git describe --tags
    v1.14.3
    root@fevzikorkutata-server:~/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 nodebb-plugin-emoji-android@2.0.0 requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^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!
    
    

  • Upgrade v1.14.3 to v1.17.0

    
    root@fevzikorkutata-server:~/www/nodebb# git checkout v1.17.x
    fatal: Not a git repository (or any of the parent directories): .git
    root@fevzikorkutata-server:~/www/nodebb# cd forums
    root@fevzikorkutata-server:~/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
    root@fevzikorkutata-server:~/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'
    root@fevzikorkutata-server:~/www/nodebb/forums# git describe --tags
    v1.17.0
    root@fevzikorkutata-server:~/www/nodebb/forums# ./nodebb upgrade
    Dependencies outdated or not yet installed.
    Installing them now...
    
    npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    
    > sharp@0.28.1 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: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself.
    npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
    npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
    npm WARN @apidevtools/swagger-parser@10.0.2 requires a peer of openapi-types@>=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 textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^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 --> &rarr; <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 --> &rarr; <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!
    
    
    

  • Ultimate v1.17.0 NodeBB Start

    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
    ~                                                                                                   
    

    Post Configuration: Char Problem at Navigation (Known Bug)

    Go to "Admin (Page) > Settings (Dropdown) > Navigation" page then update values and take below pairing as a reference.

    &#xyadmin --> /admin
    
    &#x5C;[&#x5C;[global:header.categories&#x5C;]&#x5C;] --> [[global:header.categories]]
    
    &#x5C;[&#x5C;[global:header.categories&#x5C;]&#x5C;] --> [[global:header.categories]]
    

    End Of Upgrade.

    Fevzi Korkutata
    
  • Global Moderator Plugin & Theme Dev

    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

  • Global Moderator Plugin & Theme Dev

    @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.

Suggested Topics

| |