Use this code
git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.xAnd you will have the latest version without specifying it
https://docs.nodebb.org/configuring/upgrade/
@phenomlab from now like this;
but when upgrading;
@cagatay does it work if you remove this plugin, perform the upgrade, and then put it back afterwards?
@phenomlab i removed the plugin then upgraded but faced same eror…
Maybe reset permissions on all nodebb directory like this ?
chown -R yournodebbuser:yournodebbuser /home/youruser/yournodebbdirectory
chown -R nodes:nodes /home/nodes/nodebb
because I see permissions error on /home/nodes/nodebb/builds/....
in the last screenshot
And .upgrade and or rebuild nodebb
??
@DownPW yes, but we really need to understand why and how these permissions are changing.
@DownPW @cagatay I found the reason why. This plugin is in fact faulty. I installed it myself because I wanted to add that feature to Sudonix. Not only does it push socket.io through the roof (and adds at least 2 seconds lag to each transaction)
It also is impossible to remove by using the GUI - see my experience below, which is exactly the same as @cagatay
Not great. The only way to remove this cleanly is from the CLI
npm remove @nodebb/nodebb-plugin-reactions
./nodebb build
./nodebb restart
I remember flagging this a while back - it’s here
https://github.com/NodeBB/NodeBB/issues/10582
And here (one I raised)
https://github.com/NodeBB-Community/nodebb-plugin-reactions/issues/8
So, my advice is NOT to use this plugin currently as the unnecessary load it places on your forum isn’t worth the functionality it provides.
@phenomlab i dont have this plugin Mark. So the problem is currently continue.
@cagatay Sorry - my mistake.
@phenomlab not fixed yet.
@cagatay are you installing this plugin as root, or as the user running NodeBB?
@phenomlab as user.
as a root i dont want to use for Nodebb.
on the other hand the forum is working normally. it is happening just when i m upgrading.
@cagatay I’m not able to replicate this issue within my test environment. What permissions are set for the file and folders on this specific plugin?
@phenomlab its not problem as for the this moment. lets forget about it.
we should focus on v3
@cagatay I can work with that
You are getting that message because you have the three plugins below installed which all depend on nodebb-plugin-emoji so you cannot remove the main plugin without first removing those
I’ve done it for you anyway
You should be able to upgrade now.
Users can not use emoji from now how i can fix it?
@cagatay Did you reinstall the plugins? They were removed so you could complete the upgrade
yes installed but not working.
@cagatay any error messages in the logs ? Would be helpful if you could post them here.
no just now working emojies
KAYITLAR
started
2023-03-23T05:40:58.276Z [4567/190807] - [32minfo[39m: [build] Building in series mode
2023-03-23T05:40:58.277Z [4567/190807] - [32minfo[39m: [build] plugin static dirs build started
2023-03-23T05:40:58.283Z [4567/190807] - [32minfo[39m: [build] plugin static dirs build completed in 0.006sec
2023-03-23T05:40:58.284Z [4567/190807] - [32minfo[39m: [build] requirejs modules build started
2023-03-23T05:40:58.386Z [4567/190807] - [32minfo[39m: [build] requirejs modules build completed in 0.102sec
2023-03-23T05:40:58.386Z [4567/190807] - [32minfo[39m: [build] client js bundle build started
2023-03-23T05:40:58.389Z [4567/190807] - [32minfo[39m: [build] client js bundle build completed in 0.003sec
2023-03-23T05:40:58.389Z [4567/190807] - [32minfo[39m: [build] admin js bundle build started
2023-03-23T05:40:58.390Z [4567/190807] - [32minfo[39m: [build] admin js bundle build completed in 0.001sec
2023-03-23T05:40:58.390Z [4567/190807] - [32minfo[39m: [build] client side styles build started
2023-03-23T05:41:02.501Z [4567/190807] - [32minfo[39m: [build] client side styles build completed in 4.111sec
2023-03-23T05:41:02.501Z [4567/190807] - [32minfo[39m: [build] admin control panel styles build started
2023-03-23T05:41:05.371Z [4567/190807] - [32minfo[39m: [build] admin control panel styles build completed in 2.87sec
2023-03-23T05:41:05.372Z [4567/190807] - [32minfo[39m: [build] templates build started
2023-03-23T05:41:05.654Z [4567/190807] - [33mwarn[39m: [meta/templates] Partial not loaded: admin/partials/save_button.tpl
2023-03-23T05:41:06.061Z [4567/190807] - [32minfo[39m: [build] templates build completed in 0.689sec
2023-03-23T05:41:06.061Z [4567/190807] - [32minfo[39m: [build] languages build started
2023-03-23T05:41:08.012Z [4567/190807] - [32minfo[39m: [build] languages build completed in 1.951sec
2023-03-23T05:41:08.013Z [4567/190807] - [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 RequireContextPlugin)
[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/15 modules)
[2K[1A[2K[G[10%] building (10/221 modules)
[2K[1A[2K[G[10%] building (60/270 modules)
[2K[1A[2K[G[10%] building (import loader file-loader/dist/cjs.js)
[2K[1A[2K[G[10%] building (131/299 modules)
[2K[1A[2K[G[10%] building (234/427 modules)
[2K[1A[2K[G[10%] building (368/429 modules)
[2K[1A[2K[G[10%] building (577/658 modules)
[2K[1A[2K[G[38%] building (870/871 modules)
[2K[1A[2K[G[65%] building (871/871 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 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[GBuild finished at 05:41:16 by 0.000s
[2K[1A[2K[G330 assets
897 modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
6aa13e92b5cf7d479e73acdc7c05abf3.js (502 KiB)
nodebb.min.js (445 KiB)
admin.min.js (395 KiB)
4793.dcf82000e95f412bc916.min.js (565 KiB)
8522.0f42740e78005fe716a3.min.js (501 KiB)
1083.65b10fecdfacafc29c2c.min.js (800 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
nodebb (445 KiB)
nodebb.min.js
admin (395 KiB)
admin.min.js
webpack 5.75.0 compiled with 2 warnings in 8293 ms
2023-03-23T05:41:16.774Z [4567/190807] - [32minfo[39m: [build] Asset compilation successful. Completed in 18.495sec.
[cluster] Restarting…
2023-03-23T05:41:16.786Z [4567/190807] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
Clustering enabled: Spinning up 1 process(es).
2023-03-23T05:41:16.791Z [4567/190807] - [32minfo[39m: [app] Web server closed to connections.
2023-03-23T05:41:16.794Z [4567/190807] - [32minfo[39m: [app] Live analytics saved.
2023-03-23T05:41:16.798Z [4567/190807] - [32minfo[39m: [app] Database connection closed.
2023-03-23T05:41:16.798Z [4567/190807] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (190807) has exited (code: 0, signal: null)
2023-03-23T05:41:17.044Z [4567/194647] - [32minfo[39m: Initializing NodeBB v2.8.9 https://efelsefe.com
2023-03-23T05:41:18.464Z [4567/194647] - [32minfo[39m: [socket.io] Restricting access to origin: https://efelsefe.com
(node:194647) [LRU_CACHE_UNBOUNDED] UnboundedCacheWarning: TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.
(Use node --trace-warnings ...
to show where the warning was created)
2023-03-23T05:41:18.688Z [4567/194647] - [33mwarn[39m: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME
to disable it.
2023-03-23T05:41:18.707Z [4567/194647] - [33mwarn[39m: [helpers.setupAdminPageRoute(/admin/plugins/custom-pages)] passing middleware
as the third param is deprecated, it can now be safely removed
2023-03-23T05:41:18.728Z [4567/194647] - [33mwarn[39m: [helpers.setupAdminPageRoute(/admin/plugins/browsing-users)] passing middleware
as the third param is deprecated, it can now be safely removed
2023-03-23T05:41:18.728Z [4567/194647] - [33mwarn[39m: [helpers.setupPageRoute(/user-levels)] passing middleware
as the third param is deprecated, it can now be safely removed
2023-03-23T05:41:18.728Z [4567/194647] - [33mwarn[39m: [helpers.setupAdminPageRoute(/admin/plugins/user-level)] passing middleware
as the third param is deprecated, it can now be safely removed
2023-03-23T05:41:18.747Z [4567/194647] - [32minfo[39m: [api] Adding 1 route(s) to api/v3/plugins
2023-03-23T05:41:18.759Z [4567/194647] - [32minfo[39m: [router] Routes added
2023-03-23T05:41:23.760Z [4567/194647] - [33mwarn[39m: [plugins] Callback timed out, hook ‘static:privileges.categories.init’ in plugin ‘nodebb-plugin-poll’
2023-03-23T05:41:23.767Z [4567/194647] - [33mwarn[39m: [meta/blacklist] 1 invalid blacklist rule(s) were ignored.
2023-03-23T05:41:23.769Z [4567/194647] - [32minfo[39m: NodeBB Ready
2023-03-23T05:41:23.771Z [4567/194647] - [32minfo[39m: Enabling ‘trust proxy’
2023-03-23T05:41:23.773Z [4567/194647] - [32minfo[39m: NodeBB is now listening on: …
2023-03-23T05:41:23.773Z [4567/194647] - [32minfo[39m: Canonical URL: https://…