Login redirect and logout dont work after upgrade ?

Technical Support

Suggested Topics


  • 0 Votes
    5 Posts
    128 Views

    @ufan0 said in can not login, console log show "invalid csrf token", everything occured after upgrade nodebb version(v3.0.1 -> v3.1.4):

    I have paid attention to your site sudonix.org. What does this site mainly do? I am very interested in this and have read many posts you shared.

    Sudonix is a completely free technical resource which works on the principle of pro bono. The owner (me) has 33 years experience in information technology, and is looking to help others with technical problems that they are unable to resolve on their own.

    More information can be found here at https://sudonix.org/about

    The log you are referring to is just part of the output from NodeBB itself. There's nothing particular about it.

  • 0 Votes
    5 Posts
    770 Views

    Hello, I deploy nodebb to docker. After I start the service, open the page and the service will hang up! Please help me.

    WechatIMG71624.jpeg

  • 0 Votes
    10 Posts
    574 Views

    @baris

    New error, hope it's okay:

    4. Updating NodeBB data store schema... Parsing upgrade scripts... 2018-11-30T15:21:24.425Z [24448] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-import-smf-1`. Skipping. OK | 1 script(s) found, 67 skipped → [2019/1/26] Changing dbsearch mongodb search schema to use _id... 2018-11-30T15:21:24.509Z [24448] - error: ns not found MongoError: ns not found at /var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63 at authenticateStragglers (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16) at Connection.messageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5) at emitMessageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10) at Socket.<anonymous> (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) {"ok":0,"errmsg":"ns not found","code":26,"codeName":"NamespaceNotFound","name":"MongoError"} 2018-11-30T15:21:24.512Z [24448] - error: ns not found MongoError: ns not found at /var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63 at authenticateStragglers (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16) at Connection.messageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5) at emitMessageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10) at Socket.<anonymous> (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) {"ok":0,"errmsg":"ns not found","code":26,"codeName":"NamespaceNotFound","name":"MongoError"}

    Thanks for the help BTW.

  • 0 Votes
    1 Posts
    758 Views

    After installing NodeBB I've been trying to configure Emoji. I've installed nodebb-plugin-emoji-extended and nodebb-plugin-emoji-one through the admin interface and have also activated them. But in the front-end the smiley selection button above the messages box does not appear.

    I've tried running "Update Files" in the ACP, which doesn't seem to be working. Popping up the console, I see various errors stating "GET http://95.85.57.198:4567/socket.io/?EIO=3&transport=polling&t=LYgu_ke net::ERR_CONNECTION_REFUSED" (from acp.min.js?v=a114ca78-1b00-48b4-8cb1-6d5fb06836f3:5).

    Help would be much appreciated.

  • 1 Votes
    5 Posts
    2k Views

    @julian said:

    @ExperienceOz Are you using a custom theme or fork of a theme? That may explain the user icons not working.

    I notice you have gravatar forced on at the moment, so I can't test user icons.

    Thanks @julian , yes ended up forcing Gravatar as a stopgap just so something appears rather than broken image links. We are just using Lavender that has a few CSS modifications to it but nothing that should affect core functionality.

    They were working fine before the latest update is all. Would you like me to deactivate Gravatar temporarily so that you can have a look?

    Appreciate the help.