Customize plugin and NodeBB 1.13.2
-
I forgot to add logs:
[32m started[39m[0m [0m(node:12412) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:12412) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:12412) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 2020-04-17T23:13:02.263Z [9000/12412] - [32minfo[39m: [build] Building in series mode 2020-04-17T23:13:02.265Z [9000/12412] - [32minfo[39m: [build] plugin static dirs build started 2020-04-17T23:13:02.300Z [9000/12412] - [32minfo[39m: [build] plugin static dirs build completed in 0.035sec 2020-04-17T23:13:02.300Z [9000/12412] - [32minfo[39m: [build] requirejs modules build started 2020-04-17T23:13:09.120Z [9000/12412] - [32minfo[39m: [build] requirejs modules build completed in 6.82sec 2020-04-17T23:13:09.121Z [9000/12412] - [32minfo[39m: [build] client js bundle build started 2020-04-17T23:13:13.242Z [9000/12412] - [32minfo[39m: [build] client js bundle build completed in 4.121sec 2020-04-17T23:13:13.243Z [9000/12412] - [32minfo[39m: [build] admin js bundle build started 2020-04-17T23:13:16.676Z [9000/12412] - [32minfo[39m: [build] admin js bundle build completed in 3.433sec 2020-04-17T23:13:16.677Z [9000/12412] - [32minfo[39m: [build] client side styles build started 2020-04-17T23:13:26.477Z [9000/12412] - [32minfo[39m: [build] client side styles build completed in 9.8sec 2020-04-17T23:13:26.477Z [9000/12412] - [32minfo[39m: [build] admin control panel styles build started 2020-04-17T23:13:32.191Z [9000/12412] - [32minfo[39m: [build] admin control panel styles build completed in 5.714sec 2020-04-17T23:13:32.191Z [9000/12412] - [32minfo[39m: [build] templates build started 2020-04-17T23:13:44.872Z [9000/12412] - [32minfo[39m: [build] templates build completed in 12.681sec 2020-04-17T23:13:44.872Z [9000/12412] - [32minfo[39m: [build] languages build started 2020-04-17T23:14:04.196Z [9000/12412] - [32minfo[39m: [build] languages build completed in 19.324sec 2020-04-17T23:14:04.197Z [9000/12412] - [32minfo[39m: [build] sounds build started 2020-04-17T23:14:04.200Z [9000/12412] - [32minfo[39m: [build] sounds build completed in 0.003sec 2020-04-17T23:14:04.201Z [9000/12412] - [32minfo[39m: [build] Asset compilation successful. Completed in 61.936sec. 2020-04-17T23:14:04.217Z [9000/12412] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2020-04-17T23:14:04.219Z [9000/12412] - [32minfo[39m: [app] Web server closed to connections. 2020-04-17T23:14:04.220Z [9000/12412] - [32minfo[39m: [app] Live analytics saved. 2020-04-17T23:14:04.234Z [9000/12412] - [32minfo[39m: [app] Database connection closed. 2020-04-17T23:14:04.239Z [9000/12412] - [32minfo[39m: [app] Shutdown complete. 2020-04-17T23:14:04.863Z [9000/13047] - [32minfo[39m: Initializing NodeBB v1.13.2 http://XXXXX (node:13047) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:13047) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:13047) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 2020-04-17T23:14:07.833Z [9000/13047] - [32minfo[39m: [socket.io] Restricting access to origin: http://XXXX 2020-04-17T23:14:08.778Z [9000/13047] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24) 2020-04-17T23:14:08.806Z [9000/13047] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-topic-ratings/library.js:5:21) 2020-04-17T23:14:08.807Z [9000/13047] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./socket.io/topics')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-topic-ratings/library.js:7:31) 2020-04-17T23:14:08.989Z [9000/13047] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 2020-04-17T23:14:12.557Z [9000/13047] - [32minfo[39m: Routes added 2020-04-17T23:14:12.566Z [9000/13047] - [32minfo[39m: NodeBB Ready 2020-04-17T23:14:12.570Z [9000/13047] - [32minfo[39m: Enabling 'trust proxy' 2020-04-17T23:14:12.573Z [9000/13047] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:9000
-
I'd guess one of those templates changed and the customization is no longer correct.
Have you rebuilt within customize? If that doesn't work, I'd suggest recording the changes and deketing them, then trying again. Also, make sure customize is updated and nodebb has the latest version of
graceful-fs
installed. -
@PitaJ said in Customize plugin and NodeBB 1.13.2:
I'd guess one of those templates changed and the customization is no longer correct.
Have you rebuilt within customize? If that doesn't work, I'd suggest recording the changes and deketing them, then trying again. Also, make sure customize is updated and nodebb has the latest version of
graceful-fs
installed.Yes, you are right. For future reference:
I have deleted everything and re-wrote the changes... topic.tpl was still giving problems (not saving the changes), then I realized there are small changes in current topic.tpl file... So, I have re-added pagination at the top of the posts in the current topic.tpl file, saved, re-built the forum... it solved the problem...
-
@PitaJ Hi Pitaj, sorry we are still having some problems with Customize plugin...
Since, we had to upgrade unplanned (I mentioned it here) and were having some slowness in the forum... we freshly installed 1.13.2 two days ago and transferred our database, and re-build the forum... We deleted all plugins, and re-installed them again...
However, customize plugin still does not function... It has translations and template modifications in it... this time, no changes are made... We have latest version of
graceful-fs
...Any idea why this is happening? I put the customize at the top of the list, then to the bottom of the list... still no changes on the forum is made...
-
I deleted all templates, and re-made the changes... however still no change...
I deleted templates and kept the translations, however still no change...
So, we could not make it work... We have installed all plugins beside default one new...
nodebb-theme-persona nodebb-plugin-composer-default nodebb-plugin-markdown nodebb-widget-essentials nodebb-rewards-essentials nodebb-plugin-dbsearch nodebb-plugin-calendar nodebb-plugin-osm-map nodebb-plugin-dwnvtr nodebb-plugin-browsing-users nodebb-plugin-sso-facebook nodebb-plugin-sso-twitter nodebb-plugin-sso-google nodebb-plugin-google-analytics nodebb-plugin-spam-be-gone nodebb-plugin-tenor-gif nodebb-plugin-canned-responses nodebb-plugin-extended-markdown nodebb-plugin-mentions nodebb-plugin-soundpack-default nodebb-plugin-audio-embed nodebb-plugin-emoji nodebb-plugin-emoji-one nodebb-plugin-mega-colors nodebb-plugin-poll nodebb-plugin-recent-cards nodebb-plugin-btn-spoilers-yesilkart nodebb-plugin-night-mode nodebb-plugin-iframely nodebb-plugin-twitter nodebb-plugin-customize
in case it will help; this is our current plugin list with exact order...
-
Are there any errors when you build from the customize plugin page?
-
@PitaJ said in Customize plugin and NodeBB 1.13.2:
Are there any errors when you build from the customize plugin page?
none I can tell... here is the log:
[32m started[39m[0m [0m(node:17359) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17359) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17359) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 2020-04-21T21:04:09.788Z [4569/17359] - [32minfo[39m: [build] Building in series mode 2020-04-21T21:04:09.789Z [4569/17359] - [32minfo[39m: [build] plugin static dirs build started 2020-04-21T21:04:09.814Z [4569/17359] - [32minfo[39m: [build] plugin static dirs build completed in 0.025sec 2020-04-21T21:04:09.815Z [4569/17359] - [32minfo[39m: [build] requirejs modules build started 2020-04-21T21:04:15.289Z [4569/17359] - [32minfo[39m: [build] requirejs modules build completed in 5.474sec 2020-04-21T21:04:15.289Z [4569/17359] - [32minfo[39m: [build] client js bundle build started 2020-04-21T21:04:18.207Z [4569/17359] - [32minfo[39m: [build] client js bundle build completed in 2.918sec 2020-04-21T21:04:18.207Z [4569/17359] - [32minfo[39m: [build] admin js bundle build started 2020-04-21T21:04:20.499Z [4569/17359] - [32minfo[39m: [build] admin js bundle build completed in 2.292sec 2020-04-21T21:04:20.499Z [4569/17359] - [32minfo[39m: [build] client side styles build started 2020-04-21T21:04:27.553Z [4569/17359] - [32minfo[39m: [build] client side styles build completed in 7.054sec 2020-04-21T21:04:27.554Z [4569/17359] - [32minfo[39m: [build] admin control panel styles build started 2020-04-21T21:04:33.498Z [4569/17359] - [32minfo[39m: [build] admin control panel styles build completed in 5.944sec 2020-04-21T21:04:33.498Z [4569/17359] - [32minfo[39m: [build] templates build started 2020-04-21T21:04:42.161Z [4569/17359] - [32minfo[39m: [build] templates build completed in 8.663sec 2020-04-21T21:04:42.161Z [4569/17359] - [32minfo[39m: [build] languages build started 2020-04-21T21:04:50.602Z [4569/17359] - [32minfo[39m: [build] languages build completed in 8.441sec 2020-04-21T21:04:50.602Z [4569/17359] - [32minfo[39m: [build] sounds build started 2020-04-21T21:04:50.609Z [4569/17359] - [32minfo[39m: [build] sounds build completed in 0.007sec 2020-04-21T21:04:50.612Z [4569/17359] - [32minfo[39m: [build] Asset compilation successful. Completed in 40.821sec. [cluster] Restarting... 2020-04-21T21:04:50.623Z [4567/17356] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2020-04-21T21:04:50.626Z [4569/17359] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. Clustering enabled: Spinning up 3 process(es). 2020-04-21T21:04:50.628Z [4568/17357] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2020-04-21T21:04:50.648Z [4567/17356] - [32minfo[39m: [app] Web server closed to connections. 2020-04-21T21:04:50.648Z [4567/17356] - [32minfo[39m: [app] Live analytics saved. 2020-04-21T21:04:50.671Z [4567/17356] - [32minfo[39m: [app] Database connection closed. 2020-04-21T21:04:50.671Z [4567/17356] - [32minfo[39m: [app] Shutdown complete. 2020-04-21T21:04:50.679Z [4569/17359] - [32minfo[39m: [app] Web server closed to connections. 2020-04-21T21:04:50.689Z [4569/17359] - [32minfo[39m: [app] Live analytics saved. 2020-04-21T21:04:50.711Z [4568/17357] - [32minfo[39m: [app] Web server closed to connections. 2020-04-21T21:04:50.713Z [4569/17359] - [32minfo[39m: [app] Database connection closed. 2020-04-21T21:04:50.713Z [4569/17359] - [32minfo[39m: [app] Shutdown complete. 2020-04-21T21:04:50.721Z [4568/17357] - [32minfo[39m: [app] Live analytics saved. [cluster] Child Process (17356) has exited (code: 0, signal: null) 2020-04-21T21:04:50.745Z [4568/17357] - [32minfo[39m: [app] Database connection closed. 2020-04-21T21:04:50.745Z [4568/17357] - [32minfo[39m: [app] Shutdown complete. [cluster] Child Process (17357) has exited (code: 0, signal: null) [cluster] Child Process (17359) has exited (code: 0, signal: null) 2020-04-21T21:04:51.219Z [4567/17535] - [32minfo[39m: Initializing NodeBB v1.13.2 https://XXXXX (node:17535) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17535) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17535) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17542) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17542) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17542) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17536) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17536) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 (node:17536) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6 2020-04-21T21:04:53.889Z [4569/17542] - [32minfo[39m: [socket.io] Restricting access to origin: https://XXXXX:* 2020-04-21T21:04:54.082Z [4568/17536] - [32minfo[39m: [socket.io] Restricting access to origin: https://XXXXX:* 2020-04-21T21:04:54.140Z [4567/17535] - [32minfo[39m: [socket.io] Restricting access to origin: https://XXXXX:* 2020-04-21T21:04:54.620Z [4569/17542] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database' Require stack: - /home/nodebb/forum/nodebb/src/plugins/index.js - /home/nodebb/forum/nodebb/src/groups/index.js - /home/nodebb/forum/nodebb/src/user/index.js - /home/nodebb/forum/nodebb/src/events.js - /home/nodebb/forum/nodebb/src/meta/themes.js - /home/nodebb/forum/nodebb/src/meta/index.js - /home/nodebb/forum/nodebb/src/start.js - /home/nodebb/forum/nodebb/require-main.js - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24) 2020-04-21T21:04:54.705Z [4568/17536] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database' Require stack: - /home/nodebb/forum/nodebb/src/plugins/index.js - /home/nodebb/forum/nodebb/src/groups/index.js - /home/nodebb/forum/nodebb/src/user/index.js - /home/nodebb/forum/nodebb/src/events.js - /home/nodebb/forum/nodebb/src/meta/themes.js - /home/nodebb/forum/nodebb/src/meta/index.js - /home/nodebb/forum/nodebb/src/start.js - /home/nodebb/forum/nodebb/require-main.js - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24) 2020-04-21T21:04:54.900Z [4569/17542] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 2020-04-21T21:04:54.926Z [4569/17542] - [32minfo[39m: Routes added 2020-04-21T21:04:54.932Z [4569/17542] - [32minfo[39m: NodeBB Ready 2020-04-21T21:04:54.934Z [4569/17542] - [32minfo[39m: Enabling 'trust proxy' 2020-04-21T21:04:54.936Z [4569/17542] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:4569 2020-04-21T21:04:54.995Z [4567/17535] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database' Require stack: - /home/nodebb/forum/nodebb/src/plugins/index.js - /home/nodebb/forum/nodebb/src/groups/index.js - /home/nodebb/forum/nodebb/src/user/index.js - /home/nodebb/forum/nodebb/src/events.js - /home/nodebb/forum/nodebb/src/meta/themes.js - /home/nodebb/forum/nodebb/src/meta/index.js - /home/nodebb/forum/nodebb/src/start.js - /home/nodebb/forum/nodebb/require-main.js - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24) 2020-04-21T21:04:55.057Z [4568/17536] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 2020-04-21T21:04:55.082Z [4568/17536] - [32minfo[39m: Routes added 2020-04-21T21:04:55.086Z [4568/17536] - [32minfo[39m: NodeBB Ready 2020-04-21T21:04:55.089Z [4568/17536] - [32minfo[39m: Enabling 'trust proxy' 2020-04-21T21:04:55.091Z [4568/17536] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:4568 2020-04-21T21:04:55.197Z [4567/17535] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 2020-04-21T21:04:58.343Z [4567/17535] - [32minfo[39m: Routes added 2020-04-21T21:04:58.347Z [4567/17535] - [32minfo[39m: NodeBB Ready 2020-04-21T21:04:58.349Z [4567/17535] - [32minfo[39m: Enabling 'trust proxy' 2020-04-21T21:04:58.351Z [4567/17535] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:4567
-
@PitaJ I mentioned at the top, we had some problems in one of the template modifications previously (since there was change in topic.tpl between 1.12 and 1.13), that is why we wanted to uninstall and install the plugins... however it looks like, nodebb saves the configurations in the plugins...
Is there any code to specifically delete the customize plugin (or any other plugin) with its configurations, We would like to have a fresh start with this plugin... maybe it solves the problem (we could not see any other apparent reason why the plugin does not work)
-
@PitaJ said in Customize plugin and NodeBB 1.13.2:
I'd guess one of those templates changed and the customization is no longer correct.
Have you rebuilt within customize? If that doesn't work, I'd suggest recording the changes and deketing them, then trying again. Also, make sure customize is updated and nodebb has the latest version of
graceful-fs
installed.is there any other item we should check besides
graceful-fs
? -
we have solved the problem by upgrading from Debian 9 to Debian 10... Somehow this solved all the problem, we did not change anything, everything else stayed the same version (node/npm/NodeBB)... FYI...