Page 1 of 2

Download not starting 0.00% - raspbian with NAS

Posted: Sun Mar 12, 2023 4:11 pm
by djarthur78
I have setup deluge running on a raspbian PI box.
I have mounted a NAS to store torrents /mnt/torrent

pitorrent@torrent:/mnt/torrent $ ls -lrpt
total 32
drwxrwxrwx 2 root pitorrent 4096 Feb 18 10:37 completed/
drwxrwxrwx 2 root pitorrent 4096 Feb 18 10:37 watch/
drwxrwxrwx 2 root pitorrent 4096 Feb 18 10:37 backups/
drwxrwxrwx 2 root pitorrent 4096 Feb 18 15:57 downloading/

Adding a file to these directories create a file on the NAS.

When i add a torrent to deluge, it stays at "Downloading 0.00%"

The downloads folder is set to /mnt/torrent/downloading/

Any hints here please?

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sun Mar 12, 2023 4:30 pm
by mhertz
Does torrent dir(mnt/torrent) have traverse bit set(x) correctly?

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sun Mar 12, 2023 4:48 pm
by djarthur78
Not 100% sure what you mean, but have shows this on the full path

pitorrent@torrent:/mnt/torrent $ cd ..
pitorrent@torrent:/mnt $ ls -lprt
total 8
drwxrwxrwx 6 root pitorrent 4096 Feb 18 15:17 torrent/
pitorrent@torrent:/mnt $ cd ..
pitorrent@torrent:/ $ ls -lprt
total 60
drwxrwxrwx 3 root pitorrent 4096 Feb 18 10:19 mnt/
pitorrent@torrent:/ $

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sun Mar 12, 2023 5:19 pm
by mhertz
Yes that was what I meant, but you're good I see. Anyway, i'm not good at such kinda issues honestly, so hopefully others swing by and give a helping hand, but you can also enable debug-logging and check what error is, but looks like permission-problem, or wrong path or alike(from the 0.0% message).

Permissions though seem OK, and traverse bit OK, so double-check the download-folder entered,enough free-space, and check log, and I would just in case try run deluged as pitorrent, or root even, just quickly with "sudo -u pitorrent deluged", and could enable logging there too, with appending '-L debug -l /tmp/deluged.log'.

As said, please others kindly jump in thanks, as never messed much with perms myself frankly.

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sat Mar 18, 2023 12:30 pm
by djarthur78
OK I managed to start deluge with logging

sudo service deluged start -L debug -l /tmp/


and here is what was in the log:

11:54:08 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
11:54:08 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
11:54:08 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
11:54:08 [CRITICAL][twisted :154 ] Unhandled error in Deferred:

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sat Mar 25, 2023 2:33 pm
by djarthur78
Any further help here?

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sat Mar 25, 2023 6:23 pm
by mhertz
Sorry no, as too little to go by, i'm affraid. But just so you don't think being ignored, we need atleast a Traceback message, isn't there one in log? Search for "Traceback" in it please. Also as said, could try running as root(just for quick download test) to make certain not permission related still somehow.

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sat Mar 25, 2023 9:09 pm
by ambipro
Myself and mhertz are both very active in a support capacity here, as well as a few others, and while no one has been able to give you any definitive answers, myself and obviously he has read this post.

However since the information you've provided is almost empty and provides only the fact that an error is occurring, and I myself have no experience with Pi's, I didn't chime in. mhertz is far more experienced in *nix than I am when it comes to the client/daemon, so I will defer to him, but it's pretty obvious that your error tells us little to nothing, unfortunately :(

I would see if following mhertz's suggestion yields any further errors with helpful information and then perhaps one of us, or someone else even, could assist you better.

The more information the better...

Re: Download not starting 0.00% - raspbian with NAS

Posted: Sun Mar 26, 2023 10:42 am
by basher
Which version of raspbian, python, deluge and libtorrent (likely python3-libtorrent and libtorrent-rasterbar2.0 packages, but not 100% sure) are installed?
Are you using any deluge plugins? If so, disable/uninstall all of them to eliminate those.

Re: Download not starting 0.00% - raspbian with NAS

Posted: Wed Mar 29, 2023 7:11 am
by djarthur78
THanks a lot for any support and help - it is appreciated!

I followed this guide online - so this is what was installed:

https://www.instructables.com/Raspberry ... MBA-Share/
https://behind-the-scenes.net/mounting- ... pberry-pi/

perhaps this is not the right way to go?