Unable to find how to upgrade NodeBB in DigitalOcean
-
I'm trying to upgrade NodeBB from v1.13.3 5 to v1.16.2. However, the commands provided in NodeBB official documentation do not seem to work. I get the following response
$: command not foundCan anybody tell me how to upgrade NodeBB if we are using Ubuntu on DigitalOcean?
-
@explore-keywords can you share a screenshot of the command and error? I'm guessing you're entering literally
$ command etc
but the$
is a placeholder for the shell prompt, you're not supposed to actually type it in. -
@pitaj yes, exactly. I was trying to use that command in DO console.
I'm not a programmer. Can you please provide me link to resource in which we can find support to upgrade with my current system specifications?
OS: Ubuntu
Database: MongoDB
Hosted on DigitalOcean -
This post is deleted!
-
Please allow 24 hours before pinging again. Do you have any commands line Linux experience? If not you're going to have a hard time.
-
@Explore-Keywords As noted above you're likely going to have a hard time and need a lot of hand holding. Fortunately for you... I am recovering from hand surgery and really, really bored so I'll take a stab at it. Please be alert for typos on my end. Moving forward, please post exactly what commands you are driving and their result.
Some basics:
-
$ is the default shell "prompt" for a "mortal" user using the Bash shell. # is the default prompt for "root", a.k.a. superuser/admin. You should be attempting your upgrade logged in as your nodebb mortal user.
-
The stuff following the shell prompt in the ypgrade guide is what you need to be entering as commands.
-
Presuming you configured mongodb as directed here https://docs.nodebb.org/configuring/databases/mongo/ you are going to need to authenticate via the admin database in order to "take a dump". The command to do that will look something like this:
mongodump --authenticationDatabase=admin
May well also need to specify user via the -u flag above as well, depending on how your stuff got set up. For all the nitty gritty details of the mongodump command in all their glory, drive the following command:
man mongodump
The ensuing verbiage is likely to be overwhelming. Do your best to sort thru it for relevant bits.
More on mongodump here, courtesy mongodb. Imagine that
Then report back.
-
-
Here's some more documentation from MongoDB
https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/
-
@pitaj said in Unable to find how to upgrade NodeBB in DigitalOcean:
Here's some more documentation from MongoDB
https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/
Yes! @Explore-Keywords This is the stuff you need to grok. And what I meant to link to. My link above is web version of the man page, wh/may be easier to navigate, especially if unfamilair w/pagers such as "less".
Speaking of which, maybe get to grips w/some basic unix/linux commands. Lots and lots of such stuff on the web nowadays. Be careful w/this stuff - you van really shoot yourself in the foot and unix/linux does not do "do overs", prompt incessantly for confirmation, etc.
Good luck!