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
  • TNG + Nodebb

    General tng genealogy nodebb plugin
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @Madchatthew said in TNG + Nodebb: you have to try and use duck tape and super glue to change something to make it do what you want it to do I couldn’t have put that better myself.
  • 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
  • adding some console.log to Nodebb

    Solved Customisation nodebb
    4
    1 Votes
    4 Posts
    2k Views
    phenomlab
    @eeeee if you’re using the console, you could try node app.js > app.log 2>&1 This would redirect stdout to a file named app.log and redirect stderr to stdout. I’m not sure about standard logging under NodeBB, but there is an error log located at logs/error.log. Failing that, you could always stop the NodeBB service then use ./nodebb dev from the console which would then provide debug output.
  • 36 Votes
    55 Posts
    30k Views
    phenomlab
    @DownPW I see why. The code relies on the existence of [component="topic/quickreply/container"] However, this by definition means that the below has to be enabled [image: aeef638f-4188-489d-a9f2-f3a26dbca9d8-image.png] It will then work [image: 7fb38631-e0f3-46ef-b652-00929d927b13-image.png] For some unknown reason, this is hidden in Harmony, and only shows if you select it. In v2, it seems that the <section> is deleted altogether in Persona if “Quick Reply” is disabled, meaning it won’t fire as it can’t locate that specific component. The downside is that you might not want the quick reply function, but I think it’s a PITA to scroll up to the top of the post just to reply, so I have it on
  • Fresher in Nodebb install

    General nodebb
    24
    15 Votes
    24 Posts
    11k Views
    phenomlab
    @Hari I’ve been reading a lot about APO. Looks impressive.
  • Dark Theme Upper Padding

    Solved Customisation nodebb
    7
    1
    6 Votes
    7 Posts
    2k Views
    crazycells
    @DownPW great! thanks a lot… this code solves my problem.
  • 5 Votes
    9 Posts
    3k Views
    crazycells
    is there any way to see whose reputation is changed by this plugin?