Mongodb not working
-
@dunlix It would be beneficial to confirm APT-Sources, e.g.;
APT-Sources: http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4/main amd64 Packages Description: MongoDB shell client
Note the repo.mongodb.org bit above. Preferential to use mongo built pkgs if available. And they should be for Ubuntu. But maybe not set as default? So just confirm this bit for me whilst at it, eh?
-
-
@macfan said in Mongodb not working:
@julian wouldnt be easier for nodeBB to just switch from this shitty DB engine to something more " modern "?
Hmm....
-
What would you propose?
-
Got code?
-
-
NodeBB supports postgresql.
-
@pitaj said in Mongodb not working:
NodeBB supports postgresql.
And, despite the above saga, Mongo itself was pretty groovy until someone got the bright idea to relicense it under SSPL. This has not affected me so much but seems to have hit a sore spot with various package managers.
-
@gotwf said in Mongodb not working:
Hmm....
- What would you propose?
- Got code?
- Something SQL maybe? Like mysql? I would touch nothing thats licensed on
SSPL
- What kind of code?
-
@macfan said in Mongodb not working:
@gotwf said in Mongodb not working:
Hmm....
- What would you propose?
- Got code?
- Something SQL maybe? Like mysql? I would touch nothing thats licensed on
SSPL
As mentioned above, NodeBB supports PostgreSQL. A far superior RDBMS to MySQL, imho, btw.
- What kind of code?
Code requisite for "porting" nodebb db backend to whatever your dream data store may be.
I, too, am none too keen on SSPL. While I am sensitive to both sides of this issue, in reality the SSPL affects me personally minimally. Meanwhile, MongoDB does a kick ass job. Hence I am electing an "If it ain't broke, don't fix it" posture.
That said, next NodeBB deployment will likely take a closer look at PostgreSQL.