Skip to content
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] fails to connect with new credentials #164

Open
jnweiger opened this issue Jul 10, 2024 · 6 comments
Open

[QA] fails to connect with new credentials #164

jnweiger opened this issue Jul 10, 2024 · 6 comments
Assignees

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Jul 10, 2024

Seen with 2.0.2 and core 10.15.0-rc.3. Not a regression: Also seen with 2.0.1

  • To connect create a new app and new token, following the instructions in eg. github/owncloud/QA/tools/hetzner-deploy/ tasks/files_external_dropbox.sh
       Account -> Settings > Apps >
        Apps you connect will show up here. Get started on App Center.
        -> https://www.dropbox.com/apps
         -> [manage] -> [build an app]
 1) Choose an API
  (*) Scoped access New
 2) Choose the type of access you need
  (*) App folder
 3) Name your app
  [oc-qa]
 [x] I agree ...
        -> [Create app]
 Copy paste
        App key:        t7jXXXXXXy8
        App secret:     [show] .....
 Development teams      1/0 ...
 Development users      -> Enable additional users      ??maybe not needed.??
                        1/500

 OAuth2
        Redirect URI:   https://$oc10_fqdn/index.php/settings/admin?sectionid=storage
                -> Add
        Redirect URI:   https://$oc10_fqdn/settings/admin?sectionid=storage
                -> Add
 Switch from 'Settings' to 'Permissions' tab
        Files and folder
                -> [x]
                check all checkboxes in that section.
                -> Submit

firefox https://$oc10_fqdn/index.php/settings/admin?sectionid=storage
 -> Add Storage -> Dropbox V2
  -> paste App key    into [Client ID]
  -> paste App secret into [Client secret]
   -> grant Access
        This app only has a small number of users and may not be the app you were intending to link.
        -> Continue
        oc-qa would like to: View basic information about your Dropbox account ...
        -> Allow

  • the connection remains red. BAD.
  • server log has errors:
{"reqId":"Zo6Z1dLdGkfv5j0WLk1b@wAAAAk","level":3,"time":"2024-07-10T14:25:25+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"POST","url":"\/apps\/files_external\/globalstorages","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/GlobalStoragesController.php(119): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\GlobalStoragesController->create()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6aFccF6iKY4tic2S0-ZAAAAAg","level":3,"time":"2024-07-10T14:26:30+00:00","remoteAddr":"176.7.8.187","user":"[email protected]","app":"files_external","method":"GET","url":"\/index.php\/apps\/files_external\/userglobalstorages\/2?testOnly=false","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/UserGlobalStoragesController.php(124): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\UserGlobalStoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6aLeIMcdpBswaSceu@JAAAAAQ","level":1,"time":"2024-07-10T14:26:53+00:00","remoteAddr":"176.7.8.187","user":"--","app":"OC\\User\\Session::loginInOwnCloud","method":"POST","url":"\/login?redirect_url=%252Fsettings%252Fusers","message":"login admin using \"password\" login type"}
{"reqId":"Zo6aN@IMcdpBswaSceu@KQAAAAQ","level":3,"time":"2024-07-10T14:27:03+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"GET","url":"\/apps\/files_external\/globalstorages\/2?testOnly=true","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(307): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}

Mabye related to #113 ?

Workaround:

  • us an old app, with an api-key / api-secret pair generated in 2022. Then everything works!
@jnweiger
Copy link
Contributor Author

For 2.0.0-rc.2 we updated some dependencies #135 To make it work again. Maybe this is needed again?

@phil-davis
Copy link
Contributor

I suppose that the existing 2.0.0 and 2.0.1 releases have this problem?

This app only has unit tests, which are not going to be making real connections to a real current dropbox interface. I remember thinking about how to have automated acceptance tests, but it is a similar problem to the SMB tests (which rely on haing a Windows Server set up with known credentials etc.). There has to be a real dropbox account of some sort available to test against in CI.

What is the situation for this app? Are there installations using it in production that need it bundled in the core release? Or will it be acceptable to unbundle it from the core release, and work on sorting it out with less priority?

@phil-davis
Copy link
Contributor

Mabye related to #113 ?

I suspect that this comment is correct:
#113 (comment)

"As dropbox now only work with short lived tokens, new created connections do not work any more.
The setting that was available in dropbox to avoid the expiry does not exist anymore."

Connections are going to get a relatively short-lived access token, and be able to use a refresh token to keep getting a new access token when needed. And code "somewhere" is going to have to handle that.

The dependencies https://github.com/Hemant-Mann/flysystem-dropbox and https://github.com/kunalvarma05/dropbox-php-sdk don't have any recent releases. I am no familiar with the code, so without looking at it in detail, I don't know if the token refresh logic/timing is supposed to be embedded in that dropbox-php-sdk, or if our oC10 app has to do that work.

@jnweiger
Copy link
Contributor Author

I have adjusted the redirect url (have now both, with and without /index.php/...)
Now the connection gets green!

grafik

But, the folder is not really connected.

  • it remains empty.
  • files manually uploaded to dropbox don't appear in owncloud
  • file upload attempts in owncloud fail:

grafik


grafik


News from the server log:

{"reqId":"Zo6e9PNrSDZ4NsnrIdH4xAAAAAs","level":3,"time":"2024-07-10T14:47:16+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":
"GET","url":"\/apps\/files_external\/globalstorages\/2?testOnly=true","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(307): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6e9ZR-Qqf7Ix-vmUI8ygAAAAQ","level":3,"time":"2024-07-10T14:47:17+00:00","remoteAddr":"176.7.8.187","user":"[email protected]","app":"OpenID","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"Calling Application:logout"}
{"reqId":"Zo6e@fRtg3wd9jRG4vlIHQAAAAg","level":3,"time":"2024-07-10T14:47:21+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"PUT","url":"\/apps\/files_external\/globalstorages\/2","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/GlobalStoragesController.php(189): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\GlobalStoragesController->update()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6fdBWo8IrUjeVelZvVdwAAAAo","level":3,"time":"2024-07-10T14:49:24+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"GET","url":"\/apps\/files_external\/globalstorages\/2?testOnly=true","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(307): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6fjg9LZrkMsgy0x@vCwAAAAAA","level":3,"time":"2024-07-10T14:49:50+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"PUT","url":"\/apps\/files_external\/globalstorages\/2","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/GlobalStoragesController.php(189): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\GlobalStoragesController->update()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6fkw9LZrkMsgy0x@vCwwAAAAA","level":3,"time":"2024-07-10T14:49:55+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"PUT","url":"\/apps\/files_external\/globalstorages\/2","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/GlobalStoragesController.php(189): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\GlobalStoragesController->update()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"snmwjDvVoXSH64GdlBL2","level":1,"time":"2024-07-10T14:50:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"--","url":"--","message":"Invalidating tokens older than 2024-07-10T14:30:01+00:00"}
{"reqId":"Zo6fqPRtg3wd9jRG4vlIKwAAAAg","level":2,"time":"2024-07-10T14:50:16+00:00","remoteAddr":"176.7.8.187","user":"--","app":"core","method":"POST","url":"\/login?redirect_url=%252Fsettings%252Fadmin%253Fsectionid%253Dstorage%2526code%253DlE8vBTzoz6oAAAAAAAAAOWL_05Ef6ffDS2gAnqb5Yec%2526state%253D2bb2a604e50ce93c595885a3afcb9cc7","message":"Login failed: 'admin' (Remote IP: '176.7.8.187')"}
{"reqId":"Zo6fuQ9LZrkMsgy0x@vCxAAAAAA","level":1,"time":"2024-07-10T14:50:33+00:00","remoteAddr":"176.7.8.187","user":"--","app":"OC\\User\\Session::loginInOwnCloud","method":"POST","url":"\/login?redirect_url=%252Fsettings%252Fadmin%253Fsectionid%253Dstorage%2526code%253DlE8vBTzoz6oAAAAAAAAAOWL_05Ef6ffDS2gAnqb5Yec%2526state%253D2bb2a604e50ce93c595885a3afcb9cc7&user=admin","message":"login admin using \"password\" login type"}
{"reqId":"Zo6fu5R-Qqf7Ix-vmUI83QAAAAQ","level":3,"time":"2024-07-10T14:50:35+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"GET","url":"\/apps\/files_external\/globalstorages\/2?testOnly=true","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(307): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6f7Bx@Buh7fV0atS0@eAAAAAY","level":4,"time":"2024-07-10T14:51:31+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/burning-down-the-house.mp3","message":"Exception: HTTP\/1.1 500 File not found at path: burning-down-the-house.mp3.ocTransferId231985063.part: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"File not found at path: burning-down-the-house.mp3.ocTransferId231985063.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(285): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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\":723}"}
{"reqId":"Zo6f7Bx@Buh7fV0atS0@eAAAAAY","level":4,"time":"2024-07-10T14:51:31+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/DropboxV2\/burning-down-the-house.mp3","message":"Caused by: {\"Exception\":\"League\\\\Flysystem\\\\FileNotFoundException\",\"Message\":\"File not found at path: burning-down-the-house.mp3.ocTransferId231985063.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php(211): 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(280): 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(280): 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(302): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->rename()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(280): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->rename()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(110): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(575): OCA\\\\Files_Trashbin\\\\Storage->rename()\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(262): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->moveFromStorage()\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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\":390}"}
{"reqId":"Zo6gIQ9LZrkMsgy0x@vC3gAAAAA","level":1,"time":"2024-07-10T14:52:17+00:00","remoteAddr":"176.7.8.187","user":"--","app":"OC\\User\\Session::loginInOwnCloud","method":"POST","url":"\/login","message":"login admin using \"password\" login type"}
{"reqId":"wszeJh4ReLn5nZZjJQQx","level":1,"time":"2024-07-10T14:55:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"--","url":"--","message":"Invalidating tokens older than 2024-07-10T14:35:02+00:00"}
{"reqId":"Zo6g33AVyLI6KDlsNykP2wAAAAk","level":3,"time":"2024-07-10T14:55:27+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"POST","url":"\/apps\/files_external\/globalstorages","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/GlobalStoragesController.php(119): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\GlobalStoragesController->create()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"Zo6g828RzbfCsPLhEtmAkAAAAAo","level":1,"time":"2024-07-10T14:55:48+00:00","remoteAddr":"176.7.8.187","user":"--","app":"OC\\User\\Session::loginInOwnCloud","method":"POST","url":"\/login?redirect_url=%252Fsettings%252Fadmin%253Fsectionid%253Dstorage%2526code%253DlE8vBTzoz6oAAAAAAAAAOvvVFT4d9JjH3vkryGdS_o4%2526state%253Db5e92e2d5b41f0affc74ea55b7e575ad","message":"login admin using \"password\" login type"}
{"reqId":"Zo6g9SizL@rni9YQ9yHJ2wAAAAc","level":3,"time":"2024-07-10T14:55:49+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"files_external","method":"GET","url":"\/apps\/files_external\/globalstorages\/3?testOnly=true","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Creating \\\\OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(203): OCA\\\\Files_external_dropbox\\\\Storage\\\\Dropbox->__construct()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(253): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus()\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(307): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(169): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/kernel.php(925): OC\\\\Route\\\\Router->match()\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(32): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/lib\\\/Storage\\\/Dropbox.php\",\"Line\":118}"}
{"reqId":"KsaYpE3wNn2NbpTVt4iP","level":1,"time":"2024-07-10T15:00:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"0 orphaned previews deleted"}
{"reqId":"KsaYpE3wNn2NbpTVt4iP","level":1,"time":"2024-07-10T15:00:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"--","url":"--","message":"Invalidating tokens older than 2024-07-10T14:40:02+00:00"}
{"reqId":"Zo6iRnk-52mVKVVqq7wuQAAAAAQ","level":4,"time":"2024-07-10T15:01:31+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/Dropbox202\/FabLab-RepairCafe_170812_3323-1024x852.jpg","message":"Exception: HTTP\/1.1 500 File not found at path: FabLab-RepairCafe_170812_3323-1024x852.jpg.ocTransferId1422738870.part: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"File not found at path: FabLab-RepairCafe_170812_3323-1024x852.jpg.ocTransferId1422738870.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(285): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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\":723}"}
{"reqId":"Zo6iRnk-52mVKVVqq7wuQAAAAAQ","level":4,"time":"2024-07-10T15:01:31+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/Dropbox202\/FabLab-RepairCafe_170812_3323-1024x852.jpg","message":"Caused by: {\"Exception\":\"League\\\\Flysystem\\\\FileNotFoundException\",\"Message\":\"File not found at path: FabLab-RepairCafe_170812_3323-1024x852.jpg.ocTransferId1422738870.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php(211): 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(280): 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(280): 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(302): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->rename()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(280): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->rename()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(110): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(575): OCA\\\\Files_Trashbin\\\\Storage->rename()\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(262): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->moveFromStorage()\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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-external\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php\",\"Line\":390}"}

@jnweiger
Copy link
Contributor Author

jnweiger commented Jul 10, 2024

It is not a regression:

  • using an old app with old key/secret pair from 2022 works!
  • same behavior with released 2.0.1

I'd be okay shipping it nonetheless.
Chances are, that it is totally my fault and I need more insights on the dropbox side setup ...
The stacktraces are pretty boring, no protocol errors visible to me.

It seems file access scopes need to be set manually now on the dropbox side. I have:

grafik

I am enabling all these checkboxes, submit, then try again.
Nothing changed. Folder is empty, and an upload fails:

{"reqId":"Zo6ma28RzbfCsPLhEtmArQAAAAo","level":4,"time":"2024-07-10T15:19:13+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/Dropbox202\/cocodile_head_bw.png","message":"Exception: HTTP\/1.1 500 File not found at path: cocodile_head_bw.png.ocTransferId1180342617.part: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"File not found at path: cocodile_head_bw.png.ocTransferId1180342617.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(285): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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\":723}"}
{"reqId":"Zo6ma28RzbfCsPLhEtmArQAAAAo","level":4,"time":"2024-07-10T15:19:13+00:00","remoteAddr":"176.7.8.187","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/admin\/Dropbox202\/cocodile_head_bw.png","message":"Caused by: {\"Exception\":\"League\\\\Flysystem\\\\FileNotFoundException\",\"Message\":\"File not found at path: cocodile_head_bw.png.ocTransferId1180342617.part\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps-external\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php(211): 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(280): 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(280): 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(302): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->rename()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(280): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->rename()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(110): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(575): OCA\\\\Files_Trashbin\\\\Storage->rename()\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(262): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->moveFromStorage()\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(172): 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(348): 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-external\\\/files_external_dropbox\\\/vendor\\\/league\\\/flysystem\\\/src\\\/Filesystem.php\",\"Line\":390}"}

@phil-davis
Copy link
Contributor

Ok, past my bed time here! I will try setting up a connection to a real dropbox tomorrow and see what happens.

@jnweiger jnweiger changed the title [QA] fails to connect [QA] fails to connect with new credentials Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants