panic: bug: remove non existing folder (but folder still exists)

I’m on v0.14.39, Mac OS X (64 bit) and I’m getting a panic and a dump log every time I try to delete a folder.

The dump start with: panic: bug: remove non existing folder and syncthing then restarts.

The problem is the folder exists:

$ pwd
/Volumes/Sync/MobileSync
$ ps -ef |grep syncthing |grep -v grep
501 11789     1   0  9:50PM ??         0:15.00 /usr/local/opt/syncthing/bin/syncthing -no-browser -no-restart

The folder data in the config is:

<folder id="MobileSyncBackups" label="" path="/Volumes/Sync/MobileSync/" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true">
    <filesystemType>basic</filesystemType>
    <device id="aaaa" introducedBy=""></device>
    <device id="bbbb" introducedBy=""></device>
    <device id="cccc" introducedBy=""></device>
    <minDiskFree unit="%">1</minDiskFree>
    <versioning></versioning>
    <copiers>0</copiers>
    <pullers>0</pullers>
    <hashers>0</hashers>
    <order>random</order>
    <ignoreDelete>false</ignoreDelete>
    <scanProgressIntervalS>0</scanProgressIntervalS>
    <pullerSleepS>0</pullerSleepS>
    <pullerPauseS>0</pullerPauseS>
    <maxConflicts>-1</maxConflicts>
    <disableSparseFiles>false</disableSparseFiles>
    <disableTempIndexes>false</disableTempIndexes>
    <paused>true</paused>
    <weakHashThresholdPct>25</weakHashThresholdPct>
</folder>

I’ve uploaded the log file with the panic:

Unpause the folder, or upgrade to 0.14.40-rc.1 just released.

Cool thanks, I’ll try that. Even searched for this issue first, must have missed that.

Worked. Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.