Leaving files in 'Watch Folder'

When things doesn't work as they should.
Post Reply
Posts: 8
Joined: Wed Aug 22, 2018 11:28 am

Leaving files in 'Watch Folder'

Post by Krzysztof » Thu Nov 08, 2018 11:16 am


Mayan does not remove files from 'Watch Folder' and adds the same files over and over again.

Is it possible to get around it or is it the 'Watch Folder' principle?


Posts: 60
Joined: Wed Aug 22, 2018 2:52 pm

Re: Leaving files in 'Watch Folder'

Post by KevinPawsey » Fri Nov 09, 2018 12:32 pm

I had this issue before, and I managed to pin the issue down to the following:

I was using a Mac to connect to an SMB share... it turns out that there is something in the way that the Mac writes to SMB shares. I used to get 2-3 copies of the same file because the file wasn't unlocked to be able to be deleted, so it remained in the folder to be re-scanned.

Not sure if this is your setup, but what improved the situation for me was to stop sharing the watched folder as SMB, and share it as AppleTalk, and that enabled the file lock to unlock properly and be deleted after the folder scan.

Hope that helps.

Running Mayan-EDMS on: OpenMediaVault, (Docker plugin), on x86 dual-core

Post Reply