-
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
'Could not get node for path' messages in log file when deleting a file/folder #30762
Comments
log entry is written here -
|
@DeepDiver1975 . I see this being logged a lot in our Enterprise environment too. |
It is not new. I have noticed it for "a while" and perhaps "a long while" when I happen to have run the PHP dev server in a terminal window and see the output noise. |
@phil-davis . I only see it in 10.0.7, not 10.0.3. So something happened between then and now. Seems like this may have introduced it? |
That is probably correct. That change has made the message actually come out. So there has also been an underlying reason that |
That change only looks like it would still be logged before but with the text As I understand this bug is about why the log entry exists at all. If reproducible consistently it should be possible to do a git bisect to find out the commit that made it appear. |
Somewhere like: |
@VicDeo can you fix it ? |
@PVince81 It seems to be more than just a log message. |
@VicDeo can we detect this deletion event and properly clean the properties at the right moment ? A cleanup cron job is ok for the cases where regular deletion is not possible in case of timeouts or other exceptional situations but I don't think this should be the regular way for deleting properties. (unless there is really no other way) |
@PVince81 there is no 'before delete' hook within |
how did we do it in past versions ? or was the message always there ? |
Before 10.0 this plugin used file path instead of file id. |
@PVince81 ok. there is another solution besides the cronjob: a cache of deleted items in the DAV tree that holds only deleted items as In this case |
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. |
Steps to reproduce
Expected behaviour
no new messages in the log-file
Actual behaviour
log content:
Server configuration
Operating system:
Ubuntu 17.10
Web server:
Apache2
Database:
SQLite
PHP version:
7.1.15
ownCloud version: (see ownCloud admin page)
10.1.0 prealpha (git)
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: local/smb/sftp/...
local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
FF 58
Operating system:
Ubuntu 17.10
The text was updated successfully, but these errors were encountered: