<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Vedang.me, posts tagged mbsync</title>
  <link href="https://vedang.me/feeds/mbsync.xml" rel="self"/>
  <link href="https://vedang.me/"/>
  <updated>2025-01-06T15:18:04+05:30</updated>
  <id>https://vedang.me/</id>
  <author>
    <name>Vedang Manerikar</name>
  </author>
  <entry>
    <id>https://vedang.me/mbsync-channel-is-locked/</id>
    <link href="https://vedang.me/mbsync-channel-is-locked/"/>
    <title>Mbsync: Error: Channel &lt;x&gt; Is Locked</title>
    <updated>2017-10-11T05:30:00+05:30</updated>
    <content type="html"><![CDATA[<p>You may come across the following error when running <code>mbsync</code> :</p><pre><code>Error: channel :&lt;channel-name&gt;-remote:&lt;folder&gt;-:&lt;channel-name&gt;-local:&lt;folder&gt; is locked
</code></pre><p>This happens when there is another <code>mbsync</code> instance running in parallel and it has taken a lock on the particular folder. In my case, I am running <code>mbsync</code> via a cron-job, and it tends to leave dead instances around if the laptop sleeps during a run. Kill all instances of <code>mbsync</code> and restart the process and you should be fine!</p>]]></content>
  </entry>
</feed>
