Thank you.RaTTuS wrote:depends if it crashes or hangs or whatever
does it report errors in the logs ?
Code: Select all
pi@raspberrypi ~ $ grep -r "deluge" /var/log/syslog
Sep 24 11:31:43 raspberrypi /USR/SBIN/CRON[1982]: (root) CMD (/home/pi/commands/deluged)
Sep 24 11:34:43 raspberrypi /USR/SBIN/CRON[1990]: (root) CMD (deluged)
Sep 24 11:34:43 raspberrypi /USR/SBIN/CRON[1991]: (root) CMD (deluge-web)
Sep 24 11:42:19 raspberrypi /USR/SBIN/CRON[1978]: (root) CMD (/home/pi/commands/deluged)
Sep 24 11:48:13 raspberrypi /USR/SBIN/CRON[1979]: (root) CMD (/usr/bin/deluged)
Sep 24 11:54:47 raspberrypi /USR/SBIN/CRON[1976]: (root) CMD (/usr/bin/deluged)
Sep 24 12:05:21 raspberrypi /USR/SBIN/CRON[1976]: (root) CMD (/usr/bin/deluged)
Sep 25 01:09:04 raspberrypi /USR/SBIN/CRON[1988]: (root) CMD (/usr/bin/deluged)
Sep 25 01:40:36 raspberrypi /USR/SBIN/CRON[1973]: (root) CMD (/usr/bin/deluged)
Sep 25 01:40:37 raspberrypi /USR/SBIN/CRON[1964]: (root) CMD (/usr/bin/deluged)
Sep 25 03:00:30 raspberrypi /USR/SBIN/CRON[1977]: (root) CMD (/usr/bin/deluged)
Sep 25 03:09:15 raspberrypi /USR/SBIN/CRON[1983]: (root) CMD (/usr/bin/deluged)
Sep 25 05:40:26 raspberrypi /USR/SBIN/CRON[1979]: (root) CMD (/usr/bin/deluged)
Code: Select all
#!/bin/bash
#make-run.sh
#make sure a process is always running.
process="deluged"
makerun="/usr/bin/deluged -p 58846 -L debug -l /home/pi/deluge.log"
date > /home/pi/deluge_sh.log
if ps ax | grep -vw grep | grep -w $process > /dev/null
then
echo "exiting" >> /home/pi/deluge_sh.log
exit
else
echo "trying to run:" $makerun >> /home/pi/deluge_sh.log
$makerun &
fi
exitCode: Select all
*/10 * * * * /home/pi/commands/deluged_job.shCode: Select all
~ $ deluged -d -L critical -l ~/dlgLog.txt
Segmentation fault
Code: Select all
[ERROR ] 14:01:33 authmanager:140 Your auth file is malformed: Incorrect number of fields!
Code: Select all
After editing the file ~/.config/deluge/core.conf and changing these settings:
"enc_level" from 2 to 0
"enc_prefer_rc4" from true to false
Everything seems to be normal nowCode: Select all
sudo update-rc.d -f deluge-daemon removeCode: Select all
#!/bin/bash
while [ 1 ]; do deluged -d; echo "Failure at $(date)" >> ~/deluge.errors; done
# NOTE: Make sure you aren't running deluged as a daemon(without "-d"),
# else this loop will keep on spawning deluged processes until oblivion ;)Code: Select all
@reboot /path/to/deluge.sh
@reboot deluge-webCode: Select all
#!/bin/bash
## the idea is to use deluge-console to check deluged status and restart
deluge_status=$(deluge-console "info")
## try to figure out if deluged is refusing connections,if so run deluged
if [[ $deluge_status =~ ^Failed\ to\ connect ]]; then
deluged && "$(date)" > /home/pi/log.txt; else
echo "it's working"
fi
Thanks for your effort man!DanielJF wrote:Hi everyone was having the same problem and solved installing the latest version of the Deluge, the easiest way to install the latest version was as follows:
I changed the sources.list including the following repositories:
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
It includes key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C5E6A5ED249AD24C
Install Deluge, the libtorrent continues the old but solved problems.
Hello Zack, the commands to upgrade are as follows:Zack117 wrote:Thanks for your effort man!DanielJF wrote:Hi everyone was having the same problem and solved installing the latest version of the Deluge, the easiest way to install the latest version was as follows:
I changed the sources.list including the following repositories:
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
It includes key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C5E6A5ED249AD24C
Install Deluge, the libtorrent continues the old but solved problems.
I'm still a linux beginner so my question will be rather simplistic: Are those alle the commands I need in order to update deluge and hopefully get rid of this crashing issue? And after doing that, will my deluge work seemlessly like it did before? Not having to reconfigure, re-adding the torrents from before etc. all over again?
Thanks in advance for the response.