-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: User access by share to Group Folder file, changes not saved. Versioning APP fatal error. #33509
Comments
Most clearly, the error is this one: Call to a member function getId() on bool in file '/var/www/html/apps/files_versions/lib/Storage.php' line 197 The versioning APP is crashing when try to create a new version. When we disable this APP, the changes are saved with no problems. |
Same error for us. File in SMB storage → shared with another user → modifications by this another user are not saved. When I disable the Versions app, the problem is solved. Nextcloud 23.0.8, Versions 1.16 |
Same error for different installations. |
Hello I have being searching and I think it is a regression because it started to happen when we updated to 24.0.2 After some users reported that saves weren't saved (not always), we have being testing a lot. When user closes the document after waiting 5 seconds, we don't get any error, but the document is not saved and doesn't appears in Versions or Activity. We get the error if in OnlyOffice when we save by the menu
Just in case that this helps on the solution, i put other issues on richdocuments and OnlyOffice that had this problem and they solved. ONLYOFFICE/onlyoffice-nextcloud#118 The temporary solution to disable Versions for us is very bad because we work many people in different documents and need to be able to recover versions. We notice also that the Activity fails to write when changes are made Thanks a lot for NextCloud :) |
Related: Groupfolder 2044 issue |
OK, with the last version of 'files_versions' app the problem is solved files_versions. For who uses docker, get the last version of the using image (with docker-composer): Regards |
Bug description
File created inside a Group Folder, give access to user (not in group) sharing the document directly. When the user tries to save the document the server return ERROR 500. The File Versioning APP causes the error.
Disabling the File Versioning APP the changes are saved.
Steps to reproduce
Expected behavior
The system must save the changes of User B.
Installation method
Official Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Nextcloud Docker Log:
nextcloud-demo-iametza-onlyoffice | nextcloud-demo-iametza-onlyoffice | ==> /var/log/onlyoffice/documentserver/docservice/out.log <== nextcloud-demo-iametza-onlyoffice | [2022-08-11T14:07:34.312] [ERROR] nodeJS - sendServerRequest error: docId = 3878033061;url = https://nextcloud-demo.iametza.eus/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJwcm9iYTIiLCJvd25lcklkIjoicHJvYmExIiwiZmlsZUlkIjozNjY1LCJmaWxlUGF0aCI6IlwvcGFydGVrYXR6ZWtvLnhsc3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.H5W0-vpmFKH3Qopg8kHQzb_khLDEtelnO0G_o8GpI-w;data = {"key":"3878033061","status":2,"url":"https://onlyoffice-demo.iametza.eus/cache/files/3878033061_5391/output.xlsx/output.xlsx?md5=nQ5bk8wvg8VwvhWEn-Re4w&expires=1660227755&filename=output.xlsx","changesurl":"https://onlyoffice-demo.iametza.eus/cache/files/3878033061_5391/changes.zip/changes.zip?md5=JsAqwJIPGGiIT8eKrPE8gg&expires=1660227755&filename=changes.zip","history":{"serverVersion":"7.1.0","changes":[{"created":"2022-08-11 14:07:13","user":{"id":"ocmrcl51z5aq_proba2","name":"Proba2"}}]},"users":["ocmrcl51z5aq_proba2"],"actions":[{"type":0,"userid":"ocmrcl51z5aq_proba2"}],"lastsave":"2022-08-11T14:07:13.000Z","notmodified":false,"filetype":"xlsx"} nextcloud-demo-iametza-onlyoffice | Error: Error response: statusCode:500; headers:{"server":"nginx/1.14.2","date":"Thu, 11 Aug 2022 14:07:34 GMT","content-type":"text/html; charset=UTF-8","content-length":"5415","connection":"keep-alive","referrer-policy":"no-referrer","x-content-type-options":"nosniff","x-frame-options":"SAMEORIGIN","x-permitted-cross-domain-policies":"none","x-robots-tag":"none","x-xss-protection":"1; mode=block","x-powered-by":"PHP/8.0.21","set-cookie":["ocmrcl51z5aq=4db0d65f0ec52240efbd64204b42171b; path=/; secure; HttpOnly; SameSite=Lax","oc_sessionPassphrase=jT7ConkUII0%2BCtDV73i9rD0rssLD7fwWbLEdUqKgSh4ia2GzF5%2FKFHESpKjjPOj5PPcm6GQQ5RsfrQPCGxVPCHESRYUIwM4Ub7BA8AiVmVULQaUUZkFZTYFIMBS36pUZ; path=/; secure; HttpOnly; SameSite=Lax","ocmrcl51z5aq=832e0d67c708461402ab76f9146fbb7a; path=/; secure; HttpOnly; SameSite=Lax","__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax","__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict"],"expires":"Thu, 19 Nov 1981 08:52:00 GMT","cache-control":"no-store, no-cache, must-revalidate","pragma":"no-cache","content-security-policy":"default-src 'self'; script-src 'self' 'nonce-V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';","strict-transport-security":"max-age=15768000; includeSubDomains;"}; body: nextcloud-demo-iametza-onlyoffice | <!DOCTYPE html> nextcloud-demo-iametza-onlyoffice | <html class="ng-csp" data-placeholder-focus="false" lang="eu" data-locale="eu" > nextcloud-demo-iametza-onlyoffice | <head nextcloud-demo-iametza-onlyoffice | data-requesttoken=""> nextcloud-demo-iametza-onlyoffice | <meta charset="utf-8"> nextcloud-demo-iametza-onlyoffice | <title> nextcloud-demo-iametza-onlyoffice | Nextcloud </title> nextcloud-demo-iametza-onlyoffice | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> nextcloud-demo-iametza-onlyoffice | <meta name="apple-itunes-app" content="app-id=1125420102"> nextcloud-demo-iametza-onlyoffice | <meta name="theme-color" content="#0082c9"> nextcloud-demo-iametza-onlyoffice | <link rel="icon" href="/core/img/favicon.ico"> nextcloud-demo-iametza-onlyoffice | <link rel="apple-touch-icon" href="/core/img/favicon-touch.png"> nextcloud-demo-iametza-onlyoffice | <link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#0082c9"> nextcloud-demo-iametza-onlyoffice | <link rel="manifest" href="/apps/theming/manifest?v=0"> nextcloud-demo-iametza-onlyoffice | <link rel="stylesheet" href="/custom_apps/side_menu/css/sideMenu.css?v=06950f48-0"> nextcloud-demo-iametza-onlyoffice | <link rel="stylesheet" href="/core/css/guest.css?v=9fa0ea43-0"> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/core-common.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/core-main.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/core/l10n/eu.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/core-files_fileinfo.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/core-files_client.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/js/core/merged-template-prepend.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/apps/comments/l10n/eu.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/comments-comments-app.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/apps/files_sharing/l10n/eu.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/dist/accessibility-accessibilityoca.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <script nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" defer src="/custom_apps/side_menu/js/sideMenu.js?v=9fa0ea43-0"></script> nextcloud-demo-iametza-onlyoffice | <link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/apps/accessibility/css/user-a82fd95db10ff25dfad39f07372ebe37"/><link rel="stylesheet" href="/apps/side_menu/css/stylesheet?v=0"></link><script defer nonce="V09URkROREp3TFdvSmFjbTUrNlh4Yndrb1Jya2tJZUtBak55VW5EUnZmMD06Rjc2T1FKNytnZUh2WFpOU3FZL0R2ZWhuMGxIVHBjbnVRRVZGTURtaDJMbz0=" src="/apps/side_menu/js/script?v=0"></script> </head> nextcloud-demo-iametza-onlyoffice | <body id="body-login"> nextcloud-demo-iametza-onlyoffice | <noscript> nextcloud-demo-iametza-onlyoffice | <div id="nojavascript"> nextcloud-demo-iametza-onlyoffice | <div> nextcloud-demo-iametza-onlyoffice | Aplikazio honek JavaScript eskatzen du ondo funtzionatzeko. Mesedez <a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">JavaScript gaitu</a> eta webgunea birkargatu. </div> nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | </noscript> nextcloud-demo-iametza-onlyoffice | <input type="hidden" id="initial-state-comments-max-message-length" value="MTAwMA=="> nextcloud-demo-iametza-onlyoffice | <input type="hidden" id="initial-state-comments-maxAutoCompleteResults" value="MTA="> nextcloud-demo-iametza-onlyoffice | <input type="hidden" id="initial-state-accessibility-data" value="eyJjaGVja01lZGlhIjpmYWxzZSwidGhlbWUiOmZhbHNlLCJoaWdoY29udHJhc3QiOmZhbHNlfQ=="> nextcloud-demo-iametza-onlyoffice | <div class="wrapper"> nextcloud-demo-iametza-onlyoffice | <div class="v-align"> nextcloud-demo-iametza-onlyoffice | <header role="banner"> nextcloud-demo-iametza-onlyoffice | <div id="header"> nextcloud-demo-iametza-onlyoffice | <div class="logo"> nextcloud-demo-iametza-onlyoffice | <h1 class="hidden-visually"> nextcloud-demo-iametza-onlyoffice | Nextcloud </h1> nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | </header> nextcloud-demo-iametza-onlyoffice | <main> nextcloud-demo-iametza-onlyoffice | <div class="error error-wide"> nextcloud-demo-iametza-onlyoffice | <h2>Zerbitzariaren barne-errorea</h2> nextcloud-demo-iametza-onlyoffice | <p>Zerbitzariak ezin izan du zure eskaera bete.</p> nextcloud-demo-iametza-onlyoffice | <p>Berriz gertatzen bada, mesedez bidali ondoko datu teknikoak zure administratzaileari.</p> nextcloud-demo-iametza-onlyoffice | <p>Xehetasun gehiago zerbitzariaren egunkarian aurki daitezke.</p> nextcloud-demo-iametza-onlyoffice | nextcloud-demo-iametza-onlyoffice | <h3>Xehetasun teknikoak</h3> nextcloud-demo-iametza-onlyoffice | <ul> nextcloud-demo-iametza-onlyoffice | <li>Urruneko helbidea: 172.22.0.1</li> nextcloud-demo-iametza-onlyoffice | <li>Eskariaren IDa: UlVWxWrW2OmoNBZcU4xw</li> nextcloud-demo-iametza-onlyoffice | </ul> nextcloud-demo-iametza-onlyoffice | nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | </main> nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | </div> nextcloud-demo-iametza-onlyoffice | <footer role="contentinfo"> nextcloud-demo-iametza-onlyoffice | <p class="info"> nextcloud-demo-iametza-onlyoffice | <a href="https://nextcloud.com" target="_blank" rel="noreferrer noopener" class="entity-name">Nextcloud</a> – zure datu guztientzako toki segurua </p> nextcloud-demo-iametza-onlyoffice | </footer> nextcloud-demo-iametza-onlyoffice | </body> nextcloud-demo-iametza-onlyoffice | </html> nextcloud-demo-iametza-onlyoffice | nextcloud-demo-iametza-onlyoffice | at Request._callback (/snapshot/server/build/server/Common/sources/utils.js) nextcloud-demo-iametza-onlyoffice | at Request.callback (/snapshot/server/build/server/Common/node_modules/request/request.js:185:22) nextcloud-demo-iametza-onlyoffice | at Request.emit (events.js:400:28) nextcloud-demo-iametza-onlyoffice | at Request.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1154:10) nextcloud-demo-iametza-onlyoffice | at Request.emit (events.js:400:28) nextcloud-demo-iametza-onlyoffice | at IncomingMessage.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1076:12) nextcloud-demo-iametza-onlyoffice | at Object.onceWrapper (events.js:519:28) nextcloud-demo-iametza-onlyoffice | at IncomingMessage.emit (events.js:412:35) nextcloud-demo-iametza-onlyoffice | at endReadableNT (internal/streams/readable.js:1317:12) nextcloud-demo-iametza-onlyoffice | at processTicksAndRejections (internal/process/task_queues.js:82:21) nextcloud-demo-iametza-onlyoffice | [2022-08-11T14:07:34.312] [WARN] nodeJS - commandSfcCallback backoff limit exceeded: docId = 3878033061 nextcloud-demo-iametza-onlyoffice | [2022-08-11T14:07:34.313] [WARN] nodeJS - storeForgotten: docId = 3878033061
The text was updated successfully, but these errors were encountered: