-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deletion of files not possible. #4126
Comments
We are also affected by this issue. This issue has high priority for us |
@SebastianKrupinski Do you think that maybe it would make more sense to move this to server? |
@GVodyanov no, from the error it looks like the failure is inside the circles module (so it should be moved to circles), which then makes the files delete action fail. But it is a duplicate of the attached issue. |
We get the error as well on moving, but, as deleting is a part of moving, this is essentially the same, here is as well a full excerpt from the logs: in this specific case, a document opened in only office can't be saved to the original place, but it is the same error as when deleting, the essence always being "Exception":"Exception","Message":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned in file '/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php' line 272","Code":0," {"reqId":"HCa4dGcS9s3ikSPmbSgw","level":3,"time":"2024-09-19T07:30:33+00:00","remoteAddr":"x.x.x.x","user":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","app":"index","method":"POST","url":"/index.php/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJCMDMxMzkxMC05RkE0LURBMDEtODBGOS0wMDAzNDNGRTA2RkIiLCJvd25lcklkIjoibGx0IiwiZmlsZUlkIjoxMDY1ODAzMTM0LCJmaWxlUGF0aCI6Ii9MTFQvRG9rdW1lbnRhdGlvbi9Qcm9qZWt0ZS1Wb3JoYWJlbi9Jbi1EdXJjaGZ1ZWhydW5nLzIwMjJfVU5JVEUvW3VuaXRlX1dQMl9TSEFSRXNdL3VuaXRlX1dQMl9zaGFyZS9UMi4xX1dQX0Nvb3JkaW5hdGlvbi8wMl9NZWV0aW5ncy8yMDI0LTA5LTI0IHRvIDA5LTI2IERBUk1TVEFEVC9EYXkgMS8yMDI0LTA5LTI0IFNsb3QgMSAtIFdlbGNvbWUgYW5kIFVwZGF0ZXMucHB0eCIsInNoYXJlVG9rZW4iOm51bGwsImFjdGlvbiI6InRyYWNrIn0.uR0t_QJdK3vWs-Eidt7qT6-p4qpt1GLRj6Rix-VOsA0","message":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned in file '/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php' line 272","userAgent":"Node.js/6.13","version":"29.0.6.1","exception":{"Exception":"Exception","Message":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned in file '/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php' line 272","Code":0,"Trace":[{"file":"/var/www/app/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/app/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/app/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/app/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"TypeError","Message":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned","Code":0,"Trace":[{"file":"/var/www/app/nextcloud/apps/circles/lib/ShareByCircleProvider.php","line":695,"function":"getCircle","class":"OCA\Circles\Model\ShareWrapper","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Share20/Manager.php","line":1688,"function":"getAccessList","class":"OCA\Circles\ShareByCircleProvider","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Share20/ShareHelper.php","line":51,"function":"getAccessList","class":"OC\Share20\Manager","type":"->"},{"file":"/var/www/app/nextcloud/apps/activity/lib/FilesHooks.php","line":598,"function":"getPathsForAccessList","class":"OC\Share20\ShareHelper","type":"->"},{"file":"/var/www/app/nextcloud/apps/activity/lib/FilesHooks.php","line":166,"function":"getUserPathsFromPath","class":"OCA\Activity\FilesHooks","type":"->"},{"file":"/var/www/app/nextcloud/apps/activity/lib/FilesHooks.php","line":108,"function":"addNotificationsForFileAction","class":"OCA\Activity\FilesHooks","type":"->"},{"file":"/var/www/app/nextcloud/apps/activity/lib/FilesHooksStatic.php","line":51,"function":"fileUpdate","class":"OCA\Activity\FilesHooks","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"fileUpdate","class":"OCA\Activity\FilesHooksStatic","type":"::"},{"file":"/var/www/app/nextcloud/lib/private/Files/View.php","line":1282,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/app/nextcloud/lib/private/Files/View.php","line":1214,"function":"runHooks","class":"OC\Files\View","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Files/View.php","line":683,"function":"basicOperation","class":"OC\Files\View","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Files/Node/File.php","line":73,"function":"file_put_contents","class":"OC\Files\View","type":"->"},{"file":"/var/www/app/nextcloud/apps/onlyoffice/lib/Controller/CallbackController.php","line":588,"function":"putContent","class":"OC\Files\Node\File","type":"->"},{"file":"/var/www/app/nextcloud/apps/onlyoffice/lib/Controller/CallbackController.php","line":878,"function":"OCA\Onlyoffice\Controller\{closure}","class":"OCA\Onlyoffice\Controller\CallbackController","type":"->","args":["*** sensitive parameters replaced "]},{"file":"/var/www/app/nextcloud/apps/onlyoffice/lib/Controller/CallbackController.php","line":587,"function":"retryOperation","class":"OCA\Onlyoffice\Controller\CallbackController","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Files/Lock/LockManager.php","line":39,"function":"OCA\Onlyoffice\Controller\{closure}","class":"OCA\Onlyoffice\Controller\CallbackController","type":"->","args":[" sensitive parameters replaced ***"]},{"file":"/var/www/app/nextcloud/apps/onlyoffice/lib/Controller/CallbackController.php","line":594,"function":"runInScope","class":"OC\Files\Lock\LockManager","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"track","class":"OCA\Onlyoffice\Controller\CallbackController","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/app/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/app/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/app/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php","Line":272},"message":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned in file '/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php' line 272","exception":{},"CustomMessage":"OCA\Circles\Model\ShareWrapper::getCircle(): Return value must be of type OCA\Circles\Model\Circle, null returned in file '/var/www/app/nextcloud/apps/circles/lib/Model/ShareWrapper.php' line 272"}} |
Problem seems to be fixed with 29.0.9 |
No, we are using Nextcloud Hub 8 (29.0.9), but the error is still there |
Steps to reproduce
Try to delete a file
Expected behavior
File is deleted
Actual behavior
Error is displayed
Server operating system
Debian
Web server
Nginx
Database engine version
PostgreSQL
PHP engine version
Other
Nextcloud version
Nextcloud Hub 8 (29.0.7)
Updated from an older installed version or fresh install
Updated from an older version
Signing status
List of activated apps
Nextcloud configuration
Browser
Edge
Client operating system
Windows
CardDAV-clients
No response
Web server error log
No response
Nextcloud log
Browser log
No response
Browser log
No response
The text was updated successfully, but these errors were encountered: