[solved]Error when moving to mounted folder after download

General support for problems installing or using Deluge
Post Reply
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

[solved]Error when moving to mounted folder after download

Post by wezzy »

Hi,

I've used deluge for a while now and been very pleased. Today I decided to go over my server with a few software upgrades. After that the problem starts.

I upgraded deluge to version 1.3.6 from what I think was 1.3.3 (not completely sure, could have 1.3.2).
I have let my server download torrents and when I am done they have been move to my NAS. This has been done by mounting a share from the NAS as a local folder on the server and moved them there when they were done with deluge own settings.

Now when I tried to download something it downloaded the file on the server, created an empty folder in the NAS but that where it ended. I also tried and download directly to this locally mounted map from the NAS. This ended up with a folder and a file with the correct name, but 0b in size. Then deluge didn't want to download anymore. Not showing any error message on the torrent either. (now this is just what i see in the windows client.

I tried to manually move the file from in the server to the locally mounted folder. No problem. I would need some guidance on what to do and what can cause this. Linux is not an everyday tool for me, but I'll do my best to keep up.

The server is running Ubuntu server 12.04.02 LTS
Last edited by wezzy on Wed Apr 03, 2013 4:55 am, edited 1 time in total.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Error when moving to mounted folder after download

Post by Cas »

Sounds like a permission issue.
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

Re: Error when moving to mounted folder after download

Post by wezzy »

When I did some tests today I tried to add all rights (chmod 777) to the folder I was moving the torrents too. Didn't help me at all...
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Error when moving to mounted folder after download

Post by Cas »

Did you restart deluged after changing any permissions?

Have you enabled debug logging?
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

Re: Error when moving to mounted folder after download

Post by wezzy »

I have added debug logging now this morning, but so far I can't find anything wrong... will try a little more and then see if I can post the logfile here.

Yes, I restarted the server after changing permission.
Last edited by wezzy on Tue Apr 02, 2013 5:02 am, edited 1 time in total.
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

Re: Error when moving to mounted folder after download

Post by wezzy »

Ok you seem to be right about the permission thingy.
This is the output I got from after downloading a random torrent file. What does elude me is how this could change with an upgrade.
I am running deluge as the user deluge (not the same as I use when logging in with ssh)

[DEBUG ] 11:13:29 alertmanager:123 storage_moved_failed_alert: [torretntfile] storage move failed: Permission denied
[DEBUG ] 11:13:29 alertmanager:123 save_resume_data_alert: [torretntfile] resume data generated
[DEBUG ] 11:13:29 torrentmanager:1048 on_alert_save_resume_data

So any help while I am going through google for answers...
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

Re: Error when moving to mounted folder after download

Post by wezzy »

Back to the problem.

I have sme reasons I still think this is a Deluge problem. I am trying with total rights on the folder. When I try downloading directly to the local folder Deluge is able to create a folder for the file and a file of 0 byte, therefore it is possible for Deluge to write to the folder. Still Deluge complain about permissions when moving a finished file.

Regards and thanks for the help so far.
wezzy
New User
New User
Posts: 6
Joined: Sun Mar 31, 2013 9:10 pm

Re: [solved]Error when moving to mounted folder after downlo

Post by wezzy »

Ok, the last thing was almost emberrasing. As I said before I changed the permissions and restarted the server. I did not restart the NAS however, and the folder I changed the permissions on is physically on the NAS. Normally I think that works anyway. After restarting the NAS and trying again it works. How I still don't get how it stopped working I can now happily say it is working again.
Post Reply