LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2021, 07:07 PM   #1
Bad Blue Bull
Member
 
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85

Rep: Reputation: Disabled
ktorrent has lost all torrents after upgrade


Upgraded ktorrent to 21.04.1 from current and now I see all my torrents have disappeared (not the first time such thing happened, btw).
"Folder to store torrent information" was ~/.kde/share/apps/ktorrent, and nothing has disappeared from there.
OK, then I restored defaults, folder was set to subfolder in ~/.local, I changed it back to ~/.kde/share/apps/ktorrent, now on restart it pours errors like "Unable to create /home/user1/.kde/share/apps/ktorrent/tor1/torrent: Permission denied"
No idea why permission denied and why try to create an already created directory in first place.
-----
forum search isn't working for me, sorry if the subject was discussed before
 
Old 06-04-2021, 11:25 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Backups are backups; although you don't need so many for torrent.files as they're still* out there, like libraries...

did you try searching: Unable to create /home/?/.kde/share/apps/ktorrent/?: Permission denied

...or, variations?

Edit\add: on the web that is?

Last edited by jamison20000e; 06-05-2021 at 10:03 AM. Reason: add&c::: my bad
 
Old 06-05-2021, 12:06 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you verified the owner:group and permissions of that folder? Maybe it's possible that they somehow got changed during your upgrade or move...
 
1 members found this post helpful.
Old 06-05-2021, 01:50 AM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,487

Rep: Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288
Quote:
Originally Posted by Bad Blue Bull View Post
Upgraded ktorrent to 21.04.1 from current
This sentence makes me to raise an eyebrow.

Seriously? Did you upgraded ONLY the KTorrent from the entire KDE Applications suite?

What happened with the other Applications? What happened with the Frameworks? What happened with Plasma? What happened with Qt5 and its dependencies?

And on what you did that? On Slackware 14.2 ?

I suggest to OP to upgrade entirely to the latest slackware-current, installing every little package (even the casual Apache) OR to explain first on no less than 100000 words what he did and when he did this partial install or programs mix.

Oh, and BTW, if someone migrates even on a full install, from the latest KDE4 to latest Plasma5 the torrents will not be preserved on KTorrent. Tested myself many times.

Last edited by LuckyCyborg; 06-05-2021 at 03:27 AM.
 
Old 06-05-2021, 08:30 AM   #5
Bad Blue Bull
Member
 
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85

Original Poster
Rep: Reputation: Disabled
Yes, torrent files like ~/.kde/share/apps/ktorrent/tor1/torrent are read only. I don't know why ktorrent wants to recreate them though. They were read only before, yet ktorrent was running ok.
Changed permissions to 644 for a couple of torrent files and ktorrent sees lists them now, yet to figure out how to automatically change permissions for a hundred of other files though. Like change perms 644 to all the files in subdirectories, but not to directories.
...
I've done slackpkg install-new and upgrades several kde related packages, not done upgrade-all yet.
 
Old 06-05-2021, 09:32 AM   #6
Bad Blue Bull
Member
 
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85

Original Poster
Rep: Reputation: Disabled
Code:
chmod 644 ~/.kde/share/apps/ktorrent/tor*/torrent
 
Old 06-05-2021, 01:55 PM   #7
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
there is a "tor" in the torrents dir path. Are those torrents opened by ktorrent called by tor browser?
ktorrent, kget, dolphin, etc, when called by tor browser have their own configuration inside tor browser directory.
Maybe if you run ktorrent "inside" tor browser, it will recognize the torrents files again.
 
Old 06-05-2021, 06:11 PM   #8
Bad Blue Bull
Member
 
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
there is a "tor" in the torrents dir path. Are those torrents opened by ktorrent called by tor browser?
ktorrent, kget, dolphin, etc, when called by tor browser have their own configuration inside tor browser directory.
Maybe if you run ktorrent "inside" tor browser, it will recognize the torrents files again.
I think tor is short for torrent.
What's interesting, looking at torrent files inside these torXX directories I can see they all have been touched on last ktorrent startup. I compared torrent file with one backed up and diff tells they are identical. I have no idea why this version of ktorrent touches them and why the version of ktorrent that I used before created them read-only.
Anyway it's developers' fault, they should expect such trouble.
 
Old 06-06-2021, 11:46 AM   #9
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
Originally Posted by Bad Blue Bull View Post
I've done slackpkg install-new and upgrades several kde related packages, not done upgrade-all yet.
Generally things work better for me with the full upgrade-all of -current. I use some Alien packages like ffmpeg that I don't want overwritten so I blacklist Alien for slackpkg. I have had a torrent going in ktorrent for about two years and never had any trouble with it disappearing.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ktorrent can I autostart torrents? Adol Linux - Software 9 09-15-2021 06:02 PM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
Ktorrent suddenly put all my torrents on pause. comcastuser Linux - Software 7 02-16-2019 09:20 AM
KTorrent: Add torrents stopped? tmerriam Linux - Software 1 06-22-2009 09:09 AM
Downloaded Ktorrent - has no configure or make folder philnk Slackware 5 10-14-2008 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration