Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. tecy
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Best 2
    • Groups 0

    tecy

    @tecy

    2
    Reputation
    65
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tecy Follow

    Best posts made by tecy

    • RE: Update from 1.13.2 to 1.14.2 error in npm module "sitemap"

      You made my day! šŸ™‚ šŸ‘
      I think I need to take more care of the versions ... šŸ˜‰

      Is there any chance I can buy you a coffee or a beer,
      to value your work?

      posted in Technical Support
      tecy
      tecy
    • RE: Errors when updating from latest 1.15 to 1.16

      Hi,
      there was a problem with old plugins.
      For the future I wold suggest to list all active used plugins.
      Then disabling all of them and the update the forum.
      If eveything is ok, update the plugins step by step to see if something goes wrong.

      @PitaJ
      Thanks for yopur help. šŸ‘
      In the future I have to read the error messages more carefully.
      The "bad" plugins were mentioned there šŸ˜‰

      posted in Technical Support
      tecy
      tecy

    Latest posts made by tecy

    • RE: Errors when updating from latest 1.15 to 1.16

      Hi,
      there was a problem with old plugins.
      For the future I wold suggest to list all active used plugins.
      Then disabling all of them and the update the forum.
      If eveything is ok, update the plugins step by step to see if something goes wrong.

      @PitaJ
      Thanks for yopur help. šŸ‘
      In the future I have to read the error messages more carefully.
      The "bad" plugins were mentioned there šŸ˜‰

      posted in Technical Support
      tecy
      tecy
    • RE: Errors when updating from latest 1.15 to 1.16

      @pitaj
      Yes, I have tried it with node 14.15.3.

      These errors are still present during startup:

       ./nodebb start
       ./nodebb log
      Hit Ctrl-C to exit
      
      [cluster] Child Process (5010) has exited (code: 0, signal: null)
      
      NodeBB v1.16.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).
      
      2020-12-23T18:20:33.396Z [4567/7608] - info: Initializing NodeBB v1.16.0 https://forum.domain
      2020-12-23T18:20:38.002Z [4567/7608] - info: [socket.io] Restricting access to origin: https://forum.domain:*
      2020-12-23T18:20:38.127Z [4567/7608] - warn:    [plugins/nodebb-theme-vanilla] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      (node:7608) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      2020-12-23T18:20:38.703Z [4567/7608] - warn:    [plugins/nodebb-plugin-topic-tags] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      2020-12-23T18:20:38.704Z [4567/7608] - warn: [plugins] Unable to load library for: nodebb-plugin-topic-tags
      2020-12-23T18:20:38.704Z [4567/7608] - error: Error: Cannot find module './meta'
      Require stack:
      - /opt/nodebb/src/plugins/index.js
      - /opt/nodebb/src/meta/configs.js
      - /opt/nodebb/src/meta/index.js
      - /opt/nodebb/src/start.js
      - /opt/nodebb/require-main.js
      - /opt/nodebb/app.js
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
          at Function.Module._load (internal/modules/cjs/loader.js:725:27)
          at Module.require (internal/modules/cjs/loader.js:952:19)
          at Object.<anonymous> (/opt/nodebb/node_modules/nodebb-plugin-topic-tags/library.js:3:26)
          at Module._compile (internal/modules/cjs/loader.js:1063:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
          at Module.load (internal/modules/cjs/loader.js:928:32)
          at Function.Module._load (internal/modules/cjs/loader.js:769:14)
          at Module.require (internal/modules/cjs/loader.js:952:19)
          at require (internal/modules/cjs/helpers.js:88:18)
      2020-12-23T18:20:38.708Z [4567/7608] - warn:    [plugins/nodebb-plugin-poll2] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      2020-12-23T18:20:38.709Z [4567/7608] - warn: [plugins] Unable to load library for: nodebb-plugin-poll2
      2020-12-23T18:20:38.709Z [4567/7608] - error: Error: Cannot find module './database'
      Require stack:
      - /opt/nodebb/src/plugins/index.js
      - /opt/nodebb/src/meta/configs.js
      - /opt/nodebb/src/meta/index.js
      - /opt/nodebb/src/start.js
      - /opt/nodebb/require-main.js
      - /opt/nodebb/app.js
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
          at Function.Module._load (internal/modules/cjs/loader.js:725:27)
          at Module.require (internal/modules/cjs/loader.js:952:19)
          at /opt/nodebb/node_modules/nodebb-plugin-poll2/lib/nodebb.js:5:14
          at Object.<anonymous> (/opt/nodebb/node_modules/nodebb-plugin-poll2/lib/nodebb.js:21:2)
          at Module._compile (internal/modules/cjs/loader.js:1063:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
          at Module.load (internal/modules/cjs/loader.js:928:32)
          at Function.Module._load (internal/modules/cjs/loader.js:769:14)
          at Module.require (internal/modules/cjs/loader.js:952:19)
      2020-12-23T18:20:38.868Z [4567/7608] - info: [api] Adding 0 route(s) to `api/v3/plugins`
      2020-12-23T18:20:38.889Z [4567/7608] - info: Routes added
      2020-12-23T18:20:38.893Z [4567/7608] - info: NodeBB Ready
      2020-12-23T18:20:38.895Z [4567/7608] - info: Enabling 'trust proxy'
      2020-12-23T18:20:38.898Z [4567/7608] - info: NodeBB is now listening on: 0.0.0.0:4567
      
      posted in Technical Support
      tecy
      tecy
    • RE: Errors when updating from latest 1.15 to 1.16

      @pitaj

      git status
      On branch v1.16.x
      Your branch is up to date with 'origin/v1.16.x'.
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      
              dump/
              public/error_docs/
              public/robots.txt
      
      nothing added to commit but untracked files present (use "git add" to track)
      
      posted in Technical Support
      tecy
      tecy
    • RE: Errors when updating from latest 1.15 to 1.16

      git status seems to be ok.
      Is giving me just some files I changed in "public".

      ./nodebb build
      gives me the same output as ./nodebb upgrade

      $ /opt/nodebb# ./nodebb build
        started
      2020-12-23T16:23:42.459Z [4567/4845] - info: [build] Building in parallel mode
      2020-12-23T16:23:42.461Z [4567/4845] - info: [build]         plugin static dirs  build started
      2020-12-23T16:23:42.464Z [4567/4845] - info: [build]          requirejs modules  build started
      2020-12-23T16:23:42.465Z [4567/4845] - info: [build]           client js bundle  build started
      2020-12-23T16:23:42.539Z [4567/4845] - info: [build]            admin js bundle  build started
      2020-12-23T16:23:42.540Z [4567/4845] - info: [build]         client side styles  build started
      2020-12-23T16:23:42.541Z [4567/4845] - info: [build] admin control panel styles  build started
      2020-12-23T16:23:42.546Z [4567/4845] - info: [build]                  templates  build started
      2020-12-23T16:23:42.548Z [4567/4845] - info: [build]                  languages  build started
      2020-12-23T16:23:44.506Z [4567/4845] - info: [build]         plugin static dirs  build completed in 2.044sec
      2020-12-23T16:23:58.373Z [4567/4845] - info: [build]            admin js bundle  build completed in 15.833sec
      2020-12-23T16:23:58.383Z [4567/4845] - info: [build]           client js bundle  build completed in 15.918sec
      2020-12-23T16:23:59.740Z [4567/4845] - info: [build]          requirejs modules  build completed in 17.276sec
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> poll/creator.tpl:13:73
            |
         13 |         <input type="text" name="options[]" id="pollInputOptions" value="@value" class="form-control"/>
            |                                                                          ^^^^^^ help: wrap this in curly braces: `{@value}`
            | note: This will become an error in the v3.0.0
      
      [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 the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> partials/flags/filters.tpl:68:21
            |
         68 |                                                 <option value="@key">@value</option>
            |                                                                ^^^^ help: wrap this in curly braces: `{@key}`
            | note: This will become an error in the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> partials/flags/filters.tpl:68:27
            |
         68 |                                                 <option value="@key">@value</option>
            |                                                                      ^^^^^^ help: wrap this in curly braces: `{@value}`
            | note: This will become an error in the 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 the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> categories.tpl:5:37
            |
          5 |                 <meta itemprop="position" content="@index" />
            |                                                    ^^^^^^ help: wrap this in curly braces: `{@index}`
            | note: This will become an error in the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the v3.0.0
      
      2020-12-23T16:24:01.497Z [4567/4845] - info: [build]                  languages  build completed in 18.948sec
      [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 the 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 the 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 the 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 the 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 the v3.0.0
      
      [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 the 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 the 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 the 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 the 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 the 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 the 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 the v3.0.0
      
      2020-12-23T16:24:01.587Z [4567/4845] - info: [build]         client side styles  build completed in 19.047sec
      [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 the 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 the 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 the 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 the 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 the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> flags/list.tpl:90:21
            |
         90 |                                                 <option value="@key">@value</option>
            |                                                                ^^^^ help: wrap this in curly braces: `{@key}`
            | note: This will become an error in the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> flags/list.tpl:90:27
            |
         90 |                                                 <option value="@key">@value</option>
            |                                                                      ^^^^^^ help: wrap this in curly braces: `{@value}`
            | note: This will become an error in the 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 the 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 the 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 the 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 the 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 the 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 the v3.0.0
      
      2020-12-23T16:24:01.646Z [4567/4845] - info: [build] admin control panel styles  build completed in 19.105sec
      [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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the v3.0.0
      
      [benchpress] warning: keyword outside an interpolation token is deprecated
           --> category.tpl:9:37
            |
          9 |                 <meta itemprop="position" content="@index" />
            |                                                    ^^^^^^ help: wrap this in curly braces: `{@index}`
            | note: This will become an error in the 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 the v3.0.0
      
      2020-12-23T16:24:01.737Z [4567/4845] - info: [build]                  templates  build completed in 19.191sec
      2020-12-23T16:24:01.739Z [4567/4845] - info: [build] Asset compilation successful. Completed in 19.277sec.
      ``
      posted in Technical Support
      tecy
      tecy
    • RE: Errors when updating from latest 1.15 to 1.16

      @tecy
      Ok, what I definetly can say , that the following modules are missing:

      • assets/src/modules/timeago/jquery.timeago.js?v=enhebbeqf8a
      • /assets/src/modules/timeago/jquery.timeago.js?v=enhebbeqf8a

      Why is that?
      puzzled

      When I start ./nodebb start slog I get the following errors:

       /opt/nodebb# ./nodebb start
      
      Starting NodeBB
        "./nodebb stop" to stop the NodeBB server
        "./nodebb log" to view server output
        "./nodebb help" for more commands
      
      /opt/nodebb# ./nodebb log 
      
      Hit Ctrl-C to exit
      
      [cluster] Child Process (23863) has exited (code: 0, signal: null)
      
      NodeBB v1.16.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).
      
      2020-12-23T16:27:54.696Z [4567/5010] - info: Initializing NodeBB v1.16.0 https://forum.domain
      2020-12-23T16:27:57.071Z [4567/5010] - info: [socket.io] Restricting access to origin: https://forum.domain:*
      2020-12-23T16:27:57.176Z [4567/5010] - warn:    [plugins/nodebb-theme-vanilla] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      (node:5010) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      2020-12-23T16:27:57.728Z [4567/5010] - warn:    [plugins/nodebb-plugin-topic-tags] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      2020-12-23T16:27:57.729Z [4567/5010] - warn: [plugins] Unable to load library for: nodebb-plugin-topic-tags
      2020-12-23T16:27:57.729Z [4567/5010] - error: Error: Cannot find module './meta'
      Require stack:
      - /opt/nodebb/src/plugins/index.js
      - /opt/nodebb/src/meta/configs.js
      - /opt/nodebb/src/meta/index.js
      - /opt/nodebb/src/start.js
      - /opt/nodebb/require-main.js
      - /opt/nodebb/app.js
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
          at Function.Module._load (node:internal/modules/cjs/loader:769:27)
          at Module.require (node:internal/modules/cjs/loader:997:19)
          at Object.<anonymous> (/opt/nodebb/node_modules/nodebb-plugin-topic-tags/library.js:3:26)
          at Module._compile (node:internal/modules/cjs/loader:1108:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
          at Module.load (node:internal/modules/cjs/loader:973:32)
          at Function.Module._load (node:internal/modules/cjs/loader:813:14)
          at Module.require (node:internal/modules/cjs/loader:997:19)
          at require (node:internal/modules/cjs/helpers:92:18)
      2020-12-23T16:27:57.732Z [4567/5010] - warn:    [plugins/nodebb-plugin-poll2] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
      2020-12-23T16:27:57.734Z [4567/5010] - warn: [plugins] Unable to load library for: nodebb-plugin-poll2
      2020-12-23T16:27:57.734Z [4567/5010] - error: Error: Cannot find module './database'
      Require stack:
      - /opt/nodebb/src/plugins/index.js
      - /opt/nodebb/src/meta/configs.js
      - /opt/nodebb/src/meta/index.js
      - /opt/nodebb/src/start.js
      - /opt/nodebb/require-main.js
      - /opt/nodebb/app.js
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
          at Function.Module._load (node:internal/modules/cjs/loader:769:27)
          at Module.require (node:internal/modules/cjs/loader:997:19)
          at /opt/nodebb/node_modules/nodebb-plugin-poll2/lib/nodebb.js:5:14
          at Object.<anonymous> (/opt/nodebb/node_modules/nodebb-plugin-poll2/lib/nodebb.js:21:2)
          at Module._compile (node:internal/modules/cjs/loader:1108:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
          at Module.load (node:internal/modules/cjs/loader:973:32)
          at Function.Module._load (node:internal/modules/cjs/loader:813:14)
          at Module.require (node:internal/modules/cjs/loader:997:19)
      2020-12-23T16:27:57.862Z [4567/5010] - info: [api] Adding 0 route(s) to `api/v3/plugins`
      2020-12-23T16:27:57.877Z [4567/5010] - info: Routes added
      2020-12-23T16:27:57.881Z [4567/5010] - info: NodeBB Ready
      2020-12-23T16:27:57.882Z [4567/5010] - info: Enabling 'trust proxy'
      2020-12-23T16:27:57.884Z [4567/5010] - info: NodeBB is now listening on: 0.0.0.0:4567
      

      Sorry forgot to post the versions of my system:

      • Ubuntu 18.04 LTS
      • npm: 7.3.0
      • node: 15.5.0
      • nodeBB 1.16.0
      • mongo 3.6.3
      posted in Technical Support
      tecy
      tecy
    • Errors when updating from latest 1.15 to 1.16

      Hi all,
      I sucessfully updated my froum from latest 1.15 to 1.16.

      But I have some weared errors, mainly JS Errors:

      serializer.js:17 Uncaught TypeError: t is not a function
          at serializer.js:17
          at serializer.js:4
      (anonymous) @ serializer.js:17
      (anonymous) @ serializer.js:4
      
      GET /assets/src/modules/bootbox.js?v=enhebbeqf8a net::ERR_ABORTED 404 require.js:1961 GET /assets/src/modules/bootbox.js?v=enhebbeqf8a net::ERR_ABORTED 404
      req.load @ require.js:1961
      
      require.js:168 Uncaught Error: Script error for "timeago/jquery.timeago"
      https://requirejs.org/docs/errors.html#scripterror
          at makeError (require.js:168)
          at HTMLScriptElement.onScriptError (require.js:1738)
      
      service-worker.js:1 Uncaught (in promise) TypeError: Failed to fetch service-worker.js:1 
      

      Seems there are errors mostly with jQuery, bootbox and timeago.

      The posts are displayed not as interpreted HTML, but as "Code" HTML.

      Never had that before - could anyone assist?
      Thanks.

      Sorry forgot to post the versions of my system:

      • Ubuntu 18.04 LTS
      • npm: 7.3.0
      • node: 15.5.0
      • nodeBB 1.16.0
      • mongo 3.6.3
      posted in Technical Support
      tecy
      tecy
    • RE: Update from 1.13.2 to 1.14.2 error in npm module "sitemap"

      You made my day! šŸ™‚ šŸ‘
      I think I need to take more care of the versions ... šŸ˜‰

      Is there any chance I can buy you a coffee or a beer,
      to value your work?

      posted in Technical Support
      tecy
      tecy
    • RE: Update from 1.13.2 to 1.14.2 error in npm module "sitemap"
      node -v
      v8.17.0
      
      posted in Technical Support
      tecy
      tecy
    • RE: Update from 1.13.2 to 1.14.2 error in npm module "sitemap"

      Hi @baris
      this is my result:

      /opt/nodebb# npm ls sitemap
      nodebb@1.14.2 /opt/nodebb
      └── sitemap@6.2.0 
      

      Folder rights of all modules in node_modules are good:

      • nodebb:nodebb

      That seems to be all right, as this user, ist the user nodebb has been installed with.

      posted in Technical Support
      tecy
      tecy
    • Update from 1.13.2 to 1.14.2 error in npm module "sitemap"

      Hi folks,

      I upgraded my nodebb forum from 1.13.2 to 1.14.2 after the update instructions from nodebb :

      • https://docs.nodebb.org/configuring/upgrade/

      I followed the instructions closely.
      When I do ./nodebb start and then ./nodebb log I am getting the following error:

      ./nodebb start
      ./nodebb log
      
      [cluster] Child Process (27282) has exited (code: 0, signal: null)
      
      NodeBB v1.14.2 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).
      
      2020-07-30T19:09:15.630Z [4567/27471] - info: Initializing NodeBB v1.14.2 
      2020-07-30T19:09:19.657Z [4567/27471] - error: TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
          at Object.promisify (internal/util.js:214:11)
          at Object.<anonymous> (/opt/nodebb/node_modules/sitemap/dist/lib/sitemap-simple.js:11:25)
          at Module._compile (module.js:653:30)
          at Object.Module._extensions..js (module.js:664:10)
          at Module.load (module.js:566:32)
          at tryModuleLoad (module.js:506:12)
          at Function.Module._load (module.js:498:3)
          at Module.require (module.js:597:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/opt/nodebb/node_modules/sitemap/dist/index.js:42:24)
      [cluster] Child Process (27471) has exited (code: 0, signal: null)
      

      Could somebody please enlighten me. šŸ¤” ā“
      I have no idea why this error appears now. It did not in 1.13.2.

      I tried to rename the npm module "sitemap" to "__sitemap"
      but then nodebb is missing the folder ... šŸ˜ž
      Stupid idea - I know - but I thought I could give it a try, before writing here šŸ™‚

      Kind regards
      tecy

      posted in Technical Support
      tecy
      tecy