PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 10th of July, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[10:52:02] <kaeffchen_> if i try rs.initiate() i get "no host described in new configuration 1 for replica set rs01 maps to this node" can somebody please tell me how this config http://paste.debian.net/1091047/ should look like? my problem is, i have one host but need a replicaset or rocketchat won't start
[17:25:44] <sirsquishy> What is the real difference between CE and Enterprise editions? I see the website but it looks like 'Support vs Non Support' and the in memory database engine.
[17:26:38] <sirsquishy> I just found out that our ERP system pulled Enterprise Edition last Oct when mongo changed its license model and now deploys CE only. I am trying to find out if we lost anything important with that change. Going from Mongo 3.0 Enterprise to 3.2 CE
[18:54:25] <robertparkerx> I updated to the new driver and I'm getting this error: PHP Fatal error: Uncaught Error: Call to undefined method MongoDB\\Collection::update()
[18:54:39] <robertparkerx> what is the new api equal
[20:51:24] <robertparkerx> This channel is dead
[20:51:30] <sirsquishy> yup
[20:51:33] <sirsquishy> as is mongoDB
[20:58:10] <robertparkerx> sirsquishy, do you know how to import data from mongo 2.6 to 3.6 ?
[20:58:33] <sirsquishy> yes
[20:58:34] <robertparkerx> I was trying to use updateOne and destroyed the database
[20:58:37] <sirsquishy> do you know how to export the dat?
[20:58:45] <robertparkerx> Yes I think I did already
[20:58:56] <robertparkerx> mongodump -d <database_name> -o <directory_backup>
[20:59:14] <robertparkerx> I transfered it over to the new server but it doesn't seem to import
[21:00:02] <sirsquishy> monogdump and mongorestore
[21:00:06] <sirsquishy> yea
[21:00:15] <robertparkerx> yea
[21:00:25] <robertparkerx> It doesn't seem to remote from the new server
[21:00:30] <robertparkerx> restore
[21:00:36] <sirsquishy> You could import it back to a fresh install on 2.6 and do an inplace upgrade to 3.6
[21:00:47] <sirsquishy> I went from 3.0 to 3.4.16
[21:00:59] <sirsquishy> not 3.6, cant run that new of a version for the core stuff
[21:01:09] <sirsquishy> so maybe you need to step up?
[21:01:16] <sirsquishy> 2.8 to 3.0 to 3.2 then 3.6 ?
[21:01:18] <robertparkerx> I cannot on this server
[21:02:26] <sirsquishy> looks like a lang change is in order from 2.8 to 3.0 https://askubuntu.com/questions/643252/how-to-migrate-mongodb-2-6-to-3-0-with-wiredtiger
[21:05:05] <robertparkerx> don't know what to do with file "/tmp/mongo/hebe/system.indexes.bson", skipping...
[21:05:21] <robertparkerx> mongorestore /tmp/mongo/hebe
[21:12:08] <sirsquishy> so it cant process your indexes
[21:12:10] <sirsquishy> thats amazong
[21:12:14] <sirsquishy> amazing*
[21:18:49] <robertparkerx> Now I get : E11000 duplicate key error index:
[21:18:57] <robertparkerx> I got it to load the bson by
[21:19:09] <robertparkerx> mongorestore --noIndexRestore -d hebe /tmp/mongo/hebe/pricegroup.bson
[21:19:17] <robertparkerx> but it continues to show the error
[21:28:15] <sirsquishy> dunno beyond that
[21:28:29] <sirsquishy> just know that when I moved from 3.0 to 3.4 to a new server, the dump and restore worked with out issue
[21:28:37] <sirsquishy> so maybe start with a fresh install?
[21:32:27] <robertparkerx> I can't just start with a fresh install
[21:33:56] <sirsquishy> why not?