How to change the secret in config.php

Nextcloud version:
Operating system and version: Debian Buster
Apache or nginx version: 1.14.2-2+deb10u5
PHP version: 8.0

After I updated from nc to, I noticed an error message: The required secret config variable is not configured in the config.php file. [...]. After a quick search, I found that I had configured the secret wrong in my puppet template. After fixing that, everything worked. But I took a look into the documentation about the secret parameter in the config.php. There I was dissappoiinted to find, that there is little information available.

Could anyone tell me:

  1. What the secret is used for? A more detailed answer than “It’s for de- and encrypting data” would be helpful. :slight_smile:
  2. is there a way to update the value of secret?

did you read