nodebb upgrade error



  • Hello,

    I am trying to upgrade my nodebb installation to v0.5.5. When I am running ./nodebb upgrade I get the following output with lots of errors.

    root@vpsieprod:/nodebb# git checkout v0.5.5
    HEAD is now at d6c17d5... 0.5.5
    root@vpsieprod:/nodebb# ./nodebb upgrade
    npm WARN package.json nodebb-plugin-dbsearch@0.0.15 No repository field.
    npm WARN package.json reds@0.2.4 No repository field.
    npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
    npm ERR! peerinvalid Peer nodebb-theme-lavender@0.1.13 wants nodebb-theme-vanilla@~0.1.0
    npm ERR! peerinvalid Peer nodebb-theme-halloween@0.0.2 wants nodebb-theme-vanilla@~0.0.3
    
    npm ERR! System Linux 3.2.0-4-amd64
    npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
    npm ERR! cwd /nodebb
    npm ERR! node -v v0.10.33
    npm ERR! npm -v 1.4.28
    npm ERR! code EPEERINVALID
    npm ERR! 
    npm ERR! Additional logging details can be found in:
    npm ERR!     /nodebb/npm-debug.log
    npm ERR! not ok code 0
    npm WARN package.json nodebb-plugin-dbsearch@0.0.15 No repository field.
    npm WARN package.json reds@0.2.4 No repository field.
    npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
    npm ERR! peerinvalid Peer nodebb-theme-lavender@0.1.13 wants nodebb-theme-vanilla@~0.1.0
    npm ERR! peerinvalid Peer nodebb-theme-halloween@0.0.2 wants nodebb-theme-vanilla@~0.0.3
    
    npm ERR! System Linux 3.2.0-4-amd64
    npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "i" "nodebb-theme-vanilla" "nodebb-theme-lavender" "nodebb-widget-essentials"
    npm ERR! cwd /nodebb
    npm ERR! node -v v0.10.33
    npm ERR! npm -v 1.4.28
    npm ERR! code EPEERINVALID
    npm ERR! 
    npm ERR! Additional logging details can be found in:
    npm ERR!     /nodebb/npm-debug.log
    npm ERR! not ok code 0
    2014-11-29T22:39:12.997Z - info: NodeBB v0.5.5 Copyright (C) 2013-2014 NodeBB Inc.
    2014-11-29T22:39:13.002Z - info: This program comes with ABSOLUTELY NO WARRANTY.
    2014-11-29T22:39:13.002Z - info: This is free software, and you are welcome to redistribute it under certain conditions.
    2014-11-29T22:39:13.002Z - info: 
    2014-11-29T22:39:13.330Z - warn: You have no mongo password setup!
    2014-11-29T22:39:14.042Z - info: Beginning database schema update
    2014-11-29T22:39:14.044Z - info: [2014/2/19] Updating MOTD to use the HTML widget - skipped
    2014-11-29T22:39:14.044Z - info: [2014/2/20] Adding Recent Replies, Active Users, and Moderator widgets to category sidebar - skipped
    2014-11-29T22:39:14.044Z - info: [2014/2/20] Adding Forum Stats Widget to the Homepage Footer - skipped
    2014-11-29T22:39:14.045Z - info: [2014/2/20] Updating Lavender MOTD - skipped
    2014-11-29T22:39:14.045Z - info: [2014/2/20] Activating NodeBB Essential Widgets - skipped
    2014-11-29T22:39:14.045Z - info: [2014/2/22] Added categories to sorted set - skipped
    2014-11-29T22:39:14.045Z - info: [2014/3/18] Migrating Markdown settings to new configuration - skipped
     2014-11-29T22:39:14.046Z - info: [2014/3/21] Removing gids and pruning groups - skipped
    2014-11-29T22:39:14.046Z - info: [2014/3/31] Re-adding copyright message into global footer widget - skipped
    2014-11-29T22:39:14.046Z - info: [2014/4/1] Moved home sidebar widgets into draft zone - skipped
    2014-11-29T22:39:14.046Z - info: [2014/4/2] Moved deprecated vanilla footer widgets into draft zone - skipped
    2014-11-29T22:39:14.046Z - info: [2014/5/13] Updating privilege settings - skipped
    2014-11-29T22:39:14.047Z - info: [2014/5/16] Removing allowGuestPosting option - skipped
    2014-11-29T22:39:14.047Z - info: [2014/5/16] Tags upgrade - skipped
    2014-11-29T22:39:14.047Z - info: [2014/6/6] Topic upgrade - skipped
    2014-11-29T22:39:14.047Z - info: [2014/6/17] Category post count upgrade - skipped
    2014-11-29T22:39:14.048Z - info: [2014/7/23] Upgrading db dependencies - skipped
    2014-11-29T22:39:14.048Z - info: [2014/7/24] Upgrading chats to sorted set - skipped
    2014-11-29T22:39:14.048Z - info: [2014/9/8] Deleting old notifications skipped
    2014-11-29T22:39:14.048Z - info: [2014/9/27] Deleting tid:<tid>:read_by_uid skipped
    2014-11-29T22:39:14.048Z - info: [2014/10/7] Banned users sorted set skipped
    2014-11-29T22:39:14.049Z - info: [2014/10/22] Topic post count migration skipped
    2014-11-29T22:39:14.049Z - info: [upgrade] Schema already up to date!
    
    NodeBB Dependencies up-to-date!
    

    Please let me know how can I fix it?


  • Global Moderator

    Remove the halloween theme. Probably not compatible.

    npm rm nodebb-theme-halloween



  • Thanks, that solved the issue, I could upgrade with no errors.


  • Admin

    Yes, nice catch @a_5mith. Incompatible themes requiring outdated versions of the vanilla theme often cause npm to abort. It's not a pretty sight 😓


Log in to reply
 


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