<div dir="ltr">After I fix it, eveytime I push with the web server, it work once then I end up with a <div>"index 00manifest.i is corrupted"</div><div>The repos is dead again and again.</div><div>So I can read, push once then it get corrupted?!? If I push with the map drive locally it work flawlessly.</div><div><br></div><div>Any idea what can cause this? this seem to be repeatable if you need additional information.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table width="500" border="0" cellpadding="2" cellspacing="0" style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;width:500px;table-layout:fixed"><tbody><tr><td align="left" valign="middle" width="110" height="78" style="border-right:1px solid rgb(119,39,139);width:110px"><a href="https://www.bodycad.com/" width="90" style="text-decoration:none;width:90px" target="_blank"><img src="http://bodycad.com/Content/images/signatureEmail/mini-logo-bodycad.png" alt="bodycad" border="0" height="22" width="90" style="padding-left:8px;padding-right:8px"></a></td><td align="left" width="100%" height="78" style="padding-left:10px;width:373px"><table cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;font-size:10px"><tbody><tr><td colspan="2" height="12" style="padding:0px;font-weight:bold;height:12px">Jerome Godbout</td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px">Software Developer</td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px">2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7</td></tr><tr><td height="12" colspan="2" style="padding:0px;height:12px"><span style="font-family:Helvetica,Arial,sans-serif;font-weight:bold;line-height:12px;color:rgb(119,39,139)">T: </span> <span style="font-family:Helvetica,Arial,sans-serif;line-height:12px">+1 418 527-1388</span></td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px"><span style="font-family:Helvetica,Arial,sans-serif;font-weight:bold;line-height:12px;color:rgb(119,39,139)">E: </span><a href="mailto:jerome@bodycad.com" style="text-decoration:none;display:inline;font-weight:bold;color:black" target="_blank">jerome@bodycad.com</a></td></tr><tr><td colspan="2" height="12"><a href="http://www.bodycad.com/" target="_blank">www.bodycad.com</a></td></tr></tbody></table></td></tr><tr><td align="left" colspan="2" width="480" style="padding-top:4px;width:480px"><p style="font-size:8px;font-family:Helvetica,Arial,sans-serif;line-height:12px;padding:8px;border-top:1px solid rgb(119,39,139);width:480px"><span style="line-height:12px">The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. </span><br><br><span style="line-height:12px">Le contenu de ce message et les pièces jointes sont destinés uniquement pour le(s) destinataire(s) et peuvent contenir des informations confidentielles et / ou privilégiées qui peuvent être protégées légalement contre toute divulgation. Si vous n'êtes pas le destinataire de ce message ou son agent, ou si ce message vous a été adressé par erreur, s’il vous plaît avertir immédiatement l'expéditeur par courriel de réponse, puis supprimer ce message et les pièces jointes. Si vous n'êtes pas le destinataire prévu, vous êtes par la présente informé que toute utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces jointes est strictement interdit.</span></p></td></tr></tbody></table></div></div></div>
<br><div class="gmail_quote">On Sat, Aug 12, 2017 at 9:55 AM, Jérôme Godbout <span dir="ltr"><<a href="mailto:jerome@bodycad.com" target="_blank">jerome@bodycad.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Finaly found the problems, the 00manifest.i file was corrupted. We replaced the main repos .hg with one of the workstation clone and eveything is back to normal. Not sure why this got corrupted, but we will keep a tight backup on this. I guess the error was early sign of the file corruption.<br>
<br>
Next step, remove the samba and use NFS!<br>
<div class="HOEnZb"><div class="h5"><br>
> On Aug 10, 2017, at 8:34 AM, Yuya Nishihara <<a href="mailto:yuya@tcha.org">yuya@tcha.org</a>> wrote:<br>
><br>
> On Wed, 9 Aug 2017 09:09:55 -0400, Jérôme Godbout wrote:<br>
>> I have some trouble with the hgserve with apache2 with .cgi and my repos<br>
>> hosting, it mostly work except when it tell me I have corrupted file, but<br>
>> using the repos into local map drive work just fine and verify/recover<br>
>> doesn't show any problems with it either.<br>
>><br>
>> I known the setup is totally weird, but we try to get ride of many Windows<br>
>> machines (it's a work in progress).<br>
>><br>
>> I have the repos that was originally made under Windows copied to a Linux<br>
>> based machine. The Linux repos file server is sharing it with Samba so<br>
>> developer can pull/push to it. This work flawlessly.<br>
>><br>
>> I would like to finish the apache2/hg cgi to have all user stop using the<br>
>> map drive and use the web server instead. But right now I have a lot of<br>
>> weird problems.<br>
>><br>
>> I have a second Linux server that mount the samba share and have the<br>
>> apache2 with the hgconfig for cgi-bin. I can browse the page, pull from it<br>
>> but when I try to see some history (not all of them), raw or diff for some<br>
>> file it tell me my file are corrupted.<br>
><br>
> Does "hg verify" pass on the samba share? The first thing I would try is<br>
> to stop using shared filesystem behind hgweb to see if it is a filesystem<br>
> issue or not.<br>
><br>
>> I think I might have some encoding problems. Since the repos was made under<br>
>> Windows (porbably cp-1251 or wwindows-1251) and I'm using Linux for the<br>
>> hgweb.<br>
><br>
> Character encoding could be a problem if the repository has files of non-ASCII<br>
> name, and if the underlying filesystem is encoding-aware (e.g. Samba.) If the<br>
> repository is stored in local Unix filesystems (and if clients are Windows),<br>
> filenames are just bytes so cp1251 filenames should just work.<br>
<br>
</div></div></blockquote></div><br></div>