-
Notifications
You must be signed in to change notification settings - Fork 120
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]: PHP unlink error, no such file: unlink(/var/www/nextcloud/data/appdata_[...]/richdocuments/remoteData/capabilities
#3912
Comments
unlink(/var/www/nextcloud/data/appdata_[...]/richdocuments/remoteData/capabilities
Confirm this issue since update from v29.0.3 to v29.0.4 |
The Nextcloud snap team tests and documents recommended default apps. Our documentation for CODE & Nextcloud Office configuration is also part of the default fresh install snap testing. These tests are largely automated. This issue has not appeared on fresh install tests, but does occur upon upgrading from 29.0.3 to 29.0.4. Thus I'm confirming this issue in Nextcloud snap 29.0.4snap2 on my personal productive instance.
|
Been seeing various reports of this, on the community forum, for the past month or two as well: https://help.nextcloud.com/search?q=Unlink%20richdocuments%20order%3Alikes |
Nextcloud version (eg, 29.0.5): 29.0.4 The issue you are facing: [PHP] Error: unlink(/var/www/nextcloud/data/appdata_ocgfs89mpg4c/richdocuments/remoteData/capabilities): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348 I’m getting multiple entries in logs for this error since version nc28. /var/www/nextcloud/data/appdata_ocgfs89mpg4c/richdocuments/remoteData/capabilities I’ve tried clearing browser cache on both computers that get the error. I’ve run the following at various times to try to find/fix the error: Is this the first time you’ve seen this error? (Y/N): N Steps to replicate it: check logs [PHP] Error: unlink(/var/www/nextcloud/data/appdata_ocgfs89mpg4c/richdocuments/remoteData/capabilities): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348 |
The trace seems to come from the built-in CODE server autoconfiguration which I could imagine causing some concurrency issues then on 29. With 30 this should no longer be a problem as per #3762 but haven't looked into in depth on how this could happen and be prevented on 29 yet. |
thanks for the heads up... looking forward to 30 and will keep an eye on this when testing the snap. had to revise my original comment since the logs began getting errors again... the issue has no effect on functionality though. |
Seing the same issue after updating NC to 29.0.7 (NCPi here) |
Can you paste the full log error as json here? |
@juliushaertl this issue is resolved in the snap: nextcloud-snap/nextcloud-snap#2901 |
This fixed the errors for me as well as it looks. Probably also some issues the mail app had as well. |
Hmm... eventually it came back... [PHP] Fehler: unlink(/media/myCloudDrive/ncdata/appdata_oc1lgek82p77/richdocuments/remoteData/capabilities): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348 |
I expect this to be some kind of concurrency issue when refreshing the metadata from the collabora server, but haven't been able to reproduce this. It should not have any impact on the usage. Everyone encountering this, can you please paste the raw log file content of that error message? That could help to narrow down why this is triggered. |
confirmed ✔ CODE & Office works fine |
here's the latest raw entry for me:
|
{"reqId":"ziayOvR4MjF2iXpJrL8S","level":3,"time":"2024-11-06T08:07:09+00:00","remoteAddr":"45.83.66.193","user":"--","app":"PHP","method":"GET","url":"/","message":"Trying to access array offset on value of type null at /var/www/cloud.mecgi.it/sitopubblico/apps/richdocuments/lib/Service/CachedRequestService.php#145","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0","version":"29.0.8.1","data":{"app":"PHP"},"id":"672b23b5e6aa6"} |
here is mine (one of them)
but there is also
not sure if this is related... |
Bug description
As discussed here: https://help.nextcloud.com/t/php-error-unlink-var-www-nextcloud-data-appdata-ocgfs89mpg4c-richdocuments-remotedata-capabilities-no-such-file-or-directory-at-var-www-nextcloud-lib-private-files-storage-local-php-348/198537
the system logs PHP errors like these:
Steps to reproduce
Not clear. But all affected users seem to use Collabora Online - Built-in CODE Server
Expected behavior
No errors under the logging page.
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Nextcloud Logs
The text was updated successfully, but these errors were encountered: