Managed to solve the problem.
As database server I use MS SQL 2014.
What would SharePoint 2013 and SharePoint 2013 SP1 properly to work with it it is necessary cumulative updates for October 2015.
Here is a link to the updates:
I also want to note that updates to SharePoint Foundation 2013 and SharePoint Server 2013 are different, be careful.