Need guru's help, unable to log on fresh 0.8.0 even with local admin

Technical Support
  • Hello there,

    I'm creating this new topic because I'm totally stuck and unable to log it anymore to my nodebb forum, I spend all the day trying to make things working after severals 0.8.0 updates.

    I had first some problems than you can see at the end of this post and also this one
    Then after several tries (using git pull classic ./nodebb upgrade ...), I thought is was working until users reported login problem, so I decided to install from scratch (I've done this each time I upgraded because it was never working 1st time)

    So I deleted nodebb folder and done

    git clone -b v0.8.x https://github.com/NodeBB/NodeBB.git nodebb
    cd nodebb
    npm install
    cp /bkp/config.json config.json
    cp -rf /bkp/public/uploads/* public/uploads/
    ./nodebb setup
    npm install nodebb-plugin-blog-comments nodebb-plugin-sso-facebook  nodebb-plugin-sso-github  nodebb-plugin-sso-google  nodebb-plugin-sso-twitter nodebb-plugin-code-button nodebb-plugin-color nodebb-plugin-custom-pages nodebb-plugin-editor-plus nodebb-plugin-emailer-ssl-smtp  nodebb-plugin-google-analytics nodebb-plugin-gravatar-extended nodebb-plugin-spam-be-gone
    ./nodebb start
    

    and guess what, I'was totally unable to login even with my local admin (so no SSO) give me
    Cannot set property 'user' of undefined

    So I restored old 0.7.3 database and

    ./nodebb stop
    /etc/init.d/redis-server stop
    cp /var/lib/redis/dump.rdb.bak /var/lib/redis/dump.rdb
    /etc/init.d/redis-server start
    ./nodebb upgrade
    ./nodebb start
    

    same result unable to login
    So I've done the same thing but with v0.7.3 (but keeping this new v0.8.0 fresh install) and restore 0.7.3 database since previous test upgraded to 0.8.0.

    cd ..
    /etc/init.d/redis-server stop
    cp /var/lib/redis/dump.rdb.bak /var/lib/redis/dump.rdb
    /etc/init.d/redis-server start
    mv nodebb/ nodebb_v080/
    git clone -b v0.7.x https://github.com/NodeBB/NodeBB.git nodebb
    cd nodebb
    npm install
    cp /bkp/config.json config.json
    cp -rf /bkp/public/uploads/* public/uploads/
    ./nodebb setup
    npm install nodebb-plugin-blog-comments nodebb-plugin-sso-facebook  nodebb-plugin-sso-github  nodebb-plugin-sso-google  nodebb-plugin-sso-twitter nodebb-plugin-code-button nodebb-plugin-color nodebb-plugin-custom-pages nodebb-plugin-editor-plus nodebb-plugin-emailer-ssl-smtp  nodebb-plugin-google-analytics nodebb-plugin-gravatar-extended nodebb-plugin-spam-be-gone
    ./nodebb start
    

    Now I can log but I loose 3 days of topics (because I upgraded to v0.8.0 3 days ago and until today authentication was working) and there are some strange things like no homepage to recent (error) and logout click does nothing. So I really would like to work with my latest database

    So I stopped nodebb v073, renamed to nodebb_v073 and renamed nodebb_v080 to nodebb

    So now my forum is running with latest db content, but nobody can post because we're all unable to login into. TYI, the forum is located here, you can git it a try.

    I'm suspecting database user/token/links problem but I do not know if there is a way to reset them

    Any guru's help appreciated to resolve this issue, of course I can to test change source code to display mode debug output if you want and even give full access to the VM hosting nodebb because I'm totally out of ideas there

    Thank you very much for your help

  • Ohh, I forgot some information, there is no log when trying local log (no sso) and with github here the errors logs

    30/8 22:38 [8553] - info: [plugins/spam-be-gone] Settings loaded
    30/8 22:38 [8553] - info: NodeBB Ready
    30/8 22:38 [8553] - info: Enabling 'trust proxy'
    30/8 22:38 [8553] - info: NodeBB is now listening on: 0.0.0.0:4567
    30/8 22:49 [8553] - error: /auth/github/callback
     TypeError: Cannot set property 'user' of undefined
        at /usr/local/share/nodebb/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth/node_modules/passport/lib/passport/http/request.js:45:35
        at pass (/usr/local/share/nodebb/node_modules/passport/lib/authenticator.js:267:43)
        at serialized (/usr/local/share/nodebb/node_modules/passport/lib/authenticator.js:276:7)
        at passport.deserializeUser.done.uid (/usr/local/share/nodebb/src/routes/authentication.js:77:3)
        at pass (/usr/local/share/nodebb/node_modules/passport/lib/authenticator.js:284:9)
        at Authenticator.serializeUser (/usr/local/share/nodebb/node_modules/passport/lib/authenticator.js:289:5)
        at IncomingMessage.req.login.req.logIn (/usr/local/share/nodebb/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth/node_modules/passport/lib/passport/http/request.js:43:29)
        at Strategy.strategy.success (/usr/local/share/nodebb/node_modules/passport/lib/middleware/authenticate.js:228:13)
        at verified (/usr/local/share/nodebb/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth2.js:133:18)
        at /usr/local/share/nodebb/node_modules/nodebb-plugin-sso-github/library.js:33:7
    
  • Here some other informations, from my iPhone with github (I'm logged on github.com with "remember me") I was connected to my nodebb 8 days ago, and just for fun I refreshed the page today in safari, and guess what it works !!!

    So this confirm that if you already had a token for previous access it still works but as soon you loose it it stop working.

    I've done a test for those interested with a new user (never logged on nodebb) with FB auth (from nodebb login page), after typing login/password on FB redirected page by nodebb, I got the message

    Internal error.
    Oops! Looks like something went wrong!
    /auth/facebook/callback
    Cannot set property 'user' of undefined
    

    and the Browser URL looks like
    https://community.hallard.me/auth/facebook/callback?code=AQCgEqpnX-blablabla-code-very-long-HYNYnhx

    Then from my iPhone (my last working access) gone to users and saw the new user created, that's funny, user is well created but can't log it and as it was a new user in the database so it data should be fresh.

    Hope this helps some to understand better, I'm trying to do my best to give you a maximum of relevant information.

  • GitHub plugin was just fixed, please update to the latest version 🙂

  • @julian
    thank you very much for your help, I'll try this ASAP but I'm not sure it will solve my problem because it's happening with all SSO and worst, with the regular local admin login/password created on 1st nodebb installation

  • @Julian,
    I updated the 3 SSO plugins (github, facebook, google)
    I can now login with local admin (yeah !!!!) and Facebook (double yeahhhh !!!)
    I'm still having problem with github and google, with github the error is now

    Oops! Looks like something went wrong!
    /auth/github/callback
    Cannot read property '0' of undefined
    

    notice it's not more 'user' but '0'.
    Anyway I'm pretty sure it's coming from my account and database , because I'm the same user when I'm login with FB, google or github (same email). And I'm wondering if github auth does not work since I 1st logged with my fb account.
    Also I noticed some field on redis database for my user

    • gplusid
    • fbid
    • githubid
      Can I safely delete them ?
      Is there a way to reset all recorded auth token in the database ?

    Thank you very much for your help

  • @Charly86 Glad I could get you back up and running 😄 ... at least with local/fb

    When you try logging in via GitHub/Google, are there any errors in the server-side log? If there is a full stack trace, that would help me debug the problem.

  • @Julian,
    thanks, Ok I deleted the 3 keys on my account (I created a local password on my account before just in case ;-))
    So FB => still works
    Google => now works (3rd yeahhh !!!)

    What is strange is that the 3 ID field gplusid, fbid, githubid were not created back on the database on my account, this means that now perhaps it's stored elsewhere, any idea ?

    Anyway, I don't know what do you mean by full stack trace, I launched nodebb with dev and here the log (bottom after github sso try)
    .

    root:/usr/local/share/nodebb_master# ./nodebb dev
    
    NodeBB v0.8.0 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
    
    Clustering enabled: Spinning up 1 process(es).
    
    31/8 22:18 [13061] - info: Time: Mon Aug 31 2015 22:18:26 GMT+0200 (CEST)
    31/8 22:18 [13061] - info: Initializing NodeBB v0.8.0
    31/8 22:18 [13061] - verbose: * using configuration stored in: /usr/local/share/nodebb_master/config.json
    31/8 22:18 [13061] - verbose: * using redis store at 127.0.0.1:6379
    31/8 22:18 [13061] - verbose: * using themes stored in: /usr/local/share/nodebb_master/node_modules
    31/8 22:18 [13061] - verbose: Checking dependencies for outdated modules
    31/8 22:18 [13061] - verbose: [notifications.init] Registering jobs.
    31/8 22:18 [13061] - info: [themes] Using theme nodebb-theme-persona
    31/8 22:18 [13061] - verbose: [plugins] Initializing plugins system
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Found 10 js file(s) for plugin nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-analytics
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-emailer-ssl-smtp
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-blog-comments
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-blog-comments
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar-extended
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-github
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-google] Hook `filter:user.delete` is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-google
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-facebook] Hook `filter:user.delete` is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-facebook
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-facebook
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-twitter] Hook `filter:user.delete` is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-twitter
    31/8 22:18 [13061] - verbose: [plugins] Found 4 js file(s) for plugin nodebb-theme-persona
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    
    31/8 22:18 [13061] - 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-plugin-emailer-ssl-smtp
      * nodebb-plugin-blog-comments
      * nodebb-plugin-custom-pages
      * nodebb-plugin-gravatar-extended
      * nodebb-plugin-spam-be-gone
    
    31/8 22:18 [13061] - info: [plugins] Plugins OK
    31/8 22:18 [13061] - verbose: [meta/css] Minifying LESS/CSS
    31/8 22:18 [13061] - verbose: [sounds] Sounds OK
    31/8 22:18 [13061] - verbose: [meta/templates] Compiling templates
    31/8 22:18 [13061] - verbose: [meta/js] Minification complete
    31/8 22:18 [13061] - verbose: [meta/js] Client-side minfile committed to disk.
    31/8 22:18 [13061] - verbose: [meta/templates] Successfully compiled templates.
    31/8 22:18 [13061] - info: NodeBB Ready
    31/8 22:18 [13061] - info: Enabling 'trust proxy'
    31/8 22:18 [13061] - info: NodeBB is now listening on: 0.0.0.0:4567
    31/8 22:18 [13061] - verbose: [meta/css] admin.css committed to disk.
    31/8 22:18 [13061] - info: [plugins/spam-be-gone] Settings loaded
    31/8 22:18 [13061] - verbose: [hotswap] Router with id `plugins` replaced successfully
    31/8 22:18 [13061] - verbose: [plugins] All plugins reloaded and rerouted
    31/8 22:18 [13061] - verbose: [meta/css] stylesheet.css committed to disk.
    31/8 22:18 [13061] - verbose: [hotswap] Router with id `auth` replaced successfully
    31/8 22:18 [13061] - warn: Route requested but not found: /uploads/files/1440759787865-capture.jpg
    31/8 22:18 [13061] - verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
    31/8 22:19 [13061] - error: /auth/github/callback
     TypeError: Cannot read property '0' of undefined
        at Strategy._verify (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/library.js:29:63)
        at /usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/lib/strategy.js:195:22
        at /usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/lib/strategy.js:109:5
        at passBackControl (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:125:9)
        at IncomingMessage.<anonymous> (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:142:7)
        at IncomingMessage.emit (events.js:129:20)
        at _stream_readable.js:908:16
        at process._tickDomainCallback (node.js:381:11)
    31/8 22:19 [13061] - verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
    

    It would be interesting if you don't mind that you try to connect with you github on https://community.hallard.me I'm pretty sure as you're you're new user it will work 😉

    FYI, currently I'm running on master branch

  • Thanks, that stack trace is just what I need.

    On Mon, 31 Aug 2015 16:24 [email protected] wrote:

    Hello julian,

    Charly86 has posted a reply to: Need guru's help:

    @Julian

    ,
    thanks, Ok I deleted the 3 keys on my account (I created a local password
    on my account before just in case [image: ;-)])
    So FB => still works
    Google => now works

    What is strange is that the 3 ID field gplusid, fbid, githubid were not
    created back on the database on my account, this means that now perhaps
    it's stored elsewhere, any idea ?

    Anyway, I don't know what do you mean by full stack trace, I launched
    nodebb with dev and here the log (bottom after github sso try)
    .

    root:/usr/local/share/nodebb_master# ./nodebb dev

    NodeBB v0.8.0 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html

    Clustering enabled: Spinning up 1 process(es).

    31/8 22:18 [13061] - info: Time: Mon Aug 31 2015 22:18:26 GMT+0200 (CEST)
    31/8 22:18 [13061] - info: Initializing NodeBB v0.8.0
    31/8 22:18 [13061] - verbose: * using configuration stored in: /usr/local/share/nodebb_master/config.json
    31/8 22:18 [13061] - verbose: * using redis store at 127.0.0.1:6379
    31/8 22:18 [13061] - verbose: * using themes stored in: /usr/local/share/nodebb_master/node_modules
    31/8 22:18 [13061] - verbose: Checking dependencies for outdated modules
    31/8 22:18 [13061] - verbose: [notifications.init] Registering jobs.
    31/8 22:18 [13061] - info: [themes] Using theme nodebb-theme-persona
    31/8 22:18 [13061] - verbose: [plugins] Initializing plugins system
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Found 10 js file(s) for plugin nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    31/8 22:18 [13061] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-analytics
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-emailer-ssl-smtp
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-blog-comments
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-blog-comments
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar-extended
    31/8 22:18 [13061] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-spam-be-gone
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-github
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-google
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-facebook
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-facebook
    31/8 22:18 [13061] - warn: [plugins/nodebb-plugin-sso-twitter] Hook filter:user.delete is deprecated, please use an alternative
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-twitter
    31/8 22:18 [13061] - verbose: [plugins] Found 4 js file(s) for plugin nodebb-theme-persona
    31/8 22:18 [13061] - verbose: [plugins] Loaded plugin: nodebb-theme-persona

    31/8 22:18 [13061] - 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-plugin-emailer-ssl-smtp
    • nodebb-plugin-blog-comments
    • nodebb-plugin-custom-pages
    • nodebb-plugin-gravatar-extended
    • nodebb-plugin-spam-be-gone

    31/8 22:18 [13061] - info: [plugins] Plugins OK
    31/8 22:18 [13061] - verbose: [meta/css] Minifying LESS/CSS
    31/8 22:18 [13061] - verbose: [sounds] Sounds OK
    31/8 22:18 [13061] - verbose: [meta/templates] Compiling templates
    31/8 22:18 [13061] - verbose: [meta/js] Minification complete
    31/8 22:18 [13061] - verbose: [meta/js] Client-side minfile committed to disk.
    31/8 22:18 [13061] - verbose: [meta/templates] Successfully compiled templates.
    31/8 22:18 [13061] - info: NodeBB Ready
    31/8 22:18 [13061] - info: Enabling 'trust proxy'
    31/8 22:18 [13061] - info: NodeBB is now listening on: 0.0.0.0:4567
    31/8 22:18 [13061] - verbose: [meta/css] admin.css committed to disk.
    31/8 22:18 [13061] - info: [plugins/spam-be-gone] Settings loaded
    31/8 22:18 [13061] - verbose: [hotswap] Router with id plugins replaced successfully
    31/8 22:18 [13061] - verbose: [plugins] All plugins reloaded and rerouted
    31/8 22:18 [13061] - verbose: [meta/css] stylesheet.css committed to disk.
    31/8 22:18 [13061] - verbose: [hotswap] Router with id auth replaced successfully
    31/8 22:18 [13061] - warn: Route requested but not found: /uploads/files/1440759787865-capture.jpg
    31/8 22:18 [13061] - verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
    31/8 22:19 [13061] - error: /auth/github/callback
    TypeError: Cannot read property '0' of undefined
    at Strategy._verify (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/library.js:29:63)
    at /usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/lib/strategy.js:195:22
    at /usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/lib/strategy.js:109:5
    at passBackControl (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:125:9)
    at IncomingMessage.<anonymous> (/usr/local/share/nodebb_master/node_modules/nodebb-plugin-sso-github/node_modules/passport-github/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:142:7)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickDomainCallback (node.js:381:11)
    31/8 22:19 [13061] - verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file

    It would be interesting if you don't mind that you try to connect with you
    github on https://community.hallard.me

    I'm pretty sure as you're you're new user it will work [image: ;-)]

    How FYI, currently I'm running on master branch

    Click here to read the full topic

    Thanks!
    NodeBB

    This post notification was sent to you due to your subscription settings. Click
    here to alter those settings

    .

  • @julian
    Did you had a chance to look into this one ?
    I Just had another mail from old user (from V0.7.3 github creation) that can't login anymore with github (V0.8.1)
    I confirm it's only old users, new users creation with github seems to work fine because I had some new registration.

  • Can your old user clear their cookies and try again?

  • @julian,
    it 's the same thing

    Internal error.
    Oops! Looks like something went wrong!
    /auth/github/callback
    Cannot read property '0' of undefined
    

    is there a way to clear github related information from a user in the nodebb database ?


Suggested Topics