Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deluge - watch folder not working #3332

Closed
ghost opened this issue May 30, 2018 · 14 comments · Fixed by #5398
Closed

Deluge - watch folder not working #3332

ghost opened this issue May 30, 2018 · 14 comments · Fixed by #5398

Comments

@ghost
Copy link

ghost commented May 30, 2018

Hello,
DSM shows me deluge update today (v 1.3.15-9). I updated deluge and found some problems:

  • all torrents were red with error about permissions so I edit group permissions for sc-download in DSM (works fine now)
  • watch folder doesn't work. Have checked it in settings but if I add some torrent, nothing happened.

Any fix?

@ghost
Copy link
Author

ghost commented May 30, 2018

just checked /volume1/@appstore/deluge/var/core.conf and watch folder is there but it still doesn't load any torrents.
"autoadd_location": "/volume1/Downloads/_watch",

@m4tt075
Copy link
Contributor

m4tt075 commented May 30, 2018

Look here and see whether that fixes your problems:
https://github.com/SynoCommunity/spksrc/wiki/Permission-Management

@ghost
Copy link
Author

ghost commented May 30, 2018

checked (option 1 and option 2). have all permission there for sc-download group but watch folder still doesn't work

@m4tt075
Copy link
Contributor

m4tt075 commented May 30, 2018

When you edited group premissions for sc-download in DSM (prior to looking at the Wiki), what did you change?

@m4tt075
Copy link
Contributor

m4tt075 commented May 30, 2018

Or is this an old (DSM5) shared folder, which needs to be converted to ACL permissions first (see the bottom of the page I linked above)?

@ymartin59
Copy link
Contributor

@USRGH May you please copy logs here from /var/packages/deluge/target/var/*.log ? Thanks.

@BaukeZwart
Copy link

BaukeZwart commented May 31, 2018

Deluge 1.3.15-9 watch folder is working fine for me on DSM 6.1.7-15284

@ghost
Copy link
Author

ghost commented May 31, 2018

@ymartin59 logs of what files? all *.log?

@ghost
Copy link
Author

ghost commented May 31, 2018

@m4tt075 : didn't change nothing. Have write/read permissions for Downloads folder.
watch folder is in download folder so it's subfolder.

@ymartin59 : found something like this in logs:
WARNING ] 21:27:45 torrentmanager:531 Unable to save torrent file: [Errno 13] Permission denied: u'/volume1/Downloads/_watch/_loaded/tmpSMMlXS.torrent'
[ERROR ] 21:34:31 core:330 Disabling '/volume1/Downloads/_watch', error during update: [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 13] Permission denied: '/volume1/Downloads/_watch'
build/bdist.linux-armv7l/egg/autoadd/core.py:121:enable_looping
build/bdist.linux-armv7l/egg/autoadd/core.py:338:enable_watchdir
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/task.py:194:start
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/task.py:239:call
--- ---
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/defer.py:150:maybeDeferred
build/bdist.linux-armv7l/egg/autoadd/core.py:243:update_watchdir
]
[INFO ] 21:35:38 torrentmanager:780 Successfully loaded fastresume file: /volume1/@appstore/deluge/var/state/torrents.fastresume
[INFO ] 21:35:39 torrentmanager:826 Saving the fastresume at: /volume1/@appstore/deluge/var/state/torrents.fastresume
[INFO ] 21:35:48 pluginmanagerbase:158 Plugin AutoAdd enabled..
[ERROR ] 21:35:53 core:330 Disabling '/volume1/Downloads/_watch', error during update: [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 13] Permission denied: '/volume1/Downloads/_watch'
build/bdist.linux-armv7l/egg/autoadd/core.py:121:enable_looping
build/bdist.linux-armv7l/egg/autoadd/core.py:338:enable_watchdir
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/task.py:194:start
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/task.py:239:call
--- ---
/var/packages/python/target/lib/python2.7/site-packages/twisted/internet/defer.py:150:maybeDeferred
build/bdist.linux-armv7l/egg/autoadd/core.py:243:update_watchdir
]

@ghost
Copy link
Author

ghost commented May 31, 2018

some screenshots
snimka obrazovky 2018-05-31 o 18 11 47
snimka obrazovky 2018-05-31 o 18 11 50
snimka obrazovky 2018-05-31 o 18 12 10
snimka obrazovky 2018-05-31 o 18 12 50
snimka obrazovky 2018-05-31 o 18 13 01

@ymartin59
Copy link
Contributor

@USRGH Strange. May you please do same checking on "_watch" folder itself, opening its properties and specific permissions settings? Also check with ssh and ls -ld _watch and report here command output.

@BenjV
Copy link

BenjV commented Jul 11, 2018

Two remarks:

One:
Did you checked this:
#3332 (comment)

Two:
The "_watch" folder was already created and permissions are set on creation time, so you have to use FileStation to correct the permissions for als subfolder and files of the "Downloads" share who already existed before the upgrade.

@hgy59
Copy link
Contributor

hgy59 commented May 10, 2020

@USRGH is this still an open issue for you?

@th0ma7 th0ma7 linked a pull request Aug 29, 2022 that will close this issue
13 tasks
@th0ma7
Copy link
Contributor

th0ma7 commented Aug 31, 2022

New version of deluge is being published. Please reopen the issue if its still occurring. Thnx in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants