Continuous integration

Jeff Klunder asked on May 15, 2017 10:46

Hi all,

I'm trying to make a backup from my Kentico database and ran the terminal command ContinuousIntegration.exe -r After a couple of minutes the following error displayed: Errors occurred while restoring objects from the repository: Object type User on site: Object serialized in file @global\cms.usersite\dodo@8d6aa5571f.xml cannot be deserialized. Mapping of the following fields failed: UserID.

Is there something I can do to fix this?

Recent Answers


Anton Grekhovodov answered on May 15, 2017 12:17

Hi Jeff,

There is file repository.config in CMS\App_Data\CIRepository folder where you can include/exclude any objects in/from CI. By default, the filters are empty in this file, so all object (webparts, templates, users, reports) are under CI and it's bad because not all object can be restored and process of restoring is too long. So you should add only particular objects to CI by modifying filters and avoid adding global or instance specific objects to CI. For example, you should add your custom page types or webparts there.
Read more about Excluding objects from continuous integration

1 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on May 15, 2017 13:13

Hi Anton,

I found that file, only it's full of comments; nothing is 'active'. Haven't opened that file before, so my guess is that is in default?

Also, I get a screen 'database instance', which looks like some kind of wizard. I don't know exactly why this screen appears, because the projectsite worked this morning...

0 votesVote for this answer Mark as a Correct answer

Anton Grekhovodov answered on May 15, 2017 13:36 (last edited on May 15, 2017 13:46)

Yes, that is default.

If you get en error during restoring changes via ContinuousIntegration.exe -r, your website can be broken and I'm afraid of that you need to restore database from your backup.

0 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on May 15, 2017 15:01

I found the following link, in my case I can not even choose a database or anything. It starts with the second screen (database instance) where nothing is editable. Weird, isn't it?

After some more searching on Google, I found out that a possible fix could be to update my sql app so I'll try that and see if I then can import a database again and hopefully everything will work.

0 votesVote for this answer Mark as a Correct answer

Anton Grekhovodov answered on May 15, 2017 20:05

When I wrote 'restore database', I meant that you restore it via SQL management studio not via Kentico installer.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.