
Best posts made by wwcdgm
-
Upgraded to 1.13.1 and found a problem in the management platform.
[> _JSON] Clicked is invalid, showing the code content.
url:
http://127.0.0.1:4567/api/admin/analytics&type=hourly{"path":"/admin/analytics&type=hourly","title":"[[global:404.title]]"}
This problem also exists with newly installed nodebb.
what is this? It seems like something went wrong.
How to deal with it?
Latest posts made by wwcdgm
-
RE: Upgraded to 1.13.1 and found a problem in the management platform.
A lot of invalid data was found in [Log]:
2020-01-04T14:08:11.010Z [4567/3768] - [31merror[39m: [acp] Failed to fetch latest versionESOCKETTIMEDOUT {"code":"ESOCKETTIMEDOUT","connect":false,"stack":"Error: ESOCKETTIMEDOUT\n at ClientRequest.<anonymous> (D:\\nodebb\\node_modules\\request\\request.js:816:19)\n at Object.onceWrapper (events.js:273:13)\n at ClientRequest.emit (events.js:182:13)\n at TLSSocket.emitRequestTimeout (_http_client.js:662:40)\n at Object.onceWrapper (events.js:273:13)\n at TLSSocket.emit (events.js:182:13)\n at TLSSocket.Socket._onTimeout (net.js:453:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)"} 2020-01-04T14:08:13.113Z [4567/3768] - [31merror[39m: /api/admin/analytics Invalid data {"stack":"Error: Invalid data\n at dashboardController.getAnalytics (D:\\nodebb\\src\\controllers\\admin\\dashboard.js:83:15)\n at D:\\nodebb\\src\\routes\\helpers.js:21:11\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at next (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:137:13)\n at authenticate (D:\\nodebb\\src\\middleware\\user.js:21:11)\n at middlewareAuthenticate (D:\\nodebb\\src\\middleware\\user.js:47:3)\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at next (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:137:13)\n at Route.dispatch (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:112:3)\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)"} 2020-01-04T14:19:52.276Z [4567/3768] - [31merror[39m: /api/admin/analytics Invalid data {"stack":"Error: Invalid data\n at dashboardController.getAnalytics (D:\\nodebb\\src\\controllers\\admin\\dashboard.js:83:15)\n at D:\\nodebb\\src\\routes\\helpers.js:21:11\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at next (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:137:13)\n at authenticate (D:\\nodebb\\src\\middleware\\user.js:21:11)\n at middlewareAuthenticate (D:\\nodebb\\src\\middleware\\user.js:47:3)\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at next (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:137:13)\n at Route.dispatch (D:\\nodebb\\node_modules\\express\\lib\\router\\route.js:112:3)\n at Layer.handle [as handle_request] (D:\\nodebb\\node_modules\\express\\lib\\router\\layer.js:95:5)"}
-
Upgraded to 1.13.1 and found a problem in the management platform.
[> _JSON] Clicked is invalid, showing the code content.
url:
http://127.0.0.1:4567/api/admin/analytics&type=hourly{"path":"/admin/analytics&type=hourly","title":"[[global:404.title]]"}
This problem also exists with newly installed nodebb.
what is this? It seems like something went wrong.
How to deal with it?
-
Excuse me, how to set a nodebb two domain address.
Domain 1: abc.com
Domain 2: abc.net
I hope they all point to the same nodebbThe first domain name is set and can be used normally.
How can the second domain be coexisted with the first domain?
I can't find a discussion in google, and there is no answer to the help documentation. I use nginx, please.