Problems after upgrading NodeBB to 1.0.2



  • I have upgraded the NodeBB to 1.0.2 with last commit:

    commit cb2ea163a05d1311196bb66197f9a1903959f25f
    Author: barisusakli <barisusakli@gmail.com>
    Date:   Wed Mar 30 18:13:25 2016 +0300
    

    And now if I starting it and try to use, I get this error:

    30/3 17:15 [18768] - verbose: * using configuration stored in: /home/ok/ggg/config.json
    30/3 17:15 [18768] - info: Time: Wed Mar 30 2016 17:15:59 GMT+0200 (CEST)
    30/3 17:15 [18768] - info: Initializing NodeBB v1.0.2
    30/3 17:15 [18768] - verbose: * using redis store at 127.0.0.1:61517
    30/3 17:15 [18768] - verbose: * using themes stored in: /home/ok/ggg/node_modules
    30/3 17:16 [18768] - verbose: Checking dependencies for outdated modules
    30/3 17:16 [18768] - verbose: [notifications.init] Registering jobs.
    30/3 17:16 [18768] - info: [themes] Using theme nodebb-theme-persona
    30/3 17:16 [18768] - verbose: [plugins] Initializing plugins system
    30/3 17:16 [18768] - verbose: [plugins] Found 5 js file(s) for plugin nodebb-theme-persona
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    30/3 17:16 [18768] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-twitter] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead.
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-twitter
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-twitter
    30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji-extended
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji-extended
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-emoji-extended
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
    30/3 17:16 [18768] - verbose: [plugins] Found 11 js file(s) for plugin nodebb-plugin-composer-default
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-composer-default
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-facebook
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-facebook
    30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-github] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead.
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-github
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-github
    30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-google] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead.
    30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-google
    30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-google
    30/3 17:16 [18768] - info: [plugins] Plugins OK
    30/3 17:16 [18768] - verbose: [meta/css] Minifying LESS/CSS
    30/3 17:16 [18768] - verbose: [meta/blacklist] Loading 0 blacklist rules
    30/3 17:16 [18768] - verbose: [sounds] Sounds OK
    30/3 17:16 [18768] - verbose: [meta/js] acp.min.js minification complete
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-theme-persona)
    30/3 17:16 [18768] - verbose: [meta/js] acp.min.js committed to disk.
    30/3 17:16 [18768] - verbose: [meta/js] nodebb.min.js minification complete
    30/3 17:16 [18768] - verbose: [meta/css] Running PostCSS Plugins
    30/3 17:16 [18768] - verbose: [meta/js] nodebb.min.js committed to disk.
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-dbsearch)
    30/3 17:16 [18768] - verbose: [meta/css] admin.css committed to disk.
    30/3 17:16 [18768] - verbose: [meta/css] Running PostCSS Plugins
    30/3 17:16 [18768] - verbose: [meta/css] stylesheet.css committed to disk.
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-widget-essentials)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-markdown)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-twitter)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-emoji-extended)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-composer-default)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-facebook)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-github)
    30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-google)
    30/3 17:16 [18768] - verbose: [meta/templates] Compiling templates
    30/3 17:16 [18768] - verbose: [meta/templates] Successfully compiled templates.
    30/3 17:16 [18768] - info: NodeBB Ready
    30/3 17:16 [18768] - info: Enabling 'trust proxy'
    30/3 17:16 [18768] - info: NodeBB is now listening on: 0.0.0.0:61516
    30/3 17:16 [18768] - verbose: [hotswap] Router with id `plugins` replaced successfully
    30/3 17:16 [18768] - verbose: [plugins] All plugins reloaded and rerouted
    30/3 17:16 [18768] - verbose: [hotswap] Router with id `auth` replaced successfully
    30/3 17:16 [18768] - error: ReferenceError: config is not defined
        at /home/ok/ggg/public/src/modules/helpers.js:109:42
        at Array.forEach (native)
        at Object.helpers.generateChildrenCategories (/home/ok/ggg/public/src/modules/helpers.js:105:21)
        at callMethod (/home/ok/ggg/node_modules/templates.js/lib/templates.js:281:17)
        at parseFunctions (/home/ok/ggg/node_modules/templates.js/lib/templates.js:305:55)
        at parseArrayBlock (/home/ok/ggg/node_modules/templates.js/lib/templates.js:382:14)
        at parseArray (/home/ok/ggg/node_modules/templates.js/lib/templates.js:348:13)
        at parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:418:16)
        at parseTemplate (/home/ok/ggg/node_modules/templates.js/lib/templates.js:135:14)
        at Object.templates.parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:121:11)
    ReferenceError: config is not defined
        at /home/ok/ggg/public/src/modules/helpers.js:109:42
        at Array.forEach (native)
        at Object.helpers.generateChildrenCategories (/home/ok/ggg/public/src/modules/helpers.js:105:21)
        at callMethod (/home/ok/ggg/node_modules/templates.js/lib/templates.js:281:17)
        at parseFunctions (/home/ok/ggg/node_modules/templates.js/lib/templates.js:305:55)
        at parseArrayBlock (/home/ok/ggg/node_modules/templates.js/lib/templates.js:382:14)
        at parseArray (/home/ok/ggg/node_modules/templates.js/lib/templates.js:348:13)
        at parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:418:16)
        at parseTemplate (/home/ok/ggg/node_modules/templates.js/lib/templates.js:135:14)
        at Object.templates.parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:121:11)
    30/3 17:16 [18768] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    30/3 17:16 [18768] - info: [app] Database connection closed.
    30/3 17:16 [18768] - info: [app] Web server closed to connections.
    30/3 17:16 [18768] - info: [app] Shutdown complete.
    [cluster] Child Process (18768) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    

    What is wrong?


  • Plugin & Theme Dev

    @Boris-Dragosani you are using the master branch instead of the stable v1.0.2 release. Bugs are expected in master branch. Anyway this seems to be fixed in a latest commit. Pull the latest from github and it should be fixed.



  • Thank you!


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.