I am trying to migrate my deluged installation from Debian 10 Buster (deluged 1.3.15 + libtorrent 1.1.11.0) to something more recent like Debian 11.
My current setup is in a Debian 10 VM running in a Proxmox hypervisor, working for many years without much problems
I am trying to migrate it to a VM with more recent versions of Debian and, of course, deluged.
But whether I try with Debian 11, Ubuntu Server 20.04 or Ubuntu Server 22.04, each time with the latest deluged release from PPA (2.1.1), I am encountering errors.
It looks like I can run a fresh installed deluged (at least I checked on my last try on Ubuntu Server 20, did not check on Debian 11/Ubuntu Server 22).
But as soon as I try to migrate all of my deluged conf folder, I have an error when starting deluged service. Migration is done by creating a tar archive of /var/lib/deluge/.config/deluge folder on my old setup and extracting it on the new setup, and I verified permissions (owned by deluge user in both cases)
The error :
Code: Select all
23:47:31 [WARNING ][deluge.core.core :332 ] Unable to load /var/lib/deluge/.config/deluge/session.state.bak: [Errno 2] No such file or directory: '/var/lib/deluge/.config/deluge/session.state.bak'
23:47:31 [WARNING ][deluge.core.preferencesmanager:465 ] GeoIP Unavailable: [Errno 24] Too many open files: '/usr/share/GeoIP/GeoIP.dat'
23:47:31 [WARNING ][deluge.core.authmanager :229 ] Unable to load /var/lib/deluge/.config/deluge/auth: [Errno 24] Too many open files: '/var/lib/deluge/.config/deluge/auth'
23:47:31 [WARNING ][deluge.core.authmanager :229 ] Unable to load /var/lib/deluge/.config/deluge/auth.bak: [Errno 24] Too many open files: '/var/lib/deluge/.config/deluge/auth.bak'
23:47:31 [ERROR ][deluge.component :128 ] [Failure instance: Traceback: <class 'OSError'>: [Errno 24] Too many open files: '/var/lib/deluge/.config/deluge/auth'
/usr/lib/python3/dist-packages/twisted/internet/base.py:1276:mainLoop
/usr/lib/python3/dist-packages/twisted/internet/base.py:902:runUntilCurrent
/usr/lib/python3/dist-packages/twisted/internet/defer.py:460:callback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:568:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/lib/python3/dist-packages/twisted/internet/task.py:865:<lambda>
/usr/lib/python3/dist-packages/deluge/core/authmanager.py:68:start
/usr/lib/python3/dist-packages/deluge/core/authmanager.py:279:__load_auth_file
/usr/lib/python3/dist-packages/deluge/common.py:1221:create_localclient_account
]
23:47:31 [ERROR ][deluge.component :128 ] [Failure instance: Traceback: <class 'OSError'>: [Errno 24] Too many open files: '/var/lib/deluge/.config/deluge/state/.safe_state_check'
/usr/lib/python3/dist-packages/twisted/internet/base.py:1276:mainLoop
/usr/lib/python3/dist-packages/twisted/internet/base.py:902:runUntilCurrent
/usr/lib/python3/dist-packages/twisted/internet/defer.py:460:callback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:568:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/lib/python3/dist-packages/twisted/internet/task.py:865:<lambda>
/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py:246:start
]
Code: Select all
* soft nofile 1000000
* hard nofile 1000000
Like I said, I also tried on Debian 11 and Ubuntu Server 22.04 without success. I am open to any help, maybe I am missing something or else?
With the number of torrents, I would be a bit annoyed if I had to add all of them manually on the new setup