Installing v1.4.4 inside docker

Technical Support

Suggested Topics


  • 0 Votes
    2 Posts
    282 Views

    Fixed with:

    yes | ./nodebb upgrade

    Using ubuntu's built in yes command you can force it to answer yes to a particular command, so I edited the start.sh script and forced it to answer yes to anything with prompts, would be great for this to be added to the official scripts if possible!

  • 0 Votes
    8 Posts
    3k Views

    @azeus said in Error when upgrading from 1.4.5 to 1.5.0:

    @Michael-Pfaff said in Error when upgrading from 1.4.5 to 1.5.0:

    @azeus I'm also about to upgrade from 1.4.4. to 1.5.0. What steps did you take to install? I'm kind of nervous!

    Like usual

    $ cd /nodebb_Home
    $ git fetch
    $ git checkout v1.5.x
    $ ./nodebb upgrade

    And of course backup before 😉

    Worked perfectly! Thank you!

  • 0 Votes
    5 Posts
    2k Views

    @PitaJ @priapo thanks for the support 🙂 Technical assistance helped me because i dont have access to the apache config.

  • 0 Votes
    31 Posts
    10k Views

    Finally made it from v0.6.0 to v1.4.1

    This was my upgrade route (hosted on DigitalOcean and with a mongo database - shell 2.6.7, node v0.10.38)

    *v0.6 to v0.6.1 git fetch git reset --hard origin/v0.6.x git describe --tags ./nodebb upgrade *v0.6.1 to v0.7.0 git checkout v0.7.0 ./nodebb upgrade npm install touch npm install minimist npm install colors *v0.7.0 to v0.7.3 git reset --hard origin/v0.7.x git describe --tags ./nodebb upgrade node app --upgrade *install nvm curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash *Restart terminal nvm install v0.10.39 * Change index.js in /root/"yourfoldername"/node_modules/connect-mongo from *module.exports = require('./src'); *to *module.exports = require('connect-mongo/es5'); *edit /etc/mongod.conf, to uncomment auth = true line service mongod restart mongo use admin db.createUser({user: "adminname", pwd: "yourpassword", roles: ["readWrite"]}) use *name of the db where nodebb is installed* db.updateUser( "adminname", { roles : [ { role : "dbAdmin", db : "*name of the db where nodebb is installed*" }, { role : "readWrite", db : "*name of the db where nodebb is installed*" } ] } ) ./nodebb upgrade ./nodebb start ./nodebb stop *v0.7.3 to v0.8.x git checkout v0.8.x git pull ./nodebb upgrade ./nodebb start ./nodebb stop *v0.8.2 to v0.9.x git checkout v0.9.x git pull ./nodebb upgrade ./nodebb start ./nodebb stop *v0.9.4 to v1.4.1 git checkout v1.x.x git pull nvm install v6.2.1 nvm use v6.2.1 ./nodebb upgrade *edit /etc/mongod.conf, to uncomment noauth=true line

    This should help to avoid any issue with mmmagic, kerberos, bluebird and the key_1_value_-1 already exist error.

    Et voilà !

    Thanks again for your help Julian !

  • 0 Votes
    10 Posts
    3k Views

    @Lettuce run this sudo apt-get install libkrb5-dev