Questions tagged [mongodb]

All questions related to the use of MongoDB in a Sitecore environment - xDB, sessions, ...

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Sitecore 8.x MongoDB Migration to 10.x using xDB Data Migration Tool 5.0.0

I tried a POC on Analytics DB migration from MongoDB to Connect using Sitecore_xDB_Data_Migration_Tool 5.0.0 for Sitecore 8.2 to Sitecore 10.x. I followed installation guide from below url https://dev....
user avatar
0 votes
0 answers
29 views

Custom facetkey missing in MongoDB Collection

I am working in Sitecore 9.3 XConnect custom facet with MongoDB. I have created a custom facets model and JSON file and able to see custom facet attributes and values but facet key(Products) under ...
user avatar
0 votes
0 answers
83 views

An exception occurred while receiving a message from the server. ---> System.IO.EndOfStreamException. xconnect mongo db

I am getting this error in xconnect. Sitecore 9.0.2 and mongo db is the collection database. However when I browse site data is not getting collected in mongo db. I have found below error in log. [...
user avatar
2 votes
1 answer
74 views

Sitecore MongoDB Compatibility Version for Sitecore 8.2 update2

As per the Sitecore recommendation from the below link Mongo 4.0.5 is recommended for Sitecore 8.2 without mentioning any update version. MongoDB compatibility table link We plan to upgrade Mongo from ...
user avatar
0 votes
1 answer
94 views

Migrating MongoDB Atlas to XConnect [upgrading sitecore 8.2 to sitecore 9.3]

Currently I am working in Sitecore upgrade 8.2 to Sitecore 9.3 also upgrading Sitecore 8.2 analytics code to Xconnect. Now I have some doubts in xDB data migration. We already have our xDB setup on ...
user avatar
2 votes
2 answers
44 views

Mongo 4.0.5 version isn't available in Mongo Site

Sitecore 9.3 recommends to use mongo 4.0.5 version. But I cannot find the exact version on the mongo website (https://www.mongodb.com/try/download/community) Appreciate any help on this .
user avatar
1 vote
1 answer
43 views

Sitecore Contacts – Create and save contacts to and from xDB (MongoDB)

When making our site in Sitecore 8.2 we have followed steps from this website https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/ ...
user avatar
0 votes
1 answer
94 views

Sitecore 8.2 Mongo Connectionstrings VS Sitecore 9.3 xConnect Connectionstrings

Sitecore XP version 8.2 comes with following MongoDB databases with connection string: analytics tracking.live tracking.history tracking.contact We are planning to upgrade Sitecore 8.2 mongo to ...
user avatar
1 vote
1 answer
77 views

MongoDB 4.0.6 setup in Sitecore 9.3

I'm trying to setup mongoDB 4.0.6 analytics in Sitecore 9.3 instead of Default SQL analytics. Are there any detailed guides on setting up mongo db for sitecore 9.3 ? I can't seem to find any ...
user avatar
0 votes
1 answer
58 views

Sitecore Analytics cookie id does not match in MongoDB Contacts table records

I have Sitecore 8.2 installed in my local environment. I was investigating that is analytics/xDB working correctly in my setup. I opened my site with a browser and saved the cookie ...
user avatar
1 vote
1 answer
66 views

Indexing error with MongoDB that should be disabled

I'm getting the below error in my Crawling.log.txt file. The problem is that we don't have MongoDB or xDB setup because we're not using it at all. I'm trying to figure out where this is coming from. ...
user avatar
  • 931
0 votes
0 answers
75 views

Sitecore 8.2 website went down when MongoDB crashed, how to prevent [duplicate]

Sitecore 8.2 Update 3 We have a single CM that also hosts MongoDB for analytics. We also have 2 CDs. This morning MongoDB crashed when it apparently ran out of memory. I thought Sitecore was supposed ...
user avatar
  • 480
0 votes
1 answer
131 views

xDB Data Migration Tool Error

I'm using xDB Data Migration Tool 2.0 to migrate data from MongoDB (Sitecore 8.2) to xconnect (Sitecore 9.0.2). The tool runs without errors for around 60k records. Then it breaks with Errors like ...
user avatar
  • 131
-1 votes
1 answer
57 views

MongoDB errors while installing WFFM

Why is installing WFFM trying and failing to talk to MongoDB? I'm starting with a base Sitecore 8.2 install from SIM - my understanding is SIM would completely handle setting up the 8.2 Sitecore ...
user avatar
1 vote
1 answer
375 views

Setup Mongo DB with Sitecore 9.2

I have installed Sitecore 9.2 XP0 Single Machine instance, using MS SQL Server for xDB. Now I have a requirement to replace MS SQL Server with Mongo DB for xDB. I have installed Mongo DB 4.0.5, as per ...
user avatar
2 votes
1 answer
251 views

How do I get my Sitecore 8.2 install to work with MongoDB 3.6 now that v3.4 is going to be EOL?

MongoDB has announced end of life (EOL) support for MongoDB version 3.4 in January 2020. The Sitecore KB MongoDB compatibility article for Sitecore 8.2 only shows version 3.4 as compatible. How do I ...
user avatar
  • 6,406
1 vote
1 answer
2k views

Sitecore.Analytics.DataAccess.XdbUnavailableException Message: xDB unavailable

I am trying to map Sitecore 9.1 with MongoDB.I have Provided all required settings but still getting an exception. Message: xDB unavailable Source: Sitecore.Analytics.XConnect at Sitecore.Analytics....
user avatar
0 votes
1 answer
146 views

Using xDB Data Migration Tool 2.0.2

Is there a need for down time while tool is running? If not, should we disable analytics during the process? Thinking the site should be live but I do not want to have new data going into Mongo ...
user avatar
1 vote
0 answers
42 views

Sitecore 8.2 update 3 mongodb conversion into sql server reporting db

We are using the Sitecore 8.2 update 3 version with MongoDB. The data is being captured in the MongoDB but Fact_Conversions table has no data. What actually is to be done to have data in this table....
user avatar
  • 183
1 vote
1 answer
150 views

MongoDB Contacts to xConnect Migration failing on WFFM analytics data

We recently set up a Sitecore 9.1 instance and we are using the xDB migration tool 2.1 to move our old analytics data which were used on Sitecore 8.2 update 6. We were able to migrate the ...
user avatar
  • 501
0 votes
0 answers
86 views

The query to MongoDB analytics.interations collection is very slow

I have Sitecore 8.1 UPD3(CM, CD, Processing distributed environment) mogodb 3.0.15 (sharded cluster and replication) I am currently facing the problem that accessing CDs takes a very long time ...
user avatar
1 vote
1 answer
83 views

User Interaction is not storing on MongoDb - Once browser is closed

We have a simple Website which has WFFM form, there is no login page. When user is closing browser directly that time interaction is not capturing into MongoDb. Probably session end is not firing. ...
user avatar
0 votes
1 answer
442 views

How to integrate MongoDB 4.0 with Sitecore 9.1?

I am trying to integrate MongoDB 4.0 with Sitecore 9.1 (to collect analytics data) but not sure what and where to change in the configuration files. I followed the steps mentioned in the installation ...
user avatar
0 votes
1 answer
275 views

Sitecore 9.1 XDB migration issue with Mongo db connection

I have: Sitecore 9.1 Sitecore 8.2 MongoDB 3.4 xDB Data Migration Tool 2.1 I'm trying migrate analytics, I configured tenant and other things by documentations and all looks fine, also Mongo db has "...
user avatar
  • 432
0 votes
1 answer
85 views

When will Successor be created?

Sitecore Experience Platform 8.1 rev. 160519. I add a custom processor to the RenderLayout Pipeline to identify contacts. Tracker.Current.Session.Identify(ContextUserName); ContextUserName adds a ...
user avatar
1 vote
1 answer
2k views

Can't start MongoDB service [Error: 1067]

When I try to start my MongoDB service I keep getting the following message: Windows could not start the MongoDB service on Local Computer Error: 1067: The process terminated unexpectedly MongoDB ...
user avatar
  • 2,211
2 votes
1 answer
264 views

MongoDB Contacts to xConnect Migration Error

I've searched everywhere in the internet and I couldn't really find anything associated to this. We are migrating Sitecore 8 Mongo Db to Sitecore 9 XConnect database. We followed the steps from below ...
user avatar
  • 133
1 vote
1 answer
394 views

xDB Data Migration tool fails

I'm trying to migrate the analytics data from Sitecore 8.2.4 to 9.0.2. The tool worked about 12 hours and failed with the following message: 10152 19:08:25 ERROR [Data Exchange] An error occurred ...
user avatar
0 votes
1 answer
82 views

Using Mongo.Driver.dll 2.4.4 with Sitecore 8.1 Update 3

I am using Sitecore 8.1 Update 3. According to Sitecore installation manual, with mongoDB version 3.0.12. The other day, when the connection of mongoDB out of order, the using connection pool exceeded ...
user avatar
2 votes
2 answers
441 views

How to get Sitecore ContactId from MongoDB collection via query?

I am new to MongoDB structure with Sitecore data processing. I want to get contact Id based on EmailId from MongoDB with an query. How to get contact Id from MongoDB based on EmailId? How it will be ...
user avatar
3 votes
1 answer
122 views

xDB Data Migration tool and vanila Sitecore instance

Is it possible to migrate xDB data from existing Sitecore 8.2 to a fresh Sitecore 9.x instance using the xDB Data Migration tool? I mean if I install a fresh Sitecore 9.x instance (not upgraded one), ...
user avatar
2 votes
2 answers
203 views

Custom facet data not being updated after initial flush to xDB

What i want to do: Save and update facet data repeatedly through WebApi Read the facet data through WebApi Everything works fine, until the contact stops being updated. It seems as if, once the ...
user avatar
1 vote
1 answer
81 views

Rebuild Sitecore Analytics db in fresh installation

We want to replace our current MongoDB and Sitecore Analytics DB on regular intervals. We are aware that it removes ALL Analytics data. Our plan is to setup a completely fresh Sitecore Analytics SQL ...
user avatar
  • 834
5 votes
1 answer
305 views

Sitecore connecting to MongoDB using SSL

I'm using Sitecore 8.2 update 5 and just setup a MongoDB using SSL, and it works fine but when Sitecore tries to communicate with it, does not work at all. In my ConnectionStrings.config, I've set as ...
user avatar
3 votes
1 answer
297 views

Periodically cleanup Sitecore Analytics data

We want to clean up Sitecore Analytics data (MongoDB + SQL) that are old (say 3 months). I already looked at Sitecore ADM and this question However, it seems that Sitecore ADM does not support ...
user avatar
  • 834
2 votes
1 answer
176 views

Problems getting Sitecore working with a Mlab mongodb cluster

Sitecore version: 8.2 Update-5 Mongodb version: 3.2.20 Connectionstring: mongodb://<dbuser>:<dbpassword>@xxx.fleet.mlab.com:111,xxx:111/<dbname>?replicaSet=xxx&amp;ssl=true We ...
user avatar
  • 21
0 votes
0 answers
264 views

Method not found: 'System.String Automation.get_MachineName()'

I'm trying to get a newly built Sitecore 8.2 working on my computer. The code compiles, but when I try to load the site it shows the error Method not found: 'System.String Automation.get_MachineName()...
user avatar
4 votes
0 answers
97 views

Blank Reports for Sitecore Analytics [duplicate]

We have empty reports in Sitecore Experience Dashboard on one of the environments where we have 1 CM and 2 CD servers and we have tried out various things but nothing worked. Reports look something ...
user avatar
0 votes
1 answer
780 views

Sitecore Release Contact Processor

We are facing an issue on our Production environment: the Experience Profile Dashboard is empty. When we look at the logs we found Tracker.IsActive= false and it says that Release contact Processor is ...
user avatar
1 vote
0 answers
232 views

Sitecore Experience Profile DashBoard is Empty

We are facing issue on production enviornment ad issue is that Sitecore Experience Profile DashBoard is Empty and this issue is only on production not on UAT or QA when i scanned through logs i found ...
user avatar
20 votes
2 answers
2k views

Mongo vs SQL Server with Sitecore 9 Update 2

Sitecore recently launched the version 9.0.2 which supports the MongoDB for xConnect. Now, for a greenfield project which needs to kickoff on Sitecore 9.0.2, we have a choice between MS SQL Server or ...
user avatar
3 votes
2 answers
308 views

Is there a reason xDb contact data is saved on session end vs immediately saving the data

So from my understanding it's better to use the tracker to update custom facets (or default facets) from a contact in xDb and then wait till SessionEnd to have that data saved to MongoDb. But my ...
user avatar
  • 4,259
5 votes
0 answers
841 views

Sitecore Analytics Exceptions with mongoDB Failure

Overview During a disaster recovery test of our environment we make mongoDB unavailable to Sitecore with the expectation that Sitecore will continue to function normally due to the Configuration ...
user avatar
  • 51
0 votes
2 answers
143 views

Unable to install WFFM in Sitecore 8.2 update 5 [duplicate]

I have Sitecore 8.2 u5 installed in my PC, with mongodb 3.6. When I install WFFM 8.2, it keeps running for ever. The mongodb service wasn't started. When I try to start it from services.msc, it ...
user avatar
  • 2,573
2 votes
1 answer
6k views

How do you resolve a MongoDB 'connection string is not valid' after upgrading?

On an installation of Sitecore 8.2 update 4, the mongo connection appears to work fine. After upgrading to Sitecore 8.2 update 6 mongo is stating that the connection string is not valid. The ...
user avatar
  • 16.4k
0 votes
1 answer
143 views

Do I need mongo db/xDb license to set xDb.TrackingEnabled = true? [duplicate]

We use Sitecore 8.2 update 3 and we do not have xDB license and mongo db, however in one of the modules we need to use geo IP which requires having xDB.TrackingEnabled = true. Can this be achieved ...
user avatar
1 vote
1 answer
2k views

Unable to load CMS. Request timeout error

My local instance suddenly stopped working today. The CMS or the live site just doesn't load. When I tried to open it using SIM, it has this log. No changes done to web.config or connection strings. ...
user avatar
  • 2,573
1 vote
0 answers
204 views

Use custom Mongo db with Powershell

I have a custom mongo database, that database contains information about pages.I need to query it in order to use SEP to create pages according to that info, ig, adding renderings component, etc. ...
user avatar
0 votes
1 answer
506 views

How to resolve Mongo PostSessionEndPipeline failed or Session Submit has failed error

Did anybody experience below issue? Recently I have been seeing below error messages in log files. I verified the Mongo connection and it seems to be working as expected and below seems to be ...
user avatar
  • 393
7 votes
1 answer
1k views

Sitecore 9 xDB Support for MongoDB

We are working on migrating our Sitecore instances to Sitecore 9 and we are using xDB for analytics. We read new version of Sitecore does not support MongoDB. Can we still use xDB and analytics?
user avatar