My plugins (it's just default I think):
[benchpressjs] Unable to build or find a suitable native module, falling back to JS version.
[benchpressjs] This will result in much longer template build times.
[benchpressjs] prebuilt module failed to load: linux_64
[benchpressjs] If the above module is not available at `node_modules/benchpressjs/rust/benchpress-rs/pre-built/`,
[benchpressjs] you can manually build benchpress-rs following the instructions here:
[benchpressjs] `https://github.com/benchpressjs/benchpressjs/blob/master/README.md#manually-building-native-module`
Active plugins:
* nodebb-plugin-composer-default (installed, enabled)
* nodebb-plugin-dbsearch (installed, disabled)
* nodebb-plugin-emoji (installed, enabled)
* nodebb-plugin-emoji-android (installed, enabled)
* nodebb-plugin-markdown (installed, enabled)
* nodebb-plugin-mentions (installed, enabled)
* nodebb-plugin-soundpack-default (installed, enabled)
* nodebb-plugin-spam-be-gone (installed, disabled)
* nodebb-rewards-essentials (installed, enabled)
* nodebb-theme-lavender (installed, disabled)
* nodebb-theme-persona (installed, enabled)
* nodebb-theme-slick (installed, disabled)
* nodebb-theme-vanilla (installed, disabled)
* nodebb-widget-essentials (installed, enabled)
I'm going to try Postgres soon, if that's not working, then I guess I'll look into another forum solution...
2020-05-30T14:05:05.137Z [27866] - error: [build] admin control panel styles build failed
2020-05-30T14:05:05.176Z [27866] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error:
Error: Client network socket disconnected before secure TLS connection was established
{"type":"File","filename":"/home/pi/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-05-30T14:05:05.210Z [27866] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error:
Error: Client network socket disconnected before secure TLS connection was established
{"type":"File","filename":"/home/pi/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:27866) UnhandledPromiseRejectionWarning
(node:27866) 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(). (rejection id: 1)
(node:27866) [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.
1. Follow the documentation step by step.
2. I used default values for installing Redis NodeBB.
2020-05-30T13:36:31.080Z [27866] - info: [build] Building in series mode
2020-05-30T13:36:31.175Z [27866] - info: [build] plugin static dirs build started
2020-05-30T13:36:31.705Z [27866] - info: [build] plugin static dirs build completed in 0.531sec
2020-05-30T13:36:31.712Z [27866] - info: [build] requirejs modules build started
2020-05-30T13:43:40.562Z [27866] - info: [build] requirejs modules build completed in 428.848sec
2020-05-30T13:43:40.587Z [27866] - info: [build] client js bundle build started
2020-05-30T13:47:47.307Z [27866] - info: [build] client js bundle build completed in 246.719sec
2020-05-30T13:47:47.397Z [27866] - info: [build] admin js bundle build started
2020-05-30T13:51:33.901Z [27866] - info: [build] admin js bundle build completed in 226.397sec
2020-05-30T13:51:34.085Z [27866] - info: [build] client side styles build started
2020-05-30T14:03:07.246Z [27866] - info: [build] client side styles build completed in 693.154sec
2020-05-30T14:03:07.391Z [27866] - info: [build] admin control panel styles build started
2020-05-30T14:05:05.137Z [27866] - error: [build] admin control panel styles build failed
2020-05-30T14:05:05.176Z [27866] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error
It worked fine till it entered the "admin control panel styles", blaming Google fonts.
Maybe it's because of Raspberry Pi? NodeBB Redis works on desktop, jut not on my Raspberry Pi.
For some reason the forum build process can't reach Google fonts to download that file. This is usually due to some issue in your internet connection, for instance, a firewall that blocks access.
@psychobunny I think it would be a good idea to remove roboto like we did with persona here: https://github.com/NodeBB/nodebb-theme-persona/commit/8589b5326be3de2db7dfb8855ef58a390e0d23c9
If it's removed from persona what is including it? I agree it should be removed since it also prevents building locally when you have no internet connection.
@barisusakli one of the ACP style files:
{"type":"File","filename":"/home/pi/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\");",""]}
Most helpful comment
@psychobunny I think it would be a good idea to remove roboto like we did with persona here: https://github.com/NodeBB/nodebb-theme-persona/commit/8589b5326be3de2db7dfb8855ef58a390e0d23c9