The entire error below. I've been searching for some clues, but coming up empty handed and hoping someone can help. This is a fresh install on a debian 10 server.
2020-04-17T16:33:02.636Z [26376] - error: [build] admin control panel styles build failed 2020-04-17T16:33:02.639Z [26376] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error: Error: socket hang up {"type":"File","filename":"/var/www/nodebb/nodebb/public/less/admin/paper/bootswatch.less","index":87,"line":5,"column":0,"callLine":null,"extract":["","@import url(\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\");",""]} ==================================================================================================================================== 2020-04-17T16:33:02.647Z [26376] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error: Error: socket hang up {"type":"File","filename":"/var/www/nodebb/nodebb/public/less/admin/paper/bootswatch.less","index":87,"line":5,"column":0,"callLine":null,"extract":["","@import url(\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\");",""]} (node:26376) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:26376) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.Clean install cannot GET /
-
After my first test setup with redis ended with the dreaded "cannot GET /" with no further error messages I decided to start over with Mongo. Unfortunately it appears I get the same error message with a clean install.
CentOS Linux release 7.2.1511
mongodb-org-server-3.2.4-1.el7.x86_64
Node v0.12.12Log:
Clustering enabled: Spinning up 1 process(es). 10/3 04:55 [20982] - info: Time: Thu Mar 10 2016 04:55:56 GMT-0500 (EST) 10/3 04:55 [20982] - info: Initializing NodeBB v1.0.0 10/3 04:55 [20982] - info: [database] Checking database indices. 10/3 04:56 [20982] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store. 10/3 04:56 [20982] - warn: [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. * nodebb-theme-persona * nodebb-plugin-mentions 10/3 04:56 [20982] - info: NodeBB Ready 10/3 04:56 [20982] - info: Enabling 'trust proxy' 10/3 04:56 [20982] - info: NodeBB is now listening on: 0.0.0.0:4567
config.json:
{ "url": "http://localhost:4567", "secret": "thereusedtobeasecrethere", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "password": "thereusedtobeapasswordhere", "database": "nodebb" } }
Is there in general anything I can do to debug the "cannot GET /" error?
#edit: The forum works in dev mode after a clean install (./nodebb dev)
-
I had no problem, until i changed the theme to that card one and added forum stats to my widget, now i keep getting "cannot get" and cannot get back into the admin area.
EDIT: it seems i got back in and removed forum stats from the widget, now error is gone. are you trying to load them?
-
@ViolentCrumble for me it works fine. No matter which widgets I use. So the issue must be another one.
-
{
"url": "http://psych-gaming.com",
"secret": "que",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "nodebb",
"password": "paswordishere",
"database": "nodebb"
}
}i tried getting rid of the stats widget, still not working.
what happens differently when you start in dev mode, seems weird it works fine in dev but not normalbtw, im on digital ocean running ubuntu