<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Hello Carl,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Even if you are root, there could be issues to access csv file from midpoint app. I did not use bare-metal setup, but I have checked bash file and looks like it uses current user to run midpoint. Any way I would try following:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><ol data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" style="margin-top: 0px; margin-bottom: 0px;" data-listchain="__List_Chain_458"><li style="list-style-type: "1. ";"><span>Check with "ps -ef | grep java" or similar on your taste -> to see with which os-user the process is running</span></li><li style="list-style-type: "2. ";"><span>Check if your file indeed accessible - just do "less <path to your file>" <- here is important to use copy / paste ;)</span></li><li style="list-style-type: "3. ";">Double check content of the file. Most common issues I saw is the line termination. To make sure do "dos2unix <path>" for you file. Could be, that midpoint sees you file as a single line due to the Windows or Unix line terminations instead of Linux. </li><li style="list-style-type: "4. ";">If all good - debug it.</li><li style="list-style-type: "5. ";"><span>Improbable</span>, but any way make sense to mention: some seldom but possible corner cases like enabled SELinux or even any hardening tools.</li></ol><div><br></div><div>After some weeks of try and cry I have cloned repository and all my research now I am doing locally from IntelliJ with plugin. midPoint developers did a great job in that aspect. Using it locally from your workstation you can easily check traces or even put break pointers and check the context. If you do not want / can to run it locally then you can change start command in the bash file with java debug configuration and attach debugger remotely. But I even tried IntelliJ installed in the WSL2 and even there it works :) Unfortunately midPoint is not so popular (so far :) ) and sometimes it is very hard to find a solution without to dive alone into the the problem.</div><div><br></div><div>With best regards,</div><div>Mike</div></div><div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
        On Thursday, 3 April 2025 at 11:20 PM, Carl Eyler via midPoint <midpoint@lists.evolveum.com> wrote:<br>
        <blockquote class="protonmail_quote" type="cite">
            
<div class="WordSection1">
<p class="MsoNormal">There is no midpoint user.  I am using the quickstart script  “midpoint-quickstart.sh” which I ran as root.  [<a href="https://docs.evolveum.com/midpoint/quickstart/" target="_blank" rel="noreferrer nofollow noopener">https://docs.evolveum.com/midpoint/quickstart/</a>]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Carl</p>
</div>
<p class="MsoNormal"> </p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none">From:</span></b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none"> Roos Oliver <oliver.roos@stadtluzern.ch>
<br>
<b>Sent:</b> Thursday, April 3, 2025 2:09 AM<br>
<b>To:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Carl Eyler <carl.eyler@mbanq.com><br>
<b>Subject:</b> Re: [midPoint] File x doesn't exist, at least file with CSV header must exist</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D" lang="DE-CH">Hi Carl</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D" lang="DE-CH"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Make sure, that midpoint user has access to your ‘staff.csv’ file:</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">chown midpoint:midpoint /opt/staff.csv'</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Hope that helps :)</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Oliver</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">Von:</span></b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE"> midPoint <</span><a href="mailto:midpoint-bounces@lists.evolveum.com" rel="noreferrer nofollow noopener"><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">midpoint-bounces@lists.evolveum.com</span></a><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">>
<b>Im Auftrag von </b>Carl Eyler via midPoint<br>
<b>Gesendet:</b> Donnerstag, 3. April 2025 00:46<br>
<b>An:</b> </span><a href="mailto:midpoint@lists.evolveum.com" rel="noreferrer nofollow noopener"><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">midpoint@lists.evolveum.com</span></a><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE"><br>
<b>Cc:</b> Carl Eyler <</span><a href="mailto:carl.eyler@mbanq.com" rel="noreferrer nofollow noopener"><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">carl.eyler@mbanq.com</span></a><span style="font-family:"Calibri",sans-serif;mso-ligatures:none" lang="DE">><br>
<b>Betreff:</b> [midPoint] File x doesn't exist, at least file with CSV header must exist</span></p>
</div>
</div>
<p class="MsoNormal"><span lang="DE-CH"> </span></p>
<table style="width:100.0%;background:#C9CDD1" width="100%" cellpadding="0" border="0" class="MsoNormalTable">
<tbody>
<tr>
<td style="padding:1.0pt 1.0pt 1.0pt 1.0pt">
<p style="mso-line-height-alt:8.0pt" class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#F70000;mso-ligatures:none"> Denken vor Klicken:</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none">
 Verdächtige E-Mails bitte mit Hilfe der Schaltfläche melden.</span></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p class="MsoNormal">Running midpoint 4.9.2 using quickstart on Ubuntu 24.04.2 LTS</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Attempting to import our HR file using the wizard.     Regardless of the file path, the get message Configuration error: File '/opt/staff.csv' doesn't exist. At least file with CSV header must exist</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thoughts?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Regards</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black">Carl Eyler I Head of Information Security and Technology Risk | Mbanq</span></p>
<p class="MsoNormal"> </p>
</div>



        </blockquote><br>
    </div>