Download not starting 0.00% - raspbian with NAS

General support for problems installing or using Deluge
djarthur78
New User
New User
Posts: 5
Joined: Sun Mar 12, 2023 4:05 pm

Download not starting 0.00% - raspbian with NAS

Post 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?
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Download not starting 0.00% - raspbian with NAS

Post by mhertz »

Does torrent dir(mnt/torrent) have traverse bit set(x) correctly?
djarthur78
New User
New User
Posts: 5
Joined: Sun Mar 12, 2023 4:05 pm

Re: Download not starting 0.00% - raspbian with NAS

Post 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:/ $
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Download not starting 0.00% - raspbian with NAS

Post 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.
djarthur78
New User
New User
Posts: 5
Joined: Sun Mar 12, 2023 4:05 pm

Re: Download not starting 0.00% - raspbian with NAS

Post 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:
djarthur78
New User
New User
Posts: 5
Joined: Sun Mar 12, 2023 4:05 pm

Re: Download not starting 0.00% - raspbian with NAS

Post by djarthur78 »

Any further help here?
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Download not starting 0.00% - raspbian with NAS

Post 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.
User avatar
ambipro
Moderator
Moderator
Posts: 418
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Download not starting 0.00% - raspbian with NAS

Post 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...
basher
Leecher
Leecher
Posts: 91
Joined: Wed Sep 29, 2021 8:42 am
Location: Estonia/Spain

Re: Download not starting 0.00% - raspbian with NAS

Post 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.
djarthur78
New User
New User
Posts: 5
Joined: Sun Mar 12, 2023 4:05 pm

Re: Download not starting 0.00% - raspbian with NAS

Post 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?
Post Reply