Where is my admin panel?
-
@g_campbell well there seems to be no data in the database schema NodeBB is connecting to.
-
Thank you for the response, was that something I was supposed to do or does it come package in NodeBB?
-
@g_campbell did you run
./nodebb setup
when you installed NodeBB? -
I did. I setup it up via the web interface. How can I confirm that NodeBB and MongoDB are communicating?
-
Anyone have any other input?
-
@g_campbell, you can just re-run
./nodebb setup
-
@phit @ThingBreaker
Thanks for the help guys. I actually uninstalled and reinstalled mongodb as well. There has been some change... Although I still cannot login to the admin panel. But here is what my home page looks like now
-
Here is what i receive during setup that might give some sort of clues to my issues...
Configuration Saved OK
npm WARN peerDependencies The peer dependency kerberos@~0.0 included from mongodb-core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.[email protected] install /home/grant/nodebb/node_modules/mongodb/node_modules/kerberos
(node-gyp rebuild) || (exit 0)make: Entering directory
/home/grant/nodebb/node_modules/mongodb/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory
/home/grant/nodebb/node_modules/mongodb/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/grant/nodebb/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.2.0-27-generic
gyp ERR! command "/usr/bin/nodejs" "/home/grant/nodebb/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/grant/nodebb/node_modules/mongodb/node_modules/kerberos
gyp ERR! node -v v4.3.1
gyp ERR! node-gyp -v v3.3.0
gyp ERR! not ok
[email protected] node_modules/connect-mongo
├── [email protected]
├── [email protected] ([email protected])
└── [email protected][email protected] node_modules/mongodb
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected])
28/2 21:12 [47814] - info: [database] Checking database indices.
Populating database with default configs, if not already set...
Previous theme detected, skipping enabling default theme
validator deprecated you tried to validate a undefined but this library (validator.js) validates strings only. Please update your code as this will be an error soon. src/categories/data.js:45:29
Categories OK. Found 4 categories.
Administrator found, skipping Admin setup
Enabling default plugins
28/2 21:12 [47814] - info: [install/defaultPlugins] customDefaults undefined
28/2 21:12 [47814] - info: [install/enableDefaultPlugins] activating default plugins 0=nodebb-plugin-composer-default, 1=nodebb-plugin-markdown, 2=nodebb-plugin-mentions, 3=nodebb-widget-essentials, 4=nodebb-rewards-essentials, 5=nodebb-plugin-soundpack-default, 6=nodebb-plugin-emoji-extended
28/2 21:12 [47814] - info: Beginning database schema update
28/2 21:12 [47814] - info: [2015/09/30] Converting default Gravatar image to default User Avatar skipped
28/2 21:12 [47814] - info: [2015/11/06] Gravatar removal skipped
28/2 21:12 [47814] - info: [upgrade] Schema already up to date!========================================================================
-
I installed the wrong software stack. I installed the one in the ubuntu installation and i notice the one in the actual mongo db installation is different, once i installed that one, my login panel appeared. Thanks for the help everyone.