Latest NodeBB, cannot start process, logs tell nothing

Bug Reports
  • I did the latest git pull and tried to start my forum. Logs are fine except the plugin warning:

    info: This is free software, and you are welcome to redistribute it under certain conditions.
    info:
    info: Time: Thu May 29 2014 03:08:54 GMT+0200 (CEST)
    info: Initializing NodeBB v0.4.3
    info: * using configuration stored in: /home/xxxx/xxxx/config.json
    info: * using redis store at 127.0.0.1:6379
    info: * using themes stored in: /home/xxxx/xxxx/node_modules
    warn: You have no redis password setup!
    info: [user.startJobs] Registering User Jobs
    info: Enabling 'trust proxy'
    
    warn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
    warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions".
    
    warn: [plugins/nodebb-widget-essentials] staticDir is deprecated, use staticDirs instead
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 0.0.0.0:4567
    info: NodeBB Ready
    

    I try to access the site but I get a 502 Bad Request. Then I try to reload the forum and it says nodebb isn't started. I do a ./nodebb start and it gets stuck here

    info: [user.startJobs] Registering User Jobs
    info: Enabling 'trust proxy'
    
    warn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
    warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions".
    
    warn: [plugins/nodebb-widget-essentials] staticDir is deprecated, use staticDirs instead
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    

    I don't know what to do, help!!

  • In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions"

    Could be worth a go.

  • @a_5mith tried that it didn't work, any other suggestion?

  • @anooxy
    Ummm... Try this way:

    1. Backup your Redis dump.rdb file (see here) & any other modifications you don't want to lose or corrupt (template modifications etc.)

    2. git fetch

    3. git reset --hard

    4. git pull

    5. ./nodebb upgrade

  • @markkus that didn't fix anything, during the upgrade command I got these warnings:

    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No repository field.
    
  • Those npm warnings are alright. Can you run it using ./nodebb dev and give me the entire log from start to finish? Use pastebin if you have to 🙂

  • same problem here, ./nodebb dev fails after
    "error: [meta/css] Could not minify LESS/CSS: './nodebb-widget-essentials/css/widget.css' wasn't found"

    edit: solution for this problem upgrading-to-0-4-3-broke-my-forum#12060

  • Glad you figured out your issue! Will be fixed here:

    https://github.com/NodeBB/NodeBB/issues/1615


Suggested Topics