First I tried installing Deluge through software center thinking this is best because they are all linked.
I fired up Deluge,
Enabled all plugins which told me I have to install Deluge We so I did along with deluged because I wanted to use the daemon and have it start on boot.
Unchecked classic mode and closed it.
I followed the directions at: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
Rebooted and the daemon never started.
I completely removed everything through synaptic
Nuked the ~/.config/deluge so no residual config files were floating around
I then added the Deluge PPA: ppa:deluge-team/ppa
Created this user: sudo adduser --system --group --home /var/lib/deluge deluge
Added myself to that user group: sudo adduser <myusername> deluge
Installed: deluged deluge-webui
Created the two upstart scripts according to: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
I've noticed that ~/.config/deluge/ was never created at all.
I've tried to reinstall this three times and the same thing happens. ~/.config/deluge/ never is created.
I started from scratch and blew away Ubuntu and reinstalled Ubuntu 11.10 dektop.
Added: ppa:deluge-team/ppa
Installed: deluged deluge-webui
Followed this upstart to the letter with logging: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
Everything was fine till I tried enabling SSL through the web. Once I did that I wasn't able to connect anymore.
I went into Synaptic: completely removed all deluge installs
deleted: ~/.config/deluge
deleted: the two upstart scripts
Went back to terminal: sudo apt-get install deluged deluge-webui
Went to look in ~/.config/deluge and guess what it's not there even though synaptic shows deluge* is installed.
I am ready to throw in the towel on Deluge here. I've tried to install Deluge again three times and each time it will not install properly
Why is Deluge not installing properly anymore and how do i fix this without having to blow away the OS again for the third time.
OR
If I have to blow away the OS Can someone please provide clear directions on how to install Deluge from the Ubuntu PPA:
(NOTE: No cryptic advice please... be clear with terminal commands... Not all of us are as well versed in linux as some of you.)
Both computers are Ubuntu 11.10 dektop
Machine 1: Run deluge on boot with upstart
Access the daemon through Web or GTK
Machine 2: Only access Machine 1 through GTK or Web
From Internet: Use Web to access Machine 1
deluged
Can't reinstall Deluge
Re: Can't reinstall Deluge
Deluged is running under a different user when using upstart so the home directory is now /var/lib/deluge and the config would be in /var/lib/deluge/.config/deluge
You did not need to reinstall Deluge or the OS, you should enable logging and it will give you clues as to the issue.
Also initially after installing Deluge from synaptic there will be no config dir until after the first run of the program.
You did not need to reinstall Deluge or the OS, you should enable logging and it will give you clues as to the issue.
Also initially after installing Deluge from synaptic there will be no config dir until after the first run of the program.
Re: Can't reinstall Deluge
Deluge does not remove cleanly.
How do I enable logging if deluge won't start properly. Where do I find those logs because even when I use the upstart scipts with logging enabled those logs fail to be created in /var/log/deluge as per instruction here: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
I used completely remove in synaptic to get rid of everything
I've check all existing files related to deluge and made sure they were gone through Nautilus (Yes they are
In Terminal:
Some of these files don't exist through Nautilus yet they appear in Terminal
sudo add-apt-repository ppa:deluge-team/ppa
I then went o synaptic to check if it was enabled. Yes it was
#Started Install
sudo apt-get update
sudo apt-get install deluged deluge-webui
#Followed these directions : http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
#Now start stop restart deluge will not work
sudo restart deluge
sudo start deluge
sudo stop deluge
#I checked synaptic and all the files are installed
I just checked
These locations do not exist after install and upstarts
/var/lib/deluge
/var/lib/deluge/.config/deluge
###########################################
Current state I am at:
Removed all installs again in synaptic (completely remove)
Checked existing files left behind in Nautilus (None)
Checked in termnial:
Some of these files don't exist through Nautilus yet they appear in Terminal
##################################
Will someone please address this part.
Will upstart work with the Ubuntu PPA? (because of MASK)
If it will then:
Now what do I do specifically to get this to install cleanly so I can:
Machine 1: Start deluge on boot with upstart and be able to connect to manage torrents either with GTK or WEB.
Machine 2: Connect to Machine 1 with either GTK or web and manage torrents on Machine 1
Internet: Connect to Machine 1 through web and manage torrents on Machine 1
How do I enable logging if deluge won't start properly. Where do I find those logs because even when I use the upstart scipts with logging enabled those logs fail to be created in /var/log/deluge as per instruction here: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
I used completely remove in synaptic to get rid of everything
I've check all existing files related to deluge and made sure they were gone through Nautilus (Yes they are
In Terminal:
Some of these files don't exist through Nautilus yet they appear in Terminal
Code: Select all
locate deluge
/etc/apt/sources.list.d/deluge-team-ppa-oneiric.list
/etc/apt/sources.list.d/deluge-team-ppa-oneiric.list.save
/etc/init/deluge-web.conf
/etc/init/deluge.conf
/etc/logrotate.d/deluge
/usr/bin/deluge
/usr/bin/deluge-gtk
/usr/bin/deluge-web
/usr/bin/deluged
/usr/lib/mime/packages/deluge-gtk
/usr/lib/python2.6/dist-packages/deluge
/usr/lib/python2.6/dist-packages/deluge-1.3.5.egg-info
/usr/lib/python2.7/dist-packages/deluge
/usr/lib/python2.7/dist-packages/deluge-1.3.5.egg-info
/usr/share/app-install/desktop/deluge-gtk:deluge.desktop
/usr/share/app-install/icons/deluge.png
/usr/share/applications/deluge.desktop
/usr/share/doc/deluge
/usr/share/doc/deluge-common
/usr/share/doc/deluge-gtk
/usr/share/doc/deluge-web
/usr/share/doc/deluge-webui
/usr/share/doc/deluged
/usr/share/icons/hicolor/128x128/apps/deluge.png
/usr/share/icons/hicolor/16x16/apps/deluge.png
/usr/share/icons/hicolor/192x192/apps/deluge.png
/usr/share/icons/hicolor/22x22/apps/deluge.png
/usr/share/icons/hicolor/24x24/apps/deluge.png
/usr/share/icons/hicolor/256x256/apps/deluge.png
/usr/share/icons/hicolor/32x32/apps/deluge.png
/usr/share/icons/hicolor/36x36/apps/deluge.png
/usr/share/icons/hicolor/48x48/apps/deluge.png
/usr/share/icons/hicolor/64x64/apps/deluge.png
/usr/share/icons/hicolor/72x72/apps/deluge.png
/usr/share/icons/hicolor/96x96/apps/deluge.png
/usr/share/man/man1/deluge-gtk.1.gz
/usr/share/man/man1/deluge-web.1.gz
/usr/share/man/man1/deluge.1.gz
/usr/share/man/man1/deluged.1.gz
/usr/share/menu/deluge
/usr/share/pixmaps/deluge.png
/usr/share/pixmaps/deluge.xpm
/usr/share/pyshared/deluge
/usr/share/pyshared/deluge-1.3.5.egg-info
/var/cache/apt/archives/deluge-common_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-console_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-gtk_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-web_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-webui_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluged_1.3.5-0~oneiric~ppa2_all.deb
/var/lib/deluge
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_Release
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_Release.gpg
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_main_binary-i386_Packages
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_main_source_Sources
/var/lib/dpkg/info/deluge-common.list
/var/lib/dpkg/info/deluge-common.md5sums
/var/lib/dpkg/info/deluge-common.postinst
/var/lib/dpkg/info/deluge-common.prerm
/var/lib/dpkg/info/deluge-gtk.list
/var/lib/dpkg/info/deluge-gtk.md5sums
/var/lib/dpkg/info/deluge-gtk.postinst
/var/lib/dpkg/info/deluge-gtk.postrm
/var/lib/dpkg/info/deluge-gtk.prerm
/var/lib/dpkg/info/deluge-web.list
/var/lib/dpkg/info/deluge-web.md5sums
/var/lib/dpkg/info/deluge-web.postinst
/var/lib/dpkg/info/deluge-web.prerm
/var/lib/dpkg/info/deluge-webui.list
/var/lib/dpkg/info/deluge-webui.md5sums
/var/lib/dpkg/info/deluge.list
/var/lib/dpkg/info/deluge.md5sums
/var/lib/dpkg/info/deluge.postinst
/var/lib/dpkg/info/deluge.postrm
/var/lib/dpkg/info/deluged.list
/var/lib/dpkg/info/deluged.md5sums
/var/log/deluge
sudo add-apt-repository ppa:deluge-team/ppa
I then went o synaptic to check if it was enabled. Yes it was
#Started Install
sudo apt-get update
sudo apt-get install deluged deluge-webui
#Followed these directions : http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
#Now start stop restart deluge will not work
sudo restart deluge
sudo start deluge
sudo stop deluge
#I checked synaptic and all the files are installed
I just checked
These locations do not exist after install and upstarts
/var/lib/deluge
/var/lib/deluge/.config/deluge
###########################################
Current state I am at:
Removed all installs again in synaptic (completely remove)
Checked existing files left behind in Nautilus (None)
Checked in termnial:
Some of these files don't exist through Nautilus yet they appear in Terminal
Code: Select all
locate deluge
/etc/apt/sources.list.d/deluge-team-ppa-oneiric.list
/etc/apt/sources.list.d/deluge-team-ppa-oneiric.list.save
/etc/init/deluge-web.conf
/etc/init/deluge.conf
/etc/logrotate.d/deluge
/usr/bin/deluge
/usr/bin/deluge-gtk
/usr/bin/deluge-web
/usr/bin/deluged
/usr/lib/mime/packages/deluge-gtk
/usr/lib/python2.6/dist-packages/deluge
/usr/lib/python2.6/dist-packages/deluge-1.3.5.egg-info
/usr/lib/python2.7/dist-packages/deluge
/usr/lib/python2.7/dist-packages/deluge-1.3.5.egg-info
/usr/share/app-install/desktop/deluge-gtk:deluge.desktop
/usr/share/app-install/icons/deluge.png
/usr/share/applications/deluge.desktop
/usr/share/doc/deluge
/usr/share/doc/deluge-common
/usr/share/doc/deluge-gtk
/usr/share/doc/deluge-web
/usr/share/doc/deluge-webui
/usr/share/doc/deluged
/usr/share/icons/hicolor/128x128/apps/deluge.png
/usr/share/icons/hicolor/16x16/apps/deluge.png
/usr/share/icons/hicolor/192x192/apps/deluge.png
/usr/share/icons/hicolor/22x22/apps/deluge.png
/usr/share/icons/hicolor/24x24/apps/deluge.png
/usr/share/icons/hicolor/256x256/apps/deluge.png
/usr/share/icons/hicolor/32x32/apps/deluge.png
/usr/share/icons/hicolor/36x36/apps/deluge.png
/usr/share/icons/hicolor/48x48/apps/deluge.png
/usr/share/icons/hicolor/64x64/apps/deluge.png
/usr/share/icons/hicolor/72x72/apps/deluge.png
/usr/share/icons/hicolor/96x96/apps/deluge.png
/usr/share/man/man1/deluge-gtk.1.gz
/usr/share/man/man1/deluge-web.1.gz
/usr/share/man/man1/deluge.1.gz
/usr/share/man/man1/deluged.1.gz
/usr/share/menu/deluge
/usr/share/pixmaps/deluge.png
/usr/share/pixmaps/deluge.xpm
/usr/share/pyshared/deluge
/usr/share/pyshared/deluge-1.3.5.egg-info
/var/cache/apt/archives/deluge-common_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-console_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-gtk_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-web_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge-webui_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluge_1.3.5-0~oneiric~ppa2_all.deb
/var/cache/apt/archives/deluged_1.3.5-0~oneiric~ppa2_all.deb
/var/lib/deluge
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_Release
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_Release.gpg
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_main_binary-i386_Packages
/var/lib/apt/lists/ppa.launchpad.net_deluge-team_ppa_ubuntu_dists_oneiric_main_source_Sources
/var/lib/dpkg/info/deluge-common.list
/var/lib/dpkg/info/deluge-common.md5sums
/var/lib/dpkg/info/deluge-common.postinst
/var/lib/dpkg/info/deluge-common.prerm
/var/lib/dpkg/info/deluge-gtk.list
/var/lib/dpkg/info/deluge-gtk.md5sums
/var/lib/dpkg/info/deluge-gtk.postinst
/var/lib/dpkg/info/deluge-gtk.postrm
/var/lib/dpkg/info/deluge-gtk.prerm
/var/lib/dpkg/info/deluge-web.list
/var/lib/dpkg/info/deluge-web.md5sums
/var/lib/dpkg/info/deluge-web.postinst
/var/lib/dpkg/info/deluge-web.prerm
/var/lib/dpkg/info/deluge-webui.list
/var/lib/dpkg/info/deluge-webui.md5sums
/var/lib/dpkg/info/deluge.list
/var/lib/dpkg/info/deluge.md5sums
/var/lib/dpkg/info/deluge.postinst
/var/lib/dpkg/info/deluge.postrm
/var/lib/dpkg/info/deluged.list
/var/lib/dpkg/info/deluged.md5sums
/var/log/deluge
Will someone please address this part.
Will upstart work with the Ubuntu PPA? (because of MASK)
If it will then:
Now what do I do specifically to get this to install cleanly so I can:
Machine 1: Start deluge on boot with upstart and be able to connect to manage torrents either with GTK or WEB.
Machine 2: Connect to Machine 1 with either GTK or web and manage torrents on Machine 1
Internet: Connect to Machine 1 through web and manage torrents on Machine 1
Re: Can't reinstall Deluge
Ok. Fresh install of OS for the fourth time
added the Deluge PPA: ppa:deluge-team/ppa
Created this user: sudo adduser --system --group --home /var/lib/deluge deluge
Added myself to that user group: sudo adduser <myusername> deluge
Installed: deluged deluge-webui
Created the two upstart scripts according to: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
Running deluge as <myusername> in this case and not deluge.
Using a unMask of 000 (just in case)
Started up deluge and set the following directories:
~/Downloads/incoming
~/Downloads/complete
~/Downloads/watch
~/Downloads/torrents
~/Downloads/ <--------This was was left as default for extractor which it clearly indicated in ~/.config/deluge/extractor.conf
{
"file": 1,
"format": 1
}{
"use_name_folder": true,
"extract_path": "/home/mario/Downloads"
}
I've enabled these plugins:
label
scheduler
watch
extractor
Downloads seem to start automatically when torrent is added to:
~/Downloads/watch
When the torrent completes extractor doesn't extract. It just creates an empty directory with the name of the torrent to be processed.
The torrent does get moved to ~/Downloads/complete.
How do I get the extractor to function properly?
added the Deluge PPA: ppa:deluge-team/ppa
Created this user: sudo adduser --system --group --home /var/lib/deluge deluge
Added myself to that user group: sudo adduser <myusername> deluge
Installed: deluged deluge-webui
Created the two upstart scripts according to: http://dev.deluge-torrent.org/wiki/User ... t%20Job%29
Running deluge as <myusername> in this case and not deluge.
Using a unMask of 000 (just in case)
Started up deluge and set the following directories:
~/Downloads/incoming
~/Downloads/complete
~/Downloads/watch
~/Downloads/torrents
~/Downloads/ <--------This was was left as default for extractor which it clearly indicated in ~/.config/deluge/extractor.conf
{
"file": 1,
"format": 1
}{
"use_name_folder": true,
"extract_path": "/home/mario/Downloads"
}
I've enabled these plugins:
label
scheduler
watch
extractor
Downloads seem to start automatically when torrent is added to:
~/Downloads/watch
When the torrent completes extractor doesn't extract. It just creates an empty directory with the name of the torrent to be processed.
The torrent does get moved to ~/Downloads/complete.
How do I get the extractor to function properly?
Re: Can't reinstall Deluge
Please can you keep your posts short and to the point.
Are you saying that you have deluge working with upstart now?
Did you install untar for the extractor plugin? Check the logs for any errors.
Edit: If you are using locate you need to run updatedb or it will not reflect recent changes.
Are you saying that you have deluge working with upstart now?
Did you install untar for the extractor plugin? Check the logs for any errors.
Edit: If you are using locate you need to run updatedb or it will not reflect recent changes.
Re: Can't reinstall Deluge
I'm being specific in what I have done in order to be very clear on exactly what I have done.
" Downloads seem to start automatically when torrent is added to:
~/Downloads/watch
When the torrent completes extractor doesn't extract. It just creates an empty directory with the name of the torrent to be processed.
The torrent does get moved to ~/Downloads/complete."
This machine is a default install of Ubuntu 11.10 desktop. "Unrar" is installed and "untar" does not exist in synaptic.
When I search for "untar" in synaptic all that comes up is "rootstock" and "bootcd_backup"
These are my directories:
~/Downloads/incoming
~/Downloads/complete
~/Downloads/watch
~/Downloads/torrents
~/Downloads/ <--------This was was left as default for extractor which it clearly indicated in ~/.config/deluge/extractor.conf
Where do I find "untar", how do I install it and if that is dependancy for extractor to work why is it not mentioned in the plugins secction?
" Downloads seem to start automatically when torrent is added to:
~/Downloads/watch
When the torrent completes extractor doesn't extract. It just creates an empty directory with the name of the torrent to be processed.
The torrent does get moved to ~/Downloads/complete."
This machine is a default install of Ubuntu 11.10 desktop. "Unrar" is installed and "untar" does not exist in synaptic.
When I search for "untar" in synaptic all that comes up is "rootstock" and "bootcd_backup"
These are my directories:
~/Downloads/incoming
~/Downloads/complete
~/Downloads/watch
~/Downloads/torrents
~/Downloads/ <--------This was was left as default for extractor which it clearly indicated in ~/.config/deluge/extractor.conf
Where do I find "untar", how do I install it and if that is dependancy for extractor to work why is it not mentioned in the plugins secction?
Last edited by Mario on Sun Sep 16, 2012 4:03 pm, edited 2 times in total.
Re: Can't reinstall Deluge
I'm afraid that is it too verbose and it doesn't actually help as I end up just ignoring it after a few lines. Alternatively format the post (tags: quote/bold/italics/code) so the steps you have taken are clearly separate from your questions.Mario wrote:I'm being specific in what I have done in order to be very clear on exactly what I have done.
I meant to type unrar.Mario wrote:"untar" in synaptic
Have you tried setting the dir to something other than Downloads and/or not moving upon completion? Did you also check the files have not been extracted into the complete folder?Mario wrote: It just creates an empty directory with the name of the torrent to be processed.
Re: Can't reinstall Deluge
Code: Select all
Have you tried setting the dir to something other than Downloads and/or not moving upon completion? Did you also check the files have not been extracted into the complete folder?
Directory changes
~/Downloads/incoming <-----No change
~/Downloads/ <-----Changed from (~/Downloads/complete)
~/Downloads/watch <-----No change
~/Downloads/torrents <-----No change
~/Downloads/ <-----This was was left as default for extractor which it clearly indicated in ~/.config/deluge/extractor.conf
Extractor will extract archives to :
~/Downloads/
It will not extract to:
~/Downloads/complete
Can you give me some insight on why it will not extract to ~/Downloads/complete ?
drwxr-xr-x 13 mario mario 4096 2012-09-16 13:38 Documents <----this contains the following
drwxrwxr-x 2 mario mario 4096 2012-09-16 13:34 complete
drwxrwxr-x 2 mario mario 4096 2012-09-16 13:35 extracted
drwxrwxr-x 2 mario mario 4096 2012-09-16 13:38 incoming
drwxrwxr-x 2 mario mario 4096 2012-09-16 13:38 torrents
I will try chmod 755 on
~/Downloads/incoming
~/Downloads/complete
Re: Can't reinstall Deluge
I used 755 on all directories I created in ~/Downloads:
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:09 complete
drwxr-xr-x 2 mario mario 4096 2012-09-16 13:35 extracted <--------default was changed from ~/Downloads/ in ~/.config/deluge/extractor.conf when deluge was stopped
drwxr-xr-x 2 mario mario 4096 2012-09-16 13:54 incoming
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:33 torrents
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:38 watch
Ubuntu's Default "Downloads" directory permissions have never been changed.
drwxr-xr-x 6 mario mario 4096 2012-09-16 14:32 Downloads
When "Move completed to" is on:
extractor creates an empty empty directory in ~/Downloads/extracted
When "Move completed to" is off:
extractor will extract to ~/Downloads/extracted
I need need to seperate incoming and completed torrents though (This way I can manually distinguish between completed and incomplete torrents)
And have completed torrents extract to "extracted"
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:09 complete
drwxr-xr-x 2 mario mario 4096 2012-09-16 13:35 extracted <--------default was changed from ~/Downloads/ in ~/.config/deluge/extractor.conf when deluge was stopped
drwxr-xr-x 2 mario mario 4096 2012-09-16 13:54 incoming
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:33 torrents
drwxr-xr-x 2 mario mario 4096 2012-09-16 14:38 watch
Ubuntu's Default "Downloads" directory permissions have never been changed.
drwxr-xr-x 6 mario mario 4096 2012-09-16 14:32 Downloads
When "Move completed to" is on:
extractor creates an empty empty directory in ~/Downloads/extracted
When "Move completed to" is off:
extractor will extract to ~/Downloads/extracted
I need need to seperate incoming and completed torrents though (This way I can manually distinguish between completed and incomplete torrents)
And have completed torrents extract to "extracted"
Last edited by Mario on Mon Sep 17, 2012 12:07 am, edited 1 time in total.
Re: Can't reinstall Deluge
I'm only logging into deluge through browser
Looking at the logs I see
"web.log"
"daemon.log" Nothing to report
Looking at the logs I see
"web.log"
Code: Select all
[WARNING ] 17:47:19 config:361 Unable to open config file /home/mario/.config/deluge/hostlist.conf.1.2: [Errno 2] No such file or directory: '/home/mario/.config/deluge/hostlist.conf.1.2'
"daemon.log" Nothing to report
Code: Select all