Deluge "forgets" what it downloaded and wont close

General support for problems installing or using Deluge
Post Reply
Saturn777
New User
New User
Posts: 2
Joined: Fri Dec 29, 2023 9:38 pm

Deluge "forgets" what it downloaded and wont close

Post by Saturn777 »

Hello everyone !

I need help please.

An old problem i regularly have with deluge started to happen again :

After a fresh installation, Deluge works well.
I ask deluge to use the folders on a different drive than the drive of where deluge is installed
But like i said, at first Deluge runs fine until i get a number of downloads

Then, after a while, Deluge pauses them all on startup, and shows the completed downloads as "empty" and needs to "force re-check" all the dowloads to show them as they really are if they are completed.
Also: Deluge then cannot close.
It leaves a blank window and i have to end the process via the system monitor ot the terminal.


I had the problem yesterday, so i completely uninstalled deluge with "sudo apt-get remove --purge deluge"
and even "sudo apt-get remove --purge deluge-gtk".
I even deleted manually all the folders and files remaining with the name "deluge".

Then i reinstalled deluge with "sudo add-apt-repository ppa:deluge-team/stable" and
"sudo apt-get install deluge"

In a previous installation (Linux mint 21 "Vanessa") i had the same problem; at first everything is fine, then after i get a number of downloads, Deluge starts having the problem and needs to force re-check all the dowloads.

Even if i take away the downloads and store them in an external drive to lignten the load for the program the problem persists.


Here is the system i have with the console command : inxi -SMCGx

System:
Host: xxxxxxxxx-System-Product-Name Kernel: 5.15.0-91-generic x86_64
bits: 64 compiler: gcc v: 11.4.0 Desktop: MATE 1.26.0
Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: ASUSTeK model: TUF B450M-PRO GAMING v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 2006
date: 11/13/2019
CPU:
Info: quad core model: AMD Ryzen 3 3200G with Radeon Vega Graphics bits: 64
type: MCP arch: Zen/Zen+ note: check rev: 1 cache: L1: 384 KiB L2: 2 MiB
L3: 4 MiB
Speed (MHz): avg: 1656 high: 2933 min/max: 1400/3600 boost: enabled
cores: 1: 1231 2: 1231 3: 1231 4: 2933 bogomips: 28744
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 08:00.0
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1920x1080~75Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics (raven LLVM 15.0.7 DRM 3.42
shinger
Leecher
Leecher
Posts: 90
Joined: Sat Jun 05, 2010 1:02 pm

Re: Deluge "forgets" what it downloaded and wont close

Post by shinger »

Hi,

If i am not mistaken i encountered this issue many years ago and if my memory is not letting me down, it was a file/directory ownership or permission thing.

Could you please do a ls -lha to see the current ownership and permissions.

It will look something like this.

<user>@<SYSTEM>:<PATH of DELUGE># ls -lha
total 492
drwxrwx--- 6 deluge sambashare 4096 Feb 12 17:01 ./
drwxrwx--- 3 deluge sambashare 4096 Sep 9 20:39 ../
-rw------- 1 deluge sambashare 73 Sep 9 20:56 auth
-rw------- 1 deluge sambashare 75 Sep 10 10:18 autoadd.conf
-rw------- 1 deluge sambashare 307 Feb 8 00:00 blocklist.conf
-rw------- 1 deluge sambashare 306 Feb 1 00:02 blocklist.conf.bak
-rw-rw---- 1 deluge sambashare 6455 Feb 8 00:00 blocklist.download
-rw------- 1 deluge sambashare 2982 Oct 29 20:07 core.conf
-rw------- 1 deluge sambashare 2982 Oct 29 20:04 core.conf.bak
-rw-rw---- 1 deluge sambashare 13 Feb 11 00:01 deluged.pid
-rw------- 1 deluge sambashare 116 Sep 10 11:00 extractor.conf
-rw------- 1 deluge sambashare 253 Sep 10 07:47 hostlist.conf
drwxrwx--- 2 deluge sambashare 4096 Sep 9 20:45 icons/
-rw------- 1 deluge sambashare 26738 Feb 11 22:35 labelplus.conf
-rw------- 1 deluge sambashare 26681 Feb 9 12:44 labelplus.conf.bak
-rw------- 1 deluge sambashare 308 Sep 12 21:41 ltconfig.conf
-rw------- 1 deluge sambashare 3284 Feb 8 18:05 myscheduler.conf
-rw------- 1 deluge sambashare 3284 Feb 8 18:05 myscheduler.conf.bak
-rw------- 1 deluge sambashare 25688 Feb 11 22:34 myschedulerstates.conf
-rw------- 1 deluge sambashare 25582 Feb 11 00:01 myschedulerstates.conf.bak
-rw------- 1 deluge sambashare 405 Feb 8 20:56 notifications-core.conf
-rw------- 1 deluge sambashare 405 Feb 8 20:56 notifications-core.conf.bak
drwxrwx--- 2 deluge sambashare 4096 Nov 5 20:40 plugins/
-rw-rw---- 1 deluge sambashare 6446 Feb 11 00:01 session.state
-rw-rw---- 1 deluge sambashare 6317 Feb 4 00:00 session.state.bak
drwxrwx--- 2 deluge sambashare 4096 Sep 9 20:39 ssl/
drwxrwx--- 2 deluge sambashare 24576 Feb 12 17:00 state/
-rw------- 1 deluge sambashare 103 Sep 10 10:58 stats.conf
-rw------- 1 deluge sambashare 90662 Feb 12 17:01 stats.totals
-rw------- 1 deluge sambashare 90630 Feb 12 17:00 stats.totals.bak
-rw------- 1 deluge sambashare 27477 Feb 11 00:01 web.conf
-rw------- 1 deluge sambashare 26937 Feb 4 00:00 web.conf.bak
-rw------- 1 deluge sambashare 2105 Feb 11 00:01 yarss2.conf
-rw------- 1 deluge sambashare 2105 Feb 5 08:00 yarss2.conf.bak
Besides that, could you do these two commands and give the output. deluged is essential because that is when files are being written as (owership/permission)

systemctl cat deluged.service

It will look something like this.
<USER>@<SYSTEM>:~# systemctl cat deluged.service
# /etc/systemd/system/deluged.service
[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target

[Service]
Type=simple
User=deluge
Group=sambashare
UMask=007

#ExecStart=/usr/bin/deluged -d -L info -l /var/log/deluge/deluged.log
ExecStart=/usr/bin/deluged -d -L debug -l /var/log/deluge/deluged.log

Restart=on-failure

# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 22.04 LTS
Deluge: v2.1.1
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
Post Reply