ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. mongodb
    Log in to post
    • All categories
    • EddieJennings

      Unifi Controller Installer Script for Ubuntu 21.04
      IT Discussion • bash unifi controller ubuntu 21.04 mongodb scripting • • EddieJennings

      7
      5
      Votes
      7
      Posts
      1356
      Views

      stacksofplates

      @dbeato said in Unifi Controller Installer Script for Ubuntu 21.04:

      @voip_n00b said in Unifi Controller Installer Script for Ubuntu 21.04:

      @stacksofplates docker is worse than reddit. I can’t believe you would suggest such hot garbage.

      How is it garbage @VoIP_n00b ? It is quite possible if someone wants to run their Controller as a container. I am not sure why you are also comparing Reddit with Docker, what is the comparison?

      I think it's an attempt at trolling.

    • scottalanmiller

      MangoLassi 2021 Updates
      Announcements • nodebb mongodb • • scottalanmiller

      48
      1
      Votes
      48
      Posts
      617
      Views

      J

      @scottalanmiller Thanks! It had me in a sad state for weeks....

    • scottalanmiller

      Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2
      IT Discussion • nodebb nodebb 1.14 centos linux centos 8 mongodb mongodb 4.2 • • scottalanmiller

      7
      0
      Votes
      7
      Posts
      1523
      Views

      JaredBusch

      @scottalanmiller said in Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2:

      By default, NodeBB uses the REDIS NoSQL database,

      By default, in 1.15.x it uses Mongo

      I'm pretty sure it did in the last version I installed also. But that was months ago and I do not recall clearly.

    • scottalanmiller

      Deploying NodeBB 1.13 on CentOS 8 with MongoDB 4.2
      IT Discussion • linux centos centos 8 nodebb nodebb 1.13 mongodb mongodb 4.2 howto • • scottalanmiller

      7
      1
      Votes
      7
      Posts
      1813
      Views

      scottalanmiller

      @JaredBusch said in Deploying NodeBB 1.13 on CentOS 8 with MongoDB 4.2:

      You can only remove this line if you are going to host the reverse proxy on the same instance.

      No reverse proxy needed if you are going to just look at it locally without going over the network.

    • scottalanmiller

      NoSQL for IT at MangoCon 2019 Topic
      MangoCon • mangocon mangocon 2019 nosql database scott alan miller mongodb cassandra scylladb redis dgraph dba • • scottalanmiller

      1
      3
      Votes
      1
      Posts
      270
      Views

      No one has replied

    • scottalanmiller

      Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4
      IT Discussion • nodebb centos 7 linux mongodb mongodb 4.0 howto centos nodebb 1.11 • • scottalanmiller

      20
      2
      Votes
      20
      Posts
      2270
      Views

      scottalanmiller

      @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

      What specific reasons for the CentOS recommendation here?

      Revisiting a little...

      Basically the three main Linux releases supported by MongoDB are CentOS, Ubuntu, and Debian. CentOS and Ubuntu here are mostly six of one. But CentOS 8 Stream I like a little more than the Ubuntu LTS options. We use Ubuntu a little more often than CentOS today, but in this case I feel that CentOS is slightly better for us. But really, all three options are perfectly fine. We just have to pick one.

    • scottalanmiller

      MongoDB Major Change to Licensing
      Developer Discussion • mongodb open source licensing database nosql • • scottalanmiller

      78
      1
      Votes
      78
      Posts
      1902
      Views

      scottalanmiller

      @StorageNinja said in MongoDB Major Change to Licensing:

      @scottalanmiller said in MongoDB Major Change to Licensing:

      if you are a SaaS vendor looking at building software that uses MongoDB somewhere, you'd better get a lawyer looking over this license and how it applies to you.

      This is becoming a bigger issue as the biggest SaaS vendors hide behind this clause more and more with incredibly proprietary forks. They offer very little to no actual core development or contribution and it goes against the previous method of GPL code getting funding.

      It annoys me, as the legal headaches of contributing internal only use code back will block some companies from using OSS, but I see it both ways.

      The startups who are doing a lot of the core housekeeping of NOSQL platforms are learning they can't find a business model. This is getting messier and messier.

      Partially because there are just too any vendors involved.

      What's amazing, though, is that a move like this took a customer who was very into MongoDB and using it in projects and was literally working with MongoDB's own hosted product and now looking to avoid it like the plague.

      So at least in this one case, they are likely losing hosted product from this. And gaining nothing. I imagine a lot of customers going through this same process.

    • JaredBusch

      Install NodeBB 1.10.2 on Fedora 28 with Mongo
      IT Discussion • nodebb nodebb 1.10.2 fedora fedora 28 mongo mongodb • • JaredBusch

      30
      2
      Votes
      30
      Posts
      2311
      Views

      JaredBusch

      @mattbagan said in Install NodeBB 1.10.2 on Fedora 28 with Mongo:

      @JaredBusch worked like a charm. Thank you!

      Thanks, great to hear.

    • scottalanmiller

      MongoDB Storage Engine Error Detected MMapV1 and wiredTiger
      IT Discussion • mmapv1 wiredtiger mongodb mongodb 3 database nosql • • scottalanmiller

      3
      0
      Votes
      3
      Posts
      2468
      Views

      scottalanmiller

      @jaredbusch said in MongoDB Storage Engine Error Detected MMapV1 and wiredTiger:

      @scottalanmiller okay, they totally fucked this up.

      Yeah, this is some weird stuff.

    • scottalanmiller

      MongoDB 3.6 Update Issues
      IT Discussion • mongodb mongodb 3.6 • • scottalanmiller

      8
      2
      Votes
      8
      Posts
      889
      Views

      scottalanmiller

      @black3dynamite said in MongoDB 3.6 Update Issues:

      @scottalanmiller said in MongoDB 3.6 Update Issues:

      @black3dynamite said in MongoDB 3.6 Update Issues:

      Is this an issue when using the packages from Fedora and Ubuntu repo or from MongoDB repo or both?

      Fedora and Ubuntu repos will cause this issue. If you just do your normal 27 -> 28, or 16.04 -> 18.04, or 17.10 -> 18.04 updates, it gets you. No warnings (within the system.) This will be a big problem for people who get MongoDB installed as part of an app in the background and don't know that they are running it!

      Wiki.js

      That, too, would be affected. Yes. But only in the 1.x series. Once they go to 2.0, they are dumping MongoDB.

    • scottalanmiller

      Solved Unifi 5.7 on Ubuntu 18.04
      IT Discussion • unifi ubnt ubiquiti unifi 5.7 ubuntu ubuntu 18.04 mongodb mongodb 3.6 • • scottalanmiller

      23
      1
      Votes
      23
      Posts
      6495
      Views

      scottalanmiller

      @ccwtech said in Unifi 5.7 on Ubuntu 18.04:

      Scott, why did you go with Ubuntu vs. Fedora? (Asking for a friend)

      Because it's the official OS of the product. Absolutely no reason to use Fedora here. Unifi only supports Ubuntu and Debian, and Jared and I have opposite views here. Ubuntu is the business product of the Debian family, Debian is the hobby project that is used as the basis for it. Debian is great, I love the project and they do great work, but it doesn't have primary vendor support, you are at the mercy of a hobby project. Ubuntu uses that basis and turns it into a production ready release with vendor and market support options.

      Ubuntu isn't Fedora, but it's still extremely good.

    • scottalanmiller

      Remove Duplicate Entries from MongDB Collection
      IT Discussion • mongodb nosql aggregate • • scottalanmiller

      3
      1
      Votes
      3
      Posts
      438
      Views

      bbigford

      @scottalanmiller said in Remove Duplicate Entries from MongDB Collection:

      You can add an index as well, to avoid having duplicates occur in the future:

      db.myCollection.createIndex({"my_field_to_be_unique":1},{unique:true})

      Good idea.

    • scottalanmiller

      Find Duplicate Value Entries in MongoDB Collection
      IT Discussion • mongodb nosql javascript aggregate • • scottalanmiller

      2
      3
      Votes
      2
      Posts
      5954
      Views

      scottalanmiller

      For more detail, showing the UIDs of each of the duplicates in question, try this little extension:

      db.myCollection.aggregate([ {$group: { _id: "$field_to_search", "dups": { "$push": "$_id" }, count: { $sum: 1}}}, {$match: { count: { $gt: 1 }}}])
    • mlnews

      MongoDB Most Wanted Database by Developers
      News • databases nosql mongodb • • mlnews

      1
      2
      Votes
      1
      Posts
      406
      Views

      No one has replied

    • mlnews

      MongoDB Drops ACID
      News • mongodb nosql databases mongodb 4.0 acid • • mlnews

      2
      1
      Votes
      2
      Posts
      367
      Views

      scottalanmiller

      Gotta love that MongoDB 🙂

    • JaredBusch

      Solved SELinux issue with MongoDB on Fedora 27
      IT Discussion • mongodb selinux fedora 27 • • JaredBusch

      11
      0
      Votes
      11
      Posts
      1664
      Views

      JaredBusch

      @brrabill said in SELinux issue with MongoDB on Fedora 27:

      @jaredbusch said in SELinux issue with MongoDB on Fedora 27:

      @black3dynamite said in SELinux issue with MongoDB on Fedora 27:

      Have not see that issue but I'm also using mongodb that is available from Fedora instead.
      /var/lib/mongo/ doesn't exist for me. But /var/lib/mongodb does exist. I also do have local.ns too.

      /sigh

      FFS @jaredbusch pay attention to what you are doing. don't use old versions.

      Long day when you have to sigh and FFS at yourself.

      Something like that, yes.

    • scottalanmiller

      MongoDB 3.2 Update Issues on CentOS 7
      IT Discussion • mongodb mongodb 3.2 centos 7 linux • • scottalanmiller

      1
      0
      Votes
      1
      Posts
      559
      Views

      No one has replied

    • mlnews

      MongoDB 3.6 Released
      News • mongodb mongodb 3.6 • • mlnews

      8
      3
      Votes
      8
      Posts
      719
      Views

      dbeato

      @scottalanmiller 🙂 Well you know, let's break it 😛

    • JaredBusch

      Unable to update UniFi Controller due to Mongo GPG Error
      IT Discussion • unifi controller ubuntu ubiquiti mongodb error • • JaredBusch

      6
      2
      Votes
      6
      Posts
      1580
      Views

      matteo nunziati

      @JaredBusch not necessarily abnormal but surely a mix of 3 independent repos.

    • travisdh1

      Extortionists competing to get paid for the same databases!
      News • mongodb default unsecured • • travisdh1

      12
      0
      Votes
      12
      Posts
      1395
      Views

      scottalanmiller

      @Romo said in Extortionists competing to get paid for the same databases!:

      Explanation of the vulnerability

      Understanding the hack

      The hack itself is alarmingly simple. In versions >= 2.6.0, MongoDB includes a default configuration file that binds MongoDB to 127.0.0.1 by default. As a result, the database will only listen to local connections.

      Before version 2.6.0, that wasn’t true. By default, MongoDB was left open to remote connections. Authentication is also not required by default, which means that out of the box installs of MongoDB before version 2.6.0 happily accept unauthenticated remote connections.

      Users could still restrict access to local connections if they took the time to configure the install but that meant manually adding a line to their mongodb.conf file. Since that wasn’t the default configuration, many existing installs never included this critical step.

      Making matters worse is that it’s easy to identify potential MongoDB attack candidates. MongoDB’s default port is 27017. Using a search engine such as ZoomEye, you can query for MongoDB installs, see what port they’re available over, and find around 100,000 vulnerable candidates.

      The vulnerability itself is hardly new. The issue was first raised back in 2012 and released somewhere around 2015. Also, in early 2015, John Matherly made some noise when he reported finding around 30,000 insecure installs of MongoDB. In other words, this is something that everyone could have known about for a while.

      That's not a vulnerability, that is STILL a half configured system AND no firewall on the server. And MongoDB 2.6 is relatively old, we are on 3.3 these days. This is a database cluster component, not a complete database piece on its own. Whatever "security" professional is writing this piece clearly isn't aware of what they are writing about. What they write is half true, 27017 is listening on 0.0.0.0, but it does so for a reason and is only vulnerable in places where someone did not finish setting up their database AND their server. It's not a vulnerability in the product.