Web lists-archives.com

Re: Migration of kwallet failed




Hello Michael.

Michael Schwartzkopff - 02.04.18, 07:44: 
> I did an upgrade of ubuntu 14.04 to 16.04 and now my kwallet is empty.
> 
> 
> The version of kwalletmanager on the old system was 4:4.13.2.
> 
> The version on the new system is 4:15.12.3-0ubuntu1.
> 
> 
> The new kwalletmanager just says: "Error -9".
>
> Now I installed an other machine with the old ubuntu 14.04 to open the
> kwallet there and export it to XML. But opening the kdewallet.kwl there
> also fails with "Error 42".

This should work.

Which one did you use? You need to use the old one in ~/.kde/share/apps/
kwalletd, not the new one in ~/.config/kwalletd.

> Any idea how I can retrieve my passwords? It really would be urgent.

You can retry the migration:

Set alreadyMigrated to false again:

%> cat .config/kwalletrc 
[Migration]
alreadyMigrated=true

Restart kwalletd. One way is to log out and log in. There is another way which 
works during a session, but I am not sure how it worked. Maybe you can just 
quit kwalletd5 process and start it again.

Also see:

https://wiki.gentoo.org/wiki/KDE/
Troubleshooting#Recover_KWallet_passwords_after_failed_migration

Thanks,
-- 
Martin