I'm using Nodebb's hosted service, and I'd like to test upgrading an identical copy of it locally prior to upgrading to 1.2.0. Can I duplicate the forum (posts, settings, users, and all) and run it locally?
I have "failed" to install NodeBB on a DigitalOcean Droplet about 25 times by now. Seriously, I'm not exaggerating. The people at DO must have wondered "wtf is this guy doing?" because I was creating and destroying Droplets non-stop for days.
I think what made the difference for me this time was not installing redis or nodejs as per the official NodeBB install document. Instead, I only installed the Chris Lea files.
I was so tired to trying different methods of installation I actually started keeping a log of what I was doing. I got it down to where only a few lines would change, and I am pretty sure this is what finally worked for me (remember, this is on a DO Droplet running Ubuntu 14.04 x64):
apt-get install redis-server
apt-get install git
apt-get install build-essential
apt-get install imagemagick
apt-get install python-software-properties
apt-get update && apt-get dist-upgrade
git clone git://github.com/designcreateplay/NodeBB.git nodebb
node app --setup
- only modify first line where I enter my server's address http://your.server.ip.address (without the port) and hit 'Enter' for all other options
- Now you can go to http://your.server.ip.address:4567 to see the forum
I have try this but when i go to npm install
i get this :
E: Unable to correct problems, you have held broken packages.
npm ERR! notarget No compatible version found: firstname.lastname@example.org
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.1, 0.3.0, 0.2.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pawan/Discussion forum/nodebb/npm-debug.log
@א-ש if your database is damaged, then immediate retrieval won't be possible. Do you at least have a backup of the database ? From the comment below around accepting the loss of posts and users, it doesn't seem to be the case.
What I always do is take a copy of the CSS and keep it up to date in a text file outside of NodeBB.