Nextcloud version: 14.0.3
Operating system and version: NextCloudPi 0.66.4
Apache or nginx version (eg, Apache 2.4.25):
PHP version : 7.2
The issue you are facing:
Since an update of NCPi one (and only one) user can no longer upload any file. The Next-Cloud Desktop App throws this a cryptic “Connection Lost” or “Operation terminated” (freely translated von “Verbindung beendet” und “Operation abgebrochen”).
I can access all files I had uploaded before the problem first appeared. If I upload a file via the Android App or the Web-Interface, no error is thrown, but the uploaded file cannot be opened.
From the error message I read, that apparently the encryption is busted. Any idea what I can do?
All other users are fine and I think, if I just create another user I should be fine, but I kinda don’t want to have to repeat this in future.
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- Login with the affected user and try to upload a file
The output of your Nextcloud log in Admin > Logging:
OCP\Encryption\Exceptions\GenericEncryptionException: Bad Signature
/var/www/nextcloud/apps/encryption/lib/Crypto/Crypt.php - line 463:
OCA\Encryption\Crypto\Crypt->checkSignature("SEp0QC0F0WU ... h", null, "b2fead68b7d ... 3")
/var/www/nextcloud/apps/encryption/lib/Crypto/Encryption.php - line 379:
OCA\Encryption\Crypto\Crypt->symmetricDecryptFileContent("*** sensiti ... *", null, "AES-256-CTR", 1, "*** sensiti ... *")
/var/www/nextcloud/lib/private/Files/Stream/Encryption.php - line 479:
OCA\Encryption\Crypto\Encryption->decrypt("*** sensiti ... *")
/var/www/nextcloud/lib/private/Files/Stream/Encryption.php - line 299:
OC\Files\Stream\Encryption->readCache()
OC\Files\Stream\Encryption->stream_read(8192)
/var/www/nextcloud/3rdparty/icewind/streams/src/Wrapper.php - line 91:
fread(null, 8192)
/var/www/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php - line 91:
Icewind\Streams\Wrapper->stream_read(8192)
Icewind\Streams\CallbackWrapper->stream_read(8192)
/var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php - line 84:
fread(null, 8192)
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 498:
Sabre\HTTP\Sapi::sendResponse(Sabre\HTTP\Response {})
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})
/var/www/nextcloud/apps/dav/lib/Server.php - line 293:
Sabre\DAV\Server->exec()
/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/var/www/nextcloud/remote.php - line 163:
require_once("/var/www/ne ... p")
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => REMOVED,
'secret' => REMOVED,
'trusted_domains' =>
array (
REMOVED
),
'datadirectory' => '/media/USBdrive/ncdata',
'overwrite.cli.url' => 'https://myaddress.ddns.net/',
'dbtype' => 'mysql',
'version' => '14.0.3.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'REMOVED',
'dbpassword' => 'REMOVED',
'installed' => true,
'instanceid' => 'ocyxuokvmjte',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'REMOVED,
),
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
'mail_domain' => 'ownyourbits.com',
'overwriteprotocol' => 'https',
'maintenance' => false,
'logfile' => '/media/USBdrive/ncdata/nextcloud.log',
'loglevel' => '2',
'log_type' => 'file',
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
(Can’t find it, sorry)