v1.4.0 startup error



  • @PitaJ Upgrade totally broke my NodeBB 😞

    Did reset the plugin, Now it's up again, but composer doesn't show up 😞


  • Global Moderator

    @MJ "totally broken" isn't very specific. Can you please reactivate composer and give some more information like:

    • git commit NodeBB
    • composer version
    • default or redactor
    • error on server
    • errors on client
    • screenshots if it's a UI issue

    And make sure you do a full restart of NodeBB with

    ./nodebb stop
    ./nodebb build
    ./nodebb start


  • @PitaJ Sorry for the unspecific answer.

    Composer is working again after ./nodebb build. Composer is back at v4.3.0.

    git commit NodeBB
    What does this meaning? Must I use this in console?
    composer version now
    4.3.0
    default or redactor
    default
    error on server
    No error seen.
    errors on client
    I did get 1 error after restarting NodeBB.
    NodeBB could not be restarted, as a running instance could not be found.



  • @MJ said in NodeBB v1.4.0 Release:

    @PitaJ Sorry for the unspecific answer.

    Composer is working again after ./nodebb build. Composer is back at v4.3.0.

    git commit NodeBB
    What does this meaning? Must I use this in console?

    Yes. but try git show instead.

    [root@daermabb ~]# cd /opt/daerma/nodebb
    [root@daermabb nodebb]# git show
    commit d120ee86cfe2a55efcd3982cc3e8fa3f71284602
    Author: Misty (Bot) <deploy@nodebb.org>
    Date:   Thu Dec 1 21:28:53 2016 +0000
    
        Incremented version number
    
    diff --git a/package.json b/package.json
    index b035495..52cff78 100644
    --- a/package.json
    +++ b/package.json
    @@ -2,7 +2,7 @@
       "name": "nodebb",
       "license": "GPL-3.0",
       "description": "NodeBB Forum",
    -  "version": "1.3.0",
    +  "version": "1.4.0",
       "homepage": "http://www.nodebb.org",
       "repository": {
         "type": "git",
    

  • Global Moderator

    @MJ try this sequence of commands:

    ./nodebb stop
    npm install nodebb-plugin-composer-default@4.3.1
    ./nodebb build
    ./nodebb start
    


  • @JaredBusch

    commit d120ee86cfe2a55efcd3982cc3e8fa3f71284602
    Author: Misty (Bot) <deploy@nodebb.org>
    Date:   Thu Dec 1 21:28:53 2016 +0000
    
        Incremented version number
    
    diff --git a/package.json b/package.json
    index b035495..52cff78 100644
    --- a/package.json
    +++ b/package.json
    @@ -2,7 +2,7 @@
       "name": "nodebb",
       "license": "GPL-3.0",
       "description": "NodeBB Forum",
    -  "version": "1.3.0",
    +  "version": "1.4.0",
       "homepage": "http://www.nodebb.org",
       "repository": {
         "type": "git",
    


  • @PitaJ Done

    NodeBB not starting up anymore 😞


  • Global Moderator

    @MJ any errors?


  • Admin

    As @PitaJ says, a full startup log would be helpful.

    delete logs/output.log, start up NodeBB using ./nodebb start, and then when it fails, attach output.log here.



  • @PitaJ said in v1.4.0 startup error:

    @MJ try this sequence of commands:

    ./nodebb stop
    npm install nodebb-plugin-composer-default@4.3.1
    ./nodebb build
    ./nodebb start
    

    For me this results in:
    4/12 04:11 [14399] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    4/12 04:11 [14399] - warn: ./nodebb upgrade

    After running nodebb upgrade, I'm back to 4.3.0.



  • [outdated] nodebb-plugin-composer-default installed v4.3.1, package.json requires 4.3.0
    4/12 19:26 [28809] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    4/12 19:26 [28809] - warn: ./nodebb upgrade
    [cluster] Child Process (28809) has exited (code: 0, signal: null)



  • ofter doing npm install nodebb-plugin-composer-default@4.3.0 it works again 😛


  • Global Moderator

    @MJ try changing the nodebb-plugin-composer-default line in package.json to be 4.3.1 instead of 4.3.0



  • @PitaJ before or after installing the composer?



  • still same error

    0_1480899590876_upload-9a696471-b67b-431f-9535-4dc2a08f40a1


  • Global Moderator

    @MJ change the line in package.json to 4.3.1 then install composer@4.3.1 then try starting



  • a ssoon as I change a file, my nodeBB stopt working 😕



  • only if i do ./nodebb upgrade my nodebb works again.



  • okay step by step

    0_1480900080101_upload-5d48e33b-51ae-40c4-a6ed-e82aea405d3a

    change to this

    0_1480900094560_upload-bce64850-5f5d-455f-8cca-915ba584c831

    ./nodebb log only 1 error only, but this plugin gives error from the beginning I use nodeBB.

    0_1480900163144_upload-873c7b27-8b77-4fb8-aad2-34421ded26e0

    next upload and overwrite package.json in nodebb/node_modules/nodebb-plugin-composer-default

    done
    0_1480900231357_upload-761d1dd7-3916-4429-b903-95a09d205931

    after uploading the file my NodeBB gives allready an error

    0_1480900339286_upload-ac6af263-eeb3-4abb-b9c8-ee1ae21117c3

    running log

    0_1480900367453_upload-9ca99854-7ebd-47a3-901b-e1342234014e

    I did'nt even use npm install nodebb-plugin-composer-default@4.3.1

    so before ugrading NodeBB gives the error 😕


  • Global Moderator

    @MJ so you're running these:

    1. ./nodebb stop
    2. edit package.json to 4.3.1 for composer
    3. npm install nodebb-plugin-composer-default@4.3.1
    4. ./nodebb build
    5. ./nodebb start

Log in to reply
 


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