[Solved]Using as service, cannot download to different fold

General support for problems installing or using Deluge
Post Reply
fuzzycut
New User
New User
Posts: 3
Joined: Fri May 15, 2015 11:43 am

[Solved]Using as service, cannot download to different fold

Post by fuzzycut »

Hi, hoping someone can shed some light on this issue. I'm on ubuntu 14.04
I was running deluged just as normal, with my user, starting it at boot by running deluged in the start on boot gui option in ubuntu. This worked perfectly with the web ui and plugins as well as the automatic media center script that uses filebot to rename and move files, but gave error messages occasionally in the terminal.

I have since tried to set up deluge to run as a service. Following the instructions here http://dev.deluge-torrent.org/wiki/User ... ce/Upstart i have managed to get it to run with the web ui, which downloads successfully.

My first issue is that I cannot change the directory to download from /var/lib/deluge/Downloads to anything else. I have set the the permissions for the /home/user/Downloads to rwx for all, but this did not work. Deluged continues to download to the/var/ download location. Any ideas what the problem might be?

My second issue, is that when the execute plugin runs a script on completion, the script cannot move files or create folders in the /home/user/Videos directory. I have also set the permissions to be rwx for this folder, but it doesn't seem to help. What do I need to change?

It looks like both of these issues are related to user or file permissions, but I don't really know enough about how they work in linux to know what to change.

Thank you
Last edited by fuzzycut on Sun May 17, 2015 11:20 am, edited 1 time in total.
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Using as service, cannot download to different folder +

Post by Shryp »

I think each folder in the tree needs the permissions, not just the final folder.
fuzzycut
New User
New User
Posts: 3
Joined: Fri May 15, 2015 11:43 am

Re: Using as service, cannot download to different folder +

Post by fuzzycut »

Do you mean run chmod -R? Because I did that for /home/user/Downloads but it didn't work. The permissions for the folder are: 'drwxrwxrwx 3 user deluge 4096 May 14 22:31 Downloads'
Or does every folder from / to .../Downloads need the rw permission?

Thanks
fuzzycut
New User
New User
Posts: 3
Joined: Fri May 15, 2015 11:43 am

Re: Using as service, cannot download to different folder +

Post by fuzzycut »

Solved. I had to chown the folders I wanted deluge to access to the username of the service (deluge:deluge). Worked like a charm afterwards.
Post Reply