-
Notifications
You must be signed in to change notification settings - Fork 451
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
After updating from v6.3.5 to v6.4.1, it stuck on "Checking tribler version" #1115
Comments
After moving away |
@vi Could you confirm that copying the old DB back to .Tribler makes Tribler fail again? |
Backed up current
I have just noticed that it's also big: sqlite directory is 543.7MiB. Maybe it's just slow? I see some CPU and IO activity... It's traversing CTF with stat64... Let's wait...
Tribler seems not to behave good in a space-constrained environment. BTW it's deleting all its torrents... How self-destructive. Symlinked Finally:
My Tribler setup spans 3 partitions: the first for profile, the second for downloads and the third for CTF. And Maybe you should also tell the user from the beginning that Ending experiments and restoring |
@vi we've seen that the torrent migration is quite slow on some machines but we haven't investigated further as we are seriously thinking about killing the torrent collection altogether and just share magnets with some metadata associated. I've sent a pull request that should deal with the cross-filesystem issues you where having. Do you still have the 6.3.5 data around to test again with 6.4.2? Thanks! |
The migration can be slow, but in this case it should be mentioned in the message to use (not just I have
Will Tribler be self-sufficient, i.e. will the network of only other Tribler clients, without other non-Tribler torrent peers still work? |
The part I've seeing being slow was the torrent parsing/migration and you see the infohashes passing trough. RE being self-sufficient: yes, it would collect the torrent info from the DHT as when you click on a standard magnet link. |
@vi: We are working on a branch which uses a leveldb based torrent store instead of the collected_torrent_files directory: https://github.com/whirm/tribler/tree/torrent_store_migrator That branch includes the upgrade code too, so it will ingest all your torrent files into the new store. It will also store the torrent stuff in Could you put a copy or your old backup in place and tell us how it behaves for you? Have in mind that you will need to install python-leveldb to be able to run this branch. Thanks! |
As a note for comparison: On my machine it takes about 10 minutes to do the whole verification/migration procedure with a 2.1 GB collected_torrent_files directory. |
Restored v3.6.5-backed-up
Probably it tried to rmtree the By the way Also note about free space pressure: LevelDB tends to perform slower and slower when out of disk space (it waits for some space to be reclaimed and attempts again to store the new data). Migration of Maybe you should delete each collected torrent file individually after adding them to LevelDB, and not try (this paragraph is extracted into a separate issue: #1186) |
I don't think we are going to support symlinking stuff around any time soon. However some paths can be configured trough RE deleting torrent files when adding them to LevelDB, that's how we are doing it: https://github.com/whirm/tribler/blob/torrent_store_migrator/Tribler/Core/Upgrade/torrent_upgrade65.py#L106 The only thing that could be done is to make sure we have enough space in the target dir for the upgrade procedure to succeed. |
@vi I've created an issue for the disk space thingie and I'm closing this one as your issues have to do with manually symlinking stuff around which you should be able acomplish by editing paths in `libtribler.conf`` |
Missing link to the disk space issue: #1189 |
No messages get logged to console.
The text was updated successfully, but these errors were encountered: