Look at hotio instead, recommended by me and popular among those that support the *arrs.
I have no guidance on your issue but just to make sure, this is two commands and not one:
docker exec -it jellyfin ldconfig
sudo systemctl restart docker
Do you get the restarting message with just the first command?
I also recommend unpackerr if you’re getting zip and rar files, but that wasn’t clear from your original post. Just know if you track hardlinks with something like qbit_manage, those torrents will show up as having no hardlinks.
Look at hotio instead, recommended by me and popular among those that support the *arrs.