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
0answers
36 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 ...
0
votes
1answer
131 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 ...
0
votes
1answer
52 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 ...
0
votes
0answers
38 views

MongoDB database lock caused the website to freeze? Does that even make sense?

We had a customer's website (Sitecore 8.2 on Azure) go down last week for about 20 minutes. The site was so locked up that there were no Sitecore log messages. However, there were a bunch of ...
0
votes
1answer
430 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 ...
0
votes
0answers
24 views

Can I rebuild of the Reporting Database for entries in a specific time interval?

Sitecore 8.1 with Mongo DB here. Rebuilding the reporting database takes time, and even if there are ways pf improving the speed of the process, it's still a daunting task. Is there a way too, say, ...
13
votes
2answers
1k views

MongoDB historical data and data truncation

We have noticed that our MongoDB's are growing steadily. Which is an obvious result of just capturing all kinds of user interactions. However, we can't have the xDB grow infinitely... I can't seem ...
-1
votes
1answer
37 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 ...
1
vote
1answer
215 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 ...
1
vote
1answer
308 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 ...
2
votes
1answer
100 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 ...
4
votes
1answer
126 views

Analytics Stops upon Code Deployment

I am not sure if anyone ran into this issue before: We have an in house built tool to deploy code from the build server to specified destinations. Mongo reports/Custom Analytics is not working ...
1
vote
1answer
599 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....
1
vote
0answers
40 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....
1
vote
1answer
104 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 ...
0
votes
0answers
60 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 ...
1
vote
1answer
64 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. ...
2
votes
1answer
189 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 ...
0
votes
1answer
362 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 ...
0
votes
1answer
201 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 "...
20
votes
2answers
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 ...
0
votes
1answer
73 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 ...
1
vote
1answer
894 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 ...
0
votes
1answer
68 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 ...
2
votes
2answers
301 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 ...
2
votes
1answer
105 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), ...
2
votes
2answers
156 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 ...
1
vote
1answer
985 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. ...
1
vote
1answer
65 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 ...
5
votes
1answer
252 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 ...
3
votes
1answer
153 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 ...
2
votes
1answer
159 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 ...
0
votes
0answers
168 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()...
1
vote
0answers
184 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 ...
4
votes
0answers
82 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 ...
3
votes
2answers
202 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 ...
1
vote
1answer
3k 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 ...
5
votes
0answers
668 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 ...
0
votes
2answers
121 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 ...
4
votes
2answers
389 views

“Method not found” error with MongoDB.MongoCursor

I have problem with MongoDB.Driver.MongoCursor. When I want to set tracking I get an error: Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb....
10
votes
5answers
782 views

Sizing MongoDB Servers for xDB

Is there guidance on sizing the Mongo DB servers when running xDB on premises? I've found some guidance on sizing MongoDB for session state (link) but can't find anything on the analytics side. To be ...
7
votes
3answers
699 views

Can I use the in-memory storage engine for my MongoDB based sessions?

MongoDB 3.2+ offers the option of putting some or all of the structures into an in-memory engine. I was thinking to try out this capability for discardable data such as Sitecore sessions - for which ...
2
votes
1answer
324 views

How to secure MongoDB replica set environment?

Currently, I have 3 servers running MongoDB 3.0 as part of a Replica Set, and no security is applied. To connect I simple use mongodb://m01,m02,m03/analytics?replicaSet=rs0 Is it possible create ...
9
votes
2answers
368 views

Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?

Want to check if we have any guidelines (metrics) helpful to decide either Mongo or SQL will be good fit while Upgrading to Sitecore 9, especially if the current version in below 7.5 (No Mongo). ...
0
votes
1answer
822 views

Getting System.NullReferenceException while setting value into Sitecore.Analytics.Tracker.Current.Session.Identify

We are using Azure B2C for Login into Our website, but in CM server we are getting below error . The Same code is working in CD server. I don't remember what i have missed in CM server (any config ...
14
votes
0answers
802 views

Submit queue is not working [closed]

I was looking for a fallback for Analytics when MongoDB was not available anymore and the "Submit queue" was exactly what I needed on paper. My Issue It seems that the "Sitecore.Analytics....
0
votes
1answer
126 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 ...
13
votes
3answers
928 views

Contact (guid) could not be locked in the xDB

I've got a site where I'm invoking Tracker.Current.Session.Identify(), passing in the authenticated user's email address. It works fine locally, but when deployed the identify call often - but not ...
1
vote
0answers
193 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. ...
11
votes
1answer
425 views

Sitecore XDB cleanup to limit size

On our current system XDB is grown very large, the interactions DB is around 80% of the total database size, followed by KeyBehaviourCache at 5% then GeoIps and Contacts at 4%. We need to reduce the ...