NodeBB 3.4.0
-
@baris here's the original warning:
(node:2339958) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake. at node:internal/util:443:17 at new Promise (<anonymous>) at Object.buildHeaderAsync (node:internal/util:428:12) at exports.send404 (/var/www/vhosts/mysite.com/NodeBB/src/controllers/404.js:62:19) at handle404 (/var/www/vhosts/mysite.com/NodeBB/src/controllers/404.js:41:11) at Layer.handle [as handle_request] (/var/www/vhosts/mysite.com/NodeBB/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/var/www/vhosts/mysite.com/NodeBB/node_modules/express/lib/router/index.js:328:13) at /var/www/vhosts/mysite.com/NodeBB/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/var/www/vhosts/mysite.com/NodeBB/node_modules/express/lib/router/index.js:346:12) at next (/var/www/vhosts/mysite.com/NodeBB/node_modules/express/lib/router/index.js:280:10)
-
Hello, I am currently using 3.5.0 and this message is currently spamming the log.
(node:37195) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake. (node:37195) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake. (node:37195) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
-
@stationary_code see the post https://community.nodebb.org/post/96530 and start nodebb with that flag, then it should show you the stack trace.
-
@baris thanks @baris , that warning is gone, but we have this long list every time restarting the forum... is this normal?
started 2023-11-09T17:06:11.039Z [4567/441810] - [32minfo[39m: [build] Building in series mode 2023-11-09T17:06:11.040Z [4567/441810] - [32minfo[39m: [build] plugin static dirs build started 2023-11-09T17:06:11.051Z [4567/441810] - [32minfo[39m: [build] plugin static dirs build completed in 0.011sec 2023-11-09T17:06:11.051Z [4567/441810] - [32minfo[39m: [build] requirejs modules build started 2023-11-09T17:06:11.153Z [4567/441810] - [32minfo[39m: [build] requirejs modules build completed in 0.102sec 2023-11-09T17:06:11.154Z [4567/441810] - [32minfo[39m: [build] client js bundle build started 2023-11-09T17:06:11.161Z [4567/441810] - [32minfo[39m: [build] client js bundle build completed in 0.007sec 2023-11-09T17:06:11.162Z [4567/441810] - [32minfo[39m: [build] admin js bundle build started 2023-11-09T17:06:11.166Z [4567/441810] - [32minfo[39m: [build] admin js bundle build completed in 0.004sec 2023-11-09T17:06:11.167Z [4567/441810] - [32minfo[39m: [build] client side styles build started 2023-11-09T17:06:15.527Z [4567/441810] - [32minfo[39m: [build] client side styles build completed in 4.36sec 2023-11-09T17:06:15.528Z [4567/441810] - [32minfo[39m: [build] admin control panel styles build started 2023-11-09T17:06:17.884Z [4567/441810] - [32minfo[39m: [build] admin control panel styles build completed in 2.356sec 2023-11-09T17:06:17.884Z [4567/441810] - [32minfo[39m: [build] templates build started 2023-11-09T17:06:18.633Z [4567/441810] - [32minfo[39m: [build] templates build completed in 0.749sec 2023-11-09T17:06:18.633Z [4567/441810] - [32minfo[39m: [build] languages build started 2023-11-09T17:06:21.053Z [4567/441810] - [32minfo[39m: [build] languages build completed in 2.42sec 2023-11-09T17:06:21.053Z [4567/441810] - [32minfo[39m: [build] Bundling with Webpack. [2K[1A[2K[G[1%] setup (before run) [2K[1A[2K[G[1%] setup (before run NodeEnvironmentPlugin) [2K[1A[2K[G[1%] setup (before run) [2K[1A[2K[G[2%] setup (run) [2K[1A[2K[G[4%] setup (normal module factory) [2K[1A[2K[G[5%] setup (context module factory) [2K[1A[2K[G[6%] setup (before compile) [2K[1A[2K[G[6%] setup (before compile ProgressPlugin) [2K[1A[2K[G[6%] setup (before compile) [2K[1A[2K[G[7%] setup (compile) [2K[1A[2K[G[7%] setup (compile ExternalsPlugin) [2K[1A[2K[G[7%] setup (compile) [2K[1A[2K[G[8%] setup (compilation) [2K[1A[2K[G[8%] setup (compilation ArrayPushCallbackChunkFormatPlugin) [2K[1A[2K[G[8%] setup (compilation JsonpChunkLoadingPlugin) [2K[1A[2K[G[8%] setup (compilation StartupChunkDependenciesPlugin) [2K[1A[2K[G[8%] setup (compilation ImportScriptsChunkLoadingPlugin) [2K[1A[2K[G[8%] setup (compilation FetchCompileWasmPlugin) [2K[1A[2K[G[8%] setup (compilation FetchCompileAsyncWasmPlugin) [2K[1A[2K[G[8%] setup (compilation WorkerPlugin) [2K[1A[2K[G[8%] setup (compilation SplitChunksPlugin) [2K[1A[2K[G[8%] setup (compilation ResolverCachePlugin) [2K[1A[2K[G[8%] setup (compilation) [2K[1A[2K[G[9%] setup (compilation) [2K[1A[2K[G[9%] setup (compilation ProgressPlugin) [2K[1A[2K[G[9%] setup (compilation ChunkPrefetchPreloadPlugin) [2K[1A[2K[G[9%] setup (compilation JavascriptModulesPlugin) [2K[1A[2K[G[9%] setup (compilation JsonModulesPlugin) [2K[1A[2K[G[9%] setup (compilation AssetModulesPlugin) [2K[1A[2K[G[9%] setup (compilation EntryPlugin) [2K[1A[2K[G[9%] setup (compilation RuntimePlugin) [2K[1A[2K[G[9%] setup (compilation InferAsyncModulesPlugin) [2K[1A[2K[G[9%] setup (compilation DataUriPlugin) [2K[1A[2K[G[9%] setup (compilation FileUriPlugin) [2K[1A[2K[G[9%] setup (compilation CompatibilityPlugin) [2K[1A[2K[G[9%] setup (compilation HarmonyModulesPlugin) [2K[1A[2K[G[9%] setup (compilation AMDPlugin) [2K[1A[2K[G[9%] setup (compilation RequireJsStuffPlugin) [2K[1A[2K[G[9%] setup (compilation CommonJsPlugin) [2K[1A[2K[G[9%] setup (compilation LoaderPlugin) [2K[1A[2K[G[9%] setup (compilation NodeStuffPlugin) [2K[1A[2K[G[9%] setup (compilation APIPlugin) [2K[1A[2K[G[9%] setup (compilation ExportsInfoApiPlugin) [2K[1A[2K[G[9%] setup (compilation WebpackIsIncludedPlugin) [2K[1A[2K[G[9%] setup (compilation ConstPlugin) [2K[1A[2K[G[9%] setup (compilation UseStrictPlugin) [2K[1A[2K[G[9%] setup (compilation RequireIncludePlugin) [2K[1A[2K[G[9%] setup (compilation RequireEnsurePlugin) [2K[1A[2K[G[9%] setup (compilation RequireContextPlugin) [2K[1A[2K[G[9%] setup (compilation ImportPlugin) [2K[1A[2K[G[9%] setup (compilation ImportMetaContextPlugin) [2K[1A[2K[G[9%] setup (compilation SystemPlugin) [2K[1A[2K[G[9%] setup (compilation ImportMetaPlugin) [2K[1A[2K[G[9%] setup (compilation URLPlugin) [2K[1A[2K[G[9%] setup (compilation DefaultStatsFactoryPlugin) [2K[1A[2K[G[9%] setup (compilation DefaultStatsPresetPlugin) [2K[1A[2K[G[9%] setup (compilation DefaultStatsPrinterPlugin) [2K[1A[2K[G[9%] setup (compilation JavascriptMetaInfoPlugin) [2K[1A[2K[G[9%] setup (compilation EnsureChunkConditionsPlugin) [2K[1A[2K[G[9%] setup (compilation RemoveEmptyChunksPlugin) [2K[1A[2K[G[9%] setup (compilation MergeDuplicateChunksPlugin) [2K[1A[2K[G[9%] setup (compilation FlagIncludedChunksPlugin) [2K[1A[2K[G[9%] setup (compilation SideEffectsFlagPlugin) [2K[1A[2K[G[9%] setup (compilation FlagDependencyExportsPlugin) [2K[1A[2K[G[9%] setup (compilation FlagDependencyUsagePlugin) [2K[1A[2K[G[9%] setup (compilation InnerGraphPlugin) [2K[1A[2K[G[9%] setup (compilation MangleExportsPlugin) [2K[1A[2K[G[9%] setup (compilation ModuleConcatenationPlugin) [2K[1A[2K[G[9%] setup (compilation NoEmitOnErrorsPlugin) [2K[1A[2K[G[9%] setup (compilation RealContentHashPlugin) [2K[1A[2K[G[9%] setup (compilation WasmFinalizeExportsPlugin) [2K[1A[2K[G[9%] setup (compilation DeterministicModuleIdsPlugin) [2K[1A[2K[G[9%] setup (compilation DeterministicChunkIdsPlugin) [2K[1A[2K[G[9%] setup (compilation DefinePlugin) [2K[1A[2K[G[9%] setup (compilation TerserPlugin) [2K[1A[2K[G[9%] setup (compilation TemplatedPathPlugin) [2K[1A[2K[G[9%] setup (compilation RecordIdsPlugin) [2K[1A[2K[G[9%] setup (compilation WarnCaseSensitiveModulesPlugin) [2K[1A[2K[G[9%] setup (compilation) [2K[1A[2K[G[10%] building [2K[1A[2K[G[10%] building (0/0 modules) [2K[1A[2K[G[10%] building (0/5 modules) [2K[1A[2K[G[10%] building (7/573 modules) [2K[1A[2K[G[10%] building (200/627 modules) [2K[1A[2K[G[10%] building (403/644 modules) [2K[1A[2K[G[10%] building (441/688 modules) [2K[1A[2K[G[10%] building (import loader file-loader/dist/cjs.js) [2K[1A[2K[G[10%] building (542/708 modules) [2K[1A[2K[G[10%] building (600/797 modules) [2K[1A[2K[G[10%] building (741/847 modules) [2K[1A[2K[G[10%] building (940/1135 modules) [2K[1A[2K[G[38%] building (1185/1186 modules) [2K[1A[2K[G[65%] building (1186/1186 modules) [2K[1A[2K[G[65%] building [2K[1A[2K[G[69%] building (finish) [2K[1A[2K[G[70%] sealing (finish module graph) [2K[1A[2K[G[70%] sealing (finish module graph ResolverCachePlugin) [2K[1A[2K[G[70%] sealing (finish module graph InferAsyncModulesPlugin) [2K[1A[2K[G[70%] sealing (finish module graph FlagDependencyExportsPlugin) [2K[1A[2K[G[70%] sealing (finish module graph InnerGraphPlugin) [2K[1A[2K[G[70%] sealing (finish module graph WasmFinalizeExportsPlugin) [2K[1A[2K[G[70%] sealing (finish module graph) [2K[1A[2K[G[71%] sealing (plugins) [2K[1A[2K[G[71%] sealing (plugins WarnCaseSensitiveModulesPlugin) [2K[1A[2K[G[71%] sealing (plugins) [2K[1A[2K[G[71%] sealing (dependencies optimization) [2K[1A[2K[G[71%] sealing (dependencies optimization SideEffectsFlagPlugin) [2K[1A[2K[G[71%] sealing (dependencies optimization FlagDependencyUsagePlugin) [2K[1A[2K[G[71%] sealing (dependencies optimization) [2K[1A[2K[G[72%] sealing (after dependencies optimization) [2K[1A[2K[G[73%] sealing (chunk graph) [2K[1A[2K[G[73%] sealing (after chunk graph) [2K[1A[2K[G[74%] sealing (optimizing) [2K[1A[2K[G[74%] sealing (module optimization) [2K[1A[2K[G[75%] sealing (after module optimization) [2K[1A[2K[G[76%] sealing (chunk optimization) [2K[1A[2K[G[76%] sealing (chunk optimization EnsureChunkConditionsPlugin) [2K[1A[2K[G[76%] sealing (chunk optimization RemoveEmptyChunksPlugin) [2K[1A[2K[G[76%] sealing (chunk optimization MergeDuplicateChunksPlugin) [2K[1A[2K[G[76%] sealing (chunk optimization SplitChunksPlugin) [2K[1A[2K[G[76%] sealing (chunk optimization RemoveEmptyChunksPlugin) [2K[1A[2K[G[76%] sealing (chunk optimization) [2K[1A[2K[G[76%] sealing (after chunk optimization) [2K[1A[2K[G[77%] sealing (module and chunk tree optimization) [2K[1A[2K[G[78%] sealing (after module and chunk tree optimization) [2K[1A[2K[G[78%] sealing (chunk modules optimization) [2K[1A[2K[G[78%] sealing (chunk modules optimization ModuleConcatenationPlugin) [2K[1A[2K[G[78%] sealing (chunk modules optimization) [2K[1A[2K[G[79%] sealing (after chunk modules optimization) [2K[1A[2K[G[80%] sealing (module reviving) [2K[1A[2K[G[80%] sealing (module reviving RecordIdsPlugin) [2K[1A[2K[G[80%] sealing (module reviving) [2K[1A[2K[G[80%] sealing (before module ids) [2K[1A[2K[G[81%] sealing (module ids) [2K[1A[2K[G[81%] sealing (module ids DeterministicModuleIdsPlugin) [2K[1A[2K[G[81%] sealing (module ids) [2K[1A[2K[G[82%] sealing (module id optimization) [2K[1A[2K[G[82%] sealing (module id optimization) [2K[1A[2K[G[83%] sealing (chunk reviving) [2K[1A[2K[G[83%] sealing (chunk reviving RecordIdsPlugin) [2K[1A[2K[G[83%] sealing (chunk reviving) [2K[1A[2K[G[83%] sealing (before chunk ids) [2K[1A[2K[G[84%] sealing (chunk ids) [2K[1A[2K[G[84%] sealing (chunk ids DeterministicChunkIdsPlugin) [2K[1A[2K[G[84%] sealing (chunk ids) [2K[1A[2K[G[85%] sealing (chunk id optimization) [2K[1A[2K[G[85%] sealing (chunk id optimization FlagIncludedChunksPlugin) [2K[1A[2K[G[85%] sealing (chunk id optimization) [2K[1A[2K[G[85%] sealing (after chunk id optimization) [2K[1A[2K[G[86%] sealing (record modules) [2K[1A[2K[G[86%] sealing (record modules RecordIdsPlugin) [2K[1A[2K[G[86%] sealing (record modules) [2K[1A[2K[G[87%] sealing (record chunks) [2K[1A[2K[G[87%] sealing (record chunks RecordIdsPlugin) [2K[1A[2K[G[87%] sealing (record chunks) [2K[1A[2K[G[87%] sealing (module hashing) [2K[1A[2K[G[88%] sealing (code generation) [2K[1A[2K[G[89%] sealing (runtime requirements) [2K[1A[2K[G[89%] sealing (hashing) [2K[1A[2K[G[90%] sealing (after hashing) [2K[1A[2K[G[91%] sealing (record hash) [2K[1A[2K[G[91%] sealing (module assets processing) [2K[1A[2K[G[92%] sealing (chunk assets processing) [2K[1A[2K[G[92%] sealing (asset processing) [2K[1A[2K[G[92%] sealing (asset processing TerserPlugin) [2K[1A[2K[G[92%] sealing (asset processing RealContentHashPlugin) [2K[1A[2K[G[92%] sealing (asset processing) [2K[1A[2K[G[93%] sealing (after asset optimization) [2K[1A[2K[G[94%] sealing (recording) [2K[1A[2K[G[94%] sealing (after seal) [2K[1A[2K[G[95%] emitting (emit) [2K[1A[2K[G[95%] emitting (emit CleanPlugin) [2K[1A[2K[G[95%] emitting (emit) [2K[1A[2K[G[98%] emitting (after emit) [2K[1A[2K[G[98%] emitting (after emit SizeLimitsPlugin) [2K[1A[2K[G[98%] emitting (after emit) [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[GBuild finished at 17:06:33 by 0.000s [2K[1A[2K[G726 assets 1212 modules WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (500 KiB). This can impact web performance. Entrypoints: admin (552 KiB) admin.min.js webpack 5.89.0 compiled with 1 warning in 11628 ms 2023-11-09T17:06:33.192Z [4567/441810] - [32minfo[39m: [build] Asset compilation successful. Completed in 22.146sec. [cluster] Restarting... Clustering enabled: Spinning up 1 process(es). 2023-11-09T17:06:33.208Z [4567/441810] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised. 2023-11-09T17:06:33.212Z [4567/441810] - [32minfo[39m: [app] Web server closed to connections. 2023-11-09T17:06:33.216Z [4567/441810] - [32minfo[39m: [app] Live analytics saved. 2023-11-09T17:06:33.224Z [4567/441810] - [32minfo[39m: [app] Database connection closed. 2023-11-09T17:06:33.224Z [4567/441810] - [32minfo[39m: [app] Shutdown complete. [cluster] Child Process (441810) has exited (code: 0, signal: null) 2023-11-09T17:06:33.494Z [4567/442082] - [32minfo[39m: Initializing NodeBB v3.5.0 https://cihan.io/forum 2023-11-09T17:06:35.012Z [4567/442082] - [32minfo[39m: [socket.io] Restricting access to origin: https://cihan.io:* 2023-11-09T17:06:35.632Z [4567/442082] - [33mwarn[39m: [helpers.setupPageRoute(/glossary)] passing `middleware` as the third param is deprecated, it can now be safely removed 2023-11-09T17:06:35.633Z [4567/442082] - [33mwarn[39m: [helpers.setupAdminPageRoute(/admin/plugins/glossary)] passing `middleware` as the third param is deprecated, it can now be safely removed 2023-11-09T17:06:35.675Z [4567/442082] - [32minfo[39m: [api] Adding 0 route(s) to `api/v3/plugins` 2023-11-09T17:06:35.696Z [4567/442082] - [32minfo[39m: [router] Routes added 2023-11-09T17:06:35.717Z [4567/442082] - [32minfo[39m: 🎉 NodeBB Ready 2023-11-09T17:06:35.720Z [4567/442082] - [32minfo[39m: 🤝 Enabling 'trust proxy' 2023-11-09T17:06:35.723Z [4567/442082] - [32minfo[39m: 📡 NodeBB is now listening on: 0.0.0.0:4567 2023-11-09T17:06:35.723Z [4567/442082] - [32minfo[39m: 🔗 Canonical URL: https://cihan.io/forum WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-control.scss 40:7 @import bootstrap/scss/_forms.scss 3:9 @import - 19:9 root stylesheet WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-select.scss 32:7 @import bootstrap/scss/_forms.scss 4:9 @import - 19:9 root stylesheet
-
hi @baris , on
.../admin/extend/rewards
page, is it possible to convert rewards panel into movable panels? if they are mobile, it would be easier to group them into sections... so we can track them easily... right now we have more than 20 rewards panel and their order never changes, depend on post count or reputation count it takes you out of one group and puts you into another one... but it is hard to keep track of them when something unexpected happens... -
@crazycells Yeah that should be possible, https://github.com/NodeBB/NodeBB/issues/12158
-
after activating all plugins and restarting we have these warnings as well, fyi... @baris
but, I do not think these are important...
2023-11-09T21:57:54.218Z [4567/447321] - [33mwarn[39m: [helpers.setupPageRoute(/glossary)] passing `middleware` as the third param is deprecated, it can now be safely removed 2023-11-09T21:57:54.219Z [4567/447321] - [33mwarn[39m: [helpers.setupAdminPageRoute(/admin/plugins/glossary)] passing `middleware` as the third param is deprecated, it can now be safely removed
2023-11-09T21:57:54.431Z [4567/447321] - [32minfo[39m: 📡 NodeBB is now listening on: 0.0.0.0:4567 WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-control.scss 40:7 @import bootstrap/scss/_forms.scss 3:9 @import - 19:9 root stylesheet WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-select.scss 32:7 @import bootstrap/scss/_forms.scss 4:9 @import - 19:9 root stylesheet
-
-
@baris I suppose this is it, in profile setting these were not ticked:
Watch Watch topics you create Watch topics that you reply to
I've since enabled these - they appear to be the behaviour I assumed would occur - surely something like this would be default user settings?