How to restart Plasma Vault?

Hi KDE - you’re doing a splendid job - as a newcomer I become more and more excited.

Question concerning Plasma Vault:

I have inserted an SD card into my laptop and used Plasma Vault to create a CryFS vault on the SD card. Initially it works as expected.

However, after a reboot the SD card is not automatically mounted, which means that when Plasma Vault starts up, it can’t find the vault dir and the vault is greyed out in the GUI.

This status persists after mounting the SD card. I can use Konsole to use cryfs commands to open the vault. This is recognized by Dolphin, but it’s not recognized by Plasma Vault, where the vault continues to be greyed out.

I assume that Plasma Vault only reads the configuration file and tries to access the vault once upon start-up and therefore it never discovers that the vault becomes available later on.

Consequently, I expect that if you could just restart Plasma Vault to force it to re-initialize that would do the trick (a refresh button would come in handy here :wink: )

How do I manually restart Plasma Vault?

1 Like

With this:

sudo systemctl restart plasma-vault

The name of the service could be different (I don’t use plasma-vault).

To check the status:

sudo systemctl status plasma-vault

Regards

1 Like

Thanks @Krovikan - another possibility is to open Background Services on the desktop, search for Plasma Vault module, stop it and start it again.

However, it turns out that when I deleted the first vault, and made a new one in a folder on the SD (i.e. not in the root of the SD), everything works fine. When I mount the SD I can unlock the vault with no problems.

Thanks a lot for your answer.

1 Like

The answer to the original question is systemctl restart --user plasma-kded6.service. Vaults is backed by a KDED service, so you need to restart KDED itself.

2 Likes