https://www.growthbook.io/ logo
b

billions-arm-13894

03/16/2023, 12:19 PM
Hi team! After separating MongoDB to another service and doing dump & load of the existing data, is there anything else left to do in order to GrowthBook recognise the organisation and other data? Such as setting the mongo db database to use? Currently I can list admin, local, config and test databases with show collections command where test contains all the data.
f

fresh-football-47124

03/16/2023, 3:49 PM
did it work?
that’s all that should be required
b

billions-arm-13894

03/17/2023, 12:43 PM
nope, I moved only the test database because there is all the user generated data including organization, feature flags, experiments, and users but the instance doesn't recognize the organization
the form for creating the organization keeps popping out
f

fresh-football-47124

03/17/2023, 6:04 PM
we use the organization id to join across most of the records in mongo
if you didn’t port that, and the users collection, it will prompt you to create a new org as it won’t see the old one
b

billions-arm-13894

03/20/2023, 8:58 AM
and where is the organization id stored? is it only in the organizations collection? if so, I've moved it also
f

fresh-football-47124

03/20/2023, 4:27 PM
it is in the organization collection
b

billions-arm-13894

03/20/2023, 5:38 PM
hmm it's weird then. I have all the data moved over but it still somehow doesn't recognize it 😕
f

fresh-football-47124

03/20/2023, 5:39 PM
do you have a different user record?
b

billions-arm-13894

03/20/2023, 5:43 PM
shouldn't be different. I'll try to reimport it once again, maybe something got lost on the way. is there any reason the database with all the user generated data is called "test"?