You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading self-hosted server to 15.0.2, Android client retries all previously auto-uploaded files.
Notification says "Malformed server configuration"
Incidentally, trying the fix from nextcloud/server#13468 , which actually resulted in files on the server being overwritten with empty files(!)
Posting here, as opposed to in nextcloud/server, since it's the client that says the instance isn't configured, whereas it works just fine in the browser, and when scanned by https://scan.nextcloud.com .
Expected behaviour
Unchanged, auto-uploaded files should not be attempted to re-upload
{"reqId":"cwcbx8O4Qu81frSk0CTv","level":3,"time":"2019-02-03T14:17:16+00:00","remoteAddr":"62.107.0.216","user":"sune","app":"PHP","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","message":"feof(): supplied resource
is not a valid stream resource at \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php#172","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.0 RC2","version":"15.0.2.0"}
{"reqId":"cwcbx8O4Qu81frSk0CTv","level":3,"time":"2019-02-03T14:17:16+00:00","remoteAddr":"62.107.0.216","user":"sune","app":"no app in context","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","message":{"Exception"
:"Sabre\\DAV\\Exception","Message":"Error while copying file to target location (copied bytes: 0, expected filesize: 0 )","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1130,"function":"put","class":"OCA\\DAV\\Conne
ctor\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":513,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":191,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.0 RC2","version":"15.0.2.0"}
{"reqId":"cwcbx8O4Qu81frSk0CTv","level":4,"time":"2019-02-03T14:17:16+00:00","remoteAddr":"62.107.0.216","user":"sune","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Error while copying file to target location (copied bytes: 0, expected filesize: 0 )","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1130,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":513,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/nephele.molgaard.org\/remote.php\/webdav\/InstantUpload\/Camera\/2016\/07\/IMG_20160730_153226.jpg","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":191,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.0 RC2","version":"15.0.2.0"}
####Android client log (excerpt)
02-03 14:55:35.794 5420 5469 D UploadFileOperation: normal upload
02-03 14:55:35.798 5420 5469 D OwnCloudClient #1839: Creating OwnCloudClient
02-03 14:55:35.800 5420 5469 D AccountUtils: Restoring cookies for sune@nephele.molgaard.org
02-03 14:55:35.801 5420 5469 D OwnCloudClient #1839: REQUEST GET /index.php/204
02-03 14:55:35.801 5420 5469 D AdvancedSslSocketFactory: Creating SSL Socket with remote nephele.molgaard.org:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@60ced86
02-03 14:55:35.801 5420 5469 D AdvancedSslSocketFactory: ... with connection timeout 60000 and socket timeout 60000
02-03 14:55:35.802 5420 5469 I ServerNameIndicator: SNI done, hostname: nephele.molgaard.org
02-03 14:55:37.181 5420 5469 D UploadFileOperation: Checking name collision in server
02-03 14:55:37.252 5420 5469 V UploadsStorageManager: Updating /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg with status=UPLOAD_IN_PROGRESS
02-03 14:55:37.271 5420 5469 D UploadsStorageManager: updateUpload returns with: 1 for file: /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg
02-03 14:55:37.271 5420 5469 D UploadsStorageManager: notifyObserversNow
02-03 14:55:37.271 5420 5469 D OwnCloudClient #2: REQUEST PUT /remote.php/webdav/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg
02-03 14:55:38.103 5420 5469 E UploadFileOperation: Upload of /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg to /InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg: The Nextcloud server is not configured!
02-03 14:55:38.104 5420 5469 D UploadsStorageManager: updateDatabaseUploadResult uploadResult: com.owncloud.android.lib.common.operations.RemoteOperationResult@25ff2d4 upload: com.owncloud.android.operations.UploadFileOperation@2cf2c7d
02-03 14:55:38.117 5420 5469 V UploadsStorageManager: Updating /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg with status:UPLOAD_FAILED and result:UNKNOWN (old:/storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg status:UPLOAD_IN_PROGRESS result:-1)
02-03 14:55:38.118 5420 5469 V UploadsStorageManager: Updating /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg with status=UPLOAD_FAILED
02-03 14:55:38.142 5420 5469 D UploadsStorageManager: updateUpload returns with: 1 for file: /storage/emulated/0/Android/data/com.nextcloud.client/files/nextcloud/sune@nephele.molgaard.org/InstantUpload/Camera/2016/10/IMG_20161020_183942.jpg
02-03 14:55:38.143 5420 5469 D UploadsStorageManager: notifyObserversNow
02-03 14:55:38.145 5420 5469 D FileUploader: NotifyUploadResult with resultCode: INSTANCE_NOT_CONFIGURED
02-03 14:55:38.166 5420 5469 D FileUploader: Stopping command after id 3736
02-03 14:55:38.169 5420 13322 D skia : --- SkAndroidCodec::NewFromStream returned null
02-03 14:55:38.169 5420 13322 D skia : --- SkAndroidCodec::NewFromStream returned null
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
The text was updated successfully, but these errors were encountered:
INSTANCE_NOT_CONFIGURED is thrown when server has a 500 error or if "installed" in "/status.php" is either missing or false…
Can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue?
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Actual behaviour
Since upgrading self-hosted server to 15.0.2, Android client retries all previously auto-uploaded files.
Notification says "Malformed server configuration"
Incidentally, trying the fix from nextcloud/server#13468 , which actually resulted in files on the server being overwritten with empty files(!)
Posting here, as opposed to in nextcloud/server, since it's the client that says the instance isn't configured, whereas it works just fine in the browser, and when scanned by https://scan.nextcloud.com .
Expected behaviour
Unchanged, auto-uploaded files should not be attempted to re-upload
Steps to reproduce
Unknown
Environment data
Android version:
8.1.0
Device model:
OnePlus 5T
Stock or customized system:
LineageOS 15.1-20190129
Nextcloud app version:
3.5.0 RC2
Nextcloud server version:
15.0.2
Logs
Web server error log (excerpt)
Nextcloud log (data/nextcloud.log) (excerpt)
####Android client log (excerpt)
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
The text was updated successfully, but these errors were encountered: