-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all session files are loaded. #332
Comments
You need to remove |
Also, it looks like you triggered an internal rtorrent error. When loading session files, it found
|
Thank you for the quick feedback. I'll try to remove the plug. And for the migration, what is a better way of doing this? Simply import all torrents in a stop states and "save to.." without moving data? |
Copy the data to the default download directory. Add the .torrent files to your watch folder. Let the hash checks complete. Then use "save to" to copy or move the data. All the labels will be lost. You'll have to recreate them. This will rebuild all session files. |
Thank you for your help. I've done some testing and there's some progress:
-- UPDATE-- -- UPDATE 2 -- |
@AntAreS24 You need to pull docker edge. |
I double checked my steps and I figured out why it's not loading the torrents. I forgot to clean the I'm now going through the tedious process and rechecking all of them... I'll try the restart (on the old version as I know it's working) first, then, if everything is working as expected, I'll update to |
Sounds good. I would recommend waiting until #341 is merged before going to edge. There is anther problem. |
@stickz thank you for all the help. It took a whole (almost 48h) to force recheck all torrents that I had... I stopped and restarted it and all torrents were present. It was very painful and I'm hoping I won't have to do that again 😄 Since it's working, I'll wait a bit to upgrade to egde |
For those having similar issues, I basically had to:
#!/bin/bash
today=$(date +"%Y%m%d")
target_file="list_$today.txt"
echo $target_file
touch $target_file
for file in *.torrent
do
echo $(echo $file) $(aria2c -S $file |grep '^ 1|'|sed 's/^ 1|//' |cut -d"/" -f 2) >> $target_file
done
|
I had to restart the service this morning and only 494 out of 956 torrent got loaded again :( I am still on the old image:
|
Upgrade image to rule out RPC plugin. Latest is stable now. |
Nope... Upgraded to latest, and every time I restart, the number of session is halfed:
After 3 restarts, I now have only 61 torrents loaded... |
@AntAreS24 Sorry for the delayed response. This looks like a configuration or hardware issue with your NAS. Possible causes include memory failures, disk failures, inaccessible file paths etc. I can not be of any more assistance to you. We have successfully resolved all of the issues with the docker container version upgrade. This next thing I would recommend is a memory test to detect possible bad sectors with RAM. |
@stickz, understand. Thank you for the help so far. I did notice that, when I restart only same of them are ".torrent".
While the rest is:
Do you know this would happen, and how to recover from that? UPDATE #1: UPDATE #2: |
Support guidelines
I've found a bug and checked that ...
Description
I'm porting from a bare metal rtorrent to this docker image. The first time I loaded the image using docker compose, no file is loaded from the previous instance (on purpose). I then shutdown docker image, copy the session files over (~950 torrents) and restart the image. I can see all 950 torrent in rutorrent.
If I need to stop and restart the instance, only ~1/2 are now loaded (510 instead of 950). This halfing continues until it reaches 30 torrent only. The torrent loaded as not necessarily the same as the previous 1/2. It seems it's loading the session files randomly.
All session files are still present in the file system, so I know nothing has been deleted.
I tried to add the
stop_grace_period: 120s
in the compose.yml file., but same result.I'm guessing it has to do with the loading/shutdown time, but I'm not sure which parameter to change.
Expected behaviour
All torrents/session to be loaded every time on restart.
Actual behaviour
Only 1/2 torrents/session loaded.
Steps to reproduce
Docker info
Docker Compose config
Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: