Service unavailable for desktop sync on one accout

Support intro

Nextcloud version : 19.01
Operating system and version : Rhaspian
Apache or nginx version: Apache
PHP version: 7.2

Hello,

I have one account that has sync problems with the desktop app (and android app) and can’t sync anything, another account doesn’t have such problems.

I tried an occ files:scan --all, but that didn’t help and i am out of ideas.

Any ideas / help is appriciated.

The output of your Nextcloud log in Admin > Logging:

Error	no app in context	OCA\Encryption\Exceptions\MultiKeyDecryptException: multikeydecrypt with share key failed:error:04065072:rsa routines:rsa_ossl_private_decrypt:padding check failed
/var/www/html/nextcloud/apps/encryption/lib/KeyManager.php - line 446:

OCA\Encryption\Crypto\Crypt->multiKeyDecrypt(null, null, "-----BEGIN ... n")

/var/www/html/nextcloud/apps/encryption/lib/Crypto/Encryption.php - line 201:

OCA\Encryption\KeyManager->getFileKey("/Sylvia/fil ... t", "master_0c62e91c")

/var/www/html/nextcloud/lib/private/Files/Stream/Encryption.php - line 268:

OCA\Encryption\Crypto\Encryption->begin("/Sylvia/fil ... t", "Sylvia", "w", { oc_encrypt ... "}, [])

<<closure>>

OC\Files\Stream\Encryption->stream_open("ocencryption://", "w", 0, "*** sensiti ... *")

/var/www/html/nextcloud/lib/private/Files/Stream/Encryption.php - line 207:

fopen("ocencryption://", "w", false, null)

/var/www/html/nextcloud/lib/private/Files/Stream/Encryption.php - line 187:

OC\Files\Stream\Encryption::wrapSource(null, null, "ocencryption", "OC\\Files\\Stream\\Encryption", "w")

/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php - line 473:

OC\Files\Stream\Encryption::wrap(null, "files/Jota/Ausgaben.txt", "/Sylvia/fil ... t", { oc_encrypt ... "}, "Sylvia", OCA\Encrypti ... {}, OC\Files\Sto ... l}, OC\Files\Sto ... l}, OC\Encryption\Util {}, OC\Encryption\File {}, "w", 0, 50, 0, true)

/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php - line 1036:

OC\Files\Storage\Wrapper\Encryption->fopen("files/Jota/Ausgaben.txt", "w")

/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 631:

OC\Files\Storage\Wrapper\Encryption->writeStream("files/Jota/Ausgaben.txt", null, "*** sensiti ... *")

/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 202:

OC\Files\Storage\Wrapper\Wrapper->writeStream("files/Jota/Ausgaben.txt", null)

/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1143:

OCA\DAV\Connector\Sabre\File->put(null)

/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 515:

Sabre\DAV\Server->updateFile("*** sensiti ... *")

/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:

Sabre\DAV\Server->emit("method:PUT", [ Sabre\HTTP ... }])

/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:

Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

Sabre\DAV\Server->start()

/var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php - line 82:

Sabre\DAV\Server->exec()

/var/www/html/nextcloud/remote.php - line 167:

require_once("/var/www/ht ... p")
Error	PHP	Cannot modify header information - headers already sent by (output started at /var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php#680

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

<?php
$CONFIG = array (
  'instanceid' => 'ocbujj3ahuxl',
  'passwordsalt' => 'm9JoyRTgVGA7b0kPuXBy6QSacwmLrj',
  'secret' => 'Erh2jgbb7vg9mI4yDacTZ7/fSAXV8HFsGppkstMAfkDsT0xT',
  'trusted_domains' =>
  array (
    0 => 'some ip',
    1 => 'domain 1',
    2 => 'domain 2'
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '19.0.1.1',
  'overwrite.cli.url' => 'some site',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'some password',
  'installed' => true,
  'default_language' => 'de',
  'htaccess.RewriteBase' => '/nextcloud',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => false,
);

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

[Thu Nov 19 20:56:39.906096 2020] [mpm_prefork:notice] [pid 848] AH00169: caught SIGTERM, shutting down
[Thu Nov 19 20:56:49.617180 2020] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Thu Nov 19 20:56:49.623133 2020] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
[Thu Nov 19 20:57:02.038861 2020] [php7:warn] [pid 939] [client 92.117.38.209:51975] PHP Warning:  fileperms(): stat failed for /var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 85
[Thu Nov 19 20:57:02.038984 2020] [php7:notice] [pid 939] [client 92.117.38.209:51975] {"reqId":"VV0czzTGrVjG3MK1xMC3","level":3,"time":"2020-11-19T19:57:02+00:00","remoteAddr":"92.117.38.209","user":"ChristianS","app":"PHP","method":"P$[Thu Nov 19 20:57:02.457463 2020] [php7:warn] [pid 939] [client 92.117.38.209:51975] PHP Warning:  fileperms(): stat failed for /var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 85
[Thu Nov 19 20:57:02.457538 2020] [php7:notice] [pid 939] [client 92.117.38.209:51975] {"reqId":"VV0czzTGrVjG3MK1xMC3","level":3,"time":"2020-11-19T19:57:02+00:00","remoteAddr":"92.117.38.209","user":"ChristianS","app":"PHP","method":"P$

could be related to this?