Skip to content

Unable to download files #347

@leveled

Description

@leveled

Actual behaviour

I recently migrated my owncloud installation to nextcloud (via the instructions here) and although behavior on the desktop client and web client is functional, I am unable to download files from the android client.

Steps to reproduce

I'm not sure how to reproduce this issue.

Environment data

Stock or customized system: Customized (migrated from Owncloud)
Nextcloud app version: 1.3.1
Nextcloud server version: 10.0.1

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"tVmyl+e7RmNqunzmd1SX","remoteAddr":"10.0.8.4","app":"webdav","message":"Exception: {\"Message\":\"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.\",\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\DecryptionFailedException\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(460): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt('PK\\\\x03\\\\x04\\\\n\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\xF7iRI\\\\x1E...', 0)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(291): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#2 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #143, 8192)\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#5 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#6 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(78): stream_copy_to_stream(Resource id #146, Resource id #148, '392210')\\n#7 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(470): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#11 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php\",\"Line\":361,\"User\":\"adi\"}","level":4,"time":"2016-10-18T18:44:31+00:00","method":"GET","url":"\/remote.php\/webdav\/laverna-backup.zip","user":"adi"}

The file is not a shared file and like I mentioned before, there seems to be no problem using the webui. After looking through the thread here, where users faced a similar issue there seemed to be an issue with email fields in LDAP. However, I have not enabled LDAP on my installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoWaiting for info from user(s). Issues with this label will auto-stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions