<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Thank you for your time, guys! In fact I inserted a record without fullobject. That is why, when I restarted midpoint server there was an error during startup time and midpoint didn’t started. Nevertheless
we got valuable knowledge about database structure of midPoint during researching the problem. Thank you, again!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:RU">From:</span></b><span style="mso-fareast-language:RU"> Болат Казыбаев
<br>
<b>Sent:</b> Thursday, September 29, 2016 3:43 PM<br>
<b>To:</b> 'midpoint@lists.evolveum.com' <midpoint@lists.evolveum.com><br>
<b>Subject:</b> RE: Accidently deleted administrator from GUI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I solved the issue. Thank you Pavol Mederly, you are rock!
</span><span lang="EN-US" style="font-family:Wingdings;color:#1F497D">J</span><span lang="EN-US" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:RU">From:</span></b><span lang="EN-US" style="mso-fareast-language:RU">
</span><span style="mso-fareast-language:RU">Болат</span><span style="mso-fareast-language:RU">
</span><span style="mso-fareast-language:RU">Казыбаев</span><span lang="EN-US" style="mso-fareast-language:RU">
<br>
<b>Sent:</b> Wednesday, September 28, 2016 10:19 AM<br>
<b>To:</b> 'midpoint@lists.evolveum.com' <</span><span style="mso-fareast-language:RU"><a href="mailto:midpoint@lists.evolveum.com"><span lang="EN-US">midpoint@lists.evolveum.com</span></a></span><span lang="EN-US" style="mso-fareast-language:RU">><br>
<b>Subject:</b> Accidently deleted administrator from GUI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi there,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I accidently deleted administrator from GUI and can't to log in. Our midpoint’s database is postgresql. I created a user in postgresql table by getting data from another instance. Records were created in m_user, m_object,
m_focus tables. Where should I create a password in order to log in to midpoint? Why don't you prohibit deleting administrator from GUI? It's a common situation and I think you have to protect it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I try to log in I getting this error: WARN (com.evolveum.midpoint.model.impl.security.UserProfileServiceImpl): Error getting user with name 'administrator', reason: Full object xml must not be null..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">com.evolveum.midpoint.util.exception.SystemException: Full object xml must not be null.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I tried to browse the midpoint sourcecode here:
<a href="https://github.com/Evolveum/midpoint/blob/edca60e6456e9fb5e9920d3215c0ece0e43ecf26/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/UserProfileServiceImpl.java">
https://github.com/Evolveum/midpoint/blob/edca60e6456e9fb5e9920d3215c0ece0e43ecf26/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/UserProfileServiceImpl.java</a> but I did not understand. Any ideas how to solve the problem?<o:p></o:p></span></p>
</div>
</body>
</html>