URGENT, Cannot install on Rocky 9
-
Is it too early to understand what happened? I can document all of the steps I took. Every time I goofed something up because I could not find enough documentation, I noted that and tried again so that eventually, I had all the steps needed. However, I still ended up with these problems.. maybe others?
-
You had 2 different problems .
Your package.json had a broken version for
request-promise-native
and you didn't have indices when you restored your database.Not sure how the first one happened but the missing indices happens when you only export the objects collection from mongodb. If you want to export the whole database you can use
mongodump --db <name_of_db>
-
But how do you think it originally started?
The fact that my backup had a broken package.json means it was a while that this started ago.
The indexes, I've no idea since all I did was to restore.All looks ok now but one weird thing. I noticed there was an upgrade so I upgraded. The text showed upgrade completed without errors but on the back end, it still shows 3.1.4 upgrade available. Also, can I get back to persona now?
-
Well, I just found it crashed again. It seemed to be running fine then this.
While this seems to be OS related, the forum won't come up. I then ran 'nodebb build' and restarted it and it came up but with some errors.
2023-06-07T19:18:37.188Z [4567/1968] - 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-rewards-essentials
2023-06-07T19:18:37.545Z [4567/1968] - info: [api] Adding 1 route(s) to
api/v3/plugins
2023-06-07T19:18:37.600Z [4567/1968] - info: [router] Routes added
2023-06-07T19:18:37.612Z [4567/1968] - info: NodeBB Ready
2023-06-07T19:18:37.616Z [4567/1968] - info: Enabling 'trust proxy'
2023-06-07T19:18:37.622Z [4567/1968] - info: NodeBB is now listening on: 0.0.0.0:4567And it keeps showing warnings;
DEPRECATION WARNING on line 68, column 52 of ../../node_modules/bootswatch/dist/flatly/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 68 │ $nav-link-padding-y: .5rem !default !default; │ ^^^^^^^^ ╵ DEPRECATION WARNING on line 70, column 56 of ../../node_modules/bootswatch/dist/flatly/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 70 │ $nav-link-disabled-color: $gray-600 !default !default; │ ^^^^^^^^ ╵ DEPRECATION WARNING on line 79, column 60 of ../../node_modules/bootswatch/dist/litera/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 79 │ $input-group-addon-bg: $gray-200 !default !default; │ ^^^^^^^^ ╵ WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-control.scss 40:7 @import bootstrap/scss/_forms.scss 3:9 @import - 18:9 root stylesheet WARNING: The keyword 'none' must be used as a single argument. ../../node_modules/bootstrap/scss/mixins/_box-shadow.scss 10:9 box-shadow() ../../node_modules/bootstrap/scss/forms/_form-select.scss 31:7 @import bootstrap/scss/_forms.scss 4:9 @import - 18:9 root stylesheet DEPRECATION WARNING on line 62, column 208 of ../../node_modules/bootswatch/dist/solar/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 62 │ $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default !default; │ ^^^^^^^^ ╵ DEPRECATION WARNING on line 116, column 63 of ../../node_modules/bootswatch/dist/solar/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 116 │ $navbar-light-color: rgba($black, .4) !default !default; │ ^^^^^^^^ ╵ DEPRECATION WARNING on line 117, column 63 of ../../node_modules/bootswatch/dist/solar/_variables.scss: !default should only be written once for each variable. This will be an error in Dart Sass 2.0.0. ╷ 117 │ $navbar-light-active-color: rgba($black, .7) !default !default; │ ^^^^^^^^ ╵
-
@NodeHam Are you sure you added the forum to autorun when you restart the server?
Running NodeBB - NodeBB Documentation
Documentation portal for NodeBB Forum Software
(docs.nodebb.org)
This warnings from bootswatch about errors in default styles, you can ignore this.