Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade KDE 4 to 5:KWallet migration assistant keeps nagging
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nagmat84
Apprentice
Apprentice


Joined: 27 Mar 2007
Posts: 205

PostPosted: Fri Apr 22, 2016 5:18 pm    Post subject: Upgrade KDE 4 to 5:KWallet migration assistant keeps nagging Reply with quote

I upgraded from KDE 4 to KDE 5/KF5/Plasma. Every second or third time I log in the "KWallet Migration assistant" pops up again and wants to migrate my passwords from the old wallet to the new one. But it has already done it! How do I tell KDE not restart the migration process over and over again?

In some other thread it was suggested to recompile "kde-apps/kdebase-runtime-meta" and unset the use-flag "oldwallet" (i.e. "-oldwalltet"). But this is not what I need. Sure it prevents the migration wizard from being built but it also disables the wallet support for legacy applications that still use the old wallet format and are not yet migrated to the new KDE 5 framework.

Interestingly, I have two identical setups (identical compiler settings, identical packages and nearly the same use-flags) but the problem only affects one installation.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri Apr 22, 2016 5:54 pm    Post subject: Reply with quote

The reason could be that on your second box, where it doesn't work, kwallet(d)-pam is not working properly? kwalletd-pam spawns some output in pkg_postinst.
Back to top
View user's profile Send private message
nagmat84
Apprentice
Apprentice


Joined: 27 Mar 2007
Posts: 205

PostPosted: Sat Apr 23, 2016 10:38 am    Post subject: Reply with quote

I found the following entries in journalctl:
Code:

Apr 22 17:52:03 matthias-pc kwalletd5[765]: kwalletd5 started
Apr 22 17:52:03 matthias-pc kwalletd5[765]: Migration agent starting...
Apr 22 17:52:04 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:04 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:04 matthias-pc kwalletd5[765]: fsize:  2212293511  encrypted.size():  88024  blksz:  8
Apr 22 17:52:04 matthias-pc kwalletd5[765]: Application ' "Migrations-Assistent für KDE Wallet" ' using kwallet without parent window!
Apr 22 17:52:12 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:12 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:12 matthias-pc kwalletd5[765]: fsize:  2212293511  encrypted.size():  88024  blksz:  8
Apr 22 17:52:12 matthias-pc kwalletd5[765]: Application ' "akonadi_googlecontacts_resource_0" ' using kwallet without parent window!
Apr 22 17:52:12 matthias-pc kwalletd5[765]: openAsync for  ":1.51"
Apr 22 17:52:17 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:17 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:17 matthias-pc kwalletd5[765]: fsize:  2212293511  encrypted.size():  88024  blksz:  8
Apr 22 17:52:17 matthias-pc kwalletd5[765]: Application ' "akonadi_googlecontacts_resource_0" ' using kwallet without parent window!
Apr 22 17:52:24 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:24 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:24 matthias-pc kwalletd5[765]: fsize:  2212293511  encrypted.size():  88024  blksz:  8
Apr 22 17:52:24 matthias-pc kwalletd5[765]: Application ' "akonadi_googlecontacts_resource_0" ' using kwallet without parent window!
Apr 22 17:52:30 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:30 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:39 matthias-pc kwalletd5[765]: Setting useNewHash to true
Apr 22 17:52:39 matthias-pc kwalletd5[765]: Wallet new enough, using new hash
Apr 22 17:52:39 matthias-pc kwalletd5[765]: Migration failed.
Apr 22 17:52:39 matthias-pc kwalletd5[765]: Migration wizard returned an error or has been canceled. The migration agent will resume upon next daemon start
Apr 22 17:52:39 matthias-pc kwalletd5[765]: Migration agent stop.
Apr 22 19:48:37 matthias-pc kwalletd5[765]: openAsync for  ":1.89"
Apr 22 19:52:38 matthias-pc kwalletd5[765]: openAsync for  ":1.54"
Apr 22 19:52:55 matthias-pc kwalletd5[765]: slotServiceOwnerChanged  ":1.89" ,  ":1.89" ,  ""
Apr 22 21:02:08 matthias-pc kwalletd5[765]: openAsync for  ":1.103"
Apr 22 21:02:33 matthias-pc kwalletd5[765]: slotServiceOwnerChanged  ":1.103" ,  ":1.103" ,  ""


The interesting lines are "Migration failed" and "Migration wizard returned an error or has been canceled. The migration agent will resume upon next daemon start". Unfortunately, it does not give any details about the reason of failing. However it seems that the migration actually worked, because I can see my passwords in the new wallet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum