Thank you all for the responses and offering your time, I completely wiped the nodebb db in MongoDB and re-restored it and everything is functioning perfectly again.
Soarin
Posts
-
NodeBB New Users Overwriting Existing UserIDs -
NodeBB New Users Overwriting Existing UserIDsHello! I recently backed up my MongoDB and NodeBB forums to migrate over to another server, I imported the MongoDB dump and put my files in and almost everything resumed to how it used to be.
I see no errors or anything in the logs that look odd, but whenever somebody makes a new account on the forums it starts with UID of 1 then goes up by one (like normal) however... I have 80 users and each time somebody signs up it's overridding my account and users who signed up after me.First person to sign up on the forum since migrating overrides my account and gets owner...
Getting no abnormal errors (except the Steam login plugin that never worked for me), is there a way to fix this? I'm a novice so if you need any more information please let me know and I'll try to get it.
NodeBB Version: 1.12.0 (Older backup I migrated with)
Mongod: v4.0.10
OS: Ubuntu Sever 16.04I noticed when importing some DBs it said some tables already exist and it didn't overwrite it, could it have been that? How could I force it to overwrite existing data in MongoDB? Thank you!
-
How to Downgrade Back to 1.11.x@Geferon said in How to Downgrade Back to 1.11.x:
@Soarin Can I have the exact error of the logs?
2019-03-15T13:55:45.520Z [4567/29904] - [31merror[39m: Error: Cannot find module './src/emitter'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Module.require.main.require (/var/www/athforum/require-main.js:8:10)
at /var/www/athforum/node_modules/nodebb-widget-ns-stats/widget/nodebb.js:8:31
at Object.<anonymous> (/var/www/athforum/node_modules/nodebb-widget-ns-stats/widget/nodebb.js:45:3)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
2019-03-15T13:55:45.521Z [4567/29904] - [33mwarn[39m: [plugins] Unable to parse library for: nodebb-widget-ns-stats
2019-03-15T13:55:46.293Z [4567/29904] - [33mwarn[39m: [deprecated] requiring core modules withmodule.parent.require('./user.js')
is deprecated. Please userequire.main.require("./src/<module_name>")
instead.
at /var/www/athforum/node_modules/nodebb-plugin-sso-steam-v2/library.js:4:27
2019-03-15T13:55:46.293Z [4567/29904] - [33mwarn[39m: [deprecated] requiring core modules withmodule.parent.require('../user.js')
is deprecated. Please userequire.main.require("./src/<module_name>")
instead.
at /var/www/athforum/node_modules/nodebb-plugin-sso-steam-v2/library.js:4:27
2019-03-15T13:55:46.293Z [4567/29904] - [31merror[39m: Error: Cannot find module '../user.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at Module.module.require (/var/www/athforum/src/plugins/index.js:55:26)
at /var/www/athforum/node_modules/nodebb-plugin-sso-steam-v2/library.js:4:27
at Object.<anonymous> (/var/www/athforum/node_modules/nodebb-plugin-sso-steam-v2/library.js:204:2)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)EDIT: I've noticed most plugins in general don't actually work for me, should I just reinstall a fresh 1.12.0 NodeBB?
-
How to Downgrade Back to 1.11.xIt's never showed up for me, I've tried all the versions on the plugin manager and they're all activated & I've restarted my forum. In the logs it just says it can't parse the plugin.
-
How to Downgrade Back to 1.11.xThank you for your reply and efforts, is it normal for the Steam auth to not show up under my plugins tab or register/login? I'm not sure if it's a problem with my NodeBB installation
-
Category Teaser - How to show Sub-CategoriesHello, I'm wondering how I can make the teaser show subcategories within a main category. Currently it only shows the latest posts/replies from the main category and not what's inside of it:
Inside of it:
Is there a way around this? Thank you!
-
Invalid URI When PostingProblem has been resolved, I'm using StopForumSpam and for the Akismet API key, when I had copied and pasted it there was a space in it. After removing that space and restarting the forum it went away.
-
Invalid URI When PostingError
Invalid URI "http:///%20fe3fe3afac31.rest.akismet.com:80/1.1/comment-check"
This is the error non-administrator users get when trying to post on the forums, I've checked my config.json and there's nothing for "URI", I looked in the nodebb logs and I don't see anything shoot out. I'm quite confused, I looked up Invalid URI and I can't find anything on it. Help would be appreicated, thank you!
-
How to use Nodebb? -
How to Downgrade Back to 1.11.xThat's be awesome if you published that, currently the Steam SSO v2 doesn't even show up in my plugins and the logs say it can't parse the plugin files.
Most plugins I click to add doesn't seem to work for me, I assumed it's because 1.12.0. -
How to Downgrade Back to 1.11.xHello! I'm looking into downgrading from 1.12.0 to 1.11.x, most of my plugins don't work such as Steam Authentication for the latest version which is incredibly important to me, is it safe to delete & redownload NodeBB even though my MongoDB has been on a 1.12.0 forum?
Thank you
-
[Help] Steam Authentication for 1.12.0Hello! I was wondering if anyone has a working version of Steam Authentication for NodeBB 1.12.0, I'd like to make that my only form of signup since my forum is for Source games only, the current versions listed (I've tried 3 different ones on the plugins list) and none of them work.
Thank you!
-
Authorization Failed NodeBB Setup**THIS HAS BEEN SOLVED**
The problem was for some reason MongoDB didn't setup a directory automatically for /data/db and once I created that myself it worked flawlessly. However you do have to remake your users & DB!
Hello! I've been trying to install NodeBB for the past hour and I keep hitting the same exact road block when run ./nodebb setup as a non-root (or even root) account.
I've been following this guide: https://docs.nodebb.org/installing/os/debian/
I'm running Ubuntu Server 16.04 LTS with the latest updates & upgrades, I had 0 errors up until this point.
mongo -u admin -p mypassword --authenticationDatabase=admin <-- This logs in successfully
If I don't login with my admin account then I get authentication errors so I know authentication is working, here's my users in my nodebb database:
I am unsure why this isn't working, I'm not sure what more information to provide but ask away and I'll send. This is a near stock Ubuntu Server installation.
Thank you in advance