-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QA] cannot access or upload files #140
Comments
@kiranadh1452 In #137 (comment) |
I tried this again, it is still working. We need to provide the access listed under |
Thanks Kiran for double checking. It seems a bit random. Sometimes it works right from the beginning, sometimes it does not.
Maybe it is really a token refresh problem, as asumed in #135 . |
Multiple issues are adding up here. Disentangling:
Followups in individual issues. Closing here. |
Seen with files_external_dropbox 1.2.0 on core 10.10.0
Upload some files into your dropbox account.
Create an app 'jw-qa' at http://www.dropbox.com/developers with access to the entire account.
Copy paste the key and secret from there,
Paste the https://OWNCLOUD_SERVER_NAME/index.php/settings/admin?sectionid=storage url into Redirect URI
Connect a 'Dropbox V2' external storage with key and secret. After an oauth roundrip, the storage is green. OK.
Check contents of storage. It is empty. BAD
Try create a text file via Web UI text editor. An error occurs. BAD
Try upload a jpg file via Web UI. An error occurs. BAD
Try upload a file via desktop client. an error occurs. BAD
Expected behaviour:
owncloud.log has:
{"reqId":"b54e0a73-80e7-44b1-9a5e-5c172bcb48a9","level":0,"time":"2022-07-31T23:54:19+00:00","remoteAddr":"89.204.135.225","user":"admin","app":"OC\\Authentication\\Token\\DefaultTokenProvider::getToken","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/testfile.ott","message":"token f341e2d4dc17e9ca021daa3f138c04dbef46dfa8c4c2c1bcc5b4015dcbf6f3f7a3c6f3e1dc066a7e7838d3495a59c2371199b470e79f450af9c799d8d4136573 does not exist"} {"reqId":"b54e0a73-80e7-44b1-9a5e-5c172bcb48a9","level":2,"time":"2022-07-31T23:54:23+00:00","remoteAddr":"89.204.135.225","user":"admin","app":"core","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/testfile.ott","message":"ignoring lock release with type 1 for files\/da0340298b7cbd6c8600d6dcb3629354. Lock hasn't been acquired before"} {"reqId":"b54e0a73-80e7-44b1-9a5e-5c172bcb48a9","level":4,"time":"2022-07-31T23:54:23+00:00","remoteAddr":"89.204.135.225","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/testfile.ott","message":"Exception: HTTP\/1.1 500 File not found at path: testfile.ott.ocTransferId1595978521.part: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"File not found at path: testfile.ott.ocTransferId1595978521.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(282): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(173): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put()\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1098): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(504): Sabre\\\\DAV\\\\Server->createFile()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\CorePlugin->httpPut()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(472): Sabre\\\\DAV\\\\Server->emit()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod()\\n#7 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(349): Sabre\\\\DAV\\\\Server->start()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":702}"} {"reqId":"b54e0a73-80e7-44b1-9a5e-5c172bcb48a9","level":4,"time":"2022-07-31T23:54:23+00:00","remoteAddr":"89.204.135.225","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/testfile.ott","message":"Caused by: {\"Exception\":\"League\\\\Flysystem\\\\FileNotFoundException\",\"Message\":\"File not found at path: testfile.ott.ocTransferId1595978521.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php(210): League\\\\Flysystem\\\\Filesystem->assertPresent()\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Flysystem.php(104): League\\\\Flysystem\\\\Filesystem->rename()\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(281): OC\\\\Files\\\\Storage\\\\Flysystem->rename()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/PermissionsMask.php(86): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(281): OC\\\\Files\\\\Storage\\\\Wrapper\\\\PermissionsMask->rename()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Availability.php(295): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(270): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->rename()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(281): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->rename()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(107): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(576): OCA\\\\Files_Trashbin\\\\Storage->rename()\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(271): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->moveFromStorage()\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(173): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put()\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1098): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile()\\n#13 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(504): Sabre\\\\DAV\\\\Server->createFile()\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\CorePlugin->httpPut()\\n#15 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(472): Sabre\\\\DAV\\\\Server->emit()\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod()\\n#17 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(349): Sabre\\\\DAV\\\\Server->start()\\n#18 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#19 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#20 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php\",\"Line\":389}"} {"reqId":"b54e0a73-80e7-44b1-9a5e-5c172bcb48a9","level":1,"time":"2022-07-31T23:54:23+00:00","remoteAddr":"89.204.135.225","user":"admin","app":"core","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/testfile.ott","message":"cleaning stray exclusive locks for files\/da0340298b7cbd6c8600d6dcb3629354"}Maybe related: #135
The text was updated successfully, but these errors were encountered: