-
Notifications
You must be signed in to change notification settings - Fork 2.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
Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache #22370
Comments
Any steps to reproduce? Looks like the close callback is called during process teardown |
@LukasReschke any info ? |
No idea. It just regularly appears on the S3 error logs 🙈 |
@dragotin thought it could be related to timeout issues. @icewind1991 if there is a timeout, would the PHP tear down still called ? (that was on S3) |
Let's have a look at this as part of 9.0.1. Would be good to have some logs. Sometimes cross-referencing the request id might help find out what else happened there. Maybe the audit log could help too. |
I also remember that sometimes in the tear down routine, PHP starts unloading static variables so it is not guaranteed that they are still available within the tear down / destructors... |
@LukasReschke is this still happening in the S3 logs ? |
(well, after the update to 9.0.0...) |
Can't quite tell. It's still on 8.2.2, apparently 9.0 is aimed for this weekend |
Looked at the code in the View: https://github.com/owncloud/core/blob/v8.2.3/lib/private/files/view.php#L1053 which calls The If it's at GC time, it is likely that the GC has already destroyed that The difficult part here is to find out which |
Also, this is PHP 7, right ? |
I've seen the same issue (I'm pretty sure its the same) on my Arch server, which was recently updated to php 7. |
Same here with I even kicked out ACPu for testing - same result but still doing some tests to nail it down. |
Hmm, and maybe PHP 7's GC logic is different so it could confirm that this is PHP 7 specific. |
@PVince81 So far I get a different error message on sync using PHP 5.6 - It's the same files that I cannot sync. |
The original issue was not about sync issues, just a mysterious warning. |
All backports done, closing |
Should this error be fixed with OC 9.1.4? Yesterday, I updated my instance to 9.1.4 but I already have the error:
Apache2: 2.4.18 I already tried to cleanup filecache and so on: |
@hdering all known code paths that cause such log messages have been fixed in 9.1.4, yes. Maybe you found yet another code path causing this 😞 |
@hdering are you able to find out when this is happening ? In the known cases it used to happen for aborted uploads or downloads. (download a file with the web browser but cancel it) |
It happens when I try to open it through Browser, a simple click on the file. And it happens through die Desktop Client. I get the message: "Operation abgebrochen". |
and does the file open correctly or is it corrupt ? It could also be a problem in your environment that prevents downloads to work correctly and only shows this message as a side effect. |
@hdering I suggest you investigate your environment. The error you see is just a side effect of something else preventing the download to start/finish. Maybe try retrieving that URL with |
it does not affect all files, only a few files. |
if you have encryption enabled, check in oc_filecache whether that specific file has the "encrypted" flag set to 1. If not, set it manually and try downloading it twice. |
For test i switched to fastcgi. the same:
|
Do you mean oc_filecache in database? |
@PVince81 Now I checked oc_filecache. For me it is just the other way. The original version has encrypted = 1. The other versions have 0. But it doesn't help to change from 1 to 0 or 0 to 1. |
@PVince81 Unfortunately, this behavior occurs with another user. Other installation, but same server. I checked the oc_filecache entry and the encrypted was 0. I changed it to 1 but it does not help. owncloud Version is 9.1.4. Do you have any idea? |
@hdering without detailed logs it will be impossible to guess and help |
@PVince81 If I try to download a file from Browser I get the mesage ERR_INVALID_RESPONSE. If I try to download through the Android App I get a 500 error. owncloud.log: |
@hdering this looks unrelated to "normalizedPathCache" error. Looks more like #27824 (comment) |
@PVince81 this are bad news... |
is there no fix? This cant be true |
@lenusch the fix was already released and works, please upgrade. If you still see it, please make a new ticket and use the issue template https://raw.githubusercontent.com/owncloud/core/master/.github/issue_template.md |
@PVince81 i have latest nextcloud. Still same Errors. |
@lenusch Just a note that ownCloud is not Nextcloud, and you're currently in the ownCloud bugtracker. If something like this is happening in Nextcloud it doesn't mean if applies for ownCloud as well. |
@kdslkdsaldsal yes i have noticed too. Sorry. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Seems to be caused by
core/lib/private/files/view.php
Lines 1084 to 1094 in 296519f
cc @icewind1991
The text was updated successfully, but these errors were encountered: