Upgrade?



  • How can I upgrade my NodeBB to version 0.7.0, I can't find detailed instructions anywhere.

    Thanks,
    Anthony.



  • NodeBB 0.7.0 is still under development.

    These steps are common for all versions:
    https://docs.nodebb.org/vi/latest/upgrading/


  • Global Moderator

    @anthonyfvasquez said:

    How can I upgrade my NodeBB to version 0.7.0, I can't find detailed instructions anywhere.

    Thanks,
    Anthony.

    Refer to the documentation, it'll likely be in there. Link to Documentation

    More specifically https://docs.nodebb.org/en/latest/upgrading/index.html, if you're testing, use master. If production, stick with stable (0.6.x)



  • Thanks, I got it working with master.


  • Gamers

    @a_5mith said:

    @anthonyfvasquez said:

    How can I upgrade my NodeBB to version 0.7.0, I can't find detailed instructions anywhere.

    Thanks,
    Anthony.

    Refer to the documentation, it'll likely be in there. Link to Documentation

    More specifically https://docs.nodebb.org/en/latest/upgrading/index.html, if you're testing, use master. If production, stick with stable (0.6.x)

    git checkout v0.7.x don't work.


  • Admin

    Paste error logs! We can't help if you don't provide it.


  • Gamers

    @julian said:

    Paste error logs! We can't help if you don't provide it.

    antonio@SchoolAndSchool:~$ cd nodebb
    antonio@SchoolAndSchool:~/nodebb$ ./nodebb stop
    Stopping NodeBB. Goodbye!
    antonio@SchoolAndSchool:~/nodebb$ git fetch
    remote: Counting objects: 5, done.
    remote: Compressing objects: 100% (5/5), done.
    remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
    Unpacking objects: 100% (5/5), done.
    From https://github.com/NodeBB/NodeBB
    b2f2561..d8e52d7 master -> origin/master
    antonio@SchoolAndSchool:~/nodebb$ git checkout v0.7.x
    error: Your local changes to the following files would be overwritten by checkou t:
    public/language/it/global.json
    public/language/it/groups.json
    Please, commit your changes or stash them before you can switch branches.
    Aborting


  • Global Moderator

    Please, commit your changes or stash them before you can switch branches.

    Easiest way is to run git stash then checkout again.


  • Gamers

    @a_5mith said:

    Please, commit your changes or stash them before you can switch branches.

    Easiest way is to run git stash then checkout again.

    npm ERR! Linux 3.13.0-43-generic
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
    npm ERR! node v0.12.2
    npm ERR! npm v2.7.4
    npm ERR! code EPEERINVALID

    npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
    npm ERR! peerinvalid Peer nodebb-plugin-spam-be-gone@0.4.0 wants nodebb-theme-vanilla@>=0.0.137
    npm ERR! peerinvalid Peer nodebb-theme-lavender@1.0.42 wants nodebb-theme-vanilla@^1.0.0
    npm ERR! peerinvalid Peer nodebb-theme-material@0.0.9 wants nodebb-theme-vanilla@^0.2.0

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/antonio/nodebb/npm-debug.log
    npm WARN package.json nodebb-plugin-twitter-hashtag@0.1.0 No repository field.
    npm ERR! Linux 3.13.0-43-generic
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "nodebb-theme-vanilla" "nodebb-theme-lavender" "nodebb-widget-essentials"
    npm ERR! node v0.12.2
    npm ERR! npm v2.7.4
    npm ERR! code EPEERINVALID

    npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
    npm ERR! peerinvalid Peer nodebb-plugin-spam-be-gone@0.4.0 wants nodebb-theme-vanilla@>=0.0.137
    npm ERR! peerinvalid Peer nodebb-theme-lavender@1.0.42 wants nodebb-theme-vanilla@^1.0.0
    npm ERR! peerinvalid Peer nodebb-theme-material@0.0.9 wants nodebb-theme-vanilla@^0.2.0

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/antonio/nodebb/npm-debug.log

    module.js:356
    Module._extensions[extension](this, filename);
    ^
    Error: /home/antonio/nodebb/node_modules/mmmagic/build/Release/magic.node: undefined symbol: node_module_register
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)


  • Global Moderator

    Update your themes with npm install nodebb-theme-vanilla@latest and npm install nodebb-theme-lavender@latest.

    Then see if there's an update for the spam-be-gone plugin the same way.

    Also remove the material theme as it's not compa table with npm rm nodebb-theme-material


  • Gamers

    @a_5mith
    Nothing.
    Don't work.

    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    

    If i do again ./nodebb upgrade , give this error.

    npm WARN package.json nodebb-plugin-twitter-hashtag@0.1.0 No repository field.   
    npm WARN package.json nodebb-plugin-twitter-hashtag@0.1.0 No repository field.
    nodebb-widget-essentials@1.0.2 node_modules/nodebb-widget-essentials
    
    nodebb-theme-lavender@1.0.42 node_modules/nodebb-theme-lavender
    
    nodebb-theme-vanilla@1.0.130 node_modules/nodebb-theme-vanilla
    27/5 10:48 [30551] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
    27/5 10:48 [30551] - info: This program comes with ABSOLUTELY NO WARRANTY.
    27/5 10:48 [30551] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    27/5 10:48 [30551] - info:
    
    module.js:356
    Module._extensions[extension](this, filename);
                               ^
    Error: /home/antonio/nodebb/node_modules/mmmagic/build/Release/magic.node: undefined symbol: node_module_register
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

  • Global Moderator

    npm install mmmagic


  • Gamers

    @a_5mith said:

    npm install mmmagic

    Same error.

    module.js:356
    Module._extensions[extension](this, filename);
                               ^
    Error: /home/antonio/nodebb/node_modules/mmmagic/build/Release/magic.node: undefined symbol: node_module_register
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

  • Anime Lovers

    also have got the same error...


  • Admin


  • Gamers

    @julian
    Ubuntu node-v0.12.2 on 14.04


  • Anime Lovers

    @julian debian wheezy
    using latest node.js 0.12.x


  • Admin

    Hm, no reason then, why mmmagic wouldn't compile. Do you both have build-essential installed?


  • Gamers

    @julian I think so.


  • Anime Lovers

    @julian This question..., really don't want to answer


Log in to reply
 


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