Both tried Watch Folder and Sane Scanner.
Connecting my scanner to the VM was just an experiment but wasn’t plan on using it though.
I have read that article already but it’s not applicable to my situation right now.
Besides sharing the scanner with the VM as a USB device, controlling the scanner via the network using SANE, or having the scanner store the documents in a shared drive, there is no other method to use a scanner.
The main issue is attempting to use the scanner as an attached device for a single host, but also attempting to share the scanned files. The purpose of Mayan’s Watch folder/storage and the Staging folder/storage sources is precisely to allow sharing a scanner device without requiring it to be attached or controlled by a single host as a peripheral.
Windows is not a suitable operating system for large Mayan deployments. I does not offer the technologies required for scaling a document management solution. You can coherence it, but this is something that will more likely than not create recurrent issues in the future.
If you wish to continue with this approach please understand that Windows and not Mayan will be the primary cause of issues.
My plan is to connect my scanner to a Windows computer to be used to scan documents and store it to a folder thar is shared across the network
In this case system hosting the network to which the Windows machine is sending the scanned files must also provide a compatible means to share the same network drive with the Mayan VM’s host operating system. The network drive must be mounted inside the VM too, and then also made available to the Mayan Docker container. Only then will Mayan be able to access the network drive.
or maybe the computer itself.
In this case, the Windows machine must provide a file server software compatible with the Mayan VM’s host operating system. The network drive must be mounted inside the VM too, and then also made available to the Mayan Docker container. Only then will Mayan be able to access the network drive.
The only difference between the scenarios is which system will perform the scanned images file serving. The external system providing the network drive or the Windows host machine. But in both case it is the responsibility of those system to first share the drive in a compatible manner before Mayan can even be aware of it.