Use this code
git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.xAnd you will have the latest version without specifying it
https://docs.nodebb.org/configuring/upgrade/
Running nodeBB on v6 of MongoDB and tried to upgrade to v7
Is there any benefit to upgrading?
Anyway I did
sudo apt update
and saw these lines (which still references v6?)
…https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 InRelease
Hit:10 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 Release
Then
sudo apt upgrade mongodb
didnt work
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb' has no installation candidate
Can anyone explain what failed there?
Just to add, the server is running Ubuntu. I read something once about Ubuntu having its own list of where it gets updates from?
Im not sure if that is the case, and is relevant
@Panda yes, Ubuntu does have its own PPA repository for most software, but not for mongodb. This should help in terms of the upgrade
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
@phenomlab ok thanks, so any idea what caused it not to upgrade?
@Panda if you used the Ubuntu PPA, I think this only goes as far as 6.x if I recall correctly.