Can't enable encryption?

Nextcloud version (eg, 12.0.2): 13.0.5
Operating system and version (eg, Ubuntu 17.04): Debian GNU/Linux 8 (jessie) - version 8.11
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.10 (Debian)
PHP version (eg, 7.1): 5.6.36-0+deb8u1

The issue you are facing: Can’t seem to enable encryption - can’t put in encryption keys. When clicking on the “Encryption” setting tab when logged in as administrator get:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Log-in Nextcloud as administrator
  2. Click on “Settings”
  3. Click on “Encryption”

The output of your Nextcloud log in Admin > Logging:

No server logs

Everything is working fine

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'oczfe9hpkrpe',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => '192.168.1.6',
  ),
  'datadirectory' => '/media/media/nextcloud',
  'overwrite.cli.url' => 'http://192.168.1.6/nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.5.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin4',
  'dbpassword' => '',
  'installed' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => '',
);

The output of your Apache/nginx/system log in /var/log/____:

N/A?