Closed 01e9 closed 5 years ago
This error happens with 2.6 and 2.5.
It works with resilio/sync:release-2.4.5
.
@arteniioleg this is not Docker related issue, according to the log provided there is some issue with /mnt/mounted_folders/sync/.sync
folder, in particular with service files inside .sync folder. Please contact support and provide full log to analyze the issue https://help.resilio.com/hc/en-us/requests/new?ticket_form_id=91563
This issue is hard to reproduce with regular resilio usage on PC, so reporting it will be confusing for testers/developers. I will keep this issue open until I will have enough motivation and time to create a full docker-compose configuration to reproduce it easily.
@arteniioleg got it, once it's done please contact support directly using the link provided. Thanks.
My bad.
I use Resilio for backups. After creating a new backup archive I delete old files with this command
docker exec ${CONTAINER} find /mnt/mounted_folders/sync -mtime +30 -type f -delete
and it deleted /mnt/mounted_folders/sync/.sync/ID
because it scanned files recursively.
The fix is to add -maxdepth 1
docker exec ${CONTAINER} find /mnt/mounted_folders/sync -maxdepth 1 -mtime +30 -type f -delete
I am pulling my hair for a few hours.
I do:
docker cp
or mount the same volume in another container)I tried different combinations, with/without volumes, but still get the error.
What may be the cause?