Re: Fwd: Error: Warning: the archives are locked.
"'Daniela Rivas' via unison-users" <[email protected]> Wed, 15 Oct 2025 15:23:03 -0700 (PDT)
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_30398_1794017071.1760566983465 Content-Type: multipart/alternative; boundary="----=_Part_30399_1126295170.1760566983465" ------=_Part_30399_1126295170.1760566983465 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear all,=20 Thank you very much for replying and giving these suggestions. We would see= =20 what we can do to fix our issue, or at least would be great to know when a= =20 lock file is blocking the Unison process to continue. Best regards, Daniela On Thursday, October 9, 2025 at 2:28:58=E2=80=AFAM UTC-4 T=C3=B5ivo Leedj= =C3=A4rv wrote: > I don't think there is much you can do. > > I believe there is currently no code in Unison to remove stale lock files= =20 > on process exit. There probably should be. That won't help against droppe= d=20 > connections, of course, but it would make the next attempt run cleanly. > > Toivo > > On Tue, 7 Oct 2025 at 00:41, 'Daniela Rivas' via unison-users < > [email protected]> wrote: > >> Dear Unison mailing list, >> >> I hope this email finds you well. >> >> We have been using Unison for more than a year and we are very satisfied= =20 >> with the program, however we are reaching out to you because we encounte= red=20 >> a small issue with the sync file in unstable network conditions. >> >> Let me explain our use case: We have more than 20 clients that sync to= =20 >> one server. The clients and the server have Unison installed. These clie= nts=20 >> can lose connection and get it back hours after.=20 >> >> In the last past months we have seen this error repeat across the client= s. >> >> Roots: >> /www/uploads >> ssh://user@server//www/uploads >> >> >> *Error: Lost connection with the server* >> Unison 2.53.5 (ocaml 4.14.2) log started at 2025-09-17 at 12:29:52 >> >> Roots: >> /www/uploads >> ssh://user@server//www/uploads >> >> *Error: Warning: the archives are locked.* >> >> If no other instance of unison is running, the locks should be removed. >> The file /unison/lkb3c54ad2dbed82fb3d2ee570190a9551 on host myclient=20 >> should be deleted >> The file /home/ >> [email protected]/.unison/lka45db4ec67afbd5f4fbc6a3bc9ba8225=20 >> <https://urldefense.com/v3/__http://[email protected]/.unison/lka45db4= ec67afbd5f4fbc6a3bc9ba8225__;!!IBzWLUs!ScwYVrW5Ib1eJH8DsLZLCJXT2POtpPa7TEy4= rcFTxk0nEkmT-QpQ0dcq3_I3BocLfNsRWi4Wbto8bZtqe-fVnF9bHQxdkic$>=20 >> on host myserver12 should be deleted >> Please delete lock files as appropriate and try again. >> >> Once we delete the files in the client and the server (sometimes the loc= k=20 >> file is only present on the server) the program resumes to run=20 >> successfully.=20 >> >> Would you have any suggestions/improvements or any unison commands that= =20 >> we can run to prevent this type issue? We appreciate any feedback you co= uld=20 >> give us. >> >> Looking forward to hearing from you. >> Thanks in advance. >> >> Best regards, >> Daniela Rivas | Devops >> >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to [email protected]. >> > To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. ------=_Part_30399_1126295170.1760566983465 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear all,=C2=A0<div><br /></div><div>Thank you very much for replying and g= iving these suggestions. We would see what we can do to fix our issue, or a= t least would be great to know when a lock file is blocking the Unison proc= ess to continue.</div><div><br /></div><div>Best regards,</div><div>Daniela= <br /><br /></div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gma= il_attr">On Thursday, October 9, 2025 at 2:28:58=E2=80=AFAM UTC-4 T=C3=B5iv= o Leedj=C3=A4rv wrote:<br/></div><blockquote class=3D"gmail_quote" style=3D= "margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le= ft: 1ex;"><div dir=3D"ltr"><div>I don't think there is much you can do.= </div><div><br></div><div>I believe there is currently no code in Unison to= remove stale lock files on process exit. There probably should be. That wo= n't help against dropped connections, of course, but it would make the = next attempt run cleanly.</div><div><br></div><div>Toivo</div></div><br><di= v class=3D"gmail_quote"></div><div class=3D"gmail_quote"><div dir=3D"ltr" c= lass=3D"gmail_attr">On Tue, 7 Oct 2025 at 00:41, 'Daniela Rivas' vi= a unison-users <<a href data-email-masked rel=3D"nofollow">unison...@sea= s.upenn.edu</a>> wrote:<br></div></div><div class=3D"gmail_quote"><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1= px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Dear Unis= on mailing list,</div><div class=3D"gmail_quote"><div dir=3D"ltr"><div><br>= </div><div>I hope this email finds you well.</div><div><br></div><div>We ha= ve been using Unison for more than a year and we are very satisfied with th= e program,=C2=A0however we=C2=A0are reaching out to you because=C2=A0we enc= ountered a small issue with the sync file in unstable network conditions.</= div><div><br></div><div>Let me explain our use case: We have more than 20 c= lients that sync to one server. The clients and the server have Unison inst= alled. These clients can lose connection and get it back hours after.=C2=A0= </div><div><br></div><div>In the last past months we have seen this error r= epeat across=C2=A0the clients.</div><div><br></div><div>Roots:</div><div>= =C2=A0 /www/uploads<br>=C2=A0 ssh://user@server//www/uploads<br><br><b>Erro= r: Lost connection with the server<br></b><br>Unison 2.53.5 (ocaml 4.14.2) = log started at 2025-09-17 at 12:29:52<br><br>Roots:<br>=C2=A0 /www/uploads<= br>=C2=A0 ssh://user@server//www/uploads<br><br><b>Error: Warning: the arch= ives are locked.</b></div><div><b><br></b>If no other instance of unison is= running, the locks should be removed.<br>The file /unison/lkb3c54ad2dbed82= fb3d2ee570190a9551 on host myclient should be deleted<br>The file /home/<a = href=3D"https://urldefense.com/v3/__http://[email protected]/.unison/lka4= 5db4ec67afbd5f4fbc6a3bc9ba8225__;!!IBzWLUs!ScwYVrW5Ib1eJH8DsLZLCJXT2POtpPa7= TEy4rcFTxk0nEkmT-QpQ0dcq3_I3BocLfNsRWi4Wbto8bZtqe-fVnF9bHQxdkic$" target=3D= "_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/ur= l?hl=3Den&q=3Dhttps://urldefense.com/v3/__http://[email protected]/.u= nison/lka45db4ec67afbd5f4fbc6a3bc9ba8225__;!!IBzWLUs!ScwYVrW5Ib1eJH8DsLZLCJ= XT2POtpPa7TEy4rcFTxk0nEkmT-QpQ0dcq3_I3BocLfNsRWi4Wbto8bZtqe-fVnF9bHQxdkic$&= amp;source=3Dgmail&ust=3D1760653050981000&usg=3DAOvVaw1Qoh0AwVjqrBl= A6V1lWgOu">[email protected]/.unison/lka45db4ec67afbd5f4fbc6a3bc9ba8225</= a> on host myserver12 should be deleted<br>Please delete lock files as appr= opriate and try again.</div><div><br></div><div>Once we delete the files in= the client and the server (sometimes the lock file is only present on the = server) the program resumes to run successfully.=C2=A0<br><br></div><div>Wo= uld you have any suggestions/improvements or any unison commands that we ca= n run to prevent this type issue? We appreciate any feedback you could give= us.</div><div><br></div><div>Looking forward to hearing from you.</div><di= v>Thanks in advance.</div><div><br></div><div><div dir=3D"ltr" class=3D"gma= il_signature"><div dir=3D"ltr"><div style=3D"color:rgb(136,136,136)"><span = style=3D"color:rgb(0,0,0)"><span style=3D"font-family:verdana,sans-serif">B= est regards,</span></span></div><div style=3D"color:rgb(136,136,136)"><span= style=3D"color:rgb(0,0,0)"><span style=3D"font-family:verdana,sans-serif">= Daniela Rivas | Devops</span></span></div><div style=3D"color:rgb(136,136,1= 36)"><img src=3D"https://ci3.googleusercontent.com/mail-sig/AIorK4w1o2w0sXT= CUBusSHQ1YqDizToyQZM1pFKcw8i_37U_a1gT7EV8CdyufDqHdDlt2MJKf7mkxLM" width=3D"= 96" height=3D"45"></div></div></div></div></div> </div></div> <p></p></blockquote></div><div class=3D"gmail_quote"><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex"> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href data-email-masked rel=3D"nofollow">[email protected]= nn.edu</a>.<br> </blockquote></div> </blockquote></div> <p></p> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">unison-u= [email protected]</a>.<br /> ------=_Part_30399_1126295170.1760566983465-- ------=_Part_30398_1794017071.1760566983465--