Watch Folder Network Address

288 views
Skip to first unread message

Stefan Hagel

unread,
Feb 17, 2016, 10:37:34 AM2/17/16
to Mayan EDMS
Hello,

is it possible to use a Networkfolder as a watchfolder?

I've tried nummerous combinations but nothing works.
Last try was: smb://192.168.178.132/Hagel_Daten/MayanEDMS

Greetings,
Stefan

LeVon Smoker

unread,
Feb 18, 2016, 12:13:01 PM2/18/16
to Mayan EDMS
I mounted the network share to a local directory by adding a line in my /etc/fstab file.

//mysmbserver/Mayan_EDMS_Document_Storage/ /media/staging_folder cifs credentials=/etc/smbcredentials,iocharset=utf8 0 0

The file /etc/smbcreddentials has this:
username=myusername
password
=mysecretpassword
domain
=mydomain

LeVon S.

Stefan Hagel

unread,
Feb 19, 2016, 4:14:21 AM2/19/16
to Mayan EDMS
Thank you Levon!
That got me a lot further.

Do you know how the change the permissions for the Folder and Files so Mayan can read and write them?
Right now i get an "Error processing source: [Errno 13] Permission denied"

LeVon Smoker

unread,
Feb 19, 2016, 2:59:55 PM2/19/16
to Mayan EDMS
Much depends on how your system/installation is configured. You need to ensure that the user that Mayan is running under (which might be in your uwsgi.ini file) has access to the mount directory. Then use chown and/or chmod on that directory. Beyond that info, look for general help on unix/linux permissions.
Reply all
Reply to author
Forward
0 new messages