nextcloud / richdocuments

📑 Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
350 stars 115 forks source link

Document cannot be saved, please check your permissions when ugraded from 25 to 26.0.7 - 27.1.6 #3255

Closed NathanaelA closed 1 month ago

NathanaelA commented 10 months ago

Describe the bug Document creating worked before upgrading NextCloud and Collabora.

Creating new documents that use the richdocuments interface cause the following error to appear: Document cannot be saved, please check your permissions at the start of the document editing session and for the first minute or so until whatever background task unlocks the file.

To Reproduce

  1. Go to files
  2. Click "+" to create new document
  3. Choose "New Document"
  4. Save the name as whatever....
  5. You should see the error Message fairly quickly
  6. Type whatever in then hit CTRL-S to save, you may or may not see the message again in this document session.

Also have seen where opening this same document later it might have the same issue. It does Save the document eventually, but throws this error up frequently until the it works. Once the lock clears [I assume based on the logs] everything seems to be good.

Expected behavior The document to save without any errors.

Screenshots image

Client details:

Server details

Operating system: Ubuntu - running the Community Docker Nextcloud 26.0.7 & 27.1.6

Web server: Apache reverse proxy

Database: MySQL 8.0.31 / 8.3.0

PHP version: PHP 8.2.11 / 8.2.15

Nextcloud version: 26.0.7 / 27.1.6

Version of the richdocuments app 8.0.5, 8.0.6 / 8.2.4

Version of Collabora Online 23.05.5.2.1 / 23.05.8.4.1

Logs #### Nextcloud log (data/nextcloud.log) This is a fairly busy server but these were ALL the logs for this file "testing888.odt" that I created. I used grep to filter them out, however manually looking thru the logs I didn't see anything else related to it on either side.... ``` {"reqId":"bzdDkWR1hLlNfytzYzRW","level":0,"time":"2023-10-24T22:15:26+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"bzdDkWR1hLlNfytzYzRW","level":0,"time":"2023-10-24T22:15:26+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"oDg2DD7MuOjWy9Tg4x4w","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"oDg2DD7MuOjWy9Tg4x4w","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"7yeNoM2qMDNhXMofEhVH","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"7yeNoM2qMDNhXMofEhVH","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/NathanaelA/testing888.odt","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"D3qjaDob88ZynxHCRka0","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/index?fileId=262633&requesttoken=064MuSMMNQv1KqqYe8KCY5b4Pc8McYhkIF3kGnFvXrs%3D%3AqZ5qyhU7TFqSbeyqP6bPOd%2FLXqY0Bd4CFB%2BPKysGPdM%3D&path=%2Ftesting888.odt","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"D3qjaDob88ZynxHCRka0","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/apps/richdocuments/index?fileId=262633&requesttoken=064MuSMMNQv1KqqYe8KCY5b4Pc8McYhkIF3kGnFvXrs%3D%3AqZ5qyhU7TFqSbeyqP6bPOd%2FLXqY0Bd4CFB%2BPKysGPdM%3D&path=%2Ftesting888.odt","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"DFVENZxi6Hc55tAxjvQ7","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2Ftesting888.odt&reshares=true","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"rl0FpZ57d5p9vRJD8SKT","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2Ftesting888.odt&shared_with_me=true","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"DFVENZxi6Hc55tAxjvQ7","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2Ftesting888.odt&reshares=true","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"rl0FpZ57d5p9vRJD8SKT","level":0,"time":"2023-10-24T22:15:27+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2Ftesting888.odt&shared_with_me=true","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"4gIbimQMCvIavPyrkDOw","level":3,"time":"2023-10-24T22:15:32+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"richdocuments","method":"POST","url":"/index.php/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents?access_token=Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW&access_token_ttl=1698221727000","message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","userAgent":"COOLWSD HTTP Agent 23.05.5.2","version":"26.0.7.0","exception":{"Exception":"OCP\\Lock\\LockedException","Message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/View.php","Line":2037,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/91ed24122228199726f759e5995feb09\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":829,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files/91ed24122228199726f759e5995feb09",2]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":2028,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Lock/MemcacheLockingProvider.php","Line":109},"CustomMessage":"--"}} {"reqId":"d9sK4zN3PDPEu3FUGJs1","level":3,"time":"2023-10-24T22:15:40+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"richdocuments","method":"POST","url":"/index.php/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents?access_token=Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW&access_token_ttl=1698221727000","message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","userAgent":"COOLWSD HTTP Agent 23.05.5.2","version":"26.0.7.0","exception":{"Exception":"OCP\\Lock\\LockedException","Message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/View.php","Line":2037,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/91ed24122228199726f759e5995feb09\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":829,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files/91ed24122228199726f759e5995feb09",2]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":2028,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Lock/MemcacheLockingProvider.php","Line":109},"CustomMessage":"--"}} {"reqId":"sQI3tRfn7TdAm7ZThPu1","level":3,"time":"2023-10-24T22:15:47+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"richdocuments","method":"POST","url":"/index.php/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents?access_token=Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW&access_token_ttl=1698221727000","message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","userAgent":"COOLWSD HTTP Agent 23.05.5.2","version":"26.0.7.0","exception":{"Exception":"OCP\\Lock\\LockedException","Message":"\"testing888.odt\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/View.php","Line":2037,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/91ed24122228199726f759e5995feb09\" is locked, existing lock on file: 3 shared locks","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":829,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files/91ed24122228199726f759e5995feb09",2]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":629,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":2028,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/testing888.odt",2,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":685,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",2]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/NathanaelA/files/testing888.odt",null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":504,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":786,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":763,"function":"retryOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Lock/LockManager.php","line":29,"function":"OCA\\Richdocuments\\Controller\\{closure}","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":766,"function":"runInScope","class":"OC\\Files\\Lock\\LockManager","type":"->","args":[["OCP\\Files\\Lock\\LockContext"],["Closure"]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/WopiController.php","line":503,"function":"wrappedFilesystemOperation","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":[["OCA\\Richdocuments\\Db\\Wopi",1699],["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["262633","Q0bWT4wb9T9uu42oDzwfQVJcg6OnPqpW"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Richdocuments\\Controller\\WopiController"],"putFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["262633_ociaeolaqfl1","richdocuments.wopi.putFile"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/wopi/files/262633_ociaeolaqfl1/contents"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Lock/MemcacheLockingProvider.php","Line":109},"CustomMessage":"--"}} {"reqId":"MQa8GT3oWVWYkHASjc94","level":1,"time":"2023-10-24T22:15:52+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"richdocuments","method":"GET","url":"/core/preview?fileId=262633&c=db54c0e781cb69a0edb703be2c16ef47&x=500&y=500&forceIcon=0&a=1","message":"Failed to convert file to preview","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Connection timed out after 25001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://office.x.net/lool/convert-to/png","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],"*** sensitive parameters replaced ***",["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],"*** sensitive parameters replaced ***",["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":154,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":64,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php","line":66,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":333,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":169,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":189,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":297,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","https://office.x.net:443/lool/convert-to/png",["/var/www/html/data/files_external/rootcerts.crt",25,[["Closure"]],[["testing888.odt",null]],[false],["Nextcloud Server Crawler","gzip"],true]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Preview/Office.php","line":90,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["https://office.x.net:443/lool/convert-to/png",[25,[["testing888.odt",null]]]]},{"file":"/var/www/html/lib/private/Preview/ProviderV1Adapter.php","line":53,"function":"getThumbnail","class":"OCA\\Richdocuments\\Preview\\Office","type":"->","args":["testing888.odt",4096,4096,false,["OC\\Files\\View"]]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":64,"function":"getThumbnail","class":"OC\\Preview\\ProviderV1Adapter","type":"->","args":[["OC\\Files\\Node\\File"],4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":440,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[["OC\\Preview\\ProviderV1Adapter"],["OC\\Files\\Node\\File"],4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":164,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\SimpleFS\\SimpleFolder"],["OC\\Files\\Node\\File"],"application/vnd.oasis.opendocument.text",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":116,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],[[500,500,false,"fill"]],"application/vnd.oasis.opendocument.text"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":192,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],500,500,false,"fill",null]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":144,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[["OC\\Files\\Node\\File"],500,500,false,"fill"]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":113,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[["OC\\Files\\Node\\File"],500,500,true,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[262633,500,500,true,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\PreviewController"],"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\PreviewController"],"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\PreviewController","getPreviewByFileId",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core.Preview.getPreviewByFileId"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/core/preview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Failed to convert file to preview","CustomMessage":"Failed to convert file to preview"}} {"reqId":"Yq5ixZGyefQNSpHgSULF","level":1,"time":"2023-10-24T22:15:53+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"richdocuments","method":"GET","url":"/core/preview?fileId=262633&c=db54c0e781cb69a0edb703be2c16ef47&x=250&y=250&forceIcon=0&a=0","message":"Failed to convert file to preview","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","version":"26.0.7.0","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Connection timed out after 25001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://office.x.net/lool/convert-to/png","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],"*** sensitive parameters replaced ***",["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],"*** sensitive parameters replaced ***",["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":154,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":64,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php","line":66,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":333,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":169,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php","line":189,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":297,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","https://office.x.net:443/lool/convert-to/png",["/var/www/html/data/files_external/rootcerts.crt",25,[["Closure"]],[["testing888.odt",null]],[false],["Nextcloud Server Crawler","gzip"],true]]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Preview/Office.php","line":90,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["https://office.x.net:443/lool/convert-to/png",[25,[["testing888.odt",null]]]]},{"file":"/var/www/html/lib/private/Preview/ProviderV1Adapter.php","line":53,"function":"getThumbnail","class":"OCA\\Richdocuments\\Preview\\Office","type":"->","args":["testing888.odt",4096,4096,false,["OC\\Files\\View"]]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":64,"function":"getThumbnail","class":"OC\\Preview\\ProviderV1Adapter","type":"->","args":[["OC\\Files\\Node\\File"],4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":440,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[["OC\\Preview\\ProviderV1Adapter"],["OC\\Files\\Node\\File"],4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":164,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\SimpleFS\\SimpleFolder"],["OC\\Files\\Node\\File"],"application/vnd.oasis.opendocument.text",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":116,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],[[250,250,true,"fill"]],"application/vnd.oasis.opendocument.text"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":192,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],250,250,true,"fill",null]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":144,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[["OC\\Files\\Node\\File"],250,250,true,"fill"]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":113,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[["OC\\Files\\Node\\File"],250,250,false,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[262633,250,250,false,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\PreviewController"],"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\PreviewController"],"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\PreviewController","getPreviewByFileId",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core.Preview.getPreviewByFileId"]]},{"file":"/var/www/html/lib/base.php","line":1065,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/core/preview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Failed to convert file to preview","CustomMessage":"Failed to convert file to preview"}} ``` #### Browser Console log ``` GET https://cloud.x.net/core/preview?fileId=-1&x=256&y=256&a=1 400 (Bad request) [DEBUG] files: Created new file {app: 'files', uid: 'NathanaelA', level: 0, basename: 'testin666.odt', etag: '0d5d42eb2e596a654657917ed75428b5', …} [INFO] viewer: Opening viewer for file {app: 'viewer', uid: 'NathanaelA', level: 0, path: '/testin666.odt'} Viewer.vue:516 File info for /testin666.odt fetched {filename: '/testin666.odt', basename: 'testin666.odt', lastmod: 'Tue, 24 Oct 2023 22:41:00 GMT', size: 1268, type: 'file', …} ConsoleLogger.js:50 [DEBUG] viewer: Fetching additional files... {app: 'viewer', uid: 'NathanaelA', level: 0} ``` ### Browser Network ![image](https://github.com/nextcloud/richdocuments/assets/850871/58871b78-0414-4b7b-9ef3-fb08ca756679) No other errors the rest of the network panel was all successes. ### Server Collabora Logs ``` wsd-00001-00568 2023-09-24 22:41:13.165790 +0000 [ docbroker_023 ] ERR Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://cloud.x.net/index.php/apps/richdocuments/wopi/files/262660_ociaeolaqfl1/contents?access_token=lSyZB8sEQBsgZQhNVp8aWEukkrZ3DqgD&access_token_ttl=1698223261000]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1530 wsd-00001-00568 2023-09-24 22:41:13.165859 +0000 [ docbroker_023 ] ERR Failed to upload docKey [https%3A%2F%2Fcloud.x.net%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F262660_ociaeolaqfl1] to URI [https://cloud.x.net/index.php/apps/richdocuments/wopi/files/262660_ociaeolaqfl1?access_token=lSyZB8sEQBsgZQhNVp8aWEukkrZ3DqgD&access_token_ttl=1698223261000]. Notifying client.| wsd/DocumentBroker.cpp:2063 wsd-00001-00568 2023-09-24 22:41:20.403474 +0000 [ docbroker_023 ] ERR Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://cloud.x.net/index.php/apps/richdocuments/wopi/files/262660_ociaeolaqfl1/contents?access_token=lSyZB8sEQBsgZQhNVp8aWEukkrZ3DqgD&access_token_ttl=1698223261000]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1530 wsd-00001-00568 2023-09-24 22:41:20.403535 +0000 [ docbroker_023 ] ERR Failed to upload docKey [https%3A%2F%2Fcloud.x.net%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F262660_ociaeolaqfl1] to URI [https://cloud.x.net/index.php/apps/richdocuments/wopi/files/262660_ociaeolaqfl1?access_token=lSyZB8sEQBsgZQhNVp8aWEukkrZ3DqgD&access_token_ttl=1698223261000]. Notifying client.| wsd/DocumentBroker.cpp:2063 ```
joshtrichards commented 9 months ago

Does the problem go away if you disable the maps app?

NathanaelA commented 9 months ago

Nope, I just tested with the maps app disabled and it still does the same thing. I also tried upgrading to v8.0.6 of the Richdocuments app [Nextcloud Office] and it didn't fix it either. It is definitely a lock time issue like the logs show of some sort, because the new odt file also can't be deleted immediately, but after the dialog pops up twice [at least on my machine] then the document is savable and tends to be deletable.

juliushaertl commented 9 months ago

Do you have the files_lock app enabled? Otherwise can you share the log error for the delete as well as the output of occ config:list to know what locking related configs you have in place?

NathanaelA commented 9 months ago

Do you have the files_lock app enabled?

I assume you are asking about the app called "Temporary Files Lock" which appears to have that internal name then no, we have never had it even installed.

Logs #OCC Config:list ``` :~# occ config:list { "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "overwriteprotocol": "https", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "26.0.7.0", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpdebug": false, "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpsecure": "ssl", "default_phone_region": "US", "theme": "", "loglevel": 0, "app_install_overwrite": [ "files_texteditor", "apporder", "files_markdown", "timesheet" ], "enforce_theme": "", "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\TIFF", "OC\\Preview\\MarkDown", "OC\\Preview\\OpenDocument", "OC\\Preview\\Krita" ] }, "apps": { "activity": { "enable_email": "no", "enabled": "yes", "installed_version": "2.18.0", "notify_email_calendar": "0", "notify_email_calendar_event": "0", "notify_email_calendar_todo": "0", "notify_email_comments": "0", "notify_email_contacts": "0", "notify_email_deck": "0", "notify_email_deck_card_description": "0", "notify_email_deck_comment": "0", "notify_email_file_changed": "0", "notify_email_group_settings": "1", "notify_email_public_links": "0", "notify_email_remote_share": "0", "notify_email_shared": "0", "notify_email_spreed": "0", "notify_email_systemtags": "0", "notify_notification_calendar": "0", "notify_notification_calendar_event": "0", "notify_notification_calendar_todo": "0", "notify_notification_comments": "1", "notify_notification_contacts": "0", "notify_notification_deck": "1", "notify_notification_deck_card_description": "1", "notify_notification_deck_comment": "1", "notify_notification_favorite": "0", "notify_notification_file_changed": "0", "notify_notification_file_favorite_changed": "0", "notify_notification_group_settings": "0", "notify_notification_personal_settings": "0", "notify_notification_public_links": "0", "notify_notification_remote_share": "0", "notify_notification_security": "1", "notify_notification_shared": "0", "notify_notification_spreed": "0", "notify_notification_systemtags": "0", "notify_setting_batchtime": "0", "notify_setting_self": "0", "notify_setting_selfemail": "0", "types": "filesystem" }, "admin_audit": { "enabled": "yes", "installed_version": "1.16.0", "types": "logging" }, "analytics": { "enabled": "[\"IT\"]", "installed_version": "4.11.0", "types": "" }, "announcementcenter": { "allow_comments": "no", "create_activities": "no", "enabled": "yes", "installed_version": "6.7.0", "send_emails": "yes", "types": "logging" }, "apporder": { "enabled": "no", "installed_version": "0.15.0", "order": "[\"\/apps\/dashboard\/\",\"\/apps\/files\/\",\"\/apps\/photos\/\",\"\/apps\/activity\/\",\"***REMOVED SENSITIVE VALUE***\/apps\/spreed\/\",\"\/apps\/contacts\/\",\"\/apps\/calendar\/\",\"\/apps\/announcementcenter\/\",\"\/apps\/notes\/\",\"\/apps\/fulltextsearch\/\",\"https:\/\/mail.***REMOVED SENSITIVE VALUE***\",\"https:\/\/mail.***REMOVED SENSITIVE VALUE***\/mailadmin\/users\/login.php\",\"\/apps\/external\/3\",\"https:\/\/***REMOVED SENSITIVE VALUE***\/phpmyadmin\/index.php\",\"https:\/\/mail.***REMOVED SENSITIVE VALUE***\/mailadmin\/index.php\",\"https:\/\/mail.***REMOVED SENSITIVE VALUE***\/?admin\",\"\/apps\/passwords\/\",\"\/apps\/maps\/\",\"\/apps\/timesheet\/timesheet\"]", "types": "" }, "backgroundjob": { "lastjob": "341610" }, "breezedark": { "enabled": "yes", "installed_version": "26.0.1", "theme_automatic_activation_enabled": "0", "theme_cachebuster": "0", "theme_custom_styling": "", "theme_enabled": "1", "theme_enforced": "0", "theme_login_page": "1", "theme_settings_version": "2", "types": "" }, "bruteForce": { "whitelist_3": "***REMOVED SENSITIVE VALUE***", "whitelist_4": "***REMOVED SENSITIVE VALUE***" }, "bruteforcesettings": { "enabled": "yes", "installed_version": "2.6.0", "types": "" }, "calendar": { "enabled": "yes", "installed_version": "4.5.3", "types": "" }, "calendar_resource_management": { "enabled": "yes", "installed_version": "0.5.0", "types": "prevent_group_restriction" }, "circles": { "enabled": "yes", "installed_version": "26.0.0", "loopback_tmp_scheme": "https", "maintenance_run": "0", "maintenance_update": "{\"maximum\":4,\"3\":1700150401,\"2\":1700152801,\"1\":1700153101,\"5\":1663988401,\"4\":1664330401}", "migration_22": "1", "migration_22_1": "1", "migration_run": "0", "types": "filesystem,dav" }, "cloud_federation_api": { "enabled": "yes", "installed_version": "1.9.0", "types": "filesystem" }, "comments": { "enabled": "yes", "installed_version": "1.16.0", "types": "logging" }, "contacts": { "enabled": "yes", "installed_version": "5.4.2", "types": "dav" }, "contactsinteraction": { "enabled": "yes", "installed_version": "1.7.0", "types": "dav" }, "core": { "backgroundjobs_mode": "cron", "default_encryption_module": "OC_DEFAULT_MODULE", "emailTestSuccessful": "1", "installedat": "1651880977.1864", "lastcron": "1700153101", "lastupdateResult": "{\"version\":\"26.0.8.2\",\"versionstring\":\"Nextcloud 26.0.8\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-26.0.8.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/26\\\/admin_manual\\\/maintenance\\\/upgrade.html\",\"changes\":\"https:\\\/\\\/updates.nextcloud.com\\\/changelog_server\\\/?version=26.0.8\",\"autoupdater\":\"1\",\"eol\":\"0\"}", "lastupdatedat": "1700089942", "moveavatarsdone": "yes", "newUser.sendEmail": "yes", "oc.integritycheck.checker": "[]", "previewsCleanedUp": "1", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "shareapi_allow_resharing": "no", "shareapi_default_expire_date": "no", "shareapi_default_permission_candelete": "no", "shareapi_default_permission_canshare": "no", "shareapi_default_permission_canupdate": "yes", "shareapi_default_permissions": "7", "shareapi_exclude_groups": "no", "shareapi_exclude_groups_list": "[\"\"]", "shareapi_restrict_user_enumeration_to_group": "yes", "theming.variables": "4360de2003adc17a0b70242ff13cec36", "updater.secret.created": "1697410570", "vendor": "nextcloud" }, "dashboard": { "enabled": "yes", "installed_version": "7.6.0", "layout": "welcome,spreed,mail", "types": "" }, "dav": { "buildCalendarReminderIndex": "yes", "buildCalendarSearchIndex": "yes", "chunks_migrated": "1", "enabled": "yes", "installed_version": "1.25.0", "regeneratedBirthdayCalendarsForYearFix": "yes", "sendEventReminders": "yes", "sendEventRemindersPush": "yes", "types": "filesystem" }, "deck": { "enabled": "no", "installed_version": "1.6.3", "types": "dav" }, "dokuwiki": { "enabled": "no", "installed_version": "1.0.0", "types": "" }, "drawio": { "enabled": "yes", "installed_version": "2.1.2", "types": "filesystem" }, "encryption": { "enabled": "no", "installed_version": "2.11.0", "masterKeyId": "master_1a0f52f1", "publicShareKeyId": "pubShare_1a0f52f1", "recoveryKeyId": "recoveryKey_1a0f52f1", "types": "filesystem" }, "event_update_notification": { "enabled": "no", "installed_version": "2.2.0", "types": "logging,dav" }, "external": { "enabled": "yes", "installed_version": "5.1.1", "jwt_token_privkey_es256": "-----BEGIN PRIVATE KEY-----\n***REMOVED SENSITIVE VALUE***+\n-----END PRIVATE KEY-----\n", "jwt_token_pubkey_es256": "-----BEGIN PUBLIC KEY-----\n***REMOVED SENSITIVE VALUE***\/***REMOVED SENSITIVE VALUE***\n-----END PUBLIC KEY-----\n", "max_site": "9", "sites": "***REMOVED SENSITIVE VALUE***", "types": "" }, "externalportal": { "enabled": "yes", "installed_version": "1.2.0", "types": "" }, "federatedfilesharing": { "enabled": "yes", "installed_version": "1.16.0", "types": "" }, "federation": { "enabled": "no", "installed_version": "1.13.0", "types": "authentication" }, "files": { "enabled": "yes", "installed_version": "1.21.1", "types": "filesystem", "watermark_allGroups": "no", "watermark_allGroupsList": "", "watermark_allTags": "no", "watermark_allTagsList": "", "watermark_enabled": "no", "watermark_linkAll": "no", "watermark_linkRead": "no", "watermark_linkSecure": "no", "watermark_linkTags": "no", "watermark_linkTagsList": "", "watermark_shareAll": "no", "watermark_shareRead": "no", "watermark_text": "" }, "files_external": { "enabled": "yes", "installed_version": "1.18.0", "types": "filesystem" }, "files_fulltextsearch": { "enabled": "yes", "files_audio": "0", "files_encrypted": "0", "files_external": "1", "files_federated": "0", "files_group_folders": "1", "files_image": "0", "files_local": "1", "files_office": "1", "files_pdf": "1", "files_size": "20", "installed_version": "26.0.1", "types": "filesystem" }, "files_fulltextsearch_tesseract": { "enabled": "yes", "installed_version": "27.0.0", "tesseract_enabled": "1", "tesseract_lang": "eng", "tesseract_pdf": "1", "tesseract_pdf_limit": "0", "tesseract_psm": "4", "types": "" }, "files_markdown": { "enabled": "yes", "installed_version": "2.4.1", "types": "" }, "files_pdfviewer": { "enabled": "yes", "installed_version": "2.7.0", "types": "" }, "files_rightclick": { "enabled": "yes", "installed_version": "1.5.0", "types": "" }, "files_sharing": { "enabled": "yes", "incoming_server2server_share_enabled": "no", "installed_version": "1.18.0", "lookupServerEnabled": "no", "lookupServerUploadEnabled": "no", "outgoing_server2server_share_enabled": "no", "types": "filesystem" }, "files_texteditor": { "enabled": "yes", "installed_version": "2.15.1", "types": "" }, "files_trashbin": { "enabled": "yes", "installed_version": "1.16.0", "types": "filesystem,dav" }, "files_versions": { "enabled": "yes", "installed_version": "1.19.1", "types": "filesystem,dav" }, "firstrunwizard": { "enabled": "yes", "installed_version": "2.15.0", "types": "logging" }, "fulltextsearch": { "app_navigation": "1", "cron_err_reset": "1693777201", "enabled": "yes", "installed_version": "26.0.2", "provider_indexed": "", "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform", "types": "" }, "fulltextsearch_elasticsearch": { "analyzer_tokenizer": "standard", "elastic_host": "http:\/\/elastic:***REMOVED SENSITIVE VALUE***@esearch:9200\/", "elastic_index": "sutt_index", "enabled": "yes", "installed_version": "26.0.4", "types": "" }, "groupfolders": { "enabled": "yes", "installed_version": "14.0.5", "types": "filesystem,dav" }, "impersonate": { "authorized": "[\"admin\",\"Impersonate\"]", "enabled": "yes", "installed_version": "1.13.1", "types": "" }, "integration_zammad": { "enabled": "no", "installed_version": "1.0.3", "types": "" }, "logreader": { "enabled": "yes", "installed_version": "2.11.0", "live": "", "types": "" }, "lookup_server_connector": { "enabled": "yes", "installed_version": "1.14.0", "types": "authentication" }, "mail": { "enabled": "no", "installed_version": "1.13.5", "types": "" }, "maps": { "enabled": "yes", "installed_version": "1.1.1", "osrmDEMO": "on", "types": "filesystem" }, "nextcloud_announcements": { "enabled": "yes", "installed_version": "1.15.0", "notification_groups": "[\"IT\"]", "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200", "types": "logging" }, "notes": { "enabled": "yes", "installed_version": "4.8.1", "types": "" }, "notifications": { "enabled": "yes", "installed_version": "2.14.0", "types": "logging" }, "oauth2": { "enabled": "yes", "installed_version": "1.14.1", "types": "authentication" }, "occweb": { "enabled": "no", "installed_version": "0.1.0", "types": "" }, "password_policy": { "enabled": "yes", "enforceNumericCharacters": "1", "enforceSpecialCharacters": "0", "enforceUpperLowerCase": "1", "historySize": "3", "installed_version": "1.16.0", "maximumLoginAttempts": "5", "types": "authentication" }, "passwords": { "SSEv1ServerKey": "***REMOVED SENSITIVE VALUE***", "backup\/update\/restored": "0", "cron\/php\/version\/id": "80211", "cron\/php\/version\/string": "8.2.11", "enabled": "yes", "installed_version": "2023.11.30", "migration\/customFields": "2020.12.2", "passwords\/localdb\/type": "hibp", "survey\/server\/notification": "1684742102", "types": "", "web\/php\/version\/id": "80211", "web\/php\/version\/string": "8.2.11" }, "photos": { "enabled": "yes", "installed_version": "2.2.0", "lastPlaceMappedUser": "TimothyS", "lastPlaceMappingDone": "true", "types": "dav,authentication" }, "privacy": { "enabled": "yes", "installed_version": "1.10.0", "readableLocation": "us", "types": "" }, "provisioning_api": { "enabled": "yes", "installed_version": "1.16.0", "types": "prevent_group_restriction" }, "rainloop": { "enabled": "no", "installed_version": "7.2.5", "rainloop-autologin": "", "rainloop-autologin-with-email": "", "types": "" }, "recommendations": { "enabled": "yes", "installed_version": "1.5.0", "types": "" }, "related_resources": { "enabled": "yes", "installed_version": "1.1.0", "types": "" }, "richdocuments": { "disable_certificate_verification": "", "enabled": "yes", "installed_version": "8.0.6", "public_wopi_url": "https:\/\/office.***REMOVED SENSITIVE VALUE***", "types": "prevent_group_restriction", "wopi_allowlist": "172.20.0.0\/24", "wopi_url": "https:\/\/office.***REMOVED SENSITIVE VALUE***:443" }, "serverinfo": { "cached_count_filecache": "233580", "cached_count_storages": "39", "enabled": "yes", "installed_version": "1.16.0", "types": "" }, "settings": { "enabled": "yes", "installed_version": "1.8.0", "types": "" }, "sharebymail": { "enabled": "no", "installed_version": "1.13.0", "types": "filesystem" }, "side_menu": { "add-logo-link": "1", "always-displayed": "1", "apps-categories-custom": "[]", "apps-order": "[\"activity\",\"dashboard\",\"spreed\",\"files\",\"calendar\",\"tasks\",\"timesheet\",\"external_index9\",\"announcementcenter\",\"contacts\",\"fulltextsearch\",\"external_index2\",\"maps\",\"notes\",\"analytics\",\"external_index7\",\"external_index5\",\"external_index6\",\"passwords\",\"photos\",\"external_index4\",\"snappymail\",\"external_index3\"]", "background-color": "#404d5b", "background-color-opacity": "100", "background-color-to": "#404d5b", "big-menu": "0", "big-menu-hidden-apps": "[]", "cache": "8", "cache-categories": "***REMOVED TO SAVE SPACE, KEY/Values were text descriptions"}}}]", "categories-custom": "[]", "categories-order": "[\"other\",\"customization\",\"dashboard\",\"external_links\",\"files\",\"workflow\",\"games\",\"integration\",\"monitoring\",\"multimedia\",\"office\",\"organization\",\"search\",\"security\",\"social\",\"tools\"]", "categories-order-type": "default", "current-app-background-color": "#384450", "dark-mode-background-color": "#404d5b", "dark-mode-background-color-opacity": "100", "dark-mode-background-color-to": "#404d5b", "dark-mode-current-app-background-color": "#384450", "dark-mode-icon-invert-filter": "0", "dark-mode-icon-opacity": "100", "dark-mode-loader-color": "#ffffff", "dark-mode-opener": "side-menu-opener", "dark-mode-text-color": "#ffffff", "default-enabled": "1", "display-logo": "1", "enabled": "no", "force": "0", "hide-when-no-apps": "1", "icon-invert-filter": "0", "icon-opacity": "100", "installed_version": "3.8.0", "loader-color": "#73808e", "loader-enabled": "1", "opener": "side-menu-opener", "opener-hover": "0", "opener-only": "0", "opener-position": "before", "show-settings": "0", "side-with-categories": "0", "size-icon": "normal", "size-text": "normal", "target-blank-apps": "[]", "text-color": "#ffffff", "top-menu-apps": "[\"activity\",\"dashboard\",\"photos\",\"analytics\",\"snappymail\",\"contacts\",\"maps\",\"calendar\",\"fulltextsearch\",\"spreed\",\"timesheet\",\"notes\",\"passwords\",\"tasks\",\"announcementcenter\",\"files\",\"external_index2\",\"external_index3\",\"external_index4\",\"external_index5\",\"external_index6\",\"external_index7\",\"external_index9\"]", "top-menu-mouse-over-hidden-label": "0", "top-side-menu-apps": "[]", "types": "", "use-avatar": "0" }, "snappymail": { "enabled": "yes", "installed_version": "2.29.1", "snappymail-autologin": "", "snappymail-autologin-with-email": "1", "snappymail-no-embed": "", "types": "" }, "spreed": { "allowed_groups": "[]", "conversations_files": "1", "conversations_files_public_shares": "1", "default_group_notification": "1", "enabled": "yes", "has_reference_id": "yes", "installed_version": "16.0.7", "project_access_invalidated": "1", "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***", "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***", "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***", "sip_bridge_groups": "[]", "start_conversations": "[]", "turn_servers": "***REMOVED SENSITIVE VALUE***", "types": "dav,prevent_group_restriction" }, "support": { "enabled": "no", "installed_version": "1.6.0", "types": "session" }, "survey_client": { "enabled": "yes", "installed_version": "1.14.0", "types": "" }, "systemtags": { "enabled": "yes", "installed_version": "1.16.0", "types": "logging" }, "tasks": { "enabled": "yes", "installed_version": "0.15.0", "types": "" }, "text": { "enabled": "yes", "installed_version": "3.7.2", "types": "dav" }, "theming": { "cachebuster": "84", "enabled": "yes", "installed_version": "2.1.1", "logoMime": "image\/png", "name": "***REMOVED SENSITIVE VALUE***", "types": "logging", "url": "***REMOVED SENSITIVE VALUE***" }, "timesheet": { "enabled": "yes", "installed_version": "0.7.05", "types": "" }, "twofactor_backupcodes": { "enabled": "yes", "installed_version": "1.15.0", "types": "" }, "updatenotification": { "analytics": "4.11.0", "announcementcenter": "6.7.0", "breezedark": "25.0.2", "calendar": "4.5.3", "calendar_resource_management": "0.5.0", "contacts": "5.4.2", "core": "26.0.8.2", "drawio": "2.1.4", "enabled": "yes", "event_update_notification": "2.2.0", "external": "5.0.3", "files_fulltextsearch": "25.0.1", "files_markdown": "2.4.1", "files_texteditor": "2.15.1", "fulltextsearch": "25.0.1", "fulltextsearch_elasticsearch": "25.0.1", "groupfolders": "13.1.6", "impersonate": "1.12.1", "installed_version": "1.16.0", "mail": "1.13.4", "maps": "1.1.0", "notes": "4.8.1", "notify_groups": "[\"IT\"]", "passwords": "2023.11.30", "richdocuments": "8.0.6", "snappymail": "2.29.2", "spreed": "16.0.7", "tasks": "0.15.0", "types": "", "update_check_errors": "0", "welcome": "1.0.8" }, "user_status": { "enabled": "yes", "installed_version": "1.6.0", "types": "" }, "video_converter": { "enabled": "no", "installed_version": "1.0.5", "types": "" }, "viewer": { "enabled": "yes", "installed_version": "1.10.0", "types": "" }, "weather_status": { "enabled": "no", "installed_version": "1.3.0", "types": "" }, "welcome": { "enabled": "yes", "filePath": "\/IT Documentation\/Public Documentation\/Announcement.md", "installed_version": "1.0.10", "supportText": "If you find any issues, contact your supervisor or {name} to get them corrected.", "supportUserId": "***REMOVED SENSITIVE VALUE***", "supportUserName": "***REMOVED SENSITIVE VALUE***", "types": "", "userId": "***REMOVED SENSITIVE VALUE***", "userName": "***REMOVED SENSITIVE VALUE***", "widgetTitle": "" }, "workflow_pdf_converter": { "enabled": "no", "installed_version": "1.8.0", "types": "filesystem" }, "workflowengine": { "enabled": "yes", "installed_version": "2.8.0", "types": "filesystem" } } } ``` ### Error ![image](https://github.com/nextcloud/richdocuments/assets/850871/170d09d1-2b95-4137-b628-9499d3c59fb8) ### Console Log ![image](https://github.com/nextcloud/richdocuments/assets/850871/bde71bc5-af4e-45b1-822a-9ae77c4e1888) ### Delete Logs ``` {"reqId":"HisUckJHEUHoMCYwXaIX","level":0,"time":"2023-11-16T17:07:12+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/apps/files/api/v1/stats","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"HisUckJHEUHoMCYwXaIX","level":0,"time":"2023-11-16T17:07:13+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/apps/files/api/v1/stats","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"Dk0Ef89EmXaFr0GYpLEZ","level":0,"time":"2023-11-16T17:07:14+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"Dk0Ef89EmXaFr0GYpLEZ","level":0,"time":"2023-11-16T17:07:14+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"Tiv5Ecrcs2Cuogzr5Nf7","level":0,"time":"2023-11-16T17:07:44+00:00","remoteAddr":"172.20.0.1","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Creation of dynamic property OCA\\Welcome\\AppInfo\\Application::$config is deprecated at /var/www/html/custom_apps/welcome/lib/AppInfo/Application.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} {"reqId":"Tiv5Ecrcs2Cuogzr5Nf7","level":0,"time":"2023-11-16T17:07:44+00:00","remoteAddr":"172.20.0.1","user":"NathanaelA","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"26.0.7.0","data":{"app":"PHP"}} ```
foer commented 9 months ago

+1 for the same issue on my two instances.

ETES-Stuttgart commented 8 months ago

We've got the same issue on one of our instances:

The coolwsd.log shows the following:

kit-12854-12779 2023-12-28 10:40:30.841210 +0100 [ kit_spare_002 ] WRN  chmod("/opt/cool/child-roots/12771-88dff8be/LKLjlO791OyKy6R5/lo/") failed: Read-only file system| common/JailUtil.cpp:282
wsd-12771-12853 2023-12-28 10:40:33.323444 +0100 [ docbroker_001 ] ERR  Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://cloud.domain.tld/index.php/apps/richdocuments/wopi/files/5061949_oc4ad32a936a/contents?access_token=frrdOSOFvi83XuaCG4EximqBSlt63RI2&access_token_ttl=0]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1522
wsd-12771-12853 2023-12-28 10:40:33.323496 +0100 [ docbroker_001 ] ERR  Failed to upload docKey [https%3A%2F%2Fcloud.domain.tld%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F5061949_oc4ad32a936a] to URI [https://cloud.domain.tld.de/index.php/apps/richdocuments/wopi/files/5061949_oc4ad32a936a?access_token=frrdOSOFvi83XuaCG4EximqBSlt63RI2&access_token_ttl=0]. Notifying client.| wsd/DocumentBroker.cpp:2071
kit-12782-12779 2023-12-28 10:40:36.884864 +0100 [ kitbroker_001 ] WRN  Sessions are all inactive - trim memory| kit/Kit.cpp:975
wsd-12771-12853 2023-12-28 10:40:43.990926 +0100 [ docbroker_001 ] ERR  Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://cloud.domain.tld.de/index.php/apps/richdocuments/wopi/files/5061949_oc4ad32a936a/contents?access_token=frrdOSOFvi83XuaCG4EximqBSlt63RI2&access_token_ttl=0]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1522
wsd-12771-12853 2023-12-28 10:40:43.990972 +0100 [ docbroker_001 ] ERR  Failed to upload docKey [https%3A%2F%2Fcloud.domain.tld%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F5061949_oc4ad32a936a] to URI [https://cloud.domain.tld/index.php/apps/richdocuments/wopi/files/5061949_oc4ad32a936a?access_token=frrdOSOFvi83XuaCG4EximqBSlt63RI2&access_token_ttl=0]. Notifying client.| wsd/DocumentBroker.cpp:2071

We do not have the temporary-files-lock app enabled. The output of occ config:list:

        "richdocuments": {
            "enabled": "yes",
            "installed_version": "8.2.3",
            "public_wopi_url": "https:\/\/collabora.domain.tld",
            "types": "prevent_group_restriction",
            "wopi_url": "https:\/\/collabora.domain.tld"
        },
panromir commented 7 months ago

Same here

A newly created document can also not be deleted for a while until I tried to save a few times and the lock is apparently released.

Nextcloud occ config:list

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.domain.de",
            "10.0.0.3",
            "127.0.0.1"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "overwritehost": "nextcloud.domain.de",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.1.1",
        "overwrite.cli.url": "https:\/\/nextcloud.domain.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "",
        "default_phone_region": "DE",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "app_install_overwrite": [
            "unsplash",
            "files_downloadactivity"
        ]
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.20.0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "backgroundjob": {
            "lastjob": "50"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "28.0.0-dev",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1705351121,\"2\":1705351121,\"1\":1705351121}",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "dav"
        },
        "core": {
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"indexed\":true,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0}}",
            "files_metadata_installed": "1",
            "installedat": "1705328514.2922",
            "lastcron": "1705352700",
            "lastupdateResult": "[]",
            "lastupdatedat": "1705351103",
            "oc.integritycheck.checker": "[]",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "vendor": "nextcloud"
        },
        "dashboard": {
            "enabled": "no",
            "installed_version": "7.8.0",
            "types": ""
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.29.1",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "filesystem"
        },
        "files_downloadactivity": {
            "enabled": "no",
            "installed_version": "1.16.0",
            "types": "filesystem"
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.9.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "groupfolders": {
            "enabled": "yes",
            "installed_version": "16.0.2",
            "types": "filesystem,dav"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.13.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.16.0",
            "types": "authentication"
        },
        "nextcloud_announcements": {
            "enabled": "no",
            "installed_version": "1.17.0",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.16.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.16.3",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "lastPlaceMappedUser": "panroadmin",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "richdocuments": {
            "canonical_webroot": "",
            "disable_certificate_verification": "yes",
            "enabled": "yes",
            "external_apps": "",
            "installed_version": "8.3.1",
            "public_wopi_url": "https:\/\/office.domain.de",
            "types": "prevent_group_restriction",
            "wopi_allowlist": "10.0.0.0\/23,172.16.0.0\/12,127.0.0.1",
            "wopi_url": "https:\/\/office.domain.de"
        },
        "serverinfo": {
            "cached_count_filecache": "330",
            "cached_count_storages": "3",
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.10.1",
            "profile_enabled_by_default": "0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem"
        },
        "support": {
            "enabled": "no",
            "installed_version": "1.11.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "no",
            "installed_version": "1.16.0",
            "types": ""
        },
        "suspicious_login": {
            "enabled": "yes",
            "installed_version": "6.0.0",
            "types": "authentication"
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.9.1",
            "types": "dav"
        },
        "theming": {
            "backgroundMime": "image\/jpeg",
            "cachebuster": "15",
            "color": "#35383A",
            "enabled": "yes",
            "installed_version": "2.3.0",
            "logoMime": "image\/png",
            "name": "Users Nextcloud",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": ""
        },
        "twofactor_email": {
            "enabled": "yes",
            "installed_version": "2.7.4",
            "types": ""
        },
        "twofactor_nextcloud_notification": {
            "enabled": "yes",
            "installed_version": "3.8.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "10.0.0-beta.2",
            "types": ""
        },
        "twofactor_webauthn": {
            "enabled": "yes",
            "installed_version": "1.3.2",
            "types": ""
        },
        "unsplash": {
            "enabled": "no",
            "installed_version": "2.2.1",
            "types": ""
        },
        "updatenotification": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.8.1",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "no",
            "installed_version": "1.8.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": "filesystem"
        }
    }
}

Logs:

collabora-compose-code-1  | wsd-00001-00125 2024-01-15 20:48:55.480294 +0000 [ docbroker_008 ] ERR  Failed to upload docKey [https%3A%2F%2Fnextcloud.domain.de%3A443%2F%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F352_ocuuui7o7rbe] to URI [https://nextcloud.domain.de//index.php/apps/richdocuments/wopi/files/352_ocuuui7o7rbe?access_token=1P3iTdiBfB4f43sZrsnoDQkfqYMx39h0&access_token_ttl=0]. Notifying client.| wsd/DocumentBroker.cpp:2111
collabora-compose-code-1  | wsd-00001-00125 2024-01-15 20:49:05.523033 +0000 [ docbroker_008 ] ERR  Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://nextcloud.domain.de//index.php/apps/richdocuments/wopi/files/352_ocuuui7o7rbe/contents?access_token=1P3iTdiBfB4f43sZrsnoDQkfqYMx39h0&access_token_ttl=0]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1521
collabora-compose-code-1  | wsd-00001-00125 2024-01-15 20:49:05.523054 +0000 [ docbroker_008 ] ERR  Failed to upload docKey [https%3A%2F%2Fnextcloud.domain.de%3A443%2F%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F352_ocuuui7o7rbe] to URI [https://nextcloud.domain.de//index.php/apps/richdocuments/wopi/files/352_ocuuui7o7rbe?access_token=1P3iTdiBfB4f43sZrsnoDQkfqYMx39h0&access_token_ttl=0]. Notifying client.| wsd/DocumentBroker.cpp:2111
collabora-compose-code-1  | wsd-00001-00125 2024-01-15 20:49:12.587664 +0000 [ docbroker_008 ] ERR  Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://nextcloud.domain.de//index.php/apps/richdocuments/wopi/files/352_ocuuui7o7rbe/contents?access_token=1P3iTdiBfB4f43sZrsnoDQkfqYMx39h0&access_token_ttl=0]: 500 (Internal Server Error) Internal Server Error: {"message":"File locked"}| wsd/Storage.cpp:1521
collabora-compose-code-1  | wsd-00001-00125 2024-01-15 20:49:12.587695 +0000 [ docbroker_008 ] ERR  Failed to upload docKey [https%3A%2F%2Fnextcloud.domain.de%3A443%2F%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F352_ocuuui7o7rbe] to URI [https://nextcloud.domain.de//index.php/apps/richdocuments/wopi/files/352_ocuuui7o7rbe?access_token=1P3iTdiBfB4f43sZrsnoDQkfqYMx39h0&access_token_ttl=0]. Notifying client.| wsd/DocumentBroker.cpp:2111

I might add, that I have another nextcloud instance that is connected to the same collabora instance, that does not have this problem. The difference is, that the working NC instance is 27.1 with Office Version 8.2.4 and running in another public network entirely.

Disabling file locking in the Nextcloud config "fixes" the problem.

EDRi-org commented 7 months ago

We have the same issue with a Nextcloud 26.0.4 running Collabora. When the "no permissions" warning happens, the affected files also cannot be moved, deleted or even renamed in Nextcloud, so this does not seem to be a Collabora-specific issue (only). Disabling the Temporary File Lock app did not solve this for us (and as we used managed hosting we have no access to config or occ).

coltenkrauter commented 7 months ago

Any updates on this?

NathanaelA commented 7 months ago

I've upgraded today to the latest 27 and all dependencies --

Just an additional data point I was using the latest Redis 7.0.x, I also upgraded [& purged all data] to 7.2.4 and tried both the normal image and the Alpine version, no differences.

the issue is still present.

foer commented 7 months ago

The problem is suddenly gone in two of my Nextcloud instances after updating to:

Which one of those two Version upgrades leads to success is not clear. There are nothing in the changelogs what explains this?

panromir commented 7 months ago

The problem is suddenly gone in two of my Nextcloud instances after updating to:

  • Nextcloud 28.0.2
  • Collabora 23.05.8.4

Which one of those two Version upgrades leads to success is not clear. There are nothing in the changelogs what explains this?

I can confirm this. Upgrading to Nextcloud 28.0.2 and Collabora Docker 23.05.8.4.1 fixed the issue

ETES-Stuttgart commented 5 months ago

For us the upgrade of Nextcloud and Collabora did not solve the issue, but disabling the preview-generation did. (see: https://github.com/nextcloud/server/issues/44190)

Ramalama2 commented 2 months ago

same here, its previewgenerator i think. at least the combination of previewgenerator + collabora

EDIT: No i was wrong, disabled the previewgenerator and still no success

mejo- commented 1 month ago

We figured that this happens at times when Nextcloud tries to access the Collabora instance via a private IP. Does setting 'allow_local_remote_servers' => true, solve the issue for you?