@crazycells Agreed. It takes a more sensible approach. Nobody ever upvotes the first post - it’s usually much further down as the conversation progresses.
MogoDB v6 to v7 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 ReleaseThen
sudo apt upgrade mongodb
didnt workReading 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.
-
Did this solution help you?
Related Topics
-
-
Upgrade issues
Solved Configure -
-
-
Upgrade Problem from 2.8.9 to 2.8.10
Moved Solved Configure -
-
Forum Icons NodeBB
Solved Customisation -
nodebb dropdown menu
Solved Configure