Jump to:

23355 Posts in 17838 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Replicated site database duplication issue

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 473 Views
  • Rod
    Avatar
    Community Member
    12 Posts

    Replicated site database duplication issue Link to this post

    Hi there,

    We have just set up a site that replicates to a different server every hour or so. And now we have this error:

    SLAVE FAILURE: Last_SQL_Error: Error 'Duplicate entry '139895' for key 'PRIMARY'' on query. Default database: 'SS_mysite'. Query: 'INSERT INTO "SiteTree_ImageTracking" ("SiteTreeID","FileID" , "FieldName") VALUES (103, 198 , 'Content')'

    Both the master and slave versions of the site still work fine on the front-end, but the replication won't work with this error occurring.

    The table name and nature of this error seems to suggest that website visitor activity is saving to the slave database in the form of tracking information - is this correct?

    Is there a safe and easy way to turn off this tracking? Or is there some other way around this?

    Thanks in advance.

    473 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.