Skip to content

MogoDB v6 to v7 upgrade

Solved Configure
5 2 2.4k 1
  • wrote on last edited by Panda
    #1

    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?

  • wrote on last edited by
    #2

    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

  • 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

    wrote on last edited by
    #3

    @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/

  • @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/

    wrote on last edited by
    #4

    @phenomlab ok thanks, so any idea what caused it not to upgrade?

  • @phenomlab ok thanks, so any idea what caused it not to upgrade?

    wrote on last edited by
    #5

    @Panda if you used the Ubuntu PPA, I think this only goes as far as 6.x if I recall correctly.

  • Panda Panda has marked this topic as solved on

Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • External Links - New Window

    Solved Customisation nodebb links settings
    8
    2 Votes
    8 Posts
    2k Views
    phenomlab
    @Sampo2910 search the forum here for ogproxy which is the client side version of that plugin I wrote. It’s in use here on this forum.
  • Upgrade issues

    Solved Configure nodebb
    2
    1
    2 Votes
    2 Posts
    1k Views
    DownPW
    Use this code git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.x And you will have the latest version without specifying it https://docs.nodebb.org/configuring/upgrade/
  • Custom html in nodebb to prevent cache

    Unsolved Configure nodebb
    18
    2 Votes
    18 Posts
    5k Views
    phenomlab
    @Panda You’ll need to do that with js. With some quick CSS changes, it looks like this [image: d619844f-fbfe-4cf1-a283-6b7364f6bf18-image.png] The colour choice is still really hard on the eye, but at least you can now read the text
  • Nodebb 3.2.0

    Bugs nodebb nodebb 3.2.0
    20
    1
    2 Votes
    20 Posts
    7k Views
    phenomlab
    @crazycells yes, I’m aware of that. Need to fix EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below li[component="post"] a[href*="/groups/verified"] { position: absolute !important; left: 8px; z-index: 2; margin-top: 1px; border-radius: 999px !important; line-height: 14px; display: block; height: 22px; margin-left: 0px !important; }
  • NodeBB upgrade now cant post

    Solved Bugs nodebb
    5
    2 Votes
    5 Posts
    2k Views
    phenomlab
    @Panda yes, for some reason, that is the case. If you need an urgent response, it’s probably better to post here because of the time difference.
  • 4 Votes
    8 Posts
    2k Views
    phenomlab
    @Panda said in Upgrade to NodeBB v3? 2BB or not 2BB, that is the question!: So although thats a plugin it has Widget like element and stopped working on the Theme change Which is normal based on the widgets being reset when you change themes.
  • Header Menu After Upgrading V3.1.1

    Solved Customisation header nodebb
    2
    1
    2 Votes
    2 Posts
    1k Views
    phenomlab
    @cagatay this relates to a change the css classes used for the brand header meaning it will now float to the left instead of right. If you’d like to retain the original behavior, you can add this css class [data-widget-area="brand-header"] { justify-content: end; display: flex; } Further information here https://community.nodebb.org/topic/17090/manual-build-a-custom-header-in-harmony/19?_=1684069325296
  • Display tweets in widget [NodeBB]

    Solved Customisation
    29
    4 Votes
    29 Posts
    13k Views
    JAC
    @phenomlab brilliant, many thanks Mark