Hi guys,
I made a huge mistake: thinking that setting -1 on the webgui it will last forever, I tried it.
Of course I was wrong, so now the session will close istantly and I can't change it from the webgui anymore T_T
Can soneone help me? how can I change it directly from the config file?
Setted "-1" on session timeout for the webgui
Re: Setted "-1" on session timeout for the webgui
'~/.config/deluge/web.conf' > 'session_timeout'.
Edit: Sorry, I just noticed you're on windows, so I believe '%appdata%/deluge/web.conf'. (%appdata% is, I believe, 'C:\<user>\appdata\roaming', but explorer.exe probably supports simply %appdata% too, or else 'Win+R > %appdata%')
Edit: Sorry, I just noticed you're on windows, so I believe '%appdata%/deluge/web.conf'. (%appdata% is, I believe, 'C:\<user>\appdata\roaming', but explorer.exe probably supports simply %appdata% too, or else 'Win+R > %appdata%')
Re: Setted "-1" on session timeout for the webgui
I'm with linux, don't worry!
How can I set so that the session won't expire? Or that I don't need to insert the password?
How can I set so that the session won't expire? Or that I don't need to insert the password?
Re: Setted "-1" on session timeout for the webgui
Hmm, I normally only use deluge-console where neither of these issues persists, but after installing the webui package and testing it + searching, then i'm affraid you're out off luck with deluge doing what you require unfortunately. The password is mandatory and the timeout can only be set to max value off 99999, without supporting disablement like with -1 or 0.
You either need to live with this, or change the JS code yourself, or use an alternative client supporting that(e.g. qbittorrent-nox).
Edit: Found this, which details patching two files for disabling password-usage: http://forum.deluge-torrent.org/viewtopic.php?t=51155
You either need to live with this, or change the JS code yourself, or use an alternative client supporting that(e.g. qbittorrent-nox).
Edit: Found this, which details patching two files for disabling password-usage: http://forum.deluge-torrent.org/viewtopic.php?t=51155
Re: Setted "-1" on session timeout for the webgui
Well I just did this same thing before I knew that this was a thing.
Would be really nice if at some point in the last 6 years since this happened if they could have updated it to have a minimum acceptable value.
Anyway, I'm running a headless Debian 11 setup. The patch above doesn't work as the code from that version is different from the newer version I'm currently running. Anyone know a config file, python file, etc that I can edit to get my webui back?
Edit: Solved my own problem.
Edit value in Line 17 for session value
Would be really nice if at some point in the last 6 years since this happened if they could have updated it to have a minimum acceptable value.
Anyway, I'm running a headless Debian 11 setup. The patch above doesn't work as the code from that version is different from the newer version I'm currently running. Anyone know a config file, python file, etc that I can edit to get my webui back?
Edit: Solved my own problem.
Code: Select all
systemctl stop deluge-web
Code: Select all
nano /var/lib/deluge/.config/deluge/web.conf
Code: Select all
systemctl start deluge-web